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 work: the job is put into the queue and remains there until the storage is mounted, which should be done by the job itself. Looks like a chicken egg problem!? Is there really no way to get the storage mounted by the bacula? Writing a cron job doing this just before bacula starts seems to me very poor workaround. By the way, the opposite (unmounting) does not work too: RunScript { RunsWhen = After Command = "echo 'unmount storage=kvm1-sd' | /usr/bin/bconsole" Command = "/bin/mt -f /dev/nst0 eject" } This ends with 'ClientAfterJob: /dev/nst0: Device or resource busy' which I understand since the 'unmount' command did not work, the storage daemon still locks the device. Felix ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users