From 6fb50b04cb2322605db1275db5f5ea9e25a63db2 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Sun, 17 Mar 2024 11:23:51 +1300 Subject: [PATCH] Bug 36325: Add --exclude-logs option to koha-run-backups Signed-off-by: Kyle M Hall --- debian/scripts/koha-run-backups | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/scripts/koha-run-backups b/debian/scripts/koha-run-backups index 7b7e792d31c..4ad2d38c94e 100755 --- a/debian/scripts/koha-run-backups +++ b/debian/scripts/koha-run-backups @@ -34,11 +34,14 @@ Options: (default: 2) --exclude-indexes Exclude Zebra indexes from the backups (default: false) + --exclude-logs Exclude /var/log/koha/name from the backup (default: false) + Note: backups produced using this tool can be restored using \`koha-restore'. EOH } exclude_indexes="" +exclude_logs="" CMD_LINE=`getopt -o h --long days:,output:,help,exclude-indexes,exclude-logs -n 'koha-run-backups' -- "$@"` -- 2.30.2