nainil
asked on
Mysqldump for all except one table
I am using mysqldump --opt -u username -p databasename table1 table2 table3 ... to create a dumo of my database for specific tables.
However, now, I want to take backup of whole database (55+ tables), except 1
what is the optimal way to issue the mysqldump without listing 54 table names (excluding one table in the database)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
FYI - To specify more than one table to ignore, use the directive multiple times, once for each table. Each table must be specified with both database and table names, e.g. --ignore-table=database.ta ble