From 373f662f846d710fc2966569b0cae92097a9cf4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 25 Mar 2024 16:20:50 +0100 Subject: [PATCH] Fix backup/restore : no /var/log directory --- scripts/backup | 6 ------ scripts/restore | 6 ------ 2 files changed, 12 deletions(-) diff --git a/scripts/backup b/scripts/backup index d117fef..97adcfe 100755 --- a/scripts/backup +++ b/scripts/backup @@ -29,12 +29,6 @@ ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_backup --src_path="/etc/logrotate.d/$app" -#================================================= -# BACKUP VARIOUS FILES -#================================================= - -ynh_backup --src_path="/var/log/$app/" - #================================================= # BACKUP THE MYSQL DATABASE #================================================= diff --git a/scripts/restore b/scripts/restore index 4e3e444..af99308 100755 --- a/scripts/restore +++ b/scripts/restore @@ -49,12 +49,6 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/logrotate.d/$app" -#================================================= -# RESTORE VARIOUS FILES -#================================================= - -ynh_restore_file --origin_path="/var/log/$app/" - #================================================= # RELOAD NGINX AND PHP-FPM #=================================================