diff --git a/scripts/backup b/scripts/backup index 6c30480..ef4feed 100644 --- a/scripts/backup +++ b/scripts/backup @@ -55,6 +55,13 @@ ynh_print_info "Backing up the PostgreSQL database..." ynh_psql_dump_db "$db_name" > db.sql +#================================================= +# SPECIFIC BACKUP +#================================================= +ynh_print_info "Backing up the configuration..." + +ynh_backup "/etc/onlyoffice" + #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/restore b/scripts/restore index 5e84b99..8345b3a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -81,6 +81,13 @@ chown -R $app: $final_path #================================================= # SPECIFIC RESTORATION +#================================================= +# RESTORE THE CONFIGURATION +#================================================= +ynh_print_info "Restoring the configuration..." + +ynh_restore_file "/etc/onlyoffice" + #================================================= # ADD NODEJS REPOSITORY #=================================================