|
|
(11 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| Please [http://www.kolmisoft.com/contacts/ contact us] before migration as only Kolmisoft team can migrate the license from old server to new one. | | Migration is a paid service and can be done ONLY by Kolmisoft team. Please [http://www.kolmisoft.com/contacts/ contact us] if you want to do the migration. |
| | |
| Login to Your system, shutdown asterisk and apache:
| |
|
| |
| /etc/init.d/asterisk stop
| |
| /etc/init.d/httpd stop
| |
| This is needed to make sure you have ideal data in your new server.
| |
| | |
| | |
| Then make a backup of your databases:
| |
| | |
| mkdir /root/backups
| |
| cd /root/backups
| |
| mysqldump --all-databases -u '''DATABASEUSER''' -p'''DATABASEPASSWORD''' >/root/backups/alldatabases.sql
| |
| tar -czvf alldatabases_BACKUP.tar.gz /root/backups/*.sql
| |
| | |
| This will make an archived backup with your databases in /root/backups/alldatabases_BACKUP.tar.gz file
| |
| | |
| Download and leave a copy in some safe place, for example your workstation.
| |
| | |
| To extract files from archive do:
| |
| | |
| tar xvfz file_name.tar.gz
| |
| | |
| Copy all remaining files:
| |
| /etc/my.cnf
| |
| /etc/asterisk directory (asterisk config files),
| |
| /home/mor/config (config directory)
| |
| /var/lib/asterisk/sounds (sounds, including custom ones)
| |
| /var/spool/asterisk/monitor (recordings)
| |
| /var/spool/asterisk/faxes
| |
| /home/mor/public/images/logo
| |
| ... any other important files which you think could be usefull in future.
| |
| | |
| * [[MOR install script | Install new server]]
| |
| * [[Upgrade MOR GUI | Apply upgrades]]
| |
| | |
| | |
| Copy your old my.cnf file to /etc/my.cnf (then restart mysql server).
| |
| Copy your old files to your new system.
| |
| | |
| If everything was smooth , its good idea to [[Change default passwords]].
| |