I want to backup my database except t1 table's one record (where option='siteurl').
I'm trying mysqldump's --where command.
mysqldump -u root --skip-extended-insert --where "option='siteurl'" konsertvdb t1 > sql.sql
This will work if I backup only the t1 table. But I want to backup all tables, except t1's one record (where option='siteurl') .
> mysqldump -u root --skip-extended-insert --where "option='siteurl'" konsertvdb > sql.sql
mysqldump: Couldn't execute 'SELECT /*!40001 SQL_NO_CACHE */ * FROM `wp_commentmeta` WHERE option='siteurl'': Unknown column 'option' in 'where clause' (1054)
*(wp_commentmeta is one of my other tables.)
Can you tell me is it possible?