diff --git a/obackup.sh b/obackup.sh index 2f468a3..7a89859 100755 --- a/obackup.sh +++ b/obackup.sh @@ -391,7 +391,7 @@ function CreateLocalStorageDirectories function CheckSpaceRequirements { - if [ "$BACKUP_SQL" == "yes" ] + if [ "$BACKUP_SQL" != "no" ] then if [ -d $LOCAL_SQL_STORAGE ] then @@ -417,7 +417,7 @@ function CheckSpaceRequirements fi fi - if [ "$BACKUP_FILES" == "yes" ] + if [ "$BACKUP_FILES" != "no" ] then if [ -d $LOCAL_FILE_STORAGE ] then diff --git a/obackup_ssh_filter.sh b/obackup_ssh_filter.sh index ea80873..0a555bf 100755 --- a/obackup_ssh_filter.sh +++ b/obackup_ssh_filter.sh @@ -34,6 +34,8 @@ case ${SSH_ORIGINAL_COMMAND%% *} in Go ;; "mysql") Go ;; + "echo") + Go ;; "find") Go ;; "du")