Showing posts with label svn. Show all posts
Showing posts with label svn. Show all posts

Tuesday, August 19, 2014

SVN Installation, Backup and Restore

Simple installation of svn. It says how to restore a backup and restore it. You can use the backup file to restore whenever svn is installed freshly.

Command to backup Repository:

svnadmin dump "repo location" > "backup file" (do not include quotations)
Example:
c:>svnadmin dump c:\svnrepo > svnbackup_file_name


Command to Restore repository:


svnadmin load "svn location where repo is created" < "svn backup file name"
Example:
c:>svnadmin load c:\svnrepo < svnbackup_file_name