]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
fix: restore src path
authorBastian Dehn <hhaalo@arcor.de>
Sun, 26 Nov 2017 09:08:44 +0000 (10:08 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 26 Nov 2017 09:08:44 +0000 (10:08 +0100)
restore
restore-einfach

diff --git a/restore b/restore
index a9d768c0ef5bd90532ce2486b0a58e9758145e49..3d550f044d04b9d93df91ec6642b6f04bc320a0f 100755 (executable)
--- 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
 }
 
index 3bdc74e230f190a24fbb63b006d22d9f8bfcd5c4..53029cf14927766274702f6ffc40b385c95f2d41 100755 (executable)
@@ -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
 }