Step 1
Create Dump from SVN repo
svnadmin dump /pathname/repo > /backup/svn/repo.dump
Compress backup svn to Gzip
For this we can compress the backup to and save disk size
svnadmin dump /pathname/repo | gzip -9 > /backup/svn/repo.dump.gz
Step 2
Restore Backup to repo
Create new repository with below command
svnadmin create /pathname/reponew
Now restore the dump to new repo
Before doing restore we need to unzip the dumb backup
gunzip /backup/svn/repo.dump.gz
svnadmin load /pathname/reponew < /backup/svn/repo.dumb
That’s all ……………….
No comments:
Post a Comment