Knoax -

There is definitely something I don't understand about your configuration.  
Volume expiration is a task that is performed when Bareos tries to find the 
next volume for a job.  The sequence of events is listed below.

1. Look for volume with "Append" status.
2. Try finding a recycled volume
3. Try recycling any purged volume
4. Try pruning Volumes
5. Try pulling a volume from the Scratch pool
6. Try "creating" a new Volume
7.  Try purging oldest volume
8. Try recycling the oldest volume

Things to note ...

a) Steps 1-3: If there are available appendable, recycled, or purged volumes, 
those will be used (in that order) until they are full.  You will end up with 
as many backup sets (perhaps more than your desired 2) as will fit on those 
existing volumes.

b) Step 4: Pruning, is where the volume retention setting is checked.  Volumes 
that have passed their  retention (current time minus last write time) will be 
purged in order of oldest age, as needed.  This is why I suggested this setting 
for your described issue.  This will purge and recycle your expired volumes 
before it attempts to create any new volumes.  This is performed during the 
search for available volumes and should resolve your issue as I understand it.

Things work as expected for me with both 16.2.4 and 17.2.4.

Other clarifications from your post ...

When a job or file or volume is expired, Bareos does not erase the files on the 
disk, nor does it remove the jobs from the volume, nor does it remove the jobs, 
files or volumes from the catalog.  Everything is left completely intact until 
Bareos requires a volume for a backup and steps 1-3 above do not find an 
available volume.  If you have auto prune enabled that will cause records to be 
removed from the catalog, but again the disk volume is not touched until it is 
recycled.

Lastly, it sounds from your description that you are performing a Full backup 
every day.  That's not a very efficient way to operate and will require the 
maximum amount of disk storage.

Hope that helps some.

Dan

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to