Amanda-Users

Re: Labeling tapes with "day of the week", is not a good practice

2004-08-31 09:17:16
Subject: Re: Labeling tapes with "day of the week", is not a good practice
From: Dave Ewart <Dave.Ewart AT cancer.org DOT uk>
To: amanda-users AT amanda DOT org
Date: Tue, 31 Aug 2004 14:12:20 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday, 31.08.2004 at 13:55 +0100, Ranveer Attalia wrote:

> All of our Daily and Weekly tapes are labelled with the day of the
> week.  Is there any easy way that we can revert back to the Amanda way
> of labelling the tapes? If it is possible and we can revert, would we
> still beable to restore off the "day of the week" tapes that we have
> up until now if we ever need to?

You can migrate your currently named tapes from your 'daily' names to
some other, 'non-daily' names.

I have done this!

You do this by gradually changing the names of tapes as you go through
your normal backup cycle.  We have 20 tapes and it took 20 days to make
all these changes.

For instance, say you want to change from Blah-Monday-1, Blah-Tuesday-1
etc. to Blah-001, Blah-002 etc.

You do this:

1. Change the regular expression in amanda.conf to recognize *both* the
old and the new tape names.  This is the 'trick' to making this work.

2. When a tape is due for re-use, just before use, you relabel it
according to the new scheme.  You then 'amrmtape' the old name.

3. Do this each day for your entire tapecycle.

After $TAPECYCLE days, all your tapes will be labelled with the new
scheme and you can change the label regexp in amanda.conf to just
recognize the new labels.  At all times, you are able to restore for any
tape, as normal, whether named new or old.

Dave.
- -- 
Dave Ewart
Dave.Ewart AT cancer.org DOT uk
Computing Manager, Epidemiology Unit, Oxford
Cancer Research UK
PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBNHk0bpQs/WlN43ARAgJZAJ9m4HIzVqJ3bD/zva5E9Yy8MpxS+gCg8Yyy
25RThkVU8KD6sVDe/FRvZAc=
=0DDO
-----END PGP SIGNATURE-----

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