Showing posts with label backup. Show all posts
Showing posts with label backup. Show all posts

Wednesday, February 1, 2012

Shell script to backup all of your SVN repositoriesShell script to backup all of your SVN repositories



The script does very basic backup job. Here are the tasks done by this backup script:
  • svnrepos - absolute path of SVN repository root (where all the svn repos are created)
  • bakdest - absolute path of directory where you would like to save all SVN dumps
  • baktousb - absolute path of additional folder path to copy SVN dump (could be connected USB drive)
Read the original article

Saturday, September 4, 2010

rsync backup

Dry run
rsync -a --delete /SOURCE/ /DESTINATION/ --update --progress --stats -n

Run
rsync -a --delete /SOURCE/ /DESTINATION/ --update --progress --stats