nsbin/sync-to-loch

17 lines
349 B
Text
Raw Normal View History

#!/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