[Koha-bugs] [Bug 28749] New: All backups on 21.05 behave as if --without-db-name is passed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 23 15:45:16 CEST 2021


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

            Bug ID: 28749
           Summary: All backups on 21.05 behave as if --without-db-name is
                    passed
 Change sponsored?: ---
           Product: Koha
           Version: 21.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: JBoyer at equinoxOLI.org
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

Created attachment 123114
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123114&action=edit
Restore the database name to Koha dumps

The line to use the --databases flag with mysqldump by default was accidentally
removed from koha-dump when the --schema-only option was added. This makes all
backups act as if koha-dump is called with the --without-db-name flag, causing
koha-restore to fail to restore the database because it's neither CREATEd or
USEd.

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