Displaying 2 results from an estimated 2 matches for "rsync_remot".
Did you mean:
rsync_remote
2008 Nov 13
1
Intermittent connection failure
...-------------------
#!/bin/bash
# Remote rsync info
REMOTE_SERVER=ip.of.rsync.server
REMOTE_USER=clienta
REMOTE_MODULE=clienta
REMOTE_PWFILE=/etc/backup-scripts/backup.secrets
RSYNC="/usr/bin/rsync -avzqR --del --password-file=${REMOTE_PWFILE}"
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
RSYNC_REMOTE="${REMOTE_USER}@${REMOTE_SERVER}::${REMOTE_MODULE}"
# rsync /www
if ! ${RSYNC} /www ${RSYNC_REMOTE} ; then
echo "Error when trying to sync /www"
exit 2;
fi
# ... more rsyncs...
--------------------------------------------------------
/etc/backup-scripts/backup.secr...
2006 Feb 24
1
How to use multiple link-dest directories?
...want the two directories to
be?
Attempt one was the simple-minded
$RSYNC_LOCAL -axHEz --delete --delete-excluded --delete-after \
--exclude-from=/Users/handleym/bin/backup_excludes.txt \
--ea-checksum \
--link-dest=$BASE_SRC/1/ $DST_DIR/1/ \
--rsync-path=$RSYNC_REMOTE \
--stats \
$SRC_DIR $DST_DIR/0/ \
2>&1 >> $LOG_FILE
This fails to parse. rsync apparently treats "--link-dest=$BASE_SRC/
1/" as a single unit, treats the next "$DST_DIR/1/" as the src
directory specifier, and goes...