bundles/backup-client: support using a non-standard ssh port
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-14 12:49:57 +01:00
parent f405dca771
commit ff607777ce
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 11 additions and 4 deletions

View file

@ -13,7 +13,7 @@ rsync_errors=""
% for path in sorted(paths):
rsync -zaAP --numeric-ids --delete --relative \
--rsync-path="/usr/bin/rsync --fake-super" \
-e "ssh -o IdentityFile=/etc/backup.priv -o StrictHostKeyChecking=accept-new" \
-e "ssh -o IdentityFile=/etc/backup.priv -o StrictHostKeyChecking=accept-new -p ${port}" \
"${path}" "$ssh_login":backups/
exitcode=$?