Koha-clms/debian/scripts
Aleisha Amohia 0119429ac5
Bug 36435: Catch harmless errors in koha-dump
tar has exit status 1 if any file has changed while being read, which is likely to happen as the logfiles are included. this patch will catch these harmless errors so that koha-dump will still return a success code.

Test plan:
1. Create a number of backups and edit their modify time to being older than 2 days
2. run the koha-run-backups script and try and write to one of the files it includes while it's being backed up (you'll trigger a warning from tar saying the file changed as it was being read)
3. verify that the older backups are not being cleaned up and deleted despite new backups being made.
4. Apply this patch
5. Complete steps 1-2 again and then go and look to see if the older backups are being deleted.

Sponsored-by: Catalyst IT
Signed-off-by: David Nind <david@davidnind.com>
Co-authored-by: Michał Kula <148193449+mkibp@users.noreply.github.com>
Signed-off-by: Michał Kula <148193449+mkibp@users.noreply.github.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-10-11 11:13:49 +02:00
..
koha-create Bug 34204: Fix koha-shell under debian 12 2023-10-18 15:41:22 -03:00
koha-create-dirs
…
koha-disable Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-dump Bug 36435: Catch harmless errors in koha-dump 2024-10-11 11:13:49 +02:00
koha-dump-defaults
…
koha-elasticsearch Bug 37038: (QA follow-up) Replace \> by -gt 2024-06-28 13:49:23 +02:00
koha-email-disable
…
koha-email-enable
…
koha-enable
…
koha-es-indexer Bug 33108: koha-es-indexer added 2023-03-20 09:39:45 -03:00
koha-foreach Bug 34653: Make koha-foreach return the correct status code 2023-09-25 10:56:40 -03:00
koha-functions.sh Bug 33108: koha-es-indexer added 2023-03-20 09:39:45 -03:00
koha-indexer Bug 32811: Remove useless lines for indexer.log 2023-03-06 09:51:49 -03:00
koha-list Bug 33108: Teach koha-list filter elasticsearch 2023-03-20 09:39:46 -03:00
koha-mysql Bug 30468: Restore 'set -e' and remove echos 2022-08-01 09:18:50 -03:00
koha-mysqlcheck
…
koha-passwd Bug 28493: Make koha-passwd display the username 2023-07-19 13:00:41 -03:00
koha-plack Bug 35954: Add --status to koha-plack 2024-05-03 19:31:56 +02:00
koha-rebuild-zebra
…
koha-remove Bug 33108: Make init handle koha-es-indexer 2023-03-20 09:39:47 -03:00
koha-reset-passwd
…
koha-restore Bug 10517: (QA follow-up) No need to remove second true 2022-05-03 11:19:50 -10:00
koha-run-backups Bug 14565: Allow koha-run-backups to backup an instance called `demo` 2024-06-28 13:49:22 +02:00
koha-shell Bug 28519: Add lib to koha-shell 2021-06-17 15:59:40 +02:00
koha-sip Bug 30684: (follow-up) Use log_warning_msg for the "not running" warning 2022-08-18 09:00:39 -03:00
koha-sitemap
…
koha-translate Bug 38035: Exclude "sound" from the list of installed languages 2024-10-02 10:15:53 +01:00
koha-upgrade-schema Bug 34088: Move the 'needs update' test to a separate script 2024-09-17 10:48:39 +02:00
koha-upgrade-to-3.4
…
koha-worker Bug 36009: Document koha-worker --queue elastic_index 2024-03-07 15:02:48 +01:00
koha-z3950-responder Bug 25716: (QA follow-up) Move additional options to etc/z3950/config.xml 2022-10-24 13:11:27 -03:00
koha-zebra Bug 27291: Reformat Zebra output logs 2024-03-22 10:35:25 +01:00