[Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?
CoolAtt NNA
coolatt at live.com
Fri Jan 29 10:59:34 EET 2010
For email email am having the email duplication issue when am doing the backup.
Am having multiple copies of a mail file on the backup server.
Does it mean that if I use "--fuzzy --delete-after" only the most recent mailfile will be on the backup server ??
e.g On LIVE server : my-file:2,S
On BACKUP server : my-file:2,S + my-file:2, + my-file:2,SF
"my-file:2,S" is the current file.
So on the backup only "my-file:2,S" must exist.
Will it solve the prob ??
> To: dovecot at dovecot.org
> From: sb at dod.no
> Date: Fri, 29 Jan 2010 08:58:27 +0100
> Subject: Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?
>
> >>>>> Timo Sirainen <tss at iki.fi>:
>
> > 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.
>
> I use the --fuzzy flag to handle the renaming issue. Here's my crontab
> entry on the machine holding the backup:
> 0 * * * * rsync --archive --fuzzy --delete-after imapserver:Maildir .
>
> As you can see I only sync once an hour. I don't have enough email
> traffic to justify doing it continously.
>
> The --delete-after is so rsync won't delete files that have been removed
> on the source, before figuring out that a file has been renamed and not
> been deleted.
>
>
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
More information about the dovecot
mailing list