}
function ssh255 {
- ssh $@
+ ssh -l $REMOTE_USER $@
sshret=$?
if [ $sshret -eq 255 ]; then
fi
if [ $FAKE_SUPER -eq 1 ]; then
- rsync_fake_super="--rsync-path=\"rsync --fake-super\""
+ rsync_fake_super="-M--fake-super"
else
rsync_fake_super=""
fi
fi
scottyinfo "Starting rsync."
- rsync -e ssh --bwlimit=$BWLIMIT \
+ rsync -e "ssh -l $REMOTE_USER" --bwlimit=$BWLIMIT \
-v -aHAX --numeric-ids --delete --delete-excluded \
--link-dest=$dir_current \
$rsync_exclude $rsync_fake_super \
- $SYNC_SRC/ $REMOTE_USER@$REMOTE_HOST:$dir_incomplete/
+ $SYNC_SRC/ $REMOTE_HOST:$dir_incomplete/
if [ $? -eq 0 ]; then
scottyinfo "Timestamping completed backup and linking to current backup."