[Bacula-users] Mount samba share for storage

2006-08-23 Thread Frank
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

Re: [Bacula-users] Mount samba share for storage

2006-08-23 Thread Josh Fisher
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

Re: [Bacula-users] Mount samba share for storage

2006-08-23 Thread Benjamin Chambers
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,

Re: [Bacula-users] Mount samba share for storage

2006-08-23 Thread Frank
RunBeforeJob worked perfectly, thanks guys! The only problem I encountered is while trying to use: RunScript { } I got a message at startup like RunScript directive not permitted Using RunBeforeJob instead works. Is it a bug? Thanks again, Frank Benjamin Chambers wrote: This is an

Re: [Bacula-users] Mount samba share for storage

2006-08-23 Thread Josh Fisher
Frank wrote: RunBeforeJob worked perfectly, thanks guys! The only problem I encountered is while trying to use: RunScript { } I got a message at startup like RunScript directive not permitted Using RunBeforeJob instead works. Is it a bug? No. Sorry for the confusion.