mirror of
https://github.com/deajan/obackup.git
synced 2024-11-15 04:03:41 +01:00
Fixed encryption
This commit is contained in:
parent
40999fd9a2
commit
d1f344e879
@ -1452,7 +1452,8 @@ function FilesBackup {
|
|||||||
local backupTask
|
local backupTask
|
||||||
local backupTasks
|
local backupTasks
|
||||||
local destinationDir
|
local destinationDir
|
||||||
local withoutCryptPath
|
local encryptDir
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
IFS=$PATH_SEPARATOR_CHAR read -r -a backupTasks <<< "$FILE_BACKUP_TASKS"
|
IFS=$PATH_SEPARATOR_CHAR read -r -a backupTasks <<< "$FILE_BACKUP_TASKS"
|
||||||
@ -1466,6 +1467,7 @@ function FilesBackup {
|
|||||||
else
|
else
|
||||||
destinationDir=$(dirname "$FILE_STORAGE/${backupTask#/}/")
|
destinationDir=$(dirname "$FILE_STORAGE/${backupTask#/}/")
|
||||||
fi
|
fi
|
||||||
|
encryptDir="$FILE_STORAGE/${backupTask#/}"
|
||||||
else
|
else
|
||||||
destinationDir="$FILE_STORAGE"
|
destinationDir="$FILE_STORAGE"
|
||||||
encryptDir="$FILE_STORAGE"
|
encryptDir="$FILE_STORAGE"
|
||||||
@ -1537,6 +1539,7 @@ function FilesBackup {
|
|||||||
else
|
else
|
||||||
destinationDir=$(dirname "$FILE_STORAGE/${backupTask#/}/")
|
destinationDir=$(dirname "$FILE_STORAGE/${backupTask#/}/")
|
||||||
fi
|
fi
|
||||||
|
encryptDir="$FILE_STORAGE/${backupTask#/}"
|
||||||
else
|
else
|
||||||
destinationDir="$FILE_STORAGE"
|
destinationDir="$FILE_STORAGE"
|
||||||
encryptDir="$FILE_STORAGE"
|
encryptDir="$FILE_STORAGE"
|
||||||
|
Loading…
Reference in New Issue
Block a user