e2d07ba9f7
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
16 lines
349 B
Bash
Executable file
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
|