Page 1 of 1

Moving to new server

PostPosted: Tue Sep 07, 2021 7:18 pm
by ftan
Hello,

I have an old vicidial server running 2.9 and I have just installed a new server with vicibox and running 2.14.

I would just like to migrate the configuration of the 2.9 to the 2.14 as easy as possible. I don't need the recordings and such i just need to move the settings and configuration of the old server to new one.

I would just need the carriers, DID, campaigns and etc...

is there a way i can just export the configuration and import it into the new server?

Re: Moving to new server

PostPosted: Wed Sep 08, 2021 8:59 am
by carpenox
yes, use the ADMIN_backup.pl script to backup everything, then you can follow import the new settings into the new DB, but you need to process the upgrades one step at a time using the mysql update, if you need help with this, i have an article in my blog on how to do it, http://vicidial.bog and search for "restore"

Re: Moving to new server

PostPosted: Wed Sep 08, 2021 1:38 pm
by ftan
Thanks for the link.

I don't see anything on the myql update you mention.

I don't need the other files right just the database?

Re: Moving to new server

PostPosted: Wed Sep 08, 2021 1:48 pm
by GenXOutsourcing
export the database:
mysqldump asterisk > asterisk.sql

This will create the sql file in the root folder of the current server

Then either download or scp the sql file to the new server in the root directory

on the new server, log into mysql and then drop the asterisk database"
DROP asterisk;

Then import the new database:
\. /root/asterisk.sql

Then run the database update scripts from the /astguiclient/trunk/extras folder

Re: Moving to new server

PostPosted: Fri Sep 10, 2021 12:09 am
by ftan
i was able to restore the database but now none of the links work in the website. When i click administration it says object not found.