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 philipp.st...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221 63 06 93-92
http://www.bareos.com Fax: +49 221 63 06 93-10
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/317576e2-353d-416c-b40c-3fea14c69ffa%40bareos.com.