Backup / restore failing from 14->15 "could not find driver"


(PbxNoob) #1

anyone know how to get around this?


(Lorne Gaetz) #2

Backup module ver?

fwconsole ma list | grep backup

(PbxNoob) #3

| backup | 15.0.10.3 | Enabled | GPLv3+ |


(PbxNoob) #4

Looks like it’s something to do with the PDO driver(??) - when I do

php -r 'print_r(PDO::getAvailableDrivers());'

I just get

[0] => mysql


(PbxNoob) #5

I’ve just run

sudo apt install php7.0-sqlite3
sudo systemctl restart apache2

and now I’ve got

[0] => mysql
[1] => sqlite

attempting another restore!


(PbxNoob) #6

Cool! Looks like doing an apt-get upgrade now sorts out the GPG keys issue!? well done! @lgaetz am I correct this has been added in last day or so?


(PbxNoob) #7

hmmm - can it be right that a backup does not backup or restore /etc/asterisk/extensions_custom.conf ?


(PbxNoob) #8

This is despite __ASTETCDIR__ being included in the backup (have just checked). Just doesn’t seem to have successfully reimported from 14 to 15


(Lorne Gaetz) #9

The *custom.conf files are currently not included in backups, there is an open ticket on this.


(PbxNoob) #10

ah, another little blip - the restore has not transferred over the FMFM initial ring time correctly - for some extensions it’s set it to ‘0’ which results in calls failing. Should I raise this as a bug (issue)?


(Jared K Smith) #11

Yes, please.


(PbxNoob) #12

done !


(Stephan Koenig) #13

@lgaetz I can’t find it. Can you show me where it is?


(Jared K Smith) #14

This has since been fixed, please see Backup & Restore FreePBX 15+ – Adding support for custom files or directories


(system) closed #15

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.