Adolfo Manuel Pach�n Rodr�guez wrote:

> Hi all:
> 
> I have an HP24DAT SCSI over Linux RH 7.1. I want to backup the weekdays 
> only, using 5+1 tapes.
> 
> I've this in the amanda.conf:
> 
> dumpcycle 7
> runspercycle 5
> tapecycle 6
> 
> The tapes are labeled:
> 
> Daily-000 (monday)
> Daily-001 (tuesday)
> Daily-002 (wednesday)
> Daily-003 (thursday)
> Daily-004 (friday)
> Daily-005 (extra)
> 
> What I want is this:
> 
> For each day, use the Daily-00X tape.
> 
> Today, thursday, I use the Daily-003 tape. With amdump Daily, I do the 
> backup. But the report says this:
> 
> These dumps were to tape Daily-003.
> The next tape Amanda expects to use is: Daily-006.
> 
> This is my question. Why Daily-006? Why not the next tape is Daily-004?
> 
> Thanks
> 

I don't think amanda works as you're expecting. You can only give amanda 
a sequence of tapes, but not say "I want x tape on x day and y tape on y 
day". Amanda will simply go through each tape in its list and use them 
as needed. So your 000 tape will end up being used any day of the week.

Of course, if you give amanda 10 tapes and do 5 backups in a week, 
you'll always be using 0 and 6 on a Monday, 1 and 7 on a Tuesday.

Also, in order to use them in sequence and not skip from 3 to 6, you 
have to label them all in order. So if you labeled 0 through 5, let 
amanda use 0 and 1, then labeled 6, amanda will expect the sequence to 
be 0 1 6 2 3 4 5.

I'm not sure how to change which tape amanda expects next, short of 
removing the tapes using amrmtape and relabeling them. Edit the tapelist 
file? Anyone else on the list have any answers?

Reply via email to