how to take backup of mysql database in linux command line code example Example: mysql backup database command line mysqldump database_name > database_name.sql