Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-23886

Legacy restore with custom database file fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: None
    • Component/s: Backup & Restore
    • Labels:
      None

      Description

      Trying to do a restore from a FreePBX 13 system that included a dump of our a2billing database. This fails because the restore is trying to treat it like the FreePBX database, looking for the modules table. This is after the FreePBX database has already been dealt with.

       

      {noformat}

      File named: /tmp/backup/906bb22d-98c0-471f-9972-4d34ce195e1b/mysql-5.sql.gz
      Detected file /tmp/backup/906bb22d-98c0-471f-9972-4d34ce195e1b/mysql-5.sql.gz as the PBX (Asterisk) database. Attempting restore
      Extracting supplied database file mysql-5.sql.gz
      Loading supplied database file mysql-5.sql
      mysql-5.sql is now loaded into memoryIn Legacy.php line 88:

      SQLSTATE[HY000]: General error: 1 no such table: modules{noformat}

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                akarshmr Akarsh MR
                Reporter:
                miken32 miken32
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.