Skip to content

Instantly share code, notes, and snippets.

@LubosRemplik
Created November 22, 2013 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LubosRemplik/7599382 to your computer and use it in GitHub Desktop.
Save LubosRemplik/7599382 to your computer and use it in GitHub Desktop.
# backup all rsync projects, weekly
0 11 * * 5 nice -n 19 livedrive-backup golfmore >> /home/lubos/.livedrive 2>&1
# Daily backups (weekdays)
10 10 * * 1,2,3,4,5 nice -n 19 rsync-16x "-azv --exclude-from=/home/lubos/0rsync/.exclude" vmrates:httpdocs/01/ /home/lubos/0rsync/vmrates/ vmrates >> /home/lubos/0rsync/.log/vmrates`date +\%Y-\%m-\%d`.log 2>&1
# Weekly backups
10 10 * * 1 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/schillings/.exclude" schillings:httpdocs/ /home/lubos/0rsync/schillings/ schillings >> /home/lubos/0rsync/.log/schillings`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 3 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" gcha:httpdocs/01/ /home/lubos/0rsync/gcha/ gcha >> /home/lubos/0rsync/.log/gcha`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 5 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" fitzroviapartnership:httpdocs/02/ /home/lubos/0rsync/fitzrovia/ fitzrovia >> /home/lubos/0rsync/.log/fitzrovia`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 1 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" aldersgate:httpdocs/01/ /home/lubos/0rsync/aldersgate/ aldersgate >> /home/lubos/0rsync/.log/aldersgate`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 2 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" mds:httpdocs/02/ /home/lubos/0rsync/mds/ mds >> /home/lubos/0rsync/.log/mds`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 3 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" coe:httpdocs/live/ /home/lubos/0rsync/coe/ coe >> /home/lubos/0rsync/.log/coe`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 4 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" coe:subdomains/icoe/httpdocs/ /home/lubos/0rsync/icoe/ icoe >> /home/lubos/0rsync/.log/icoe`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 5 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" wud:httpdocs/02/ /home/lubos/0rsync/wud/ wud >> /home/lubos/0rsync/.log/wud`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 1 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" arnoldhouse:httpdocs/live/ /home/lubos/0rsync/arnoldhouse/ arnoldhouse >> /home/lubos/0rsync/.log/arnoldhouse`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 2 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" elemental:httpdocs/ /home/lubos/0rsync/elemental/ elemental >> /home/lubos/0rsync/.log/elemental`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 3 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" fossuk:httpdocs/02/ /home/lubos/0rsync/fossuk/ fossuk >> /home/lubos/0rsync/.log/fossuk`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 4 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" swissnationalday:httpdocs/01/ /home/lubos/0rsync/swissnationalday/ swissnationalday >> /home/lubos/0rsync/.log/swissnationalday`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 5 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" wel:httpdocs/live/ /home/lubos/0rsync/wel/ wel >> /home/lubos/0rsync/.log/wel`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 1 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" viscountstalking:httpdocs/01/ /home/lubos/0rsync/viscountstalking/ viscountstalking >> /home/lubos/0rsync/.log/viscountstalking`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 2 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" ahn:live/ /home/lubos/0rsync/ahn/ ahn >> /home/lubos/0rsync/.log/ahn`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 3 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" wch:httpdocs/ /home/lubos/0rsync/wch/ wch >> /home/lubos/0rsync/.log/wch`date +\%Y-\%m-\%d`.log 2>&1
10 10 * * 4 nice -n 19 rsync-3x "-azv --exclude-from=/home/lubos/0rsync/.exclude" westco:httpdocs/ /home/lubos/0rsync/westco/ westco >> /home/lubos/0rsync/.log/westco`date +\%Y-\%m-\%d`.log 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment