Thank you Wanderlei!

I am used to run ClientRunbefore job for SQL dumps and it works great, but 
somehow
this RunBeforeJob is not doing it for me, as I can see the ssh channel is not 
up.
When running script manually, ssh channel is up on both sides…

but when calling it from bconsole, no luck…
Really need to see someone’s working scenario


Thanks, take care

Jan Stefanovic
IT Systems Administrator

p | (604) 299-0458 x268
e | jstefano...@tantalus.com<mailto:jstefano...@tantalus.com>
u | www.tantalus.com

[Tantalus Logo]
CONFIDENTIALITY NOTICE.  This documentation, including any attachments, 
transmitted by electronic mail is intended for the use of the individual to 
whom or the entity to which it is addressed, and may contain information which 
is proprietary, confidential, privileged and/or protected from disclosure by 
applicable laws. Confidentiality and privilege are not lost by this 
documentation having been sent to the wrong electronic mail address. If you are 
not the intended recipient (or the person responsible for delivering thereto) 
please immediately notify the sender and destroy this documentation and all 
copies (in any form and media); and note that any distribution, reproduction or 
other use of this documentation is strictly prohibited and may violate public 
and intellectual property laws.  Thank you.

From: Wanderlei Huttel [mailto:wanderleihut...@gmail.com]
Sent: Thursday, February 23, 2017 11:02 AM
To: Dimitri Maziuk
Cc: Jan Stefanovic; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Bacula ssh tunnel - not working

Hello Stefanovic

The commands to run scripts on server is "RunBeforeJob" or "RunAfterJob"


Best Regards

Wanderlei Hüttel
http://www.huttel.com.br

2017-02-23 15:49 GMT-03:00 Dimitri Maziuk 
<dmaz...@bmrb.wisc.edu<mailto:dmaz...@bmrb.wisc.edu>>:
On 02/23/2017 12:32 PM, Jan Stefanovic wrote:
> Thanks Dimitri!!!
>
> How about the client's bacula-fd.conf?
> can you cut/paste some info?
>
> as well, how do you run the script to create ssh tunnel?
> Is backup job running it or you do it manually?

I don't, that was just off the top of my head.

You'd have to ask somebody (Kern?) exactly how it works: will RunScript
run before the director tries to contact the client or after -- if it's
the latter, it won't work.

--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to