From: Bastian Dehn Date: Sun, 26 Nov 2017 09:08:44 +0000 (+0100) Subject: fix: restore src path X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=aed0caa1ed50dbe8726078c06ce61beb61e1eb60;p=simple-backup.git fix: restore src path --- diff --git a/restore b/restore index a9d768c..3d550f0 100755 --- a/restore +++ b/restore @@ -36,7 +36,7 @@ printfStripLine() { RestoreData() { remoteLogin="root@$rechner" backDir="$datum"_"$backname" - fullPathSicherungsOrnder="$backpath/$backDir" + fullPathBackPath="$backpath/$backDir" printfStripLine printf "Daten werden wiederhergestellt\n\n" @@ -48,7 +48,7 @@ RestoreData() { 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 } diff --git a/restore-einfach b/restore-einfach index 3bdc74e..53029cf 100755 --- a/restore-einfach +++ b/restore-einfach @@ -32,7 +32,7 @@ printfStripLine() { RestoreData() { remoteLogin="root@$rechner" - fullPathSicherungsOrnder="$backpath/$backDir" + fullPathBackPath="$backpath/$backDir" printfStripLine printf "Daten werden wiederhergestellt\n\n" @@ -43,7 +43,7 @@ RestoreData() { 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 }