Displaying 1 result from an estimated 1 matches for "_copytolog".
2017 Feb 21
1
that ever puzzling special chars escaping + rdiff-backup
...9;**/~*' --exclude '**.tmp'
--exclude-regexp '(.glusterfs|.trashcan|temp)'"
_execCom=${!2}
_sourceDir=${1}
_backupTo=${3}
__backMeUp() {
for _sourceDir in ${_sourceDirs[@]}; do
echo \$ ${_execCom} ${_rdffiExclude} ${_sourceDir}/
${_backupTo} \> ${_logFile} | ${_copyToLog}
${_execCom} ${_rdffiExclude} ${_sourceDir}/
${_backupTo} > ${_logFile} 2>&1
done
}
case ${1} in
rdiffThis)
declare -a _sourceDirs=( /0-ALL.DATA/rdiffThis );
__backMeUp ${@}
;;
esac
this is a snippet which may look obscure but obvious is:
rdiff-backup some data, just...