# koha-rebuild-zebra

koha-rebuild-zebra

8

koha-rebuild-zebra

Rebuild the Zebra database for Koha instances.

UNIX/Linux

          koha-rebuild-zebra -u|--usmarc --force -f|--full -a|--authorities -b|--biblios -q|--quiet -v|--verbose ... instancename

### Options

`-u, --usmarc`

- Runs the process as USMARC rather than the default of MARCXML.

`--force`

- Force incremental indexing when `USE_INDEXER_DAEMON=yes`.

`-f, --full`

- Does a reindex of the whole collection. Will run even if `USE_INDEXER_DAEMON=yes`.

`-a, --authorities`

- Only run the indexing process for authority records.

`-b, --biblios`

- Only run the indexing process for biblio records.

`-q, --quiet`

- Sometimes be a bit quieter for scripts/cronjobs.

`-v, --verbose`

- Be verbose. Useful for debugging indexing problems.

`-...`

- Anything else is passed directly to rebuild_zebra.

### Description

Rebuild the Zebra database for Koha instances. It will run incremental updates by default. It will be skipped if `USE_INDEXER_DAEMON=yes` in /etc/default/koha-common, unless `--force` or `--full` are used.

### See also

- `koha-zebra(8)`