Read more

MySQL: How to dump single tables instead of a complete database

Emanuel
September 02, 2016Software engineer at makandra GmbH

Sometimes you want to test migrations with production or staging data. Dumping single tables makes sense if a complete dump would be to big.

mysqldump -u deploy_user -p application_production table1 table2 table2 > table1_table2_table2.sql.dump
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

Hint: If a table has to many constraints, a complete dump could be more handy.


Further reading:

Posted by Emanuel to makandra dev (2016-09-02 13:30)