[Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

Timo Sirainen tss at iki.fi
Fri Jan 29 09:59:22 EET 2010


On 29.1.2010, at 7.57, Luigi Rosa wrote:

> Timo Sirainen said the following on 29/01/10 06:48:
> 
>> The main potential problem with that is that if a message's flag is
>> changed, the filename changes so it's now stored twice in the backup
>> server. So when restoring mails, be sure not to restore duplicates.
> 
> Using a different dedicated directory for restored messages could lead to the
> same problem?

If you didn't give --delete parameter to rsync, there could be duplicates, yes. Dovecot just logs about them and gives new UIDs to them, so you'll end up having duplicate mails. I suppose some day I should just change it to log a warning, but delete if the files are otherwise identical.



More information about the dovecot mailing list