diff --git a/scripts/backup b/scripts/backup index afa01eb..9d5c346 100755 --- a/scripts/backup +++ b/scripts/backup @@ -32,6 +32,8 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" # BACKUP LOGROTATE #================================================= +ynh_backup --src_path="/var/log/$app" + ynh_backup --src_path="/etc/logrotate.d/$app" #================================================= diff --git a/scripts/restore b/scripts/restore index 8b28ee6..267c8f8 100755 --- a/scripts/restore +++ b/scripts/restore @@ -39,6 +39,8 @@ adduser turnserver ssl-cert ynh_restore_file --origin_path="/etc/$app" +ynh_restore_file --origin_path="/var/log/$app" + ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/systemd/system/$app.service"