Wednesday, 29 May 2019

Koha Backup Restoration

sudo su  

mysql -uroot -p

then enter mysql root password
 liblib
 
drop database koha_library;
 
create database koha_library;
quit;

keep the backup file in the home folder (sql format)


then,
  
1. sudo su

2. mysql -uroot -p koha_library < koha_library.sql
(where koha_library is the name of the database in new installation and koha_library.sql is the name of backup file.)

Enter Mysql Password:
3. liblib

Upgrade database Schema:
4. sudo koha-upgrade-schema library

Rebuild Zebra:
5. sudo koha-rebuild-zebra -v -f library

No comments:

Post a Comment