Re: [Bacula-users] Bacula issues with iscsi mounted partitions

2017-02-23 Thread Josip Deanovic
On Thursday 2017-02-23 12:26:41 Reinier Carmona Lizana wrote: > Hello, I am having an issue saving some part of my defined filesets, > specially iscsi partition mounted. For example: > > * * FileSets E2B05* > > - /etc > - /usr/local > - /var/lib > - /srv/ > > > Never save me the /srv folde

Re: [Bacula-users] Bacula ssh tunnel - not working

2017-02-23 Thread Jan Stefanovic
Hi guys, thanks for all your help, it turned to be my stupid copy/paste mistake. I had ClientRunBeforeJob instead of RunBeforeJob so poor bacula was trying to run the sshtunnel script on the client. Fixed and now my sshtunnel works *message 23-Feb 14:54 bacula7-dir JobId 268: shell command: run

Re: [Bacula-users] Bacula ssh tunnel - not working

2017-02-23 Thread Wanderlei Huttel
Could you post some information? - Job configuration - Job log of job with problem (list joblog jobid=XXX) - Script that you are using - Permission from script (ls -lh //script.sh) (your script) Best Regards *Wanderlei Hüttel* http://www.huttel.com.br 2017-02-23 16:59 GMT-03:00 Jan Stefanovi

Re: [Bacula-users] Bacula ssh tunnel - not working

2017-02-23 Thread Jan Stefanovic
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… Re

Re: [Bacula-users] Bacula ssh tunnel - not working

2017-02-23 Thread Wanderlei Huttel
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 : > On 02/23/2017 12:32 PM, Jan Stefanovic wrote: > > Thanks Dimitri!!! > > > > How about the client's b

Re: [Bacula-users] Bacula ssh tunnel - not working

2017-02-23 Thread Dimitri Maziuk
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

Re: [Bacula-users] Bacula ssh tunnel - not working

2017-02-23 Thread Jan Stefanovic
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? Here is my client's bacula-fd.conf: FileDaemon { # this is me Name = XXX-fd

Re: [Bacula-users] Bacula ssh tunnel - not working

2017-02-23 Thread Dimitri Maziuk
On 02/23/2017 11:37 AM, Jan Stefanovic wrote: > When I run the script manually, I can see the ssh tunnel is up between bacula > sever and bacula client > but backup never works as bacula can’t find client-fd. What are you trying to do exactly? E.g. server# ssh -L 1234:client:9102 u...@firewall.

[Bacula-users] Bacula ssh tunnel - not working

2017-02-23 Thread Jan Stefanovic
Hi guys struggling with bacula ssh tunnel for days. Followed few “How To” for example https://github.com/naszaklasa/bacula/blob/master/examples/ssh-tunnel-README.txt or this one http://wiki.bacula.org/doku.php?id=sshtunnel but can’t make it work! When I run the script manually, I can see the ssh

[Bacula-users] Bacula issues with iscsi mounted partitions

2017-02-23 Thread Reinier Carmona Lizana
Hello, I am having an issue saving some part of my defined filesets, specially iscsi partition mounted. For example: * * FileSets E2B05* - /etc - /usr/local - /var/lib - /srv/ Never save me the /srv folder because its a iscsi partition on a IBM Storage V3700 defined in the fstab like this: