Amanda-Users

Using no-reuse with vtapes

2006-11-20 10:28:20
Subject: Using no-reuse with vtapes
From: "Gordon J. Mills III" <Gordon.Mills AT usa DOT net>
To: <amanda-users AT amanda DOT org>
Date: Mon, 20 Nov 2006 09:12:52 -0600
I am having a problem using the no-reuse feature with vtapes. I have a tape
that contains files from a machine that is going to be decommissioned. I
want to save the last full backup of that machine. So I put no-reuse next to
that tape in the tapelist file. The problem is that the next time the tape
cycle comes around to that tape it acts like there is no available tape. It
cycles through all the tapes and says "(expecting a new tape)" at the end. 

So the question is: how can I use the "no-reuse" feature? It seems that
amanda has to have tapecycle number of tapes even if dumpcycle is set to a
number lower than that. The relative section of my amanda.conf is below.
This is on 2.5.0b1.

dumpcycle 10 days       # the number of days in the normal dump cycle
runspercycle 10
tapecycle 21 tapes      # the number of tapes in rotation

bumpsize 10 MB          # minimum savings (threshold) to bump level 1 -> 2
bumpdays     2          # minimum days at each level
bumpmult     1.5        # threshold = bumpsize * (level-1)**bumpmult

runtapes     1         # explained in WHATS.NEW
tpchanger "chg-disk" # the tape-changer glue script, see TAPE.CHANGERS
changerfile "/etc/amanda/DailySet1/changer"
tapedev "file:/amandatapes/DailySet1/"  # Linux @ tuck, important:
norewinding
# tapedev "/dev/nrst8"  # or use the (no-rewind!) tape device directly
rawtapedev "file:/amandatapes/DailySet1/"

tapetype HARD-DISK              # what kind of tape it is (see tapetypes
below)
labelstr "^TAPE[0-9][0-9]*$"    # label constraint regex: all tapes must
match

Regards,
Gordon



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