forked from kunsi/dotfiles
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
|
done
|
||||||
|
|
||||||
# Do a backup.
|
# Do a backup.
|
||||||
ssh $backup_ssh "sudo /usr/local/bin/rotate-single-backup-client kunsi-t470"
|
|
||||||
(
|
(
|
||||||
rsync -zaAP --numeric-ids --delete --relative \
|
rsync -zaAP --numeric-ids --delete --relative \
|
||||||
--rsync-path="/usr/bin/rsync --fake-super" \
|
--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
|
exit 1
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
ssh $backup_ssh "sudo /usr/local/bin/rotate-single-backup-client kunsi-t470"
|
||||||
|
|
||||||
printf '\aPress enter to continue with updating the system\n'
|
printf '\aPress enter to continue with updating the system\n'
|
||||||
read
|
read
|
||||||
|
|
Loading…
Reference in a new issue