This is an ideal use of the RunBeforeJob directive.  Example:

RunBeforeJob = "/usr/bin/smbmount //<CLIENT_MACHINE_IP>/SharedDocs 
/var/bacula/mnt/<CLIENT_MACHINE_NAME> -o 
'username=myusername,password=mypassword'"

Ben

Email:  [EMAIL PROTECTED]
Web:    http://www.clarkconnect.com

Frank wrote:
> Hi,
> I would like to use a samba share on a remote windows machine as storage 
> location to write backups of a linux server to.
> It's basically a nas with only smb interface. The problem is that this 
> device is turned on manually when backup is launched, then turned off 
> after it is finished, so I need to mount the samba share on the server's 
> filesystem before starting backup, then unmount it.
> I was thinking at using "Mount Command" etc directives, but they seem to 
> be focused for use with dvd's.
> Is there a way?
> Thanks,
> Frank
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to