Commit 5d32e058 authored by Nico Schottelius's avatar Nico Schottelius

sync to new location in loch

parent acaf59ce
......@@ -6,20 +6,11 @@ set -x
dsthost="$1"; shift
case "$dsthost" in
loch|rloch)
dst=root@loch.place5.ungleich.ch:/home/services/backup/notebook-manuell/home/users/nico/
dst=root@loch.place7.ungleich.ch:/raid/${hostname}/incoming
;;
nico-vm)
dst=nico-vm.schottelius.org:/data
;;
freiheit)
dst=freiheit:
;;
local)
dst=root@192.168.0.20:/home/services/backup/notebook-manuell/home/users/nico/
;;
nico-data)
dst=nico-data.schottelius.org:/home/nico
;;
*)
echo "Unknown $1" >&2
exit 1
......@@ -28,8 +19,8 @@ esac
start=$(date)
rsync -avS --delete --progress \
--exclude-from=/home/users/nico/.ccollect/defaults/exclude \
--exclude /.cache \
--exclude /.cdist/cache \
--exclude ~/temp/ \
"$@" \
~/ "$dst"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment