Topic: Backup and Restore Procedure
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5.-1
- Linux/BSD distribution name and version: Debian 8.4.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Good morning,
I have read the backup and restore documentation, and the thread here - http://www.iredmail.org/forum/topic1064 … boxes.html
I am a little confused by exactly what I should back up and restore. My understanding is that backing up the MySQL databases with the backup scripts backs up the email accounts, but the emails themselves are held in a standard directory structure in the filesystem under /var/vmail/vmail1.
I am migrating from a server I set up some years ago and was my first attempt at running a Linux email server. I learned as I went along and think it is time to refresh the system and my knowledge. So I have an old server with a few domains which I want to separate out to new servers with one domain each. Each domain only has one email address that has useful emails.
I can see how the backup and restore of the MySQL database would be important for those with hundreds or more email accounts. But as I only have one, if I simply create a new email user on a new server with the same address as the old one and copy the relevant folder path from the old /var/vmail/vmail1/<domain>/u/s/e/r/ path, would this be enough to migrate successfully?
Thanks in advance.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.