Topic: Migrating to a new server?
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version 0.9.9:
- Deployed with iRedMail Easy or the downloadable installer? yes
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginix
- Manage mail accounts with iRedAdmin-Pro? Not yet
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I saw an old thread on moving to a new server. It mentions about copying the mail boxes over.
Using scp I copied over /var/vail/vamil1 over to /mail/vmail/vamil1 on the new server.
I could see the disc on the new server filling up, but I am not seeing the emails.
In fact in one of the directories I noticed there is a folder with user names following a set of numbers.
On both the old, and new server, they are different numbers following the name. but the scp copy did not bring over that original folder into the new one.
On top of that, I was having other issues with the new server, so I rebuilt it anew .
I not not seeing any much more guidance on this except a mention of using rsync. Should I use this rather than SCP?.
Another thing, should I recreate the users on the new server first. or copy the mail over then recreate the users?
Thanks!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.