mysql dump backup 1 db code code example Example: database dump mysql command mysqldump -u username -p dbname > filename.sql