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

Timo Sirainen tss at iki.fi
Fri Jan 29 07:48:33 EET 2010


On Fri, 2010-01-29 at 10:21 +0500, CoolAtt NNA wrote:
> 
> Hi Alex,
> 
> I mirror the mailboxes as follows:
> 
> rsync -avt --log-file=$log_file /home/vmail/ 10.0.0.x:/home/vmail
> I run it in a script for e,g every 1 min.
> By doing so if an email is deleted on the live server it still remain on the backup server.
> Then I give each mail file a retention period of n days so that it automatically gets deleted from the backup server.

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100129/d03d3496/attachment.bin 


More information about the dovecot mailing list