In trying to use both the --structure-tables-key and --skip-tables-key arguments, I noticed that the tables data was not ignored. In researching the problem using -v, it was determined that all of the database tables were specified as .
instead of .
. Looking at sql.drush.inc, it looks like the $database variable is set prior to db_spec being loaded for the mysql (or pgsql). Therefore, it is null.

I've included a patch (it may be rough so go easy on me) that solves the problem. May be worth removing the $database assignment earlier in code.

CommentFileSizeAuthor
drush_sqldump_ignore.patch558 byteslucidus_neil

Comments

moshe weitzman’s picture

Status: Active » Fixed

Was fixed a week ago or so

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.