What I do:
1 - I ran a maildirlock command to my mail folder 2 - I then rsync the folder where my maildirs are, as well as the indexes, to a remote location 3 - I tar.gz the daily backup 4 - I kill the maildirlock process
I also use replication of my server so that I keep getting mail when my main server isn't available.
As for postfix, I backup the database once a week, since it doesn't get changed that often.
Hope that helps!
Best,
Francis
On 09.02.2020 18:26, Esteban L wrote:
Hello,
Was thinking it would be wise to backup my server, in case anything "bad" ever happened, so that I could quickly get up to speed.
clone the whole drive -- which might be the best to ensure I keep the whole system working.
But, what about, if I just wanted to backup my Email server components? Postfix - which I think is just config files, and Dovecot - I think there is a doveadm backup for doing such things.
What do you guys do, recommend for backups??
Thanks