Downloading MySQL dump from command line
I am moving away from Linode because I don't have the Linux sysadmin skills necessary; before I complete the transition to a more noob-friendly service, I need to download the contents of a MySQL database. Is there a way I can do this from the command line? You can accomplish this using the mysqldump command-line function. For example: If it's an entire DB, then: $ mysqldump -u [uname] -p[pass] db_name > db_backup.sql If it's all DBs, then: $ mysqldump -u [uname] -p[pass] --all-databases > all_db_backup.sql If it's specific tables within a DB, then: $ mysqldump -u [uname] -p[pass] db_name