From 7974cc0ae2df86487243afee4438e0ad593d2668 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 19 Jul 2023 21:42:42 +0200 Subject: [PATCH] wip #6145 --- .idea/workspace.xml | 15 +++++++++++---- backup | 3 ++- 2 files changed, 13 insertions(+), 5 deletions(-) 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/" -- 2.39.5