SVN Backup & Migration

Backing Up

Backing up the D87 repo:

# svnadmin dump /var/svn/repos/D87 > D87_repo.svndump

Migrating a Repository

First back up the Repo (See steps above). Now create the repo in the new location.

e.g. D87 repo:

# svnadmin create /var/svn/repos/D87

Load the dump file created during the backup process

# svnadmin load /var/svn/repos/D87 < D87_repo.svndump

Tagged under: svn, backup, migrations, svnadmin