Hi,
Amanda should not use a tape if it's label is not in the tapelist file.
Could you try this patch.
Jean-Louis
On Thu, Feb 05, 2004 at 05:27:36PM +0100, Christoph Scheeder wrote:
> Hi,
>
> amrmtape only removes the entrys for the tape from all databases,
> but amanda will happily use it if she sees it again as the label
> on tape is not touched at all.
>
> The question is what should be achieved:
>
> 1.) make amanda forget about the backups on that tape?
> -> ok, amrmtape is your friend, it does what you want.
>
> 2.) you want amanda to reject the tape when she sees it again?
> -> "amadmin <config> <tape-label> noreuse" marks the tape as
> "this tape is not allowed to be overwrite by amanda"
>
> 3.) you want to delete the amanda tapelabel and all other data
> from the tape, so amnda doesn't touch it anymore?
> -> use dd to overwrite the first block on the tape with 0 or random data.
>
> Christoph
>
> Dave Ewart schrieb:
>
> >On Thursday, 05.02.2004 at 10:05 -0500, Kin-Ho Kwan wrote:
> >
> >
> >>Hi,
> >>
> >>Is it sufficient enough to just run "amrmtape -n conf TAPE001" so that
> >>Amanda will not use this tape for backup?
> >>
> >>I try to run "amrmtape -n conf TAPE001", but Amanda still use that
> >>tape to backup stuff. Is there any other command I need to run to
> >>remove the Amanda label?
> >
> >
> >Reading TFM, I see:
> >
> >-n Generate new tapelist and database files with label
> > removed, but leave them in /tmp and do not update the
> > original copies.
> >
> >I suggest dropping the '-n' ... :-)
> >
> >Dave.
label.not.in.tapelist.diff
Description: Text document
|