Bugzilla – Attachment 163970 Details for
Bug 36435
Prevent warnings from interrupting koha-run-backups when deleting old backup files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36435: Specify to not show warnings if file changed while koha-dump running
Bug-36435-Specify-to-not-show-warnings-if-file-cha.patch (text/plain), 1.09 KB, created by
Aleisha Amohia
on 2024-03-27 02:53:00 UTC
(
hide
)
Description:
Bug 36435: Specify to not show warnings if file changed while koha-dump running
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2024-03-27 02:53:00 UTC
Size:
1.09 KB
patch
obsolete
>From c1da84eb0368b3224a17e2925b6d2b475c23f1d3 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36435
:
163970
|
164240
|
164491
|
165936
|
165937
|
165943
|
165944
|
171178
|
171179
|
172133
|
172528