Just notice i didnt do any backup on my svn server. To ensure continuity, I need to teach my colig on how to backup the svn server. To make things more simple, i’ve written a script to backup my svn server everynight. But here, i’ll show u the basic of how to backup svn server.
To backup svn server, follow the steps below:
- First, login to your svn server
- Enter the command below to backup your svn repo:-
svnadmin dump /path/to/reponame > /path/to/reponame.svndump
- If your svn repo is too large, you can use gzip to compress it during the backup. Try the command below:-
svnadmin dump /path/to/reponame | gzip > reponame.svndump.gz
- To extract gzip file, use the command below:-