From aed0caa1ed50dbe8726078c06ce61beb61e1eb60 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sun, 26 Nov 2017 10:08:44 +0100 Subject: [PATCH] fix: restore src path --- restore | 4 ++-- restore-einfach | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 } -- 2.39.5