On 2013-08-09 8:04 AM, Michael Grimm <trash...@odo.in-berlin.de> wrote:
On 2013-08-09 11:44, Felix Rubio Dalmau wrote:
Is there any possibility to ask dovecot to write nothing to disk,
something like a "read only" state, without shutting it down? I have
set up a ZFS+postfix+dovecot mail server, and I need both postfix
(postsuper -h ALL) and dovecot (¿?) to stop modifying the disk to
create the snapshot to be saved.
Does anybody has any idea on how to achieve this?
As mentioned before, that's done by ZFS. Just create a snapshot using
your ZFS functionality (zfs snapshot <name>).
And the same goes for LVM snapshots.
The only thing you might want/need to worry about is SQL databases...
for these I always do periodic dumps (how often dicatated by how long
the dumps take vs how often the data changes vs how critical the data is).
--
Best regards,
*/Charles/*