Hello,

unfortunately volume recycling doesn't work like I expected it.

I have a pool with 2 volumes (tapes), which I use for duplicating (hdd)
backups every weekend.
So if one tape is in the drive and the house is on fire, I have the tape
from the weekend before.
I have a “Use Duration” of 3 days and a “Volume Retention” of 9 days, so
after 12 days, the volume will get purged and recycled – theoretically.
I haven't managed to get the automatic recyling to work yet, it's a new
setup and I did the retention periods wrong on the first shot, so I
manually purged the volume and set to recycle.
The problem is:
Recycled volumes keep their First-Written-Timestamp, so it will be
always marked “Used”, since “Use Duration” was intentionally lapsed for
the first volume usage. But when recycling a volume, there should begin
a new “Use Duration“ period!!!
Also, in my opinion, the label of the volume should be recreated when
recyled, not copied (see excerpt below for obvious auto-label reason).
But what I don't understand at all is why the timestamps are not reset
at volume recycling. That can't be intenionally, is it?!??!!?

Thanks,

-Harry

Config excerpt from the affected pool resource:

Pool {
  Name = LTO4-weekly-Dups
        # Description:
        # Pool for copies of differential-backups from harddisk store (for
        # disaster-recovery).
  Maximum Volumes = 2
  Pool Type = Backup
  Storage = Tandberg-LTO4
  Volume Use Duration = 3 days
  Volume Retention = 9 days # keep 9 days after last write
  Recycle Current Volume = yes # prune currently mounted tape
  LabelFormat = 
"weekly-rotation-${NumVols:p/2/0/r}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to