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

18 lines
360 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/' \
"$@" \
/ 42:/home/services/backup/bento
end=$(date)
echo $start
echo $end