Re: Recommended way to pause postfix local delivery while taking snapshot for backup

2017-04-09 Thread lists
My 2 cents.  I had a Digital Ocean snapshot that turned out to be unbootable. (I have no explanation.) My snapshot procedure since then is I shut down all the services, power down, take the snapshot and restore from that snapshot.  Me paranoid? Yep. I also keep two snapshots, both of which

Re: Recommended way to pause postfix local delivery while taking snapshot for backup

2017-04-09 Thread Peter
On 09/04/17 20:52, Dominic Raferd wrote: > Is there a best/recommended way to pause postfix local deliveries so > that I can take an LVM snapshot of the local mails for backup purposes? > The pause only has to be momentary, while the snapshot is taken, but the > files need to be in a consistent

Re: Recommended way to pause postfix local delivery while taking snapshot for backup

2017-04-09 Thread Dominic Raferd
Thanks to all for the replies. This is an existing somewhat elderly setup and I don't want to make major changes (file system, LMTP etc) at this stage. For postfix, Wietse's suggestion should work nicely. I guess I should build in a delay of a second or two after issuing the command to ensure that

Re: Recommended way to pause postfix local delivery while taking snapshot for backup

2017-04-09 Thread Viktor Dukhovni
> On Apr 9, 2017, at 4:52 AM, Dominic Raferd wrote: > > Is there a best/recommended way to pause postfix local deliveries so that > I can take an LVM snapshot of the local mails for backup purposes? The "best" way is to use a file system that supports snapshots, such

Re: Recommended way to pause postfix local delivery while taking snapshot for backup

2017-04-09 Thread Wietse Venema
Dominic Raferd: > Is there a best/recommended way to pause postfix local deliveries so that I > can take an LVM snapshot of the local mails for backup purposes? The pause > only has to be momentary, while the snapshot is taken, but the files need > to be in a consistent state. If anyone also knows

Re: Recommended way to pause postfix local delivery while taking snapshot for backup

2017-04-09 Thread Philip Paeps
On 2017-04-09 10:52:58 (+0200), Dominic Raferd wrote: Is there a best/recommended way to pause postfix local deliveries so that I can take an LVM snapshot of the local mails for backup purposes? The pause only has to be momentary, while the snapshot is taken, but the

Re: Recommended way to pause postfix local delivery while taking snapshot for backup

2017-04-09 Thread Robert Schetterer
Am 09.04.2017 um 10:52 schrieb Dominic Raferd: > Is there a best/recommended way to pause postfix local deliveries so > that I can take an LVM snapshot of the local mails for backup purposes? > The pause only has to be momentary, while the snapshot is taken, but the > files need to be in a

Recommended way to pause postfix local delivery while taking snapshot for backup

2017-04-09 Thread Dominic Raferd
Is there a best/recommended way to pause postfix local deliveries so that I can take an LVM snapshot of the local mails for backup purposes? The pause only has to be momentary, while the snapshot is taken, but the files need to be in a consistent state. If anyone also knows the way to pause