So I've been working on creating a restore script largely based on this:
The idea is to have a duplicated server of my dev machine somewhere else for the sake of testing redundancy.
I've actually got the script working in that it restores to another machine, and visually keeps up with the machine that it's being backed up from. What gets weird is:
if I make a modification in the source server, and then restore to the destination server, although visually everything is there, Inbound functionally reflects the old changes when I dial in, until I hit the save button on my Inbound Destination. So it's almost like FusionPBX is up to date with the source server, but Freeswitch is missing something.
If I reboot the machine, nothing is changed, IF however I hit the "save" button on my Inbound Destination (no changes otherwise made), the new updates are reflected.
I'm still messing with this, but I was curious if anyone has seen this before.
Do most handle restoring by using a clean install of FusionPBX? I'm wondering if there's issues with unique IDs or something of the sort, since I do save/restore the config.php and config.lua from the new install as that includes the db password.
Restore — FusionPBX Docs documentation
docs.fusionpbx.com
The idea is to have a duplicated server of my dev machine somewhere else for the sake of testing redundancy.
I've actually got the script working in that it restores to another machine, and visually keeps up with the machine that it's being backed up from. What gets weird is:
if I make a modification in the source server, and then restore to the destination server, although visually everything is there, Inbound functionally reflects the old changes when I dial in, until I hit the save button on my Inbound Destination. So it's almost like FusionPBX is up to date with the source server, but Freeswitch is missing something.
If I reboot the machine, nothing is changed, IF however I hit the "save" button on my Inbound Destination (no changes otherwise made), the new updates are reflected.
I'm still messing with this, but I was curious if anyone has seen this before.
Do most handle restoring by using a clean install of FusionPBX? I'm wondering if there's issues with unique IDs or something of the sort, since I do save/restore the config.php and config.lua from the new install as that includes the db password.