LIS Links

First and Largest Academic Social Network of LIS Professionals in India

Latest Activity

Sheela Narayan posted a status
"When kvs form 2025 will come for the permanent post of librarian"
8 hours ago
Dr. B.K. Dalai updated their profile
11 hours ago
Profile IconDr. Badan Barman, Kankana B Badan, Munesh Kumar and 7 more were featured
12 hours ago
Profile IconHARSH, Sheela Narayan, ASHWINI KULKARNI and 1 more joined LIS Links
12 hours ago
VARUN KUMAR updated their profile
13 hours ago
AMRUTA RAVIKIRAN SHINDE updated their profile
15 hours ago
Dr. U. Pramanathan posted blog posts
yesterday
SATYAM PRAKASH TRIPATHI posted a blog post
yesterday
Rohit Jangra posted a blog post
yesterday
Suresh Kumar Dubey posted a blog post
yesterday
Narender Kumar posted a blog post
yesterday
Profile IconManjula, Chandan Mishra, Dr. B. Mini Devi and 10 more joined LIS Links
yesterday
S. S. Waghmode posted an event
yesterday
Dr. U. Pramanathan posted events
yesterday
Dr.K.S.SHIVRAJ posted an event
yesterday
Dr. U. Pramanathan posted discussions
yesterday
Velmurugan.C posted a discussion
yesterday
Dimple posted a discussion
yesterday
amreentaj posted a discussion
yesterday
Dr. O Seshaiaih posted a discussion
yesterday

Dear Professionals,
Can I request you to kindly help me with "How to Take a Backup of Koha 18.05"? It is urgent.
Kind Regards,

Sugandha Bajaj.

Views: 496

Reply to This

Replies to This Forum

To get all the data, use:

mysqldump -u kohaadmin -p koha > mydatadump.sql

  • -u specifies the user to log in to MySQL as, in this case kohaadmin
  • -p makes mysqldump prompt for the password
  • koha is the name of the database

To take a back up of your koha system, first you need the following information:

1. Mysql username and password.

Normally the username is root and password is whatever you have given at the time of installation.

Hope you have Ubuntu as operating system:

Open a Terminal and type : sudo su

enter the password:

After entering the password you will be in your desktop: 

mysql

It will take you to mysql prompt.

show databases;

this will show all the databases. notedown the name of your koha instance. Normally it will be koha_library

use koha_library;

database changed message will appear.

mysqldump -u root -p koha_library >koha_library_backup.sql;

(> this arrow is important)

enter your password:

here enter the mysql password.

Depending upon the site of the database, it takes some time to finish.

(the power button of the computer will be blinking continuously because it is working in the background.)

Once it is finished, the prompt will appear.

exit

to close the terminal.

all mentioned in bold letters are commands to bee typed on the terminal.

On your desktop you will see koha_library_backup.sql; (that is the name we have given to the backup file)

 

RSS

© 2025   Created by Dr. Badan Barman.   Powered by

Badges  |  Report an Issue  |  Terms of Service

Koha Workshop