nsbin/sync-to-loch
Nico Schottelius 9468f9b060 update
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-10-26 23:28:38 +02:00

21 lines
497 B
Bash
Executable file

#!/bin/sh
start=$(date)
~nico/bin/backup-marker
rsync -av --delete --progress \
--exclude '/proc/*' \
--exclude '/tmp/*' \
--exclude '/sys/*' \
--exclude '/dev/*' \
--exclude '/home/users/nico/.bitcoin/blocks/' \
--exclude '/home/services/usbhd' \
"$@" \
/ root@loch:/home/services/backup/bento-manuell
#/ root@zuhause.schottelius.org:/home/services/backup/bento-manuell
#/ root@zuhause.schottelius.org:/home/services/backup/bento-manuell
end=$(date)
echo $start
echo $end