[Dovecot] Backup recovery with mdbox

Andre Nathan andre at digirati.com.br
Wed Oct 6 18:08:17 EEST 2010


On Wed, 2010-10-06 at 15:26 +0100, Timo Sirainen wrote:
> dsync -o mail_location=mdbox:mdbox:/var/spool/imap/partition7/11/andre=sneakymustard.com:INDEX=/var/lib/imap/user/11/andre=sneakymustard.com:MAILBOXDIR=mailboxes/backup-1234 -u ..etc..
> 
> So basically override the default mail_location but only change the
> mailboxes/ directory to mailboxes/backup-1234. I think that should work.
> Take a backup first. :)

That worked, as long as I run a

  doveadm force-resync -u andre=sneakymustard.com INBOX

after dsync, which is totally fine :)

Thanks!
Andre




More information about the dovecot mailing list