Skip to content
Snippets Groups Projects
Verified Commit 40510088 authored by David Beniamine's avatar David Beniamine
Browse files

Fix compatibility

parent da6c0623
Branches base-webtop
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ if [ -z "$1" ]; then
mode="auto"
else
mode="$1"
shift
fi
source $DIR/inc.sh
......@@ -50,7 +51,7 @@ EOF
backup(){
case $1 in
"auto")
action="backup"
action=""
;;
"full")
action="full"
......@@ -72,7 +73,7 @@ backup(){
echo "Running pre_actions"
pre_actions
exit_on_fail $? "Pre_action failed"
echo "Creating encrypted incremental backup: $bckplist "
echo "Creating encrypted $action backup: $bckplist "
export PASSPHRASE="$encpass"
export FTP_PASSWORD="$ftppass"
set -x
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment