Displaying 1 result from an estimated 1 matches for "__backmeup".
2017 Feb 21
1
that ever puzzling special chars escaping + rdiff-backup
...rdiffBack="rdiff-backup -v5 --tempdir /tmp/ --no-eas
--exclude-other-filesystems --exclude-symbolic-links"
_rdffiExclude="--exclude '**/~*' --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 _so...