I can imagine two things that have happened here: 1. you have not run a job targeting that pool after the tape expired. AFAIC Maximum Use Duration is only evaluated when looking for a volume to write to. So if you don't write to the pool no expiry will happen.
2. you changed configuration of the pool without updating the volumes
When you change the pool configuration this will apply to new volumes in
that pool or to volumes moved from the Scratch pool into that pool at
the time they're moved to the pool.
All preexisting volumes must be updated with bconsole's 'update volume'
command. If in doubt use the "update all volumes from all pools" option.
After you have done that, re-evaluate case 1 :)
Extra information:
1. you can look at a volume's details using llist volume=<volname>.
2. the expiration algorithm uses (voluseduration < (firstwritten -
now)), so you can calculate yourself if you want to.
Best Regards,
Andreas
Am 27.07.19 um 04:31 schrieb Brock Palen:
> I want to rotate my tapes,. I have copy jobs that copy jobs from disk pools
> to a tape pool, (leaving one copy on disk and one on tape) and a migrate job
> that then migrates from disk to longterm pool after a given duration (freeing
> up disk). I want to use the offsite tape for only 1 month and then rotate out
> but that’s not happening:
>
> Pool {
> Name = Offsite
> Pool Type = Backup
> Recycle = no
> Recycle Pool = Scratch
> Auto Prune = yes
> Volume Retention = 3 months
> Volume Use Duration = 1 months
> Storage = Tand-LTO5-Lib
> }
>
>
> I verified with the update command that the volumes in the pool currently
> have a use duration of 1 month.
>
> 1,524 | A00025L5 | Append | 1 | 676,004,797,440 | 252 |
> 7,776,000 | 0 | 6 | 1 | LTO5 | 2019-07-26 03:18:46 |
> Tand-LTO5-Lib |
>
> The first job on this volume was 2019-03-15 04:10:34
>
>
> So why is the volume not marked used so I can eject it and take it off site,
> leaving just the long term copy local.
>
>
> Brock Palen
> 1 (989) 277-6075
> [email protected]
> www.mlds-networks.com
> Websites, Linux, Hosting, Joomla, Consulting
>
>
>
--
Andreas Rogge [email protected]
Bareos GmbH & Co. KG Phone: +49 221-630693-86
http://www.bareos.com
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/663db597-e138-c006-136e-f6ba248eec24%40bareos.com.
signature.asc
Description: OpenPGP digital signature
