[Koha] Rebuild database / clean install

Arthur arthur.suzuki at biblibre.com
Thu Aug 11 19:00:28 NZST 2022


Hello,

There is a collection of scripts in the "misc" folder, some of them 
provide a way to export/import datas in Koha.

export_borrowers.pl, export_records.pl and i just saw 
misc/admin/koha-preferences which permits to export and import all the 
system preferences.

However there are quite other data and configuration options for which 
an export is missing like libraries, circulation rules, patron 
categories, koha-marc mapping configuration, Marc fields configurations, 
etc...

I would first suggest trying with an erratic dump and let the update 
tool from Koha do the job.

There are also batch scripts in misc to fix some of the erratic data.

Best,

Arthur Suzuki,

Developer @BibLibre

On 11/08/2022 07:29, Father Vlasie wrote:
> Hello everyone!
>
> I would like to migrate to a new Koha installation. On my current install I am seeing a lot of errors (mostly, I think, due to using cpan to install perl modules which means I often have the wrong versions :( ). I also have some auto-increment related problems in the DB.
>
> I am thinking of doing a fresh install and moving the Koha data over. However, all of the tutorials I have found recommend doing a mysqldump and then slurping that into the new DB. If I want to avoid bringing DB problems along from the old install will that method not be problematic?
>
> Is there a way to export the data to a different format and rebuild the SQL from that? (Maybe the export command under admin>tools?)
>
> I have not seen any documentation regarding my concept of a clean install hence my decision to write to the list.
>
> Thank you in advance for any feedback or suggestions!
>
> Father Vlasie
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list