Hi Harald,

In spite of Kern answer, IMHO, I think you should not use automatic
labeling with tapes. I have automatic recycling working fine, with volume
use duration = 23 h and various retention periods. But no automatic volume
labeling.
>From Bacula´s Manual:

"Please note that automatic Volume labeling can also be used with tapes,
but it is not nearly so practical since the tapes must be pre-mounted. This
requires some user interaction. "

Also, I have my FirstWritten and LastWritten timestamps correctly set at
bacula database.

Best regards,
Ana


On 28 January 2014 10:26, Kern Sibbald <k...@sibbald.com> wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> Please create a ticket for this in the bugs database as it
> appears to me to be a bug.
>
> Best regards,
> Kern
>
>
> On 01/27/2014 12:15 PM, Harald Schmalzbauer wrote:
> >  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}"
> > }
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > 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
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlLnr/cACgkQNgfoSvWqwEi+CQCfQQgx5Uk48urN2n6Bj54gooHj
> 4z4An2F3kd6o6qa2UpVVpZwZJYbjmvyp
> =G1uS
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&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