No need to edit the tapelist file directly, almost ever. In this case, you can tell AMANDA not to use the tape, then tell her it is available again later.
Remove a tape from rotation: amanda@tape$ amadmin YOURCONFIG no-reuse YOURTAPE Return a tape to rotation: amanda@tape$ amadmin YOURCONFIG reuse YOURTAPE Notes: 1) AMANDA may ask for a new tape if this reduces the number of active tapes below the tapecycle value in amanda.conf. 2) Index information is preserved for restores, so don't worry about being able to restore from this tape 3) If you're alternating between a set of on-site and off-site tapes, you may want to add a third set that sits idle at your office waiting to be used. This gives you time to change tapes off-site. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 13, 2002 4:38 PM > To: [EMAIL PROTECTED] > Subject: Skipping a tape > > > Hi, > > I am wondering if it is possible to safely skip a tape that happens > to be unavailable (it was moved offsite but hasn't returned). > > I've looked at the $AMANDA/tapelist file and am tempted to edit, > but am hesitating because I don't actually understand how Amanda > uses the information. > > In particular, does the line position matter? The tape that Amanda > wants is the last tape in tapelist, and it also has the earliest > last-use date (the first field). If I wanted Amanda to just move > to the next tape, should I just edit the date field? > Move the line to the top of the file? Both? > > tia, > d >
