Actually, thinking about it, I think another positive change would be to place the default retention values in the the configuration files (even though the defaults will be in effect without any entry in the configuration files). I initially mistakenly believed that by not defining retention values, things would be retained forever.
I also think hardcoding the default file and job retention periods to be the same value (unless specified differently in the configuration file) could be positive. I think only power users with many files need lower file retention values than job / volume retention, and bacula beginners don't need to worry about it. Making the values the same would help those beginners, and the power users with advanced needs can still make the changes they need. Robert Gerber 402-237-8692 r...@craeon.net On Mon, Jun 23, 2025, 1:11 PM Rob Gerber <r...@craeon.net> wrote: > > For me, the default values could be a bit higher. It could help many > > users, specially beginning Bacula users, I think. Otherwise the > > AutoPrune = yes (default) can work like a hidden trap :-) > > > I agree. In my early bacula days I was promptly surprised by that exact > thing. > > Of course, that experience also led me to ask questions here, read the > relevant manual section thoroughly, and make sure such a thing never > happens to me again, so it was also good in the end. > > > Robert Gerber > 402-237-8692 > r...@craeon.net > > On Mon, Jun 23, 2025, 12:38 PM Marcin Haba <ganius...@gmail.com> wrote: > >> On Mon, 23 Jun 2025 at 19:21, Rob Gerber <r...@craeon.net> wrote: >> > >> > You should be able to review the contents of an old bacula catalog dump >> to find your missing file entries. Be careful not to restore the dump over >> top of your current catalog. Just to be safe, it would be a good idea to >> take a fresh catalog backup and restore it to a safe place before fooling >> around with the catalog. >> > >> > To add to what Bill and Marcin have said: >> > >> > There are default file, job, and volume retention periods hardcoded >> into bacula. I don't know what the defaults are, and I suspect that the >> manual is inaccurate when it states the defaults. >> > If I recall correctly, the manual says >> > File retention: 90 days >> > Job retention: 180 days >> > Volume retention: 365 days. >> >> Hello Everybody, >> >> For the file retention and pruning, Bill and Rob explained it very well. >> Thanks. >> >> I have two more words for the AutoPrune directive. By default it is >> enabled and in my opinion it has both advantages and disadvantages. >> >> The advantage is that the user does not need to care about pruning >> because it is realized automatically. The disadvantage is that the >> default file and job retention values are a bit low (60 days for file >> records and 180 days for job records). If the user is not aware about >> it, he/she can be surprised that he/she is not able to restore >> selected files. >> >> For me, the default values could be a bit higher. It could help many >> users, specially beginning Bacula users, I think. Otherwise the >> AutoPrune = yes (default) can work like a hidden trap :-) >> >> ( the last sentence is a joke :-) ) >> >> Best regards, >> Marcin Haba (gani) >> >
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users