From 091c3de0f86345768ad8a7bb2fe22fcface94407 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Fri, 22 Dec 2017 20:57:49 +0100 Subject: [PATCH] Fix "sticking" backup_core_only setting --- scripts/backup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 #=================================================