Amanda-Users

Re: amrmtape question

2004-02-05 13:28:26
Subject: Re: amrmtape question
From: Jean-Louis Martineau <martinea AT iro.umontreal DOT ca>
To: Christoph Scheeder <christoph.scheeder AT scheeder DOT de>
Date: Thu, 5 Feb 2004 13:24:48 -0500
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.

Attachment: label.not.in.tapelist.diff
Description: Text document

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