mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
[fix] Missing cache (#69)
* [fix] Missing cache Co-authored-by: Gredin67 <gredin67@sans-nuage.fr>
This commit is contained in:
parent
2afd5dc770
commit
840cb9feb4
2 changed files with 6 additions and 0 deletions
|
@ -52,6 +52,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
|||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/onlyoffice"
|
||||
ynh_backup --src_path="/var/lib/onlyoffice/documentserver/App_Data/cache/files"
|
||||
|
||||
#=================================================
|
||||
# BACKUP THE POSTGRESQL DATABASE
|
||||
|
|
|
@ -104,6 +104,11 @@ ynh_script_progression --message="Restoring the configuration..."
|
|||
|
||||
ynh_restore_file --origin_path="/etc/onlyoffice"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE CACHE
|
||||
#=================================================
|
||||
ynh_restore_file --origin_path="/var/lib/onlyoffice/documentserver/App_Data/cache/files"
|
||||
|
||||
#=================================================
|
||||
# REGENERATE FONTS
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue