mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Avoid to delete --is-big unbackuped directories
This commit is contained in:
parent
680811eeff
commit
fdefa4cff7
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ ynh_restore_upgradebackup() {
|
||||||
# Check if an existing backup can be found before removing and restoring the application.
|
# 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
|
if ynh_backup_archive_exists "$app_bck-pre-upgrade$backup_number"; then
|
||||||
# Remove the application then restore it
|
# Remove the application then restore it
|
||||||
yunohost app remove $app
|
REMOVE_CORE_ONLY=1 yunohost app remove $app
|
||||||
# Restore the backup
|
# Restore the backup
|
||||||
yunohost backup restore $app_bck-pre-upgrade$backup_number --apps $app --force --debug
|
yunohost backup restore $app_bck-pre-upgrade$backup_number --apps $app --force --debug
|
||||||
if [[ -d /etc/yunohost/apps/$app ]]
|
if [[ -d /etc/yunohost/apps/$app ]]
|
||||||
|
|
Loading…
Add table
Reference in a new issue