nsbin/sync-to-fernseher
Nico Schottelius d1cd847c0a sync to various destinations
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-10-27 21:42:42 +01:00

19 lines
354 B
Bash
Executable file

#!/bin/sh
~nico/bin/backup-marker
start=$(date)
rsync -av --delete --progress \
--exclude '/proc/*' \
--exclude '/tmp/*' \
--exclude '/sys/*' \
--exclude '/dev/*' \
--exclude '/home/users/nico/.bitcoin/blocks/' \
--exclude '/home/users/nico/.bitcoin/chainstate/' \
"$@" \
/ root@192.168.25.45:/mnt
end=$(date)
echo $start
echo $end