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
1 changed files with 1 additions and 1 deletions

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