With this command :
mysqldump -uuser -ppass dbname > 1.sql
You can dump dbname to 1.sql
I want a way to dump and restore just 1 table of dbname from ssh and command line
dumpMySQLsql
With this command :
mysqldump -uuser -ppass dbname > 1.sql
You can dump dbname to 1.sql
I want a way to dump and restore just 1 table of dbname from ssh and command line
Best Answer
You can just add a tablename to your command
To recover
You may want to look at the mysqldump and mysql man pages for further information.