From e2d07ba9f7e0e31f47a0495cd538c1c30d6dede5 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 21 Mar 2013 04:57:11 +0000 Subject: [PATCH] sync to bento now Signed-off-by: Nico Schottelius --- sync-to-loch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 sync-to-loch diff --git a/sync-to-loch b/sync-to-loch new file mode 100755 index 0000000..34740a7 --- /dev/null +++ b/sync-to-loch @@ -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