Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I swapped out some tapes from our older Amanda system over the weekend. In doing so I was a bit over-eager and took out the first tape that Amanda was expecting to use for the weekly backup run. The next several tapes in the series are all present but now the run has been put in the holding disk.

How would I tell amanda to 'amflush' the backup run but skip to the next tape in the series? IE its expecting 'ARCHIVE-0150, ARCHIVE-0151, ARCHIVE-0152, ARCHIVE-0153, ARCHIVE-0154' and I want it to start with ARCHIVE-0151 and continue on from there.

share|improve this question
up vote 2 down vote accepted

Answer: edit the 'tapelist' and move the last entry ( the problematic tape ) to the top of the list and edit the date. Amanda will start with the last tape in the file and proceed from there.

share|improve this answer

If you removed the tape and discarded it, you need to tell Amanda that it and its contents no longer exist. Use

amrmtape DailySet1 ARCHIVE-0150

to delete it from Amanda's tape database.

If you still have the tape and want Amanda to remember what it contained, use

amadmin DailySet1 no-reuse ARCHIVE-0150

Manually editing the tapelist file isn't a good habit but it can work in a pinch. It's safer to use the administrative commands provided by Amanda.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.