Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run a small PBX based on the FreePBX distro of Asterisk. The installation has been steadily upgraded but for various reasons, we want to start again on a new server with a clean install from the distribution media.

Will I be able to take a backup from the old server and restore it to the new server, even though the installs are different versions? How sensitive are FreePBX backups to the build version? Is it possible to get at least a partial restore?

share|improve this question

Generally you're best off bringing both machines to the same version before trying to restore.

If you don't go that route the thing to watch out for is schema changes between versions.
Read the changelog carefully, and mount a scratch monkey before sacrificing your production environment (while virtual machines won't work for VOIP they are fine for testing a restore...)

share|improve this answer
    
Good advice on the VM, I will certainly do that. – Tim Long Jul 4 '12 at 9:57
    
How Sensitive are the Asterisk Versions? From What I have found with FreePBX going from 2.X.** to 2.X.** is fine but going from 2.X.** to 2.Y.** won't work. AKA Major revisions, but from what I read, asterisk 1.8/11 is compatable with FreePBX 2.8-12 (somewhat) so can I restore a backup with same PBX versions but different Asterisk>? – FreeSoftwareServers Jun 29 at 19:42
    
@FreeSoftwareServers My experience has been that Asterisk isn't the problem but rather it's the underlying FreePBX libraries and database structure that get confused when you restore across versions. FreePBX can configure a number of different versions of Asterisk (there's a command-line tool that picks the active version in their distribution), so what I'd do in your situation is configure identically, restore, and then run the script to change Asterisk versions. – voretaq7 Jun 29 at 21:42
    
That's more for FreePBX distro... I'm steering more custom since I'm attempting to get to CentOS 7. To bring my configs across so much upgrading is proving difficult! – FreeSoftwareServers Jun 29 at 22:01
    
Custom installs have a much harder time upgrading asterisk I believe but im not 100% on that – FreeSoftwareServers Jun 29 at 22:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.