From: Vincent Vanwaelscappel Date: Wed, 19 Jul 2023 19:42:42 +0000 (+0200) Subject: wip #6145 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7974cc0ae2df86487243afee4438e0ad593d2668;p=server-backup.git wip #6145 --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ce100ba..e2a1664 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,8 +5,7 @@ - - + diff --git a/backup b/backup index 3d2c0d6..6618efb 100755 --- a/backup +++ b/backup @@ -1,3 +1,4 @@ #!/bin/sh +killall -9 /usr/bin/rsync name=`cat /etc/backup-hostname` -/usr/bin/rsync -av --links --no-whole-file --exclude-from='/etc/backup.exclude' -e 'ssh -oStrictHostKeyChecking=no' /data/ "serversbackup@dobermann.cubedesigners.com:/home/serversbackup/{$name}/" +/usr/bin/rsync -av --links --no-whole-file --exclude-from='/etc/backup.exclude' -e 'ssh -oStrictHostKeyChecking=no' /data/ "serversbackup@dobermann.cubedesigners.com:/home/serversbackup/$name/"