On Tue, Feb 04, 2014 at 03:21:25PM -0500, Jean-Louis Martineau wrote:
> On 02/04/2014 02:59 PM, Jon LaBadie wrote:
> >On Tue, Feb 04, 2014 at 07:26:34PM +0000, Debra S Baddorf wrote:
> >>On Feb 4, 2014, at 1:09 PM, Jon LaBadie <[email protected]>
> >>  wrote:
> >>
> >>>On Tue, Feb 04, 2014 at 09:47:18AM -0800, Hugh E Cruickshank wrote:
> >>>>From: Brian Cuttler Sent: February 4, 2014 07:42
> >>>>>Personally I think periodic archives are a good idea.
> >>>>>Pulling the January monthly sounds like a reasonable approach.
> >>>>Thanks. It is nice to have confirmation that I am on reasonable track.
> >>>>
> >>>>>>2. If we are to use this approach is there a way to designate a tape
> >>>>>>   as not to be reused but leave it in the set or will we have to
> >>>>>>   remove it from the set?
> >>>>>You can mark the tape "no-reuse" in the tapelist, # amadmin has an
> >>>>>option to do this. Depending on your naming schema this may or may
> >>>>>not cause confusing later on.
> >>>>That is exactly what I am looking for. It is so straight forward I
> >>>>wonder how I could have possibly missed it in my previous searches. I
> >>>>guess I am just getting blind in my old age.
> >>>>
> >>>"no-reuse" was my initial reaction also.  There is one aspect I'm
> >>>not sure about though.  Does amanda retain the index and log files
> >>>for dumps on tapes marked "no-reuse"?  If it does not, then you
> >>>would not be able to use amrecover on your archived tapes.  Other
> >>>ways of restoring would still work though.
> >>>
> >>Yes, it retains them.  Ad nauseum ….. errr, ad infinitum!    Or at least, 
> >>for a
> >>long long time on my machines.
> >>
> >I thought that was the situation, thanks Deb.
> >
> >Do you know if you later remove those "no-reuse" tapes are the
> >logs and indices cleaned up?  I expect not.
> 
> Amanda keep the log files and index for all dumps it can restore.
>   - label must be in the tapelist
>   - The log.<datestamp>.? file list the dump
> log files and index are removed when the label is removed from the
> tapelist or the date for the label changed (tape was reuse).
> 
> The reuse/no-reuse flags change nothing for that.

Thanks for the clarification Jean-Louis.

Is there an amadmin command to delete a tape from the tapelist?
I don't see it on the manpage?  Otherwise, when does amanda
note a deletion of a tape and do its logfile/index cleanup?

JL
-- 
Jon H. LaBadie                 [email protected]
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (609) 477-8330 (C)

Reply via email to