16/03/2019

Koha Data Migration | Import Marc file into Koha using Terminal

By Technical Digit

Koha Data Migration is very time consuming process, So you can import you Bibliographic Data into Koha Software by using Terminal Commands

In the process of Koha Data Migration, You can import .mrc file into koha directly using Terminal commands. Follow the steps below and run commands one by one carefully:
    > sudo su
    > export PERL5LIB=”/usr/share/koha/lib” 
    > export KOHA_CONF=”/etc/koha/sites/library/koha-conf.xml”
Next, Move your .mrc file into folder where bulkmarcimport.pl is located by using following command.
    > mv sample.mrc /usr/share/koha/bin/migration_tools
    > cd /usr/share/koha/bin/migration_tools
    > perl bulkmarcimport.pl -framework BK -file sample.mrc
It will take some time according to your file size.
    > perl bulkmarcimport.pl -d -file sample.mrc
(Optional Command, to delete all existing records and install new batch of marc file.)
    > sudo koha-rebuild-zebra -f -v library

Learn How to Convert Excel File to Marc Format


 

Koha Data Migration

ajax loader