How to delete library data in koha using the command line Sometimes you need to empty the all data (e.g. bibliographic, borrowers, and transaction details) from your Koha LMS without losing the configuration settings and authorized values, e.g. libraries, item types, patron categories, locations, etc. Let us know how to delete data from the Koha instance/library. Delete Koha's bibliographic data NB: I would recommend taking a backup of the database before applying the following commands. Login as a root user sudo su Log into MySQL database mysql -uroot -p Enter MySQL root password use koha_library; Disable foreign key constraints when you truncate the tables SET FOREIGN_KEY_CHECKS=0; Delete all bibliographic details TRUNCATE items; TRUNCATE biblioitems; TRUNCATE biblio; TRUNCATE deletedbiblioitems; TRUNCATE deletedbiblio; TRUNCATE biblio_metadata; Delete all transactions TRUNCATE old_issues; TRUNCATE issues; Delete borrowers details ...
Koha INSTALLATION After installation of ubuntu 20.4 (Focal Fossa), right click on the mouse choose open terminal. past the following comments in terminal. Update Ubuntu using apt sudo apt update sudo apt upgrade -y if the system asks for update make it "Remind me later" it may confuse the process Clear the apt-get packager manager cache sudo apt clean Install MariaDB-server dependence sudo apt install -y mariadb-server Provide MySQL/MariaDB root password (If the password asks during the installation process, enter the password in the window. Apply the following command, if the password window did not appear during the installation secure it) Securing MariaDB Run this command to improve the security of the MariaDB installation: sudo mysql_secure_installation (The script will prompt you to set up the root user password, remove the anonymous user, restrict root user access to the local machine and remove the te...
Upload files on Koha server Koha allows you to upload digital files e.g. PDF, text, image, video, etc. on the Koha server. All the uploaded files will be stored in the internal directory of Koha, and files can be retrieved from the staff interface as well as on OPAC. Configuration First I recommend creating categories to upload the files. If you don't want to create more categories, even you can create only one that will contain all the files. While uploading the new file you need to select the category otherwise your upload is marked as temporary and will be removed when your server restarts. To start this process, you need to add new authorized values to the "Upload". Create new Authorized values under the UPLOAD category Koha Tools ➤Authorized values 1. Search for Upload 2. Click on the Add button Fill in the detail and Save Upload files Go to Koha Tools ➤ Upload Browse and Choose the file Sele...
Comments
Post a Comment