sync to various destinations

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-10-27 21:42:42 +01:00
parent 9468f9b060
commit d1cd847c0a
3 changed files with 55 additions and 0 deletions

18
sync-to-42 Executable file
View file

@ -0,0 +1,18 @@
#!/bin/sh
~nico/bin/backup-marker
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/' \
"$@" \
/ 42:/home/services/backup/bento
end=$(date)
echo $start
echo $end

19
sync-to-fernseher Executable file
View file

@ -0,0 +1,19 @@
#!/bin/sh
~nico/bin/backup-marker
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@192.168.25.45:/mnt
end=$(date)
echo $start
echo $end

18
sync-to-zuhause Executable file
View file

@ -0,0 +1,18 @@
#!/bin/sh
~nico/bin/backup-marker
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@zuhause.schottelius.org:/home/services/backup/bento-manuell
end=$(date)
echo $start
echo $end