Bacula-users

Re: [Bacula-users] Best way to auto mount and umount & eject

2008-07-31 08:19:58
Subject: Re: [Bacula-users] Best way to auto mount and umount & eject
From: Brian Debelius <bdebelius AT intelesyscorp DOT com>
To: Keith Sudbury <keith AT netzensolutions DOT com>
Date: Thu, 31 Jul 2008 08:19:37 -0400
Hi Keith,

I run an admin job before my run, and after.  I have an autoloader, but 
I think you should be able to do the same.  Possibly have the first 
admin job do a
echo 'mount quit' | bconsole

and the last job do a
echo 'unmount quit' |bconsole
mt -f device eject


Keith Sudbury wrote:
> Hi,
>
> My Bacula server is about 40 miles away and I rely on normal users to 
> change tapes each day (iv trained them well!). However each day I am 
> having to login to bconsole and type mount then select LTO-3 and then 
> after the job has finished I have to login again and umount LTO-3 and 
> then exit bconsole and type "mt eject" so it spits the tape out.
>
> Is there any way I can automate this process? So they can just put a 
> tape in bacula will mount it do the backup umount and eject the tape 
> after it has finished doing the backup.
>
>
> Many Thanks
>
>   


-------------------------------------------------------------------------
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