How to backup Postfix mails?

Is server, Postfix, dovecot. How to make backups of emails on the server? Then you can certainly can restore them on another server with Postfix'ohms.

If suddenly this is being done through some Postfix admin c GUI'eat on the server, then I have no worth and do not want to put.
June 3rd 19 at 18:59
1 answer
June 3rd 19 at 19:01
Just copy the configs, database and mailbox though rsync'om or other stredstv.
Well, not necessarily mailboxi. Maldini can be, for example. - jaylin.Emmeri commented on June 3rd 19 at 19:04
you are right, but I generally mean the directory with the mail - tomasa_OConn commented on June 3rd 19 at 19:07
rsync, imapsync (maybe it will be more convenient?).
If rsync, be sure to try the recovery. Otherwise, some little thing will pop up at the wrong moment.... If you just backup the mail, it is easier (you can just files the mail folders), but if you restore the entire server it is necessary to make this second server to be configured for the accounts to pull mail from your primary the same rsync.

Or if you are installing the primary server is fully documented, you know, that's three files postfix, here is the directory /vmail, here postfixadmin (again, you have it updated or not) and a copy of the mysql database (or whatever you have).

But it is better - a copy of the mail on the prepared backup mailer. - Leanne.Glov commented on June 3rd 19 at 19:10

Find more questions by tags E-mailPostfix