[Koha-bugs] [Bug 31506] New: Add "backup days" to /etc/koha/koha-common.conf

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 1 15:06:35 CEST 2022


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

            Bug ID: 31506
           Summary: Add "backup days" to /etc/koha/koha-common.conf
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Packaging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org
                CC: mtj at kohaaloha.com

koha-run-backups takes the --days argument to say how many days of backup we
should keep around. The value of this is set to two in the default
/etc/cron.daily/koha-common that is installed by the Debian packages. I
routinely increase this value to keep more backup. 

One thing that can happen now is that I want to create fresh backups for all
the sites on a server before doing an upgrade. So I run koha-run-backups
manually, but I forget about the --days argument. Result: I loose a lot of
backup! 

It would be nice if the default for --days could be set somewhere like
/etc/koha/koha-common.conf. That way we could run koha-run-backups both from
cron and manually, without the --days argument, and keep the same amount of
backups either way. If --days is given as an argument, it should override the
default.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list