Enable Koha backup by Graphical User Interface (GUI Mode)

Koha comes with a default tool that allows you to export your bibliographic and authority data from the Koha staff interface. In order to export the entire database (bibliographic data, patrons data, circulation data, etc.) including the configuration file, you need to make some changes in the config file of the koha instance. 

Let's know how to enable the export database through the staff interface and what needs to be changed in the config file.

Open the terminal (Ctrl+Alt+T)

sudo su

Enter root password

Open the Koha config file

sudo gedit /etc/koha/sites/library/koha-conf.xml

(In the above command "library" is the name of the my koha instance. Replace "library" with your instance name)

Search the following lines in the file around line 283

<!-- Enable the two followings to allow super librarians to download

  database and configuration dumps (respectively) from the Export

      tool -->

Make the changes '0' to '1' in the following two lines (1st line for Database backup and 2nd one for the Configuration file backup)

<backup_db_via_tools>0</backup_db_via_tools>

<backup_conf_via_tools>0</backup_conf_via_tools>

                                        TO

<backup_db_via_tools>1</backup_db_via_tools>

<backup_conf_via_tools>1</backup_conf_via_tools>

Save and close the file. 

Now you will find the Two additional tabs Export Database and Export Configuration file under the Export Data in the "Tools" module.  Now you can export your database anytime you want

In the new version of Koha 22.11, the "Export data" option is available under the "Cataloging" module 

Koha Backup and Restoration Via Command line

Koha Auto backup in Dropbox

Koha Backup in Google Drive

Post a Comment

0 Comments