mysql dump - exclude some table data

后端 未结 8 1485
独厮守ぢ
独厮守ぢ 2021-01-30 10:40

Is it possible, using mysql dump to export the entire database structure, but exclude certain tables data from export.

Say the database has 200 tables, I wish to export

8条回答
  •  耶瑟儿~
    2021-01-30 10:47

    As per the mysqldump docs:

    mysqldump name_of_db --ignore-table=name_of_db.name_of_table
    

提交回复
热议问题