sync to bento now
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
2bc90e2c45
commit
e2d07ba9f7
1 changed files with 16 additions and 0 deletions
16
sync-to-loch
Executable file
16
sync-to-loch
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/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
|
Loading…
Reference in a new issue