This is a new topic, following up on topic:
http://www.freepbx.org/forum/freepbx/general-help/high-availability-back-up-and-restore
I thought I had the same issue as StaceyB but apparently I hadn’t.
As allready discussed in other topic with mbrevda, I’m mising some functionality in the Backup and Restore module.
I have 2 servers, 1 is active and 1 is standby in case something happens with the first one. I cannot have them share the same trunk because my provider only accepts registration from 1 IP at a time. When doing a backup and restore, having the trunk disabled on the standby server is not an option because how can you enable it when the primary server goes down? (manually yes but not automaticly)
So an other option is to register a different trunk on the standby server (that trunk is a failover from the other trunk) but when doing a restore FreePBX copies the sip_additional.conf file which includes not only extension data but also trunk data (this is the part I think should be changed). When it restores this file all trunk data is messed up and the standby server has become useless.
How I currently handle the backup and restore:
I exclude the following mysql tables:
outbound_route_patterns
outbound_route_sequence
outbound_route_trunks
outbound_routes
sipsettings
trunks
I run a post-restore hook:
It runs a shellscript that replaces part of the sip_additional.conf file (at the moment it also replaces part of the sip_registrations.conf file but i’m not sure if this is correct, let me have a look at that).
This script also replaces mysql data in the sip table.
Checked the following options:
Restore Here
Apply Configs
I’m using:
Asterisk 1.8
FreePBX 2.10
Backup & Restore module 2.10.0.27