Problem during a restore

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?

Example:

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}

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

I tried to restore from console but …:

fwconsole backup --list

[Symfony\Component\Console\Exception\CommandNotFoundException]
Command “backup” is not defined.

i tried with command knowing the filename …

fwconsole backup --restore ./20210830-16…

[Symfony\Component\Console\Exception\CommandNotFoundException]
Command “backup” is not defined.

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.

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

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