Bug 36325: Add --exclude-logs option to koha-run-backups

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Alex Buckley 2024-03-17 11:23:51 +13:00 committed by Katrin Fischer
parent c8bc861ec7
commit 93a5ec9ca4
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 3 additions and 0 deletions

View File

@ -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' -- "$@"`