diff --git a/scripts/backup b/scripts/backup index 2acb428..a949992 100644 --- a/scripts/backup +++ b/scripts/backup @@ -44,7 +44,9 @@ if [ -z $backup_core_only ] # If backup_core_only setting set, don't backup data then ynh_backup /home/yunohost.app/${app} else - echo "Data dir won't be saved, because backup_core_only is set." >&2 + echo "Data dir won't be saved, because backup_core_only is set." >&2 + # Remove the option so that next regular backup will be complete + ynh_app_setting_delete $app backup_core_only fi #=================================================