scripts/mir-setup/README: update with link to new doc on wiki
[mir.git] / scripts / rsync.sample
1 #!/bin/bash
2 LOCKFILE=/tmp/rsynclock
3
4 lockfile -r 1 $LOCKFILE || exit 23
5
6 /usr/bin/rsync -e 'ssh -p 1113' --timeout=60 --exclude=news.de.html  -Crlptzv /var/www/sites/preview.indymedia.de/ germany@217.114.68.254:/www/germany/
7 /usr/bin/rsync -e 'ssh -p 1113' --timeout=60 --exclude=news.de.html  -Crlptzv /var/www/copydir/ germany@217.114.68.254:/www/uploads/germany/
8 /usr/bin/rsync -e 'ssh -p 1113' --timeout=60 --exclude=news.de.html  -Crlptzv /var/media/ germany@217.114.68.254:/www/uploads/germany/metafiles/
9         
10 rm -f $LOCKFILE