backup-and-update-system: fix rotation
This commit is contained in:
parent
3fa132b42a
commit
8a54702823
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue