Backing up a Subversion repositoryEdit
Options
There are two main ways of backing up a live Subversion repository:
- Using
svnadmin hotcopy - Using
svnadmin dump
In both cases you should run svnadmin as the owner of the repository. I chose to go with the second option for two reasons:
- I can pipe the dumpfile through
bzip2to compress it on the fly - I can use the dumpfile with future versions of Subversion