[英]How do i dump all the tables from a single database in a sql file except for the ones mentioned?
I wanted to know if it was possible can do a db dump of all the tables in a database, but leaving a couple of tables specified on the command line. 我想知道是否可以对数据库中的所有表进行数据库转储,但是要在命令行上保留几个表。 this is for mysql.
这是针对mysql的。 i know there is one for adding specific tables on an sql, but i dont know if you can exclude specific tables.
我知道有一个用于在sql上添加特定表,但我不知道你是否可以排除特定的表。 Thanks in advance.
提前致谢。
Mysqldump有一个--ignore-table选项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.