Tuesday, January 11, 2011

Subversion back-up

Today's problem is how to make a svn backup??

Easy pissy! Only two commands:

svnadmin dump path/to/repository | gzip > dumpfile.gz


for generate the backup file and

gunzip -c dumpfile.gz | svnadmin load path/to/repository


for restore the back-up copy.

If we want to export without version numbers (production copy):

svn export svn+ssh://usuario@server.com/home/usuario/svn/project/trunk /local/path


Nothing more for today!!

Have a nice day

No comments:

Post a Comment