search for: remote_get_localdir

Displaying 3 results from an estimated 3 matches for "remote_get_localdir".

2007 Feb 16
1
Destination directory creation
...e too for clarity echo "\n\tStaring get of [${RLIST}]" >> ${remote_mainlog} echo "\n\tStaring get of [${RLIST}]\n" >> ${remote_errorlog} ${RSYNC} -e ssh 2>/dev/null user@${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 "\tGet of [${RLIST}] status [Successful]" >> ${remote_mainlog} else...
2007 Apr 26
1
Weird exclude info
.../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 get the following in the log i c...
2007 Jul 06
1
quiet option doesnt seem to work
...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_mainlog} else...