From 409acdcfbd2118cc09e166ee39e013ec08dba6cb Mon Sep 17 00:00:00 2001 From: ljf Date: Mon, 6 Dec 2021 16:04:28 +0100 Subject: [PATCH] [fix] Missing cache --- scripts/backup | 1 + scripts/restore | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/scripts/backup b/scripts/backup index 48daceb..6c750d8 100644 --- a/scripts/backup +++ b/scripts/backup @@ -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/cache/files" #================================================= # BACKUP THE POSTGRESQL DATABASE diff --git a/scripts/restore b/scripts/restore index 9d78ad9..ea96b10 100644 --- a/scripts/restore +++ b/scripts/restore @@ -110,6 +110,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/cache/files" + #================================================= # REGENERATE FONTS #=================================================