query to take backup of database in mysql code example Example: mysql backup table mysqldump db_name table_name > table_backup.sql