Move svn repository

From Andreida
Jump to: navigation, search

Create the backup

svnadmin dump /path/repository > backup.dump

Now copy the backup to the destination and there create a new repository

svnadmin create /path/repository

Restore the data

svnadmin load /path/repository < backup.dump

Set the owner

chown -R user:group /path/repository   (www-data ?)

Set the rights

chmod -R 750 /path/repository

If you need to point a working copy to the new url: (don't forget the point at the end) New svn versions have "svn relocate".

svn switch --relocate file:///var/svn/repos file:///tmp/newlocation .
Personal tools
Namespaces

Variants
Actions
Navigation
Tools