command mysql database backup

  1. K

    Steps to take backup database from shell

    You can use below command to take backup of your database. # mysqldump database_name > backup.sql After that you can restore your database with below command: # mysql database_name
Top