nsbin/sync-to-loch
Nico Schottelius e2d07ba9f7 sync to bento now
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2013-03-21 04:57:11 +00:00

16 lines
349 B
Bash
Executable file

#!/bin/sh
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@rrloch:/home/services/buch/backup/bento
end=$(date)
echo $start
echo $end