Topic: Restoring from backup without upgrading
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.8.7
- Deployed with iRedMail Easy or the downloadable installer? Manual
- Linux/BSD distribution name and version: CentOS 6.5 (Old Box) Debian 11 (New Box)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL (Old Box) MariaDB (New Box)
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes (1.8.2)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
I'm in the process of restoring a backup of a former mail server that ran iRedMail 0.8.7 with iRedAdmin-Pro v1.8.2. Restoring the backups and performing an upgrade to the latest version appears to be a bit cumbersome with how out of date this box was.
What is lost if I just install a new box with the latest iRedMail and iRedAdmin-Pro?
The plan would be installing the latest versions, create the users again, and then restore the vmail directories into the newly made accounts. In my limited testing dropping the mail files back in the proper Maildir folders makes the appear in the webmail interface for the accounts.
Is there a better way to do this?
I can get the former aliases and passwords from a restore of the old iredadmin database I believe? Is there any change in how passwords were hashed or could I just bring over the old password hashes so users do not need to reset that?
Thank you for any insight you can provide. I've also sent in an email to see if I can get the license file for iRedAdmin-Pro regenerated for this new hardware that is replacing a failed hardware installation.
----Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Stable release is out.