How do you create a backup of a MySQL database using the mysqldump command?

mysqldump -u username -p database_name > backup.sql