9468f9b060
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
21 lines
497 B
Bash
Executable file
21 lines
497 B
Bash
Executable file
#!/bin/sh
|
|
|
|
start=$(date)
|
|
|
|
~nico/bin/backup-marker
|
|
|
|
rsync -av --delete --progress \
|
|
--exclude '/proc/*' \
|
|
--exclude '/tmp/*' \
|
|
--exclude '/sys/*' \
|
|
--exclude '/dev/*' \
|
|
--exclude '/home/users/nico/.bitcoin/blocks/' \
|
|
--exclude '/home/services/usbhd' \
|
|
"$@" \
|
|
/ root@loch:/home/services/backup/bento-manuell
|
|
#/ root@zuhause.schottelius.org:/home/services/backup/bento-manuell
|
|
#/ root@zuhause.schottelius.org:/home/services/backup/bento-manuell
|
|
end=$(date)
|
|
|
|
echo $start
|
|
echo $end
|