Warm Spare Not Getting Updates Made to Main Server

Using warm spare on two identical servers. When I run the backup it completes on the spare, but none of the changes I perform on the main are being copied to the warm. Running FreePBX 16.0.40.7 on both servers. Wonder if I should perform a restore on the warm spare or wipe it and start over? The log files indicate that the backup to the warm spare has completed successfully. Any help would be appreciated.

On the warm spare side there is also a backup.log which is actually the restore log. Check there to see why the restoration of your primary’s config is failing.

Thanks for the suggestion… only error I see is…

[2023-04-04 02:54:39] [723e98e7-7a16-4f2f-9390-b6d72cfc6dad.ERROR]: The process “gunzip < /tmp/backup/723e98e7-7a16-4f2f-9390-b6d72cfc6dad/files/tmp/dbdump/cdr.sql.gz | /usr/bin/mysql --host localhost --user freepbxuser -pz+OYVwKqDGbL asteriskcdrdb” exceeded the timeout of 3600 seconds. on line 1330 of file /var/www/html/admin/libraries/Composer/vendor/symfony/process/Process.php
[2023-04-04 02:54:39] [723e98e7-7a16-4f2f-9390-b6d72cfc6dad.INFO]: #0 /var/www/html/admin/libraries/Composer/vendor/symfony/process/Process.php(424): Symfony\Component\Process\Process->checkTimeout() #1 /var/www/html/admin/libraries/Composer/vendor/symfony/process/Process.php(211): Symfony\Component\Process\Process->wait() #2 /var/www/html/admin/libraries/Composer/vendor/symfony/process/Process.php(234): Symfony\Component\Process\Process->run() #3 /var/www/html/admin/modules/cdr/Restore.php(55): Symfony\Component\Process\Process->mustRun() #4 /var/www/html/admin/modules/backup/Handlers/Restore/Common.php(141): FreePBX\modules\Cdr\Restore->runRestore() #5 /var/www/html/admin/modules/backup/Handlers/Restore/Common.php(129): FreePBX\modules\Backup\Handlers\Restore\Common->runRestore() #6 /var/www/html/admin/modules/backup/Handlers/Restore/Multiple.php(71): FreePBX\modules\Backup\Handlers\Restore\Common->processModule() #7 /var/www/html/admin/modules/backup/Console/Backup.class.php(338): FreePBX\modules\Backup\Handlers\Restore\Multiple->process() #8 /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php(255): FreePBX\Console\Command\Backup->execute() #9 /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run() #10 /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand() #11 /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun() #12 /var/lib/asterisk/bin/fwconsole(163): Symfony\Component\Console\Application->run() 13 {main}

going thru the backup.log, i see it restoring system recordings… but the new ones are not in there. Going to check the main log and see if the new ones are actually in the backup.

More Info:
Main server is creating backup for warm spare every night. I can see it copy the files that are new. When I look at the backup.log file on the warm spare, the last restore was 3 days ago (odd, should run every night) and the log shows that it never copies the new files.

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