pre/post scripting

2014-07-09 Thread Stefan G. Weichinger
Would anyone mind sharing some real world scripts he uses with amanda? I think of stopping/starting DBs or something like that. I would appreciate some good templates ;-) Thanks, Stefan

Re: feature request: mt offl after amdump

2014-07-09 Thread Stefan G. Weichinger
Am 03.07.2014 14:33, schrieb Stefan G. Weichinger: Am 03.07.2014 14:27, schrieb Jean-Louis Martineau: Stefan, If you have 3.3.5 $ man amanda.conf eject-volume bool Default: no. Set to yes if you want the volume to be ejected after Amanda wrote data to it. It

Re: pre/post scripting

2014-07-09 Thread Stefan G. Weichinger
Am 09.07.2014 16:17, schrieb Stefan G. Weichinger: Would anyone mind sharing some real world scripts he uses with amanda? I think of stopping/starting DBs or something like that. I would appreciate some good templates ;-) I started playing with the email examples from the docs but they

Re: pre/post scripting

2014-07-09 Thread Gene Heskett
On Wednesday 09 July 2014 10:17:03 Stefan G. Weichinger did opine And Gene did reply: Would anyone mind sharing some real world scripts he uses with amanda? I think of stopping/starting DBs or something like that. I would appreciate some good templates ;-) Thanks, Stefan I've been using

Re: pre/post scripting

2014-07-09 Thread John Hein
Stefan G. Weichinger sgw-at-amanda.org |amusersj-ml0| wrote at 16:38 +0200 on Jul 9, 2014: Am 09.07.2014 16:17, schrieb Stefan G. Weichinger: Would anyone mind sharing some real world scripts he uses with amanda? I think of stopping/starting DBs or something like that. I

Re: pre/post scripting

2014-07-09 Thread Stefan G. Weichinger
Am 09.07.2014 17:13, schrieb Gene Heskett: On Wednesday 09 July 2014 10:17:03 Stefan G. Weichinger did opine And Gene did reply: Would anyone mind sharing some real world scripts he uses with amanda? I think of stopping/starting DBs or something like that. I would appreciate some good

Re: pre/post scripting

2014-07-09 Thread Stefan G. Weichinger
Am 09.07.2014 19:06, schrieb John Hein: I'm not sure about the exact cause of the errors you're seeing, but it looks like the mailto check will not accept '@' or '.' (or dashes or underscores or numbers). To address that, maybe try this patch: ---

Re: pre/post scripting

2014-07-09 Thread Stefan G. Weichinger
Am 09.07.2014 16:17, schrieb Stefan G. Weichinger: Would anyone mind sharing some real world scripts he uses with amanda? I think of stopping/starting DBs or something like that. When I think about this I assume that some sudo-trickery might be needed, right? The amanda-user won't be

Re: pre/post scripting

2014-07-09 Thread Schlacta, Christ
Or you could, you know, add Amanda to the sudoers.d folder On Jul 9, 2014 11:21 AM, Stefan G. Weichinger s...@amanda.org wrote: Am 09.07.2014 16:17, schrieb Stefan G. Weichinger: Would anyone mind sharing some real world scripts he uses with amanda? I think of stopping/starting DBs or

Re: pre/post scripting

2014-07-09 Thread Stefan G. Weichinger
Am 09.07.2014 20:27, schrieb Schlacta, Christ: Or you could, you know, add Amanda to the sudoers.d folder Sure, that's what I thought of.

Re: pre/post scripting

2014-07-09 Thread Gene Heskett
On Wednesday 09 July 2014 14:12:23 Stefan G. Weichinger did opine And Gene did reply: Am 09.07.2014 17:13, schrieb Gene Heskett: On Wednesday 09 July 2014 10:17:03 Stefan G. Weichinger did opine And Gene did reply: Would anyone mind sharing some real world scripts he uses with amanda?

Re: pre/post scripting

2014-07-09 Thread Jean-Louis Martineau
John, Thanks for debugging it. You are right, we should accept all characters for an email address. I committed the attached patch. It set $dest and untaint it. It execute the mailer without using a shell. Jean-Louis On 07/09/2014 01:06 PM, John Hein wrote: Stefan G. Weichinger

Re: pre/post scripting

2014-07-09 Thread Gene Heskett
On Wednesday 09 July 2014 18:11:17 Jon LaBadie did opine And Gene did reply: On Wed, Jul 09, 2014 at 03:46:14PM -0400, Gene Heskett wrote: ... Not what I asked for, you know. I want to get rid of some wrapper-constructions by using the amanda script API ... This MUST be a wrapper,