From c1da84eb0368b3224a17e2925b6d2b475c23f1d3 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Wed, 27 Mar 2024 02:50:55 +0000 Subject: [PATCH] Bug 36435: Specify to not show warnings if file changed while koha-dump running This patch adds a switch to the tar --create command called by koha-dump to prevent 'file changed' warnings, which stop koha-dump from returning a success status, which interrupts koha-run-backups before it can delete old backup files. Sponsored-by: Catalyst IT --- debian/scripts/koha-dump | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/scripts/koha-dump b/debian/scripts/koha-dump index d9946073009..eb0b87da2c1 100755 --- a/debian/scripts/koha-dump +++ b/debian/scripts/koha-dump @@ -130,7 +130,8 @@ dump_instance() "var/lib/koha/$name" \ "var/log/koha/$name" \ $uploaded_files_dir \ - $uploaded_temp_files_dir + $uploaded_temp_files_dir \ + --warning=no-file-changed chown "root:$name-koha" "$metadump" chmod g+r "$metadump" -- 2.30.2