[Koha] configure data retention policies

lists lists at merit.unu.edu
Wed Jul 12 02:30:59 NZST 2017


Hi Barton,

Thanks for the pointer!

MJ

On 11-7-2017 16:02, Barton Chittenden wrote:
> MJ,
> 
> misc/cronjobs/cleanup_database.pl <http://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 <http://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 
> <mailto: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 <mailto:Koha at lists.katipo.co.nz>
>     https://lists.katipo.co.nz/mailman/listinfo/koha
>     <https://lists.katipo.co.nz/mailman/listinfo/koha>
> 
> 


More information about the Koha mailing list