My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
RestoringFromTheBackup  
How to recover your repository from the backup.
Updated Feb 4, 2010 by doug.hel...@gmail.com

The backup format is a compressed svn dump file. To recover it, you can use the bzip2 utility to uncompress it, and svnadmin load (http://svnbook.red-bean.com/en/1.0/re36.html) to restore the changes.

Comment by thetoolman, Jul 29, 2008

For the impatient; here is my command:

# un-gzip all dumps (in filestamp time order - tr = Time,Reverse) to std out, svnadmin reads std in gunzip -c ls -tr dump* | svnadmin load /new/svn/repo

Comment by thetoolman, Jul 29, 2008

This time with no stripping!

gunzip -c `ls -tr dump*` | svnadmin load /new/svn/repo
Comment by sserem...@gmail.com, Sep 23, 2009
for i in `ls -1|sort -t- -k 3 -n`; do gunzip -c $i | svnadmin load /new/svn/repo; done

worked better for me.


Sign in to add a comment
Powered by Google Project Hosting