Hi Philipp, Thanks for the reply! I clears up a lot.
Op vrijdag 12 januari 2024 om 14:20:20 UTC+1 schreef Philipp Storz: > Hello Cliff, > > Am 12.01.24 um 14:06 schrieb 'Cliff Odijk' via bareos-users: > > Hi, > > > > I just upgraded our BareOS setup from version 21 to version 23 and just > noticed a few deprecation > > messages inside our config. From the changelog i found this PR > > https://github.com/bareos/bareos/pull/1425 < > https://github.com/bareos/bareos/pull/1425>. But my > > question is do we still need these values or can we remove them? And if > we remove them what would > > happen to the catalog? Are old records still pruned?Yes, they are pruned > when the job that they belong to is pruned from the database, usually when > the > medium that holds the job is recycled. > > The deprecated directives only were used by the "Autoprune" mechanism in > the client where the job > and file entries in the database could be removed BEFORE the medium that > they are stored on is recycled. > > As we at Bareos think that it does not make sense to lose information > about jobs that you still have > on your media, the AutoPrune setting in the client was "no" per default. > > The default setup in bareos prunes the file and job information from the > database when the volume > holding job is recycled. > > See also the documentation for the client autprune (which is deprecated): > > https://docs.bareos.org/Configuration/Director.html#config-Dir_Client_AutoPrune > > And the pool autoprune (which is the bareos default way of pruning): > > https://docs.bareos.org/Configuration/Director.html#config-Dir_Pool_AutoPrune > > > > * using deprecated keyword FileRetention on line 6 of file > /etc/bareos/bareos-dir.d/client/server.conf > > * using deprecated keyword JobRetention on line 7 of file > /etc/bareos/bareos-dir.d/client/server.conf > > * using deprecated keyword AutoPrune on line 8 of file > /etc/bareos/bareos-dir.d/client/server.conf > > > Bet regards! > > Philipp > -- > Mit freundlichen Grüßen > > Philipp Storz philip...@bareos.com > Bareos GmbH & Co. KG Phone: +49 221 63 06 93-92 <+49%20221%2063069392> > http://www.bareos.com Fax: +49 221 63 06 93-10 <+49%20221%2063069310> > > Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 > Geschäftsführer: Stephan Dühr, J. Steffens, P. 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 bareos-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/c4017e97-2b69-436c-bb2a-9e58cbd01273n%40googlegroups.com.