Backing up and restoring maildir folders

Leonardo Rodrigues leolistas at
Mon May 22 20:08:29 EEST 2017

     Backing up maildir is easy, just backup (and restore) the whole 
thing and, usually, that's as simple as that.

     However, for saving some backup space if that's a matter, i would 
exclude only the 'dovecot.index.cache*' files, as these can be rebuilt 
(some performance hit after the restore, of course) but, in some 
servers, that makes almost a 10% difference to me.

     Besides the cache files, you really should backup everything inside 
the maildir folders.

Em 22/05/17 13:40, Timothy D Legg escreveu:
> Hello,
> I am migrating to a different distribution of  Linux that involves
> changing to an earlier version of dovecot (2.2.22 to 2.2.13).  As part of
> this process, I will be copying several maildirs to the new machine.  One
> of these has a number of files and directories that resemble this one
> example:


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes at
	My SPAMTRAP, do not email it

More information about the dovecot mailing list