mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
[fix] backup_core_only settings doesn't work
This commit is contained in:
parent
36f10cbc57
commit
b641cea407
1 changed files with 10 additions and 0 deletions
|
@ -27,6 +27,16 @@ final_path=$(ynh_app_setting_get $app final_path)
|
||||||
domain=$(ynh_app_setting_get $app domain)
|
domain=$(ynh_app_setting_get $app domain)
|
||||||
db_name=$(ynh_app_setting_get $app db_name)
|
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=$(ynh_app_setting_get $app backup_core_only)
|
||||||
|
BACKUP_CORE_ONLY=${BACKUP_CORE_ONLY:-0}
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD BACKUP STEPS
|
# STANDARD BACKUP STEPS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue