Backup from one machine running activated version of FreePBX 16.0.40.8 restored into new machine with identical version, also activated and updated. Is it really true that it won’t restore the trunks and outbound routes?? (have tried several times now, with same result)
This did not used to be a problem.
Hey @petecat1 as of now there is no known issue that this functionality is broken or not working so it should restore the outbound routes and trunks.
May be you can check the restore logs if you find anything there.
thanks, can you direct me to those?
/var/log/asterisk/backup.log
any particular line that might be worth searching?
core module restore logs.
[2024-07-26 13:17:06] [adca62bb-57e6-4bed-bd3c-91339aae27cc.INFO]: Processing core [] []
[2024-07-26 13:17:06] [adca62bb-57e6-4bed-bd3c-91339aae27cc.INFO]: Resetting core module data [] []
[2024-07-26 13:17:10] [adca62bb-57e6-4bed-bd3c-91339aae27cc.INFO]: Restoring from core [FreePBX\modules\Core\Restore] [] []
[2024-07-26 13:17:10] [adca62bb-57e6-4bed-bd3c-91339aae27cc.INFO]: Processing Ampusers [] []
[2024-07-26 13:17:10] [adca62bb-57e6-4bed-bd3c-91339aae27cc.INFO]: Processing Astmodules [] []
[2024-07-26 13:17:10] [adca62bb-57e6-4bed-bd3c-91339aae27cc.INFO]: Processing Dahdichannels [] []
[2024-07-26 13:17:10] [adca62bb-57e6-4bed-bd3c-91339aae27cc.INFO]: Processing Devices [] []
[2024-07-26 13:17:10] [adca62bb-57e6-4bed-bd3c-91339aae27cc.ERROR]: Invalid argument supplied for foreach() on line 13 of file /var/www/html/admin/modules/core/Restore/Devices.php [] []
[2024-07-26 13:17:10] [adca62bb-57e6-4bed-bd3c-91339aae27cc.INFO]: #0 /var/www/html/admin/modules/core/Restore/Devices.php(13): Whoops\Run->handleError() #1 /var/www/html/admin/modules/core/Restore/Devices.php(7): FreePBX\modules\Core\Restore\Devices->updateDevices() #2 /var/www/html/admin/modules/core/Restore.php(53): FreePBX\modules\Core\Restore\Devices->setConfigs() #3 /var/www/html/admin/modules/backup/Handlers/Restore/Common.php(141): FreePBX\modules\Core\Restore->runRestore() #4 /var/www/html/admin/modules/backup/Handlers/Restore/Common.php(129): FreePBX\modules\Backup\Handlers\Restore\Common->runRestore() #5 /var/www/html/admin/modules/backup/Handlers/Restore/Multiple.php(71): FreePBX\modules\Backup\Handlers\Restore\Common->processModule() #6 /var/www/html/admin/modules/backup/Console/Backup.class.php(338): FreePBX\modules\Backup\Handlers\Restore\Multiple->process() #7 /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php(255): FreePBX\Console\Command\Backup->execute() #8 /v
are you sure you are using latest core version?
Freepbx 16 core v16.0.68.28
fwconsole ma downloadinstall core --tag=16.0.68.28
Fixed! Thanks so much. I ran that command on both servers, then ran backup, then restored. Trunks and outbound routes are there.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.