create dump file from database in mysql

chetan picture chetan · Mar 29, 2010 · Viewed 68.9k times · Source

following is the that I create dump from mysql database.

mysqldump -u root tempbkk > ttt.dump

but I want to create a dump that exclude one or more file while creating dump from database we select.What is the command for that ?

Answer

Eimantas picture Eimantas · Mar 29, 2010

mysqldump -u root some_database > some_database_dump.sql