https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36435

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #165936|0                           |1
        is obsolete|                            |

--- Comment #12 from David Nind <[email protected]> ---
Created attachment 165943
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165943&action=edit
Bug 36435: [alternative] 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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to