]> _ Git - office-backup.git/commitdiff
wip #6841 @1.5 master
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 15 Apr 2024 13:58:30 +0000 (15:58 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 15 Apr 2024 13:58:30 +0000 (15:58 +0200)
backup

diff --git a/backup b/backup
index 18248d9c2eb82d533bed462acb087d09d204f8d5..e6dd921603ea8e135d256580ed1c9b336cc01cb1 100644 (file)
--- a/backup
+++ b/backup
@@ -12,5 +12,5 @@ d=$(date +%Y%m%d%H%i)
 
 for ((i = 0; i < ${#servers[@]}; i++))
 do
-  /usr/bin/rsync -av --links --no-whole-file --exclude-from='/etc/backup.exclude' -e 'ssh -oStrictHostKeyChecking=no' "/data/${servers[$i]}/" "root@her2.cubedesigners.com:/data/backup/$name/${servers[$i]}/" >> "/var/log/backup.${servers[$i]}.$d.log" 2>&1
+  /usr/bin/rsync -av --links --no-whole-file --exclude-from='/etc/backup.exclude' -e 'ssh -oStrictHostKeyChecking=no' "/data/${servers[$i]}/" "root@cloudatlas.cubedesigners.com:/data/backup/$name/${servers[$i]}/" >> "/var/log/backup.${servers[$i]}.$d.log" 2>&1
 done
\ No newline at end of file