[Dovecot] Any suggestions for backing up an imap server and whould maildir or dbox be better than mbox?

tomas at tuxteam.de tomas at tuxteam.de
Fri Oct 3 10:24:25 EEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Oct 02, 2008 at 08:52:13PM -0400, Eric T wrote:
> 
> >> BTW: Dose changing the mailbox format from mbox to Maildir or dbox dose 
> >> have any advantages?
> > 
> > I don't think it makes any difference in this case.
> > 
> 
> It would make a difference if you were to Rsync. Since Rsync is done on
> a file level; with mbox every new message means that the entire mbox
> file will need to be copied out.

Oh, no. Rsync is smarter than this. If you don't tell it _not_ to do it,
it will transfer chunks of files which have changed and modify the
target file in-place. How it does recognize what to do is actually worth
a read [1].

Note that this algorithm is ideal for files which are (mostly) appended
to, like mboxes or log files.

[1] <http://rsync.samba.org/tech_report/>

Regards
- -- tomás


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI5cipBcgs9XrR2kYRAg1bAJ44aTHZenfr3PmAfLZkgXBlrnMNwQCeLKnb
USJ2yIxUiUZVw+hVN7zQ0Rs=
=y67Y
-----END PGP SIGNATURE-----


More information about the dovecot mailing list