PROBLEM
I want to move my Atmail WebMail client only installation to another server.
ENVIRONMENT
- Webmail Only Installations: Version 7.0 > Current Version
CAUSE
Migration requirement.
RESOLUTION
This guide will take you through the steps to migrate your Atmail 7 WebMail Client Software to another server.
On the old server
Dump the MySQL database.
mysqldump -u root -p [atmail-database-name] > /var/www/html/atmail/atmail7-dump.sql
On the new server
Copy the entire WebMail folder to the new server.
rsync -e ssh -avr root@[old-server-ip-address]:/var/www/html/atmail/ /var/www/html/atmail/
On the new server
Import the Atmail database.
Log into MySQL and create new database to insert the dump into.
mysql -u root -p mysql> create database atmail7webmail;
Log out of MySQL and import the dump.
mysql -u root -p atmail7webmail < /var/www/html/atmail/atmail7-dump.sql
Comments