Switching from Trixbox to PBXinaFlash

Phone_User

Guru
Joined
Jun 9, 2008
Messages
314
Reaction score
0
I have a couple productions systems running on Trixbox. If I use the Backup in FreePBX and install PBXinAFlash, will the restore in FreePBX get the system back up and running. Or will I run into problems?

Anyone tried this yet.

Thanks
Rob
 
First, make certain that the versions of Asterisk and FreePBX are the same on both machines (especially FreePBX). Be sure you manually back up your MySQL data and also make a copy of your /etc/asterisk files. Last but not least, make a copy of your Asterisk database: /var/lib/asterisk/astdb. And also print it out from the CLI for reference: database show.
 
Rob,

The biggest thing is to make sure that FreePBX on the Trixbox is the latest stable version. Then, run the backup from FreePBX on the Trixbox and copy the resulting tarball from /var/lib/asterisk/backup to another machine somewhere. Just for safety I usually copy the /var/lib/asterisk/ and the /etc/asterisk/ folders to another machine also, just in case the restore fails. I still have the config files from which I can reconstruct the server by hand. If you are using Dundi, make sure you get your keys from /var/lib/asterisk/keys.

Load you PIAF software and update FreePBX modules to the latest and greatest. Then run a backup on the new install. The only reason to do this is to create a folder to copy your previous tarball to. Copy the tarball from your Trixbox backup to the new machine in /var/lib/asterisk/backup/ and run the restore from FreePBX.

I have done this a number of times and have yet to have it fail.

There is one gotcha. If you have updated your Trixbox to the new version of their GUI and are using their forked (another word comes to mind here also) version of FreePBX, this might not work.
 
Ok, I have a spare machine so I'm going to follow the instructions here and post back my results.

I'm installing PIAF now. And yes it is their Forked version, I agree after some strugles that another word could be used there.


If all goes well, I will be able to take the production server down and quickly replace with my spare, then follow the proceedures and replace each server and still end up with a spare.

Rob
 
Hi Jim

I suspect that one of their reasons for "forking" is so it can be made even more difficult to move from TB elsewhere. Course the code in that particular module has not been modified too much yet.

I suppose I need to sit down and write a TB to PIAF migration tool. I suppose that would be considered stirring the pot hehe. Trouble is a migration tool sound easy but they are not.... oh well back to 1.3 Final

Tom
 
Then run a backup on the new install. The only reason to do this is to create a folder to copy your previous tarball to. Copy the tarball from your Trixbox backup to the new machine in /var/lib/asterisk/backup/ and run the restore from FreePBX.

Another reason to have the blank backup is to do it jsut for that reason, IF the TB to PiaF restore fails, you can atleast take the PiaF box back to a virgin state, which'll save you the hassle of re-installing from the iso and downloading all/any updates.
 
First attempt was a total failure. I did the backup on both machines, copied the backup from the TB to PIAF restored and ended up with a TB green system.

Second attempt, restored the PIAF from backup, update-scripts, update-fixes, did a database dump on TB system. Droped the asterisk tables on PIAF system. Copied my /etc/asterisk dir to PIAF system. Imported the database from TB system and so far all looks good.

I don't have any call reporting on the FreePBX tab but in the user portal it shows all calls upto the time of backup. Still poking and proding to see if there are other problems.

I'll keep you posted.

Rob
 
FreePBX should generate most of the required Asterisk DB stuff, but... At the Asterisk CLI, run a database show on both systems. You may need to manually add back in some of the entries if they aren't there. In particular, look for the AMPUSER, CALLTRACE, CF, CW, and DEVICE entries.
 
Just followed these instructions but after running the restore on my PiaF nothing has changed. The only doubt I have is the asterisk versions. On trixbox I am on 1.4.22-4 and on PiaF I am on 1.4.21.1 -- will that cause a problem and make my migration fail?
 
Can anyone help me with a trixbox to PiaF migration? I tried the steps outline here but it didn't work for me.

Thanks in advance!
 
A trixbox forked to PIAF conversion has
nothing to do with "Trixbox without tears" :cryin:

Anthony
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top