tags:

views:

36

answers:

2

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 ?

A: 

mysqldump -u root some_database > some_database_dump.sql

But this belongs on superuser.com. +1 to close

Eimantas
+1  A: 

mysqldump can skip tables, you need the --ignore-table parameter. Check out the manual of mysqldump.

soulmerge
Yes that is the option that work fine.thank you.
chetan