[Dovecot] Backing Up

Neil neil at voidfx.net
Wed Oct 29 23:46:47 EET 2008


On 29 Oct 2008, at 16:02, Scott Silva wrote:
> on 10-29-2008 12:47 PM Dave McGuire spake the following:
>> On Oct 29, 2008, at 3:42 PM, Scott Silva wrote:
>>>> What is the best way to do a (server-side) backup of all mail in a
>>>> user's mail?
>>>>
>>> I usually just rsync the /home directories to another server. The
>>> inital sync
>>> can take a while, but it gets faster after there is a base to work  
>>> from.
>>
>>  ...and it's much less painful if you're using maildir instead of  
>> mbox!
>>
>>           -Dave
>>
> Mbox syncs fairly quickly also. Rsync is very good at working with  
> large text
> files like mbox, even if users purge stuff from the middle.
>
> But since he did show Maildir was in use, I left out also backing up
> /var/spool/mail/* for the inboxes on a default mbox installation.

Yeah, the maildir line was mostly why I put the dovecot -n there.

Do you think rsync will be easier on my servers than tarball/bzip2/scp ?

Thanks for the help,
-Neil.


More information about the dovecot mailing list