[Koha-bugs] [Bug 36435] New: Prevent warnings from interrupting koha-run-backups when deleting old backup files
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 27 03:01:35 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36435
Bug ID: 36435
Summary: Prevent warnings from interrupting koha-run-backups
when deleting old backup files
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Command-line Utilities
Assignee: koha-bugs at lists.koha-community.org
Reporter: aleisha at catalyst.net.nz
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
Since the changes at Bug 30627, sometimes backup files older than X days don't
get deleted as they are meant to.
In our case, this happens when:
- koha-dump does not return a success status
- because `tar -c` throws a warning "tar:
var/log/koha/INSTANCENAME/opac-access.log: file changed as we read it"
The new dump is created, but the warning is enough to interrupt
koha-run-backups before it gets to deleting old backups.
This causes excess backups to be stored and fills up the disk.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list