Problem during a restore

(Claudio Pelosi) #1

While doing some tests on the test machine we shut down a server while it was restoring a backup.
Now FreePBX doesn’t seem to work well anymore, we tried to restore from backup but it doesn’t do it, is there a way to make freepbx work again?

(Claudio Pelosi) #2


fwconsole reload
Ricarica FreePBX
Errore (i) si è verificato, il seguente è l’output retrieve_conf:
exit: 255
Unable to continue. symlink(): Il file esiste in /var/lib/asterisk/bin/retrieve_conf on line 134#0 [internal function]: Whoops\Run->handleError(2, ‘symlink(): Il f…’, ‘/var/lib/asteri…’, 134, Array)
#1 /var/lib/asterisk/bin/retrieve_conf(134): symlink(’/var/www/html/a…’, ‘/var/www/html/a…’)
#2 /var/lib/asterisk/bin/retrieve_conf(537): connectdirs->symlink_assets(‘amd’)
#3 {main}

(Claudio Pelosi) #3

I have a working backup on the disk … a tgz file
but I can’t restore it from the web interface

(Claudio Pelosi) #4

I tried to restore from console but …:

fwconsole backup --list

Command “backup” is not defined.

(Claudio Pelosi) #5

i tried with command knowing the filename …

fwconsole backup --restore ./20210830-16…

Command “backup” is not defined.

(Simon Telephonics) #6

Reinstall FreePBX and restore from the backup you have?

Alternatively you could try to hack through the issue starting with fwconsole ma downloadinstall backup to get the backup/restore module reinstalled.

(Claudio Pelosi) #7

is there a manual procedure to restore the backup copy from the tgz file?