TRY THIS Moving Wazo to New Server

Kalash

New Member
Joined
Apr 20, 2017
Messages
9
Reaction score
3
Hey everyone, I've searched all over and can't find a solution to move my Wazo build from DO to Vultr.

Can someone explain or point to a guide on how to save everything and move it over to a new host.

Thanks
 

Kalash

New Member
Joined
Apr 20, 2017
Messages
9
Reaction score
3
Thank you for reply Brian.

I had seen those links, from reading it looks like there is no way to do it without changing new servers IP address.

I guess I'll have to copy all the settings by hand ;(
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,224
@Kalash Try the following.

1. Install latest version of Incredible PBX for Wazo on new platform.

2. Make sure that your old server has been upgraded to latest version of Wazo, i.e. IT MUST MATCH VERSION ON NEW SERVER!

3. On the old server, login as root and...
Code:
cd /root
export PGPASSWORD='proformatique'; pg_dump -U asterisk asterisk > wazo-17.09.pgsql
cd /
tar zcvf incrediblepbx-17.09.tar.gz /root/wazo-17.09.pgsql /etc/asterisk /var/www/html/reminders /var/www/html/asteridex4

4. Copy /incrediblepbx-17.09.tar.gz tarball to / on the new server.

5. On the new server, do the following:
Code:
cd /
xivo-service stop
chattr -i /root/*
tar zxvf incrediblepbx-17.09.tar.gz
 chown -R asterisk:www-data /etc/asterisk
 chmod 660 /etc/asterisk
 chmod 664 /etc/asterisk/extensions_extra.d
 chmod g-s /etc/asterisk/extensions_extra.d/..
 chmod g-s /etc/asterisk/extensions_extra.d
 chmod 2775 /etc/asterisk/extensions_extra.d
 chmod 2775 /etc/asterisk/extensions_extra.d/..
cd /root
 sudo -u postgres psql postgres -c "DROP DATABASE asterisk"
 sudo -u postgres psql postgres -c "CREATE DATABASE asterisk"
 sudo -u postgres psql postgres -d asterisk -f wazo-17.09.pgsql
/etc/init.d/asterisk reload
xivo-service start
xivo-update-keys

Test, test, test! No guarantees, but it's worth a try.
 
Last edited:

dicko

Still learning but earning
Joined
Oct 30, 2015
Messages
1,634
Reaction score
846
Here is an anecdotal story that WFM . . .

On the DO instance,

install mondoarchive
run it but choose to save the iso to /var/www/html/youriso.iso
change the ownersip of youriso.iso to the apaches user (asteriisk)
On Vultr, load the iso image (you have two) from http://yourDOinstance/youriso.iso
Nuke the new Vultr server from the DO mondoarchive iso
Detach the mondo iso from the vultr machine. and reboot
Clean up the network etc.

Bob's your uncle ;-) and it only takes three beers, no thinking involved, and nothing ever stops working.
 
Last edited:
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