Filesystem level backups?

Steve Atkins steve at blighty.com
Mon Apr 9 18:34:28 EEST 2018


> On Apr 9, 2018, at 5:34 AM, Marc Stürmer <mail at marc-stuermer.de> wrote:
> 
> Am 2018-04-09 00:55, schrieb Steve Atkins:
> 
>> Will a simple backup of all the files of an multi-dbox give me a
>> consistent state when I recover, or do I need to do something (e.g.
>> lock writes to the mailbox) while I run a backup?
> 
> If you are doing this backup with a fully operational mail storage: no, it won't. The reason is quite simple: mdbox saves the data of an email in several files, so there's a good chance that those files might slightly change during backup, while with Maildir all necessary data for the restore is stored in the file names.
> 
> If you want to do a consistent backup, you do need file system snapshots and should make sure that this snapshot is consistent or to turn off the mail store during backup completely

Thanks. Time to read up on snapshots!

Cheers,
  Steve



More information about the dovecot mailing list