17 lines
349 B
Text
17 lines
349 B
Text
|
#!/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
|