Thursday, February 21, 2019

How to back up MySQL databases from the command line in Linux

Your Koha on Ubuntu 16.04 is up and running with on that server runs a database (or multiple databases) that must be backed up. 
There are various software options you could install to make that happen, but if you want to keep that server platform down to the bare minimum to avoid possible issues, chances are you'll want to work with the built-in tools to perform the backup. It's a good thing the koha administrator of MySQL thought of that

(here name of the database is koha_library on command you may enter root password or your koha db password)

# sudo mysqldump -p koha_library > /home/koha_library.sql


No comments:

How to migrate Linux Dspace to Window 10

Take a backup of Dspace database and folder s Assume the version is same with both OS [I have tested DSpace 6.3] sudo su mkdir dspace_backup...