Apr
14
Overview:
- Do an SVN hotcopy so you get all your stuff
- tar up the entire directory
- split and bzip the files using p7zip so they can fit on hosted drives ( 2 Gb files )
- copy them to S3 or any online service
Commands:
/usr/bin/svnadmin hotcopy /path/to/svn/repository /path/to/destination tar cvf /path/to/backup/svnbackup-`date +%Y-%m-%d`.tar /path/to/destination/* /usr/local/bin/7z a -tbzip2 -v2g svnbackup-`date +%Y-%m-%d`.tar.bz2 /path/to/backup/svnbackup-`date +%Y-%m-%d`.tar
Copy them over using any scripts you have. I personally use jstream on a linux server to move stuff to Amazon S3
Tags: API, Developers
Previous Post: my mac pro
Next Post: Google Maps Error: is null or not an object














