-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steve Barnes wrote:
> Hi List
>
> I need to simplify tape swapping and "the tape is full" notifications
> from bacula.
>
> To this end, I need to perform the following:
>
> 1. Have bacula automatically eject the tape when full.
> 2. Have bacula send an email to an email group to ask someone to "please
> put next tape in".
> 3. Have bacula automatically mount the new tape and proceed with the
> backup as planned.
>
> Point 2. above I think I already know how to do ("operatorcommand" and
> Messages directive tweaking).

And using that, you could even achieve point 1 (check the message, if it
states that a tape is full etc invoke the eject in your script).

I wouldn't know anything to take care of step 3 though. I ended up
creating a small web iface for the users which looked as follows:

1. eject tape (clicking this link Bacula would unmount the tape and an
eject would be launched)
2. <not-clickable> insert the required tape
3. finish operation (this link invoked a mount on the console)

I then set up the messaging to send SMB messages (smbclient -M ) to the
PCs of the people in charge and instructed them to run through the
web-iface, to which I placed a bookmark onto their desktop, when such a
message appears.

Greetings,
         Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32) - GPGrelay v0.959

iD8DBQFF2W482Vs+MkscAyURAu2jAKDrAgnrNxPu7RoTgoJmBmsWm7tKEgCfTKBu
adbyoYEkyFp++JrbHaYAh8s=
=cWAw
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to