Displaying 3 results from an estimated 3 matches for "remote_errorlog".
2007 Feb 16
1
Destination directory creation
...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\tStaring get of [${RLIST}]" >> ${remote_mainlog}
echo "\n\tStaring ge...
2007 Apr 26
1
Weird exclude info
...st/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 get the following in the log i create -
Starting ge...
2007 Jul 06
1
quiet option doesnt seem to work
...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_mainlog}
else
echo "...