RestoreData() {
remoteLogin="root@$rechner"
backDir="$datum"_"$backname"
- fullPathSicherungsOrnder="$backpath/$backDir"
+ fullPathBackPath="$backpath/$backDir"
printfStripLine
printf "Daten werden wiederhergestellt\n\n"
rsync --archive --verbose --sparse --acls --hard-links \
--human-readable \
--log-file $backpath/restore-$(date +%Y-%m-%d).log \
- $fullPathSicherungsordner/$rechner/$pfad \
+ $fullPathBackPath/$rechner/$pfad \
$remoteLogin:$pfad
}
RestoreData() {
remoteLogin="root@$rechner"
- fullPathSicherungsOrnder="$backpath/$backDir"
+ fullPathBackPath="$backpath/$backDir"
printfStripLine
printf "Daten werden wiederhergestellt\n\n"
rsync --archive --verbose --sparse --acls --hard-links \
--human-readable \
--log-file $backpath/restore-einfach-$(date +%Y-%m-%d).log \
- $fullPathSicherungsOrdner/$rechner/$pfad \
+ $fullPathBackPath/$rechner/$pfad \
$remoteLogin:$pfad
}