Backup svn
From Attie's Wiki
Revision as of 14:37, 2 September 2010 by 192.168.0.1 (Talk)
see Google's Answer for more
To Setup
$ svnadmin create <backup_path> $ cd <backup_path> $ echo -e "#\0041/bin/bash\nexit 0" > hooks/pre-revprop-change $ chmod +x hooks/pre-revprop-change $ svnsync init --username attie file://`pwd` http://<live_svn_path> Copied properties for revision 0.
To Sync
$ svnsync sync --username attie file://<full_backup_path>