It's fairly likely that the oldest volumes have had their job records pruned because the jobs aged out after they became older than the allowed job retention period. With the job records pruned, there were no longer any jobs on the volumes, so the volumes were recycled. However, my guess is that you haven't needed those volumes yet so so bacula has not written to them. If you did find a need for the data on those volumes, you could bscan the volumes and recover the backups you needed despite their having been pruned.
Bacula's default behavior is to preserve the data on pruned volumes as long as possible, just in case that data is needed. Personally I might like to see a longer retention period, 20 days is a little scary since ransomware could incubate for a period between 14 days and 4 months. 4 months is a figure I heard on a major news outlet regarding a high profile breach, so it's probably the more extreme end of that spectrum, but still, 20 days could be pushing your luck. On the other hand, if you didn't have enough volume space to hold your backups with a longer retention period, you could wind up with no available volumes for your newest data. You'd have to examine your situation and decide what is best for you. I wouldn't rely on expired volumes to be there in the event of a need for backup restore. A ransomware attack alone incubating long enough could result in a situation where an influx of newly encrypted data could flush out previously pruned volumes which happened to contain the last good unencrypted backups. As far as trivia goes, there is file, job, and volume retention periods. The retention periods specified under the pool resource over-ride the retention periods specified under other resources. Hope this is helpful. Robert Gerber 402-237-8692 r...@craeon.net On Thu, Mar 21, 2024, 8:49 AM Ken Mandelberg <k...@mathcs.emory.edu> wrote: > I have my pool set as 15 50GB files, with a 20 day retention, autoprune, > recycle. Typically the oldest one is about 30 days old, and several of > the oldest show no jobs on volume. > > Are those oldest volumes doing me any good with no jobs, just waiting > for their time to be recycled? > > Should I adjust the parameters to make them more valuable? > > > > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users >
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users