[Koha] configure data retention policies
Barton Chittenden
barton at bywatersolutions.com
Wed Jul 12 02:02:04 NZST 2017
MJ,
misc/cronjobs/cleanup_database.pl has a number of hard coded default values:
22 use constant DEFAULT_ZEBRAQ_PURGEDAYS => 30;
23 use constant DEFAULT_MAIL_PURGEDAYS => 30;
24 use constant DEFAULT_IMPORT_PURGEDAYS => 60;
25 use constant DEFAULT_LOGS_PURGEDAYS => 180;
26 use constant DEFAULT_SEARCHHISTORY_PURGEDAYS => 30;
27 use constant DEFAULT_SHARE_INVITATION_EXPIRY_DAYS => 14;
28 use constant DEFAULT_DEBARMENTS_PURGEDAYS => 30;
You can use
misc/cronjobs/cleanup_database.pl -h to list command line options; this
should give you somewhere to start.
On Tue, Jul 11, 2017 at 6:05 AM, lists <lists at merit.unu.edu> wrote:
> Hi all,
>
> Is there a way in koha to configure how long to keep circulation data, or
> perhaps to anonymise the data older than x years..?
>
> Are there any koha docs on this subject...? Couldn't find any.
>
> MJ
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
More information about the Koha
mailing list