Amanda-Users

RE: Amanda-Autoeject after dump

2004-02-24 09:12:00
Subject: RE: Amanda-Autoeject after dump
From: "Rebecca Pakish Crum" <rebecca AT unterlaw DOT com>
To: "axel kittenberger" <axel.kittenberger AT univie.ac DOT at>, <amanda-users AT amanda DOT org>
Date: Tue, 24 Feb 2004 08:08:33 -0600
> 
> Hi!
> 
> We're currently running Amanda to daily backup our server 
> system. As we 
> hand-exchange the tape every day, I've a question regarding 
> speeding up this 
> tedious task.
> 
> How is the most elegent way to get amanda to auto-eject the 
> tapes after it ran 
> a dump?
> 
> Would be also a nice easy in organisation, as you would see 
> with one glimpse 
> at the tape-server if the backup ran correcty, since then the 
> tape would be 
> ejected. Or you can easily see if not another has already 
> exchanged the tape, 
> if it is inserted it has already been swaped.
> 
> Fellow greetings,
> Axel

Not sure about 'elegance' - but I run my amdump from a script that cron
calls...

#!/bin/sh

mt -f /dev/nst0 rewind
su amanda -c "/usr/local/sbin/amdump <configname>"
mt -f /dev/nst0 rewoff



<Prev in Thread] Current Thread [Next in Thread>