LOL: Yep, everything in one db.
Before you begin, ensure that the new server is capable of both manual dial AND auto dial for a logged in agent in a campaign. Otherwise you don't really have a functional server (like renting a car with a blown out engine, probably not going to be a good weekend).
msyqldump on the old server. Of the entire DB. You can gzip if you like for transport (10-15% of the original size, much easier to transport).
- Code: Select all
mysqldump asterisk -p > XXXXX.sql
On the new server, DROP the asterisk database. CREATE the asterisk database. Now you have an empty asterisk shell database ready to receive. Then you "execute" the mysqldump file against the asterisk database:
- Code: Select all
mysql asterisk -p < XXXXX.sql
Now you have to upgrade the DB to match the code that's installed. instructions in the UPGRADE document included in the /usr/src/astguiclient/trunk folder
Then you have to update the IP from the old to the new.
And change the asterisk version in admin->servers.
And change any links (recording log, admin->system settings for audio and voicemail servers, dispo_url's ... all of 'em! LOL)
We charge $50 to back up and $100 to restore (and $100 to upgrade if necessary). It's also possible during Vicibox installation to install the same revision level in the new server as the prior server had (to avoid upgrading), but the challenge then is that you're running old code on a server you're just putting into service. Makes more sense to upgrade.