backup-and-update-system: fix rotation

This commit is contained in:
Franzi 2022-01-09 08:14:05 +01:00
parent 3fa132b42a
commit 8a54702823
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -15,7 +15,6 @@ do
done
# Do a backup.
ssh $backup_ssh "sudo /usr/local/bin/rotate-single-backup-client kunsi-t470"
(
rsync -zaAP --numeric-ids --delete --relative \
--rsync-path="/usr/bin/rsync --fake-super" \
@ -47,6 +46,7 @@ ssh $backup_ssh "sudo /usr/local/bin/rotate-single-backup-client kunsi-t470"
exit 1
fi
)
ssh $backup_ssh "sudo /usr/local/bin/rotate-single-backup-client kunsi-t470"
printf '\aPress enter to continue with updating the system\n'
read