[Bacula-users] multiple mtx-changer scripts
2008-07-21 20:25:21
I'd like to be able to use a different version of the mtx-changer script when I
use
bconsole than the one I assigned to the "Changer Command" in bacula-sd.conf. I
guess
I can script a wrapper for bconsole to rename the mtx-changer scripts as needed
and
then change them back afterward. Or I could write a script to run before and
after
scheduled jobs to do the same thing. But if anyone has a better idea I'd like
to
hear it. Ideal solution would be if the mtx-changer script could recognize if
it is
being called from bconsole vs a bacula backup or restore job.
Thanks,
Mark
P.S. Why? Because I have modified the "load" command to use "btape" to read
the
bacula label on the volume after loading it. If it fails, then it unloads and
reloads the tape and tries again. This is an attempt to automatically fix the
I/O
problem that happens about 10-20% of the times bacula changes a tape in the
middle of
a backup. Note that it is not a timing problem. It happens even after
"wait_for_drive" returns ready. Obviously, when working at bconsole, there are
some
commands that I have to perform on tapes that have no labels, so I need a
different
"load" command. But don't get bogged down thinking about all this, just think
about
the question above, OK?
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] multiple mtx-changer scripts,
Mark Nienberg <=
|
|
|