On Tuesday 01 July 2014 09:43:15 Jon LaBadie did opine And Gene did reply: > On Tue, Jul 01, 2014 at 09:19:19AM -0400, Gene Heskett wrote: > > Greetings all; > > > > Pursuant to a conversation on the dovecot list about the relatively > > long times involved in rebuilding the dovecot.index file when it > > gets out of sync. > > > > It strikes me that if the backup program could be co-erced into > > sending a signal when it starts to backup a named directory, a > > signal that holds it until the processing of incoming mail has been > > stopped and the ack signal that it has been stopped sent back to > > amanda, effectively freezing the contents of what would normally be > > an active directory, so that the email corpus AND all its indexes > > would then be in sync when the backup is done. > > > > This would make any recovery efforts later into a considerable > > smoother action. > > > > I can see where such a feature could also be useful for a database of > > most any sort, mail being only an example. > > > > How feasible would it be to add this capability to amanda? > > I suspect a difficult problem would be how to get the multiple programs > that modify the named directory to honor flag. > > jon
Further thinking with an eye toward simplifying, how about if the named directory was a disklist entry, and the backup profile for that DLE was changed so that a stop script, and at the end, a restart script that could perform this function, before, and at the end of that DLE? This of course wouldn't work if amanda reads the complete dle at once & never refers to it again. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
