From 93a5ec9ca4a5d7273a0fd03fe376608b299e00ba 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 Signed-off-by: Katrin Fischer --- 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 7b7e792d31..4ad2d38c94 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.39.2