How to configure PBS to reuse tapes?

nmue

Member
Nov 30, 2009
8
0
21
I am a PBS beginner and try to use the magnet tape backup to create a daily backup of my machines. I added a couple of tapes to my inventory and created a media pool "daily" and want to write to it every night. This worked great, but now both my tapes are status = "full" and when the job runs I get the following error message: no usable media found.

Is there a way to automatically reuse a tape after a couple of days? Let's say I would add 7 tapes to the pool and every day the backup would be written to another tape?
 
yes, you have to set the 'retention' and 'allocation' policy accordingly,. e.g. allocation : every day 02:00 -> will start a new media-set every day at 02:00, retention policy: 6 days -> will reuse a tape if the media set started >6 days ago
 
Ok let's say I have two tapes that I want to use and I want to write to the tape every night. First night on tape #1, second night on tape #2, third night on tape #1 and so on.

I added both tapes to one media pool and set allocation = daily and retention = 1 days. This still isn't correct. How would I achieve what I want?