Topic: Migrate very old Version
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.7.3
- Linux/BSD distribution name and version: Debain 6 -> Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes, lifetime license
- Related log if you're reporting an issue:
====
Hi,
I have to migrate a five year old iRedMail Server, and i'm running into problems.
I backed up the old database
mysqldump --user=*** --password=*** --all-databases > dump.sql
and backed up the mails from /var/vmail.
(I just copied the folder, is that enough or do i have to use some tool?)
I installed the newest version of iRedMail & iRedAdminPro onto the new ubuntu machine.
Now I'm getting into trouble with migrating.
When I want to import the old mysql dump it shows some errors and the webpanels dont work anymore.
the old mysql database includes these databases:
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| amavisd |
| iredadmin |
| mysql |
| phpmyadmin |
| postfixpolicyd |
| roundcubemail |
+--------------------+
I am also wondering, the iredadmin panel shows i'm using ldap, are all the mails in /var/vmail stored as ldap and the user accounts as mysql, or how to i have to understand that?
I've read this: http://www.iredmail.org/docs/migrate.to … erver.html
but it didn't really help me..
So it would be nice if somebody here could help me
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.