My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
Search
for
Updated Feb 04 (5 days ago) by doug.hellmann
RestoringFromTheBackup  
How to recover your repository from the backup.

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 sseremeth, 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
Hosted by Google Code