From dfd03a987a66ba36a6c7531c918db6b83f7226f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 21 Apr 2024 12:26:32 +0200 Subject: [PATCH] Also backup logs --- scripts/backup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/backup b/scripts/backup index 666d3b9..eeb91e9 100644 --- a/scripts/backup +++ b/scripts/backup @@ -33,6 +33,9 @@ ynh_backup --src_path /etc/systemd/system/seahub.service ynh_backup --src_path /etc/fail2ban/jail.d/"$app".conf ynh_backup --src_path /etc/fail2ban/filter.d/"$app".conf +# Backup logs +ynh_backup --src_path="/var/log/$app" + # Backup mysql ynh_print_info --message="Backing up database" ynh_mysql_dump_db --database "$db_name" > "${YNH_CWD}"/seafiledb.dmp