Displaying 2 results from an estimated 2 matches for "remote_module".
2008 Nov 13
1
Intermittent connection failure
...y0fs...
clientb:xf03...
--------------------------------------------------------
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_REM...
2007 Jan 09
0
setting permissions on --backup-dir
...However, the
uid = whitlow
gid = everyone
parameters are applied. Permissions on lower level directories are set
as expected.
The daemon is version 2.6.9 and the client is version 2.6.6.
For example,
rsync -rt \
--delete-during --backup --backup-dir=2007-01-09_12 \
$SERVER::$REMOTE_MODULE/ALL;
results in:
drwx------ 3 whitlow everyone 4096 Jan 9 13:09 2007-01-09_12
drwxrwxr-x 4 whitlow everyone 4096 Dec 31 1969 ALL
if 2007-01-09_12 is created by the rsync daemon. The same permission on
directory 2007-01-09_12 results if root executes:
mkdir 2007-01-09_12
The...