mirror of
https://github.com/deajan/obackup.git
synced 2025-05-10 12:13:41 +02:00
Fixed GetDirectoriesSize malfunction with ssh filter
This commit is contained in:
parent
c6c16ca2e8
commit
3835dfc0ec
@ -391,7 +391,7 @@ function CreateLocalStorageDirectories
|
|||||||
|
|
||||||
function CheckSpaceRequirements
|
function CheckSpaceRequirements
|
||||||
{
|
{
|
||||||
if [ "$BACKUP_SQL" == "yes" ]
|
if [ "$BACKUP_SQL" != "no" ]
|
||||||
then
|
then
|
||||||
if [ -d $LOCAL_SQL_STORAGE ]
|
if [ -d $LOCAL_SQL_STORAGE ]
|
||||||
then
|
then
|
||||||
@ -417,7 +417,7 @@ function CheckSpaceRequirements
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$BACKUP_FILES" == "yes" ]
|
if [ "$BACKUP_FILES" != "no" ]
|
||||||
then
|
then
|
||||||
if [ -d $LOCAL_FILE_STORAGE ]
|
if [ -d $LOCAL_FILE_STORAGE ]
|
||||||
then
|
then
|
||||||
|
@ -34,6 +34,8 @@ case ${SSH_ORIGINAL_COMMAND%% *} in
|
|||||||
Go ;;
|
Go ;;
|
||||||
"mysql")
|
"mysql")
|
||||||
Go ;;
|
Go ;;
|
||||||
|
"echo")
|
||||||
|
Go ;;
|
||||||
"find")
|
"find")
|
||||||
Go ;;
|
Go ;;
|
||||||
"du")
|
"du")
|
||||||
|
Loading…
Reference in New Issue
Block a user