Displaying 1 result from an estimated 1 matches for "remote_pwfile".
Did you mean:
remote_file
2008 Nov 13
1
Intermittent connection failure
....
--------------------------------------------------------
Clients:
--------
/etc/backup-scripts/backup-clientA
(started from cron)
--------------------------------------------------------
#!/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...