Koha Backup and Restoration
Koha Backup and Restoration Run the following command from the terminal in order to take the backup of your Koha database. sudo mysqldump -u root -p koha_library > koha_library.sql Enter the MySQL root password. (Check the name of your database, in the above-mentioned command, root is a username for MySQL database (usually it is root unless you changed it) koha_library is a database name, and koha_library.sql is the name of the database backup file) Now Restore the database backup in the newly installed Koha machine Apply following commands sudo su (Hit Enter and enter the password) sudo apt-get update Open the MySQL database. sudo mysql -uroot -p Enter the MySQL database password Drop (remove) the existing database from koha. drop database koha_library; Now create the new database named " koha_library " create database koha_library; quit; Place your database backup file in the home folder. Execute the below command to restore the old backup to the new Koha installati...