Re: swap out a tape within the rotation

2003-01-14 Thread Paul Bijnens
wab wrote:

That's a REALLY good point. the idea is to keep the data on this tape
forever... or at least
until we're sure we will never need the data again. Would amrestore
still work, though? If that
is true, then I'm less worried about losing the index.


I take some tapes out of my 'archive' series now and then and store
them forever.  I do this by marking that tape as no-reuse:
	amadmin archive THE-TAPE-XXX no-reuse

That way I keep all the info (indexes etc.), and amanda will not ask for 
that tape again.  I label a new tape with a new number (at the end of 
the series) to fill the gap I created.


Thanks everybody,

~wab~

-Original Message-
From: Jean-Louis Martineau [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 13, 2003 3:36 PM
To: wab
Cc: [EMAIL PROTECTED]
Subject: Re: swap out a tape within the rotation


On Mon, Jan 13, 2003 at 02:56:18PM -0500, wab wrote:

I have decided to archive the current tapeXX in my rotation. I want


to


use a new tape for
tapeXX, but executing ./amlabel DailySet1 tapeXX returns, label
tapeXX is already on a tape.

What am I missing? (faq-o-matic is down :( )



It's a bad idea to use the same label for two different tape, why you
don't use a new label?

Amanda will lose all informations about the first tape:
  - index
  - 'amadmin conf find' will not list the dump on it.
  - You will not be able to use amrecover to restore from it.

Jean-Louis 


--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* 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, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
* ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
***





Re: swap out a tape within the rotation

2003-01-13 Thread Jon LaBadie
On Mon, Jan 13, 2003 at 02:56:18PM -0500, wab wrote:
 I have decided to archive the current tapeXX in my rotation. I want to
 use a new tape for
 tapeXX, but executing ./amlabel DailySet1 tapeXX returns, label
 tapeXX is already on a tape.
 
 What am I missing?

reading the man pages

Ck the -f option of amlabel

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)



Re: swap out a tape within the rotation

2003-01-13 Thread Jim Summers
I am pretty sure there is a -f switch that will force it to label the
tape.




On Mon, 2003-01-13 at 13:56, wab wrote:
 I have decided to archive the current tapeXX in my rotation. I want to
 use a new tape for
 tapeXX, but executing ./amlabel DailySet1 tapeXX returns, label
 tapeXX is already on a tape.
 
 What am I missing? (faq-o-matic is down :( )
 
 wab
 





Re: swap out a tape within the rotation

2003-01-13 Thread tammy
Use the -f option with amlabel. It will FORCE the overwrite of the 
existing label. This is a safety precaution so that users don't 
accidently overwrite a backup tape.

	t

On Monday, January 13, 2003, at 11:56  AM, wab wrote:

I have decided to archive the current tapeXX in my rotation. I want 
to
use a new tape for
tapeXX, but executing ./amlabel DailySet1 tapeXX returns, label
tapeXX is already on a tape.

What am I missing? (faq-o-matic is down :( )

wab




[EMAIL PROTECTED]

Subverge LLC
www.subverge.com




Re: swap out a tape within the rotation

2003-01-13 Thread Joshua Baker-LePain
On Mon, 13 Jan 2003 at 2:56pm, wab wrote

 I have decided to archive the current tapeXX in my rotation. I want to
 use a new tape for
 tapeXX, but executing ./amlabel DailySet1 tapeXX returns, label
 tapeXX is already on a tape.
 
 What am I missing? (faq-o-matic is down :( )

You can't label a tape with an active label.  AFAIK, you have two options:

1) Increase tape cycle, and label a new tape, subbing it for tapeXX

2) amrmtape tapeXX, and then label a new tape with the now available 
   label.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Re: swap out a tape within the rotation

2003-01-13 Thread Jean-Louis Martineau
On Mon, Jan 13, 2003 at 02:56:18PM -0500, wab wrote:
 I have decided to archive the current tapeXX in my rotation. I want to
 use a new tape for
 tapeXX, but executing ./amlabel DailySet1 tapeXX returns, label
 tapeXX is already on a tape.
 
 What am I missing? (faq-o-matic is down :( )

It's a bad idea to use the same label for two different tape, why you
don't use a new label?

Amanda will lose all informations about the first tape:
  - index
  - 'amadmin conf find' will not list the dump on it.
  - You will not be able to use amrecover to restore from it.

Jean-Louis 
-- 
Jean-Louis Martineau email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7Fax: (514) 343-5834



RE: swap out a tape within the rotation

2003-01-13 Thread wab
That's a REALLY good point. the idea is to keep the data on this tape
forever... or at least
until we're sure we will never need the data again. Would amrestore
still work, though? If that
is true, then I'm less worried about losing the index.

Thanks everybody,

~wab~

-Original Message-
From: Jean-Louis Martineau [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 13, 2003 3:36 PM
To: wab
Cc: [EMAIL PROTECTED]
Subject: Re: swap out a tape within the rotation


On Mon, Jan 13, 2003 at 02:56:18PM -0500, wab wrote:
 I have decided to archive the current tapeXX in my rotation. I want
to
 use a new tape for
 tapeXX, but executing ./amlabel DailySet1 tapeXX returns, label
 tapeXX is already on a tape.
 
 What am I missing? (faq-o-matic is down :( )

It's a bad idea to use the same label for two different tape, why you
don't use a new label?

Amanda will lose all informations about the first tape:
  - index
  - 'amadmin conf find' will not list the dump on it.
  - You will not be able to use amrecover to restore from it.

Jean-Louis 
-- 
Jean-Louis Martineau email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7Fax: (514) 343-5834




RE: swap out a tape within the rotation

2003-01-13 Thread Deb Baddorf
At 03:41 PM 1/13/2003 -0500, wab wrote:

That's a REALLY good point. the idea is to keep the data on this tape
forever... or at least
until we're sure we will never need the data again. Would amrestore
still work, though? If that
is true, then I'm less worried about losing the index.


how about
amadmin config  no-reuse  tapelabel
keeps indexes, etc   but doesn't try to ask for this tape ever again

amlabelup a new tape at the end of your number sequence

Deb Baddorf
---
Deb Baddorf [EMAIL PROTECTED]  840-2289
You can't help getting older, but you don't have to get old.
- George Burns  IXOYE