I have a very large (~6GB) SVN repository, for which I've written a batch file script to do an incremental backup each day. The script checks when the last backup was run and dumps only the revisions since then.
The files are named: backup-{lower_revision}-{higher_revision}.svn
eg: backup-156-162.svn
, backup-163-170.svn
.
This means that I have quite a lot of small dump files, which I guess is fine (better than a lot of 6GB dump files), but I'm a little bit worried about how much work it would be to restore from these backups should I need to.
To reduce the total number of files, I've taken to doing a full dump on the first of each month, but still, should I need to restore on the 30th, that's gonna be 30 dump files which could take a while.
What I have been considering is:
- Manual:
svnadmin load c:\myRepo < backup-1-10.svn
wait
svnadmin load c:\myRepo < backup-11-24.svn
wait
etc... - Batch file to make the above process a bit less tedious
- Appending each of the files together and doing one load (if that is even possible?)
What would be the best way to work with these files, should I need to restore?
ps: the OS is Windows