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


Reply via email to