diff options
author | Patrick Simianer <p@simianer.de> | 2016-08-18 10:22:11 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-08-18 10:22:11 +0200 |
commit | 97dbdcfb77ff79b478fa50c18818ed946e5e8de7 (patch) | |
tree | bab307ce4667355aff5efe1e7286acb44be56735 /backup | |
parent | e25de6b71669ad715276177476732331dfd9d6de (diff) |
backup improved
Diffstat (limited to 'backup')
-rwxr-xr-x | backup | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -2,18 +2,33 @@ sudo rsync -avv --exclude-from /home/pks/.local/bin/backup.exclude --delete / /media/dock/b/bogues.local -ping -q -w 1 -c 1 alphard.uberspace.de +ping -q -w 1 -c 1 alphard.uberspace.de if [ $? -eq 0 ]; then rsync -kavv pks@alphard.uberspace.de: /media/dock/b/alphard.uberspace.de fi -ping -q -w 1 -c 1 mirfac.uberspace.de +ping -q -w 1 -c 1 mirfac.uberspace.de if [ $? -eq 0 ]; then rsync -kavv smnr@mirfac.uberspace.de: /media/dock/b/mirfac.uberspace.de fi adb devices | grep a23dc087 if [ $? -eq 0 ]; then - adb backup -apk -shared -all -f /media/dock/b/mallone.ab + adb backup -apk -shared -all -f /media/dock/b/malone.ab fi +ping -q -w 1 -c 1 mirfac.uberspace.de +if [ $? -eq 0 ]; then + rsync -kavv smnr@mirfac.uberspace.de: /media/dock/b/mirfac.uberspace.de +fi + +#ping -q -w 1 -c 1 oneal +#if [ $? -eq 0 ]; then +# rsync -e "ssh" --rsync-path="sudo rsync" --exclude-from /home/pks/.local/bin/backup.exclude --delete -avvHS osmc@oneal:/ /media/dock/b/oneal.local/ +#fi + +#ping -q -w 1 -c 1 w.simianer.de +#if [ $? -eq 0 ]; then +# rsync -e "ssh" --rsync-path="sudo rsync" --rsh='ssh -p 2001' --exclude-from /home/pks/.local/bin/backup.exclude --delete -avvHS pks@w.simianer.de:/ ming.local/ +#fi + |