Best practice for upgrade

hi:
I have a freepbx box with asterisk 1.4 and freepbx 2.5.
I want to upgrade that to a new machine with asterisk 1.8 and freepbx 2.9.

I wonder if there are better methods to dump/restore old freepbx settings to the new machine? can I just import/export the mysql database and let freepbx do the upgrade?

thanks a lot for help!!

You need to do a complete backup with the FreePBX backup module.

I would upgrade the existing system to FreePBX 2.8 then run the backup. You can’t restore between versions.

thanks for your suggestion.
so I make the following assumption:

  1. clone the existing environment to a virtual machine.

  2. upgrade freepbx to 2.9 in the virtual machine.

  3. use freepbx backup module to backup in the virtual machine.

  4. restore the backup in the new machine which has asterisk 1.8 and freepbx 2.9 installed.

will that work? my old machines is asterisk 1.4 and new machine is asterisk 1.8. will freepbx notice the difference after restore?

thanks again for suggestion!

FreePBX works fine with 1.4,1.6 and 1.8

Why would you need to do the P-V clone on the existing machine?

hi:
because I don’t want to touch my existing production PBX. so I prepare a new machine to replace my old one.
(in fact we have two PBX machines, one for production, one for testing/backup.last upgrade few years ago I switch the role of the two machines. this time I will switch them back again)

so I do a P-V to get freepbx settings to restore.
or I can use another physical machine to do that.
but virtual machine seems easier for the work.

I will try the procedure now. hope it works :slight_smile:

That would certainly be the most conservative way to approach the upgrade.

Let us know hos it goes.