From 719011aeedfaeb4f2d262c708fbe19ff2cec4d26 Mon Sep 17 00:00:00 2001 From: Gofannon <17145502+Gofannon@users.noreply.github.com> Date: Mon, 23 Mar 2020 23:50:17 +0100 Subject: [PATCH] Remove fail2ban and logrotate references so the app can be backuped and restored --- scripts/backup | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/backup b/scripts/backup index 243a9c7..3dab43f 100644 --- a/scripts/backup +++ b/scripts/backup @@ -52,19 +52,19 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # BACKUP FAIL2BAN CONFIGURATION #================================================= -ynh_script_progression --message="Backing up fail2ban configuration..." --time --weight=1 +#ynh_script_progression --message="Backing up fail2ban configuration..." --time --weight=1 -ynh_backup --src_path="/etc/fail2ban/jail.d/$app.conf" -ynh_backup --src_path="/etc/fail2ban/filter.d/$app.conf" +#ynh_backup --src_path="/etc/fail2ban/jail.d/$app.conf" +#ynh_backup --src_path="/etc/fail2ban/filter.d/$app.conf" #================================================= # SPECIFIC BACKUP #================================================= # BACKUP LOGROTATE #================================================= -ynh_script_progression --message="Backing up logrotate configuration..." --time --weight=1 +#ynh_script_progression --message="Backing up logrotate configuration..." --time --weight=1 -ynh_backup --src_path="/etc/logrotate.d/$app" +#ynh_backup --src_path="/etc/logrotate.d/$app" #================================================= # END OF SCRIPT