]> git.koha-community.org Git - koha.git/commit
Bug 36325: Add option to koha-run-backups/koha-dump, to exclude logs
authordanyonsewell <danyonsewell@catalyst.net.nz>
Fri, 15 Mar 2024 01:21:53 +0000 (01:21 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 13 May 2024 12:00:06 +0000 (14:00 +0200)
commitc8bc861ec7a8ed4ba2426d65ea6de93db722df77
tree143f4619208314b6e2ff047481408e21c74b7f52
parente48df518e842ebe0c1a1d383297f375e3da521d7
Bug 36325: Add option to koha-run-backups/koha-dump, to exclude logs

Written patch to add flag to both koha-dump and koha-run-backups.

Test plan:
1. do a sudo koha-dump and sudo koha-run-backups and check the contents of the .tar.gz backup in /var/spool/koha/instance/ and verify logs are in there
2. apply this patch
3. this time do sudo koha-dump --exclude-logs and sudo koha-run-backups --exclude-logs and check the contents of the .tar.gz backup in /var/spool/koha/instance and verify nothing from /var/log/koha is in there.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
debian/scripts/koha-dump
debian/scripts/koha-run-backups