Re: [Bacula-users] Eject button on drive and mount/unmount
2008-07-14 10:12:34
Allan Black wrote:
> Felix Brack wrote:
>> What do I have to change so bacula will recognize the tape unmount by
>> the eject button?
>
> I can think of two possibilities:
>
> 1) set Always Open = "no", so Bacula will release the drive at the end of
> every backup. This will make it re-examine the tape in the drive at the
> start of every backup. The disadvantage of this approach is, if you run
> more than one job to the same pool, the tape will be rewound and then
> forwarded to the end of the data at the start of every subsequent job
> to the same tape.
>
I already tried this but it does not work for me because bacula ejects
the tape. If there is a second job waiting it will fail because there is
not tape and nobody to insert it.
> 2) use RunAfterJob = "<command>" in the job resource to run a script which
> will pipe an unmount command into the console. With your config this
> should eject the tape. Then you can tell the operators that the tape
> should always be ejected, and if not, raise it as an issue.
>
Same as above...
> I have never tried this, so you may need to experiment to get it to work
> satisfactorily ....
>
> Allan
Any other idea?
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|