Backup subversion repository (and restore)

Here we explain how to backup your Subversion repository on a Linux Subversion server:

Backup Subversion repository

$ svnadmin dump path_to_repository | gzip > svn_repo_backup.gz

Restore Subversion repository

$ gunzip -c svn_repo_backup.gz | svnadmin load path_to_repository

This post is also available in: Swedish

Leave a comment

Your email address will not be published. Required fields are marked *