Displaying 3 results from an estimated 3 matches for "remote_get_host".
Did you mean:
remote_dest_host
2007 Feb 16
1
Destination directory creation
..._BIN} ${RSYNC_OPTS}"
# Ok here is the Rsync loop
for RLIST in ${remote_get_list}
do
# Going to put a safety test here in case / is file list
if [ "${RLIST}" = "/" ];then
echo "\n[Remote_Get for
${remote_get_host}]\n\tWARNING:We dont want / as a source. Too intense
so skipping." >> ${remote_errorlog}
continue
fi
# Rsync output will be logging to error file so
# need list there too for clarity
echo "\n\tS...
2007 Apr 26
1
Weird exclude info
...t tmp/lavatest.exclude
/path/to/exclude
/export/home/user/test/dontgetme
Now when the rsync runs i use the following options (ignore the variables):-
rsync -exclude-from=/path/tmp/lavatesting.exclude -PaRzq --delete
--delete-excluded --copy-unsafe-links --numeric-ids -e "${SSH}"
root@${remote_get_host}:${RLIST} ${remote_get_localdir} >>
${remote_errorlog} 2>> ${remote_errorlog}
The file list im trying to backup just for this e.g is
/export/home/user/test/ which contains a file called 'getme' and one
called 'dontgetme'
I assumed the dontgetme should be excluded.
I...
2007 Jul 06
1
quiet option doesnt seem to work
...e_stat:+1} ];then
RSYNC_RUN="${RSYNC}
--exclude-from=${remote_exclude_file}"
else
RSYNC_RUN="${RSYNC}"
fi
## THE BIG RUN ###
${RSYNC_RUN} -e "${SSH}"
root@${remote_get_host}:${RLIST} ${remote_get_localdir} >>
${remote_errorlog} 2>> ${remote_errorlog}
#
# Check each Rsync run was successful or had errors
if [[ ${?} = 0 ]];then
echo "\tStatus..............[Successful]" >>
${remote_mainl...