Amanda-Users

Re: Changing tape label in tapelist file

2005-08-23 05:17:25
Subject: Re: Changing tape label in tapelist file
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: "Montagni, Giovanni" <gmontagni AT manord DOT com>
Date: Tue, 23 Aug 2005 11:04:58 +0200
Montagni, Giovanni wrote:
My coworker have lebelled a tape with an incorrect label (he has inserted an 
incorrect progressive number).
Now, my tapelist is something like this:

20050822 backup08 reuse
20050819 backup07 reuse
20050818 backup06 reuse
20050817 backup05 reuse
20050805 backup04 reuse
20050804 backup99 reuse <- this is the tape with incorrect label
20050803 backup02 reuse
20050802 backup01 reuse
20050801 backup00 reuse
20050729 backup19 reuse
20050728 backup18 reuse
20050727 backup17 reuse
20050726 backup16 reuse
20050725 backup15 reuse
20050722 backup14 reuse
20050721 backup13 reuse
20050720 backup12 reuse
20050719 backup11 reuse
20050718 backup10 reuse
20050715 backup09 reuse

What's the correct procedure to replace 'backup99' with 'backup03' ?
I suppose if i edit tapelist file amanda can't recognise the tape correctly 
because on tape the label is 'backup99'...

Wait for the day that tape backup99 will be used.
Then do:
  amrmtape Config backup99
  amlabel -f Config backup03


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



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