diff --git a/scripts/backup b/scripts/backup index 0126be1..f1d38a6 100755 --- a/scripts/backup +++ b/scripts/backup @@ -31,8 +31,8 @@ db_name=$(ynh_app_setting_get $app db_name) # APPLY BACKUP CORE ONLY POLICY #================================================= # Apply policy only if we are not in upgrade mode -BACKUP_CORE_ONLY=${BACKUP_CORE_ONLY:-default} -if [ "$BACKUP_CORE_ONLY" == "default" ] ; then +BACKUP_CORE_ONLY=${BACKUP_CORE_ONLY:-auto} +if [ "$BACKUP_CORE_ONLY" == "auto" ] ; then BACKUP_CORE_ONLY=$(ynh_app_setting_get $app backup_core_only) BACKUP_CORE_ONLY=${BACKUP_CORE_ONLY:-0} fi