Saturday, April 28, 2018

Useful Koha commands

Koha DB Schema

http://schema.koha-community.org/17_11/relationships.html


http://schema.koha-community.org/index.html




 Useful Koha commands

CommandDescription
koha-commonCreate and manage Koha instances.
koha-createCreate a new Koha instance.
koha-create-dirsCreate dirs for a Koha instance.
koha-disableDisable a Koha instance.
koha-dumpDump all contents and configs for a Koha site.
koha-dump-defaultsCreate default contents from an existing Koha site.
koha-email-disableTurn off the email for a Koha instance.
koha-email-enableTurn on the email for a Koha instance.
koha-enableEnable a Koha instance. New instances are enabled by default. You only need this command if you have previously disabled a site with koha-disable.
koha-foreachRun a command for each Koha instance. Takes the same arguments as koha-list.
koha-listLists Koha instances, optionally only those that are enabled or have email turned on.
koha-mysqlProvide an interactive mysql shell set up for the specified koha instance.
koha-rebuild-zebraRebuild the Zebra database for a Koha instance.
koha-removeRemove a Koha instance.
koha-reset-passwdReset password for a user in a Koha instance.
koha-restart-zebraRestart Zebra for named Koha instances.
koha-restoreRestore a Koha site from a dump (from koha-dump).
koha-run-backupsPerforms backups of the koha installations on the system, except an instance called demo.
koha-shellGives you a shell with the user and environment set to make it easy to do koha operations.
koha-start-zebraStart Zebra for named Koha instances.
koha-stop-zebraStop Zebra for named Koha instances.
koha-upgrade-schemaUpgrade the DB schema for Koha instances. Done automatically on package upgrades.

No comments: