Backing up WordPress (or other MySQL DBs)

These commands will backup and restore backups of a complete database to the current directory you're in. The -p option will prompt you for the DB's password (which you can get from wp-config.php)

Often the values for "your_db_name" and "your_db_username" are the same values. Let me know if you have any questions.

Ignore commented out settings in config file