Topic: Migrate to New iRedMail Server
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
================ Required information ====
- iRedMail version 0.95.1
- Linux/BSD distribution name and version: Ubuntu 14.04LTS
- Store mail accounts in which backend mySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====
I have a couple of questions on the migration of an old mail server to a new mail server.
1. Export only the data or do export the table structures too
Do I use the --no-create-info option on the dump command?
mysqldump -uroot -p --no-create-info vmail > mail.sql
On a test server, the import only worked when I dropped the database on the new server and re-create it with the import, by not using the --no-create-info option.
2. Can I merge the domains from two old mail servers and migrate to a new server?
This will mean I need to export and import the data only from the two old servers
3. Merge /var/vmail mail stores
Can I use rsync to move the mail messages from /var/vmail from the two old servers to the new server or will it cause problems in the mail store?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.