LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

Friday, May 3, 2019

How to Enable Export Database Tab In Koha Tools

8 comments
The new version Koha comes without enabling export database function in koha tools by default. So in order to take a backup from the Graphical User Interface (GUI), we need to enable the function in the koha instance's config file. Then only we can have database dumps via the koha tool. 

Enable database and configuration dumps via Koha tools

1. Open the terminal and edit your Koha instance's config file using the following command.

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

Where "library" is the name of the koha instance for which I want to enable backups via tools (replace "library" with your instance name)

2. Scroll down around line 291 where it says

<!-- Enable the two followings to allow super librarians to download
      database and configuration dumps (respectively) from the Export
      tool -->

3. Enable database backups via tools by changing the line
 
<backup_db_via_tools>0</backup_db_via_tools>
<backup_db_via_tools>1</backup_db_via_tools>


( Note that we are simply changing "0" to "1" (from "off" to "on") 

4. Enable database backups via tools by changing the line

<backup_conf_via_tools>0</backup_conf_via_tools>
<backup_conf_via_tools>1</backup_conf_via_tools>

(Note that we are simply changing "0" to "1" (from "off" to "on")

5. Save your changes (if you are using nano editor, press control + O) and Reboot your system/server. Now go on to the next step

Backup your Koha Database and Configuration file via Koha Tools

1. Log into to koha administration interface on your web browser.
2. Go to Home > Tools
3. Click on Export Data
4. To export your database, click on Export Database > Select the Database > Download Database
5. To export your configuration file, click on Export Configuration File > Select the Configuration File > Download Configuration File

There you have done it. Now you can backup your database anytime you want.

8 comments:

  1. This blog is truly useful to convey overhauled instructive undertakings over web which is truly examination. I discovered one fruitful case of this truth through this blog. I will utilize such data now.
    Customs clearance

    ReplyDelete
  2. Thank you Mr. Mahesh for your useful posting. But I am not getting option for Downloading database. Rather, the system asked for biblionumber range or call number range, etc. then Exporting bibliographic records. Am I in wrong tool?

    ReplyDelete
  3. I am not getting option for Downloading database.i restarted my server, but the problem remains the same

    ReplyDelete
  4. brother this work on versin 18.11?

    ReplyDelete
  5. Also change the export directory permissions per https://koha-bugs.koha-community.narkive.com/yRhlWGF0/bug-14564-new-export-configuration-unfortunately-no-backups-are-available

    ReplyDelete