Filesystem level backups?
DurgaPrasad - DatasoftComnet
dp at datasoftcomnet.com
Mon Apr 9 17:56:52 EEST 2018
Hello all,
Does doveadm backup - backup the attachments as well when using SIS ?
Regards
Durga Prasad
+919849111010
-----Original Message-----
From: dovecot [mailto:dovecot-bounces at dovecot.org] On Behalf Of Marc Stürmer
Sent: 09 April 2018 18:05
To: Steve Atkins
Cc: dovecot at dovecot.org
Subject: {Spam?} Re: Filesystem level backups?
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.
But just doing rsync on the fly as with Maildir is just begging on your side
to run into problems sooner or later...
--
Greetings,
Marc
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
More information about the dovecot
mailing list