[Dovecot] Random questions on backing up Dovecot

Tabbed Out tabbingout at gmail.com
Mon Mar 11 16:51:16 EET 2013

Hi, I've read a few threads about the subject, but I am hoping someone can
comment on a few misunderstandings that I might have? It seems like doing a
tar of the mail folder location then rsyncing it over to the backup
location is the general idea.

I plan to have dovecot create 6 virtual users using Maildir, located at

A few specifics I am unclear on:

Someone here gave a descriptive outline on this here:

It's a bit silly, but does anyone have any comments about his suggestion on
doing a 'tar cvf' first, then doing a gzip on that archive? Are the
benefits really that great?

My lack of understanding of control files and index files contribute to
this question. If I want to move to a new server and I only tar'd my
how does this affect control files? Is it as simple as just copying pasting
back into /var/mail on the new server, and then Dovecot will create new
UUIDs for the messages?

How do I handle the case where the script is currently tarring/gzipping the
entire /var/mail, but I receive a new mail during that period? What happens
if I use thunderbird to delete a mail during the archiving process?

More information about the dovecot mailing list