Thursday, August 29, 2013

MySQL - Dump tables data

If you want to backup only some tables of your database, use the following command:

$ mysqldump -u myuser -p'myuser_pwd' my_database my_table1 my_table2 > my_backupdb.sql