I HAVE A DREAM Incredible Backup Migration to New Linux Platform

hecatae

resident hecatae
Joined
Feb 7, 2014
Messages
760
Reaction score
199
I have successfully used this http://www.sentris.net/billing/knowledgebase/25/How-to-re-install-Centos-yourself-remotely.html to reinstall pbxinaflash with the install scripts.

for example, you have asterisk 1.8, and centos 6.2, and you want to move to asterisk 11 and piaf 3.0.66, backup using backup and restore, copy the backup off the server, create the pxe boot, login via vnc, complete a minimal install, run the piaf 3 install script, grab coffee, choose asterisk 11 and fpbx 2.9, let it install, have another coffee, come back later, copy backup to server, in /var/lib/asterisk/backups, full restore, use the fpbx upgrade tools to upgrade to 2.11, done.

I'm still testing if it works with centos 7, and I'm unsure moving it to different architecture. But it works
 

ostridge

Guru
Joined
Jan 22, 2015
Messages
1,618
Reaction score
517
jeff.h: Should be good to go with CentOS 7 migration to Raspberry Pi now. Use same instructions as Ubuntu above. Pretty ugly stuff, but it works.



Haven't tried CentOS 6.5 yet. Stay tuned... CentOS 6.5 now works as well. Same instructions.

For RPi2b raspbian =iPBX 12.0.70 the MySQL default pass is not raspberry so omit the above fudge.
but :oops: that one for RPib is for 3.11.12; but mine has 'such' status which fpbx reports is 12.11.70. I take it that won't apply just yet.
Just found how to copy status text from putty. And also I notice yours don't have 'such' - so how do I rid status of the "such"?

status= Incredible PBX such for Raspberry Pi 2
Asterisk: UP Apache: UP MySQL: UP
SendMail: UP IPtables: UP SSH: UP
LAN port: UP Fail2Ban: UP Webmin: UP
RAM:226528 Raspbian (wheezy) Disk:52G
Asterisk 11.19.0 Incredible GUI 12.0.30
Private IP: 192.168.x.x
Public IP: x.x.x.x
System Time: Wed Sep 2 01:38:49 BST 2015
Regards
 

timgoforth

New Member
Joined
May 12, 2008
Messages
26
Reaction score
0
Is there a recommended way to move from PIAF Green (Centos 6.4 Asterisk 11/FreePBX 2.11) to IPBX13?
I've tried using instructions above for Incrediblebackup/restore & FreePBX Backup/Restore... neither work?
Thank you for your help?
 

geopeterwc

Guru
Joined
Aug 17, 2010
Messages
385
Reaction score
131
Is there a recommended way to move from PIAF Green (Centos 6.4 Asterisk 11/FreePBX 2.11) to IPBX13? I've tried using instructions above for Incrediblebackup/restore & FreePBX Backup/Restore... neither work? Thank you for your help?
Likely, if the procedures described above fail, it's time to invoke copy & paste. If you can have both your old and new PIAF systems running at the same time, and can have the GUI for both loaded into different windows on the computer that you're using to administer the systems, you're likely to be able to copy trunk and extension settings from the old system to the corresponding fields in the new system.

One snafu that you're likely to encounter (I'm also dealing with it) is that the new system utilizes both Chan-SIP and Chan-PJSIP ... and they bind to ports 5061 and 5060 respectively. Prior versions configured Chan-SIP at port 5060 ... so, in whomever's wisdom it was to make this change ...

You can disable Chan-PJSIP in the new system, however doing so may introduce some future problems in doing to - so that only Chan-SIP is operational. Changing the bind port for Chan-SIP to 5060 will make that "feature" the same as the old.

YMMV.

/Pete./
 

Stan-O

Member
Joined
Oct 9, 2013
Messages
60
Reaction score
8
I'm currently on CentOS 6.7 with:

PIAF Installed Version = 2.0.6.4
FreePBX Version = 12.0.76.2
Running Asterisk Version = 11.20.0

There's no incrediblebackup neither in /root/ nor anywhere else in the system. What should my steps be to migrate the current settings to Ubuntu, ideally upgrading to the more recent Asterisk if possible?

Thanks!
 

Stan-O

Member
Joined
Oct 9, 2013
Messages
60
Reaction score
8
I'm currently on CentOS 6.7 with:

PIAF Installed Version = 2.0.6.4
FreePBX Version = 12.0.76.2
Running Asterisk Version = 11.20.0

There's no incrediblebackup neither in /root/ nor anywhere else in the system. What should my steps be to migrate the current settings to Ubuntu, ideally upgrading to the more recent Asterisk if possible?

Well, had some time on my hands and I've done a little experimenting with a local VM.

So with the script from incrediblepbx11-12.2-ubuntu14.tar.gz it failed (maybe because I didn't reboot after the script completion, but then I wasn't prompted to), but with the incrediblepbx13-12.2-ubuntu14.tar.gz it worked quite fine: I've used the built-in web-based backup (partial) on my old CentOS install, grabbed the resulting file and used it to restore the settings in the Ubuntu install.

All my extensions, trunks, routes were migrated. The only thing which did't get moved over was the /etc/asterisk/extensions_custom.conf which I've edited manually.

Now all I need to figure out is how to remove the apps/features I don't want.
 

Stan-O

Member
Joined
Oct 9, 2013
Messages
60
Reaction score
8
Weird, when I tried it in a production environment and updated modules after restoring from backup I started having problems.

I believe some modules were downgraded and now I have 73 tampered (they are all missing) files for the modules.
Here's what happens if I try to force redownload of those:
root@sip:/etc# amportal a ma download -f configedit
Please wait...
The following error(s) occured:
- Retrieved Module XML Was Empty

I'm having problems with the following modules:
"Incredible PBX GUI"
"ConfigEdit"
"phpMyAdmin"
"Sys Info"

Any ideas how can I resolve this?
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
@Stan-O On your original machine, use Module Admin to upgrade all existing modules. Then apply GPG patch. Then do an Incredible Backup.

On the new machine, perform the Incredible Restore. Do NOT attempt to force module updates. Some of these are not FreePBX GPL modules and are not fully supported except in their original states. And, yes, reboot after you complete the process.
 

Stan-O

Member
Joined
Oct 9, 2013
Messages
60
Reaction score
8
@Stan-O On your original machine, use Module Admin to upgrade all existing modules. Then apply GPG patch. Then do an Incredible Backup.

On the new machine, perform the Incredible Restore. Do NOT attempt to force module updates. Some of these are not FreePBX GPL modules and are not fully supported except in their original states. And, yes, reboot after you complete the process.
Thanks for getting back to me so quickly.

As I have not brought these packages over from the old machine (I used the freepbx'es built-in web-based backup & restore and only carried over the settings, not the full backup), I'd imagine that these packages were installed by the IncrediblePBX script on the new (Ubuntu) machine. So can I just manually grab them from the same location? Where would that be?

Also, is there a list of packages which are unsafe to upgrade with "Incredible PBX 13-12.2 for Ubuntu 14"? Can I set these specific packages to never update once and for all?

UPDATE: Funnily enough running the GPG patch script got rid of the errors. Should I leave it as is?
 
Last edited:

Members online

No members online now.

Forum statistics

Threads
25,779
Messages
167,505
Members
19,199
Latest member
leocipriano
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.
Top