Questions about migration from trixbox 1.2.3
Hi TB'ers,
Just trying to gauge what my options are here.
1) Is it possible to do a direct upgrade from TB 1.2.3 (* 1.2.12.1, fPBX 2.1.1, 2 x TDM04b) to the current TB stable? (2.2.10 I think?)
2) I assume not, but if so, would it be (un)advisable/troublesome/not-worth-the-effort to perform such an upgrade?
3) If I build a new current TB stable box, is it possible to migrate my current cfg from TB 1.2.3 over to the new server without much difficulty and would that be
(un)advisable/troublesome/not-worth-the-effort?
4) Would it be better to just start all over with current stable-- rebuild config manually for the environment?
Thanks in advance for everyones thoughts.
no there is no upgrade, but there is a migration path, just like windows nt to 2003 ;)
You need to really assess it and think if you are missing any features that the new version has to offer, you may want to load it in vmware and check it out so you know how different modules have changed.
I think GSNover wrote up a guide on this a few days ago (search), but real quick heres where youll need to start.
Consider cloning your drive if you arent sure. First make a backup of freepbx and copy this off, then upgrade freepbx to version 2.3x and update all the modules to the very latest possible versions. then check everything make sure it all works the way it should - vmail>email, queues, etc.
make a backup of the new freepbx and copy this off.
copy /etc/hosts
copy /tftpboot
and any other custom config files you might have that arent found in the asterisk directories.
then load your new machine up, get freepbx updated to all the latest modules so it should be the exact same build as your backup.
create a backup on the new machine, then copy your freepbx backup from the previous version into that folder and go to restore.
copy over your tftpboot folder, reboot your phones and you should be up, if you use endpoint manager it might wipe those out, so remember how its all laid out.
You need to really assess it and think if you are missing any features that the new version has to offer
Well for one thing, on-demand (*1) recording causes the machine to freeze is the call is over a ZAP channel, and totally lock-up (requiring physical reset) is over a SIP channel. I found threads here detailing a fix which was an Asterisk upgrade, but that was about 3/4 year ago and if I tried to upgrade Asterisk now, it would grab the newest version, quite probably causing other ancillary issues, so I began contemplating complete upgrade for that reason, and figured there are probably alot of other bug fixes for existing features/modules that exist in 1.2.3 (the new features gained would just be bonus if the worked well).
Thank you very much for the "roadmap", it is much appreciated. Do you have any links which can guide me through some of the steps you mentioned? I'm somewhat green in many of the areas you mentioned above.
For example, I assume you meant "dd" when you suggested to backup the drive. A more detailed writeup on some of the steps you mentioned would be wonderful.
If not, thanks for the information you've provided. It's the start I needed anyway
sorry - I dont have any guides/links handy. You dont necessarily need to use dd to image your drive, you could do that with a knoppix boot disk or something, but theres tons of other imaging disks out there, look for hirens boot cd, or acronis.
use the tar command to archive all the files you need that way permissions are kept:
tar -Pcz -f "destinationTAR.tar.gz" "/sourcedir"
then use winscp to copy them off to your windows box, or you can use winscp to create the tars, just right click and I think its the special commands menu.
For what its worth I did this today with these steps
Performed an installation of trixbox 2.2.10 on a new machine.
logged into FreePBX, installed the backup module.
Restored a tb1.2.3 backup (done by freepbx) file using this module.
Things looked a little 'odd' in the GUI when this completed.
Closed the browser windows.
Did a FreePBX 'upgrade' (via the CLI with the instructions from their web page)
Once completed logged into FreePBX and installed/upgraded all available modules
Configured my PRI cards.
did a yum update
Copied and configured the tftboot for my polycoms.
Phones registered first try.
Took about an hour start to finish.
Was curious to see what would happen going that route, figured i'd share the results.
This get's everything including the Endpoint Manager:
http://www.trixbox.org/forums/trixbox-forums/open-discussion/here...
I am more used to working with Microsoft SQL server, it is so nice to be able to just up and move the MySQL databases from one machine to another.
Sounds like you already did it, but for anyone else that stumbles accross this thread, the procedure I use is above.
Greg

Member Since:
2006-10-06