1

Topic: Migrate iRedMail Easy on Ubuntu 20.04 to iRedMail EE on Ubuntu 24.04

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 20231229901
- Deployed with iRedMail Easy or the downloadable installer: iRedMail Easy
- Linux/BSD distribution name and version: Ubuntu 20.04.12LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?iRedAdmin-Pro
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

We have an old iRedMail Easy server from a long time ago that we want to migrate to iRedMail EE and to a new Ubuntu 24.04 LTS server.

The existing os on the serve has had so many upgrades that it is a mess and we want to start now with a clean server with latest LTS release.

What would be the suggested process to achieve this? 

Specific Questions:

1. iReadMail Easy Version:
We attempted to upgrade the iRedMail Easy to the latest version, but that does not seem possible anymore, as our subscription has been cancelled.

Should we re-enable the subscription and upgrade to the latest version?

Is it even possible to re-activate the subscription and upgrade?

2. Export iRedMail EE Config and Import on new Server
I saw in a previous post that there was a requested to be able to export the config of an iRedMail Server to import on a new iRedMail Server, but I am not able to verify that this feature is available and if it would actually help

Any advice and guidance will be appreciated

Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Migrate iRedMail Easy on Ubuntu 20.04 to iRedMail EE on Ubuntu 24.04

1: Yes it's ok to re-subscribe and upgrade.
2: Are both old / new servers running on VMware or other VPS? Is it possible to live migrate the VM guest?

If not possible to do live migration, here's the brief steps to migrate, i suggest practice steps 3-6 with a testing machine or VM before you do final migration and switch.

1. Upgrade old server to latest iRedMail version on iRedMail Easy platform.
2. Migrate to EE in place on old server. FYI https://docs.iredmail.org/easy.to.ee.html
3. Export SQL databases on old servers and import them all on NEW server -- EXCEPT the one named "mysql".
4. Transfer whole /var/vmail/ directory to new server (with "rsync").
5. Transfer whole /opt/iredmail/custom/ directory to new server (with "rsync").
6. Re-perform a full deployment on NEW server: Login to EE as global admin, click "Deployments" on left sidebar, then click "Re-perform full deployment". It will generate config files for new software offered by NEW OS release (24.04).

That's it.

3

Re: Migrate iRedMail Easy on Ubuntu 20.04 to iRedMail EE on Ubuntu 24.04

Thanks for feedback and advice.

We will do a practice run and see if we encounter any issues