1
0
Fork 0
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:
ljf (zamentur) 2022-03-08 23:38:00 +01:00 committed by GitHub
parent 2afd5dc770
commit 840cb9feb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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
#=================================================