SVN Backup and Restore

Here’s a quick note to remember how to back up Subversion repositories properly… simply doing a copy of the svnrepos file system folder structure does not exactly work.

Here’s how I backup my repository
svnadmin dump /data/svnrepos > 2007.10.05-svnrepos.dump
gzip -9 2007.10.05-svnrepos.dump

Here’s the online docs for backup and for migration that explain svnadmin dump and svnadmin load.

Categorized as Uncategorized Tagged

1 comment

Comments are closed.