Backup & Recovery for a subversion repository
Create a backup of the repository using the following command:
svnadmin dump /path/to/repository | gzip > repository-backup.gz
Run the svnadmin recover command on the repository:
svnadmin recover /path/to/repository
Delete any unused log files in the repository:
svnadmin list-unused-dblogs /path/to/repository | xargs rm -vf
Delete any remaining shared-memory files in the repository:
rm -f /path/to/repository/db/__db.0*
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.














Comments
No comments yet.
Leave a comment