Here is a simple way to backup your svn repository. Use the following command:

svnadmin dump /repository_path/project > /backup_path/project_backup

 You can test if this is okay by creating a test repository and importing the backup
file to the new test repository.

svnadmin create /repository_path/project1
svnadmin load /repository_path/project1 < /project_backup/project

 After that you cand remove it.

rm -rf /repository_path/project1

 In the end you can create a zip copy to the backup file project_backup

zip -r project_backup

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>