Backup Up SVN Repositories

Tags: backup, SVN, repository, hotcopy, dump

SVN hotcopy or dump can be used:

svnadmin hotcopy C:\dev\svn-1.6.6\repository \\SEQUOIA\svn-ultor-backup\repo1\hotcopy\repository-backup

svnadmin dump C:\dev\svn-1.6.6\repository > C:\dev\svn-1.6.6\repository-backup.dmp

Source: https://www.avajava.com/tutorials/lessons/how-do-i-back-up-a-subversion-repository.html

1 Comment

  • researchadmin said Reply

    This creates a replica of all the SVN repository folders:

    svnadmin hotcopy C:\CollabNetSvnEdge\data\repositories\MyRepo c:\myfolder

    This creates a single dump file (of entire repository, unless incremental flag is used):

    svnadmin dump C:\CollabNetSvnEdge\data\repositories\MyRepo > c:\myfolder\MyRepo.dmp

You must log on to comment.