Topic: Migration from old iredmail instances to the new one
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition
- Linux/BSD distribution name and version: CentOS Linux release 7.4.1708 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello All,
I want to migrate from two old iRedMail instances (0.8.7) to the new one (0.9.7).
How can I migrate from both old instances to the new one?
I found https://docs.iredmail.org/migrate.to.ne … erver.html but it seems shows only migration from one instance.
Also I was not able to import MySQL DB from old instance, do we need to restore whole dump or some tables only?
While db import from old db, get following errors:
ERROR 1048 (23000) at line 24: Column 'active' cannot be null
ERROR 1136 (21S01) at line 34: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 35: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 36: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 37: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 38: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 39: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 40: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 41: Column count doesn't match value count at row 1
.....
ERROR 1136 (21S01) at line 998: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 999: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 1000: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 1001: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 1002: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 1003: Column count doesn't match value count at row 1
ERROR 1136 (21S01) at line 1004: Column count doesn't match value count at row 1
Not sure which approach is suitable for me.
Any suggestions are much appreciated.
Thans,
Roden
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.