Comments on: Dump a SVN repository from a URL http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/ Just another WordPress weblog Tue, 22 Jul 2014 10:00:12 +0000 hourly 1 https://wordpress.org/?v=4.7.9 By: De http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/comment-page-1/#comment-119066 Tue, 22 Jul 2014 10:00:12 +0000 http://pogopixels.com/blog/?p=27#comment-119066 Obsolete just use svnrdump

]]>
By: Tom http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/comment-page-1/#comment-36302 Fri, 28 Jun 2013 19:13:49 +0000 http://pogopixels.com/blog/?p=27#comment-36302 This saved me a lot of headache! Thank you very much!

]]>
By: Carlos Zanon http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/comment-page-1/#comment-34071 Fri, 31 May 2013 18:58:51 +0000 http://pogopixels.com/blog/?p=27#comment-34071 Nice… Simple and direct.

In newer versions of svn lib (running under windows), i just need replace this:
svnadmin dump #path# #file#.dump

with this:
svnadmin dump #path# > #file#.dump

]]>
By: Sandro http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/comment-page-1/#comment-26005 Sat, 22 Dec 2012 11:31:08 +0000 http://pogopixels.com/blog/?p=27#comment-26005 Nice tutorial…. and thanks alot for packing all together in a batch script. Good Job!

]]>
By: Martin http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/comment-page-1/#comment-24873 Thu, 22 Nov 2012 14:25:58 +0000 http://pogopixels.com/blog/?p=27#comment-24873 Thank you!

]]>
By: George http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/comment-page-1/#comment-23141 Thu, 20 Sep 2012 15:22:00 +0000 http://pogopixels.com/blog/?p=27#comment-23141 In comment #14 from Dec 3rd 2010 the question about dumping only a particular project from the repo was asked. I don’t see an answer to that. If anyone has any idea how to accomplish this that would be great info. Maybe it is not possible until after the svnsync … not sure. But it would sure save a lot of time and disk space if it were possible during the svnsync. Thanks.

]]>
By: Michel http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/comment-page-1/#comment-22443 Fri, 24 Aug 2012 15:08:11 +0000 http://pogopixels.com/blog/?p=27#comment-22443 Great work! Thank you!

]]>
By: bharath http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/comment-page-1/#comment-21263 Thu, 12 Jul 2012 09:39:24 +0000 http://pogopixels.com/blog/?p=27#comment-21263 how to dumb all the repositories even if forget the repository names?

]]>
By: Clay Bridges http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/comment-page-1/#comment-16527 Mon, 02 Jan 2012 22:46:48 +0000 http://pogopixels.com/blog/?p=27#comment-16527 This is now built-in to svn 1.7: svnrdump.

]]>
By: Joseph Olstad http://pogopixels.com/blog/dumping-a-svn-repository-from-a-remote-url/comment-page-1/#comment-14455 Mon, 19 Sep 2011 15:43:39 +0000 http://pogopixels.com/blog/?p=27#comment-14455 Sorry for the previous errors
Please ignore my previous comments:

Made slight correction to this script however when coping and pasting this script pay attention to the single quotes that need to be adjusted around ‘#!/bin/sh’ , these ‘ quotes should have no curve. The blog text filters are changing them probably to avoid sql injection attacks but the script won’t work unless you have the right single quote around the line: echo ‘#!/bin/sh’

#!/bin/bash
#script for GNU/Linux/nix inspired by this excellent article
cd /tmp
svn_repo_name=”test_repo”
source_url=”http://svn.example.org/example”

DATEC=”/bin/date”
DATE=”`${DATEC} +%Y-%m-%d_%Hh%Mm`”
echo “`${DATEC} +%Y-%m-%d_%Hh%Mm`”

echo “mkdir $svn_repo_name”
mkdir $svn_repo_name

echo “svnadmin create $svn_repo_name”
svnadmin create “$svn_repo_name”

echo “echo ‘#!/bin/sh’ > ${svn_repo_name}/hooks/pre-revprop-change”
echo ‘#!/bin/sh’ > “$svn_repo_name”/hooks/pre-revprop-change

echo “sudo chmod +x {$svn_repo_name}/hooks/pre-revprop-change”
sudo chmod +x “$svn_repo_name”/hooks/pre-revprop-change

echo “svnsync init file:////tmp/$svn_repo_name ${source_url}”
svnsync init file:////tmp/”$svn_repo_name” ${source_url}

echo “svnsync sync file:////tmp/$svn_repo_name”
svnsync sync file:////tmp/$svn_repo_name

echo “svnadmin dump $svn_repo_name > {$svn_repo_name}_${DATE}”
svnadmin dump “$svn_repo_name” > {$svn_repo_name}_${DATE}

see this link to finish the re-import
http://whynotwiki.com/Subversion_/_Dump_and_loading

]]>