Hi,
that's all ok, but i use the "&" sing in place of the ";",
which has the nice effect of an error-detection:
if the amdump faild for any reason, the tape does not get ejected,
and i get reminded to check what went wrong...
Christoph
"Christopher P. Mills" schrieb:
>
> Easy.
>
> Set the cron line to include a tape eject command after running amdump.
>
> In my configuration, the line looks something like:
>
> 30 03 * * * /usr/local/amanda/sbin/amdump default; mt -f /dev/nst0 rewoffl
>
> Check out the manpage for "mt" most unixes have either this command or
> something similar. The ; in a; b means first do a then when finished do b.
> Fortunately amdump runs in the foreground so you can make use of this
> functionailty.
>
> Hope this helps
>
> Chris Mills
> Web/Network Development Officer
> Cranfield University
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Erik van der Meulen
> Sent: 12 December 2000 08:39
> To: [EMAIL PROTECTED]
> Subject: Auto-eject tapes
>
> This is not of great importance, but I would like to see my tapes ejcet
> after a Amanda run. I use a simple DAT system /dev/nst0 and it takes
> about 20 secs between pushing the button and seeing the tape. In
> practice this appears to be just enough to loose my attention and forget
> about the thing ;-)
>
> --
> Erik van der Meulen <[EMAIL PROTECTED]>