mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
[fix] Missing cache
This commit is contained in:
parent
74da7d9ae5
commit
409acdcfbd
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="/etc/onlyoffice"
|
||||||
|
ynh_backup --src_path="/var/lib/onlyoffice/cache/files"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP THE POSTGRESQL DATABASE
|
# BACKUP THE POSTGRESQL DATABASE
|
||||||
|
|
|
@ -110,6 +110,11 @@ ynh_script_progression --message="Restoring the configuration..."
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/onlyoffice"
|
ynh_restore_file --origin_path="/etc/onlyoffice"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# RESTORE THE CACHE
|
||||||
|
#=================================================
|
||||||
|
ynh_restore_file --origin_path="/var/lib/onlyoffice/cache/files"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REGENERATE FONTS
|
# REGENERATE FONTS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue