-
Type:
Bug
-
Status: Triage
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: endpointman
-
Labels:None
Unable to restore from FreePBX 14.0.13.33 to FreePBX 15.0.16.52
Running with: /usr/sbin/fwconsole backup --restore='/var/spool/asterisk/backup/uploads/20200526-000002-1590476402-14.0.13.33-729691174.tgz' --restorelegacycdr --transaction='a565d710-6e60-465e-9568-73e9c9f1905a' Determining backup file type...type is legacy Legacy CDR Restore Option: 1 Starting restore job with file: /var/spool/asterisk/backup/uploads/20200526-000002-1590476402-14.0.13.33-729691174.tgz Extracting backup... Loading manifest to memory Loading astdb to memory Parsing out SQL tables. This may take a moment depending on backup size. Found 2 database files in the backup. Legacy CDR Restore Opted. we are processing , It may take long time to process /tmp/backup/a565d710-6e60-465e-9568-73e9c9f1905a/mysql-3.sql.gz Processing processLegacyCdr ' zcat /tmp/backup/a565d710-6e60-465e-9568-73e9c9f1905a/mysql-3.sql.gz | mysql -u freepbxuser -p'492771210fa3a3dc478adeb9403615e9' asteriskcdrdb ' Command is Running now This process may take long time based on the CDR SQL file size, setting time out to MAX 1 hour Processing processLegacyCdr SQL Done.... Installing cdr Checking if field cnum is present in cdr table..OK! Checking if field cnam is present in cdr table..OK! Checking if field outbound_cnum is present in cdr table..OK! Checking if field outbound_cnam is present in cdr table..OK! Checking if field dst_cnam is present in cdr table..OK! Checking if field linkedid is present in cdr table..OK! Checking if field peeraccount is present in cdr table..OK! Checking if field sequence is present in cdr table..OK! Generating CSS...Done Restored module cdr [FreePBX\modules\Backup\RestoreBase] Installing cel Creating cel if needed..OK checking for extra field..already exists Checking for userfield field to remove..already removed Checking for src field to remove..already removed Checking for dst field to remove..already removed Checking for channel field to remove..already removed Checking for dstchannel field to remove..already removed Checking for context index..already indexed Generating CSS...Done Restored module cel [FreePBX\modules\Backup\RestoreBase] File named: /tmp/backup/a565d710-6e60-465e-9568-73e9c9f1905a/mysql-2.sql.gz Detected file /tmp/backup/a565d710-6e60-465e-9568-73e9c9f1905a/mysql-2.sql.gz as the PBX (Asterisk) database. Attempting restore Extracting supplied database file mysql-2.sql.gz Loading supplied database file mysql-2.sql In Legacy.php line 290: could not find driver backup [--backup BACKUP] [--externbackup EXTERNBACKUP] [--dumpextern DUMPEXTERN] [--transaction TRANSACTION] [--list] [--warmspare] [--implemented] [--filestore FILESTORE] [--restore RESTORE] [--restorelegacycdr] [--modules MODULES] [--restoresingle RESTORESINGLE] [--backupsingle BACKUPSINGLE] [--singlesaveto SINGLESAVETO] [--b64import B64IMPORT] [--fallback]