Bacula-users

Re: [Bacula-users] Automatic tape drive unload?

2011-11-11 10:57:20
Subject: Re: [Bacula-users] Automatic tape drive unload?
From: Dirk Billerbeck <dirk.billerbeck AT ensec DOT de>
To: Konstantin Khomoutov <flatworm AT users.sourceforge DOT net>
Date: Fri, 11 Nov 2011 16:55:19 +0100
Hello Konstantin,

thank you for your reply. I think I'll have a look at the possibilities to write a script to check the Bacula status and then eject the tape if it is no longer needed by a job.

Regards,

Dirk

Am 10.11.2011 18:13, schrieb Konstantin Khomoutov:
On Thu, 10 Nov 2011 15:34:07 +0100
Dirk Billerbeck <dirk.billerbeck AT ensec DOT de> wrote:

I'm new to Bacula and still learning the concepts of it. So maybe
I've overlooked that in the documentation but there is one thing I
couldn't figure out right now:

Is it possible to unload a tape drive automatically after it has been 
idle for a specified period of time?
[...]

I don't think Bacula has the concept of "idleness" but I think you
could explore a possibility to run some command that would eject the
tape after a specified job using that job's "after job" script.

Another route would be to script such action by external means, say,
call something like

#!/bin/sh
echo 'umount storage=MyTape' | bconsole
mtx-changer some-command-to-eject-the-device-here

from a cron job.  But it implies the cron job should only run when
Bacula is guaranteed not to access the device in question.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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>