Moving to new server

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Moving to new server

Postby ftan » Tue Sep 07, 2021 7:18 pm

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?
ftan
 
Posts: 19
Joined: Fri Aug 27, 2021 10:14 am

Re: Moving to new server

Postby carpenox » Wed Sep 08, 2021 8:59 am

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"
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Moving to new server

Postby ftan » Wed Sep 08, 2021 1:38 pm

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?
ftan
 
Posts: 19
Joined: Fri Aug 27, 2021 10:14 am

Re: Moving to new server

Postby GenXOutsourcing » Wed Sep 08, 2021 1:48 pm

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
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: Moving to new server

Postby ftan » Fri Sep 10, 2021 12:09 am

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.
ftan
 
Posts: 19
Joined: Fri Aug 27, 2021 10:14 am


Return to Support

Who is online

Users browsing this forum: No registered users and 91 guests