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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

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.
_______________________________________________
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