Re: [Bacula-users] Mounting storage before job start

2010-08-13 Thread Felix Brack
Hello Chris, Many thanks for the input. You are right: things are working if I place the shell commands in a script instead of trying to pass them directly with bacula. The second mistake I made is not setting "RunsOnClient" to "No". The default seems to be "Yes". Either I missed this or the do

Re: [Bacula-users] Mounting storage before job start

2010-08-12 Thread Chris Shelton
Felix, On Thu, Aug 12, 2010 at 10:07 AM, Felix Brack wrote: > > On Bacula 5.0.2 I would like to mount the storage before a backup job > starts in case it was unmounted by 'umount' before. > > The following works fairly well for me, as an Admin job that is scheduled to start 5 minutes before our

[Bacula-users] Mounting storage before job start

2010-08-12 Thread Felix Brack
Hello, On Bacula 5.0.2 I would like to mount the storage before a backup job starts in case it was unmounted by 'umount' before. I added the following to the backup job: RunScript { RunsWhen = Before Command = "echo 'mount storage=kvm1-sd' | /usr/bin/bconsole" } However this does not wo