Re: "No files" in Bacularis for Jobs
"Stefan G. Weichinger via Bacula-users" <[email protected]>
| Newsgroups | gmane.comp.bacula.user |
|---|---|
| Message-ID | <[email protected]> |
Am 24.06.25 um 08:41 schrieb Marcin Haba: > Hello Stefan, > > On Tue, 24 Jun 2025 at 07:47, Stefan G. Weichinger <[email protected]> wrote: >> >> Am 23.06.25 um 18:51 schrieb Marcin Haba: >> >>> It looks that your file records for that job are pruned. In this case >>> it is good to check and adapt the File Retention and AutoPrune >>> directives. To make sure that it is this case, you can run in bconsole >>> (for jobid=XXXX): >>> >>> list files jobid=XXXX >>> >>> If you are not seeing the file list, it means that the file records are pruned. >> >> Why that? So far I have assumed that as long as tapes aren't >> overwritten, the jobs on the volume also will have a file list in the >> database. Did I get that wrong? > > This is the way how automatic pruning works. To make it working in the > way as you described and as you expected, you can disable automatic > pruning: > > AutoPrune = no > > Then the file and job records will not be pruned automatically (and > the database size can be bigger). They will be pruned in the volume > recycling cycle or if you run prune job or file records manually by > Bconsole command. ok ... so I don't have anything wrong that triggered that (?) I still don't fully get it: the volumes are in mode "Archive", so they should NOT yet been overwritten (in fact they aren't: they are stored off-site). And even then the related "file lists" in the database are pruned? That's really new to me. I expected the content of any volumes to be searchable in the DB. Maybe that would be too much data, sure.