diff --git a/sync-from-loch b/sync-from similarity index 100% rename from sync-from-loch rename to sync-from diff --git a/sync-to-42 b/sync-to-42 deleted file mode 100755 index 1aeb6fc..0000000 --- a/sync-to-42 +++ /dev/null @@ -1,18 +0,0 @@ -#!/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 diff --git a/sync-to-fernseher b/sync-to-fernseher deleted file mode 100755 index 2aa8e32..0000000 --- a/sync-to-fernseher +++ /dev/null @@ -1,19 +0,0 @@ -#!/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 diff --git a/sync-to-loch b/sync-to-loch deleted file mode 100755 index 2ccb4dc..0000000 --- a/sync-to-loch +++ /dev/null @@ -1,21 +0,0 @@ -#!/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 diff --git a/sync-to-zuhause b/sync-to-zuhause deleted file mode 100755 index 95d7d2b..0000000 --- a/sync-to-zuhause +++ /dev/null @@ -1,18 +0,0 @@ -#!/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 diff --git a/wake-up b/wake-up new file mode 100755 index 0000000..32c55d9 --- /dev/null +++ b/wake-up @@ -0,0 +1,15 @@ +#!/bin/sh + +host=$1; shift + +case "$host" in + blank) + mac=60:a4:4c:cf:f0:25 + ;; + *) + echo "Unknown host $host" >&2 + exit 1 + ;; +esac + +wol "$mac"