Koha Bridge · koha.pro / Lightwave Library

Koha Bridge export and import

Development test release · 0.3.13

This workflow uses two plugins: Export on the source Koha server and Import on the destination. They are separate from the earlier one-plugin Bridge package.

Download Source Export KPZ Download Destination Import KPZ

Run an export and import

  1. Install koha-bridge-export-0.3.13.kpz on the source through Koha’s plugin manager.
  2. Open Koha Bridge Export, choose Create export (or Create fresh export), wait for it to finish, and download the ZIP.
  3. Install koha-bridge-import-0.3.13.kpz on the destination.
  4. Open Koha Bridge Import. Use the Export ZIP file chooser to select the fresh ZIP, then click Import ZIP.
  5. When it finishes, download the import report and the existing database backup. Sign out of Koha, close the browser, reopen Koha, and sign in again. Restart destination Plack if configuration settings were applied. Zebra bibliographic and authority indexes rebuild automatically, and their progress appears on the public status page.
Choose the fresh export file. “Replace library from saved ZIP” is a recovery option for a previous completed legacy merge. It reuses an archive already stored on the destination. For a new transfer, select the fresh ZIP in the file chooser and click Import ZIP.

What replacement does

The importer verifies an existing database backup before clearing official destination library tables. It then loads the source data using the destination Koha schema and keeps foreign-key checks enabled. Destination-only plugin registration and required application bootstrap settings remain. Each table commits independently. A failed table rolls back by itself, and later tables continue. Restore the existing database backup if the job stops after partial table commits.

Individual row errors are recorded in the human-readable report and skipped while processing continues. Missing required parent records mean the dependent record is skipped and logged. If the database connection or transaction is lost, the job stops so the earlier table commits remain and can be reversed by restoring the existing database backup.

Keep the export ZIP private

The ZIP contains the full source Koha configuration, effective settings, and referenced authentication key or certificate files. It can contain credentials. Store and transfer it securely, and remove extra copies when no longer needed.

Configuration and cleanup

Supported library timezone, authentication, and mail settings are transposed while destination database credentials, encryption keys, paths, and service bindings stay destination-specific. Known encrypted Koha fields are re-encrypted when both encryption contexts are available. Review the report for any exceptions.

Uninstalling the Import plugin removes its private Bridge storage, including uploaded ZIPs, reports, temporary data, and existing database backups, when no import worker is active. Uninstall does not undo a committed migration or delete Koha library records.

Known limits

The plugins include official schema references for 24 stable Koha release families from 3.18 through 26.05. This does not mean every historic version pair or every Koha application migration has been validated. Full search-index rebuilding is automatic for Zebra destinations; other search engines are reported for their engine-specific procedure. Standard intranet and OPAC template images are included and served from a Bridge-owned instance folder; general uploaded patron files remain separate. Review the report before normal use.

Detailed workflow and implementation notes