From fdefa4cff79cbdc0f184187fe07de474e36baaae Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Sun, 27 Feb 2022 22:35:30 +0100 Subject: [PATCH] [fix] Avoid to delete --is-big unbackuped directories --- helpers/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/backup b/helpers/backup index 01b51d5a1..81604116b 100644 --- a/helpers/backup +++ b/helpers/backup @@ -463,7 +463,7 @@ ynh_restore_upgradebackup() { # Check if an existing backup can be found before removing and restoring the application. if ynh_backup_archive_exists "$app_bck-pre-upgrade$backup_number"; then # Remove the application then restore it - yunohost app remove $app + REMOVE_CORE_ONLY=1 yunohost app remove $app # Restore the backup yunohost backup restore $app_bck-pre-upgrade$backup_number --apps $app --force --debug if [[ -d /etc/yunohost/apps/$app ]]