We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

hyperwhat on 10/09/07


Tagged

mysql


Versions (?)


Who likes this?

7 people have marked this snippet as a favorite

basicmagic
bbhack
kellyharding
SamuelMiller
copyleft
sjaq
Leech


Backup a remote MySQL database to your local hard disk


Published in: Bash 


  1. ssh user@example.com 'mysqldump -q -u database_user -p database optional_table' > backup.sql

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: hyperwhat on February 29, 2008

You need to login to post a comment.