User manual
Migrating Catalog Data
Bulkmarcimport.pl
Mandatory?
Explanation
Example
option
c
No
The characteristic MARC flavor of -c
UNIMARC
records in the import file. Default
is MARC21.
d
No
Deletes all catalog records in
- d
the database prior to importing
the file. Be very careful with this
option, there is no way to recover
lost records.
m
No
The format of the records in the
-m MARCXML
import file. Default is ISO2709, if
you are importing XML, use the
MARCXML option.
x
No
The tag containing a record
-x 020
identifier, this refers to a tag in the
records in the import file.
Y
No
The subfield containing the record
-y a
identifier, this subfield is for the
tag identified by option x above.
Option y cannot be used with
option x.
idmap
No
Path and name of a file containing -
idmap /home/
a map between the record
idmapfilename
identifier and the biblionumber
that is generated when the record
is inserted into Koha. The record
identfier is contained in the field
specified by options x and y above.
The file is generated by
bulkmarcimport .pl
when it is
executed.
The file can be useful for
troubleshooting the migration
process or for maintaining a record
of how the records were migrated.
IMPORTANT: Don't use this script before you've entered
and checked your MARC parameters tables twice (or more!).
Otherwise, the import won't work correctly and you will get
invalid data.
[174]