how to take backup of all databases in mysql code example Example: mysql backup database mysqldump database_name > database_name.sql