Closed (duplicate)
Project:
Drush
Version:
All-Versions-2.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2009 at 07:26 UTC
Updated:
2 Jan 2010 at 06:41 UTC
I would like to be able to add extra arguments to mysqldump when using drush sql dump. This feature used to exist but has recently been removed. The change is a one-liner: Add a call to drush_get_option('extra') in the $extra string on line 180 of commands/sql/sql.drush.inc.
Comments
Comment #1
Brian@brianpuccio.net commentedJust seeing this now, a patch has been proposed to #519110: provide an option for drush sql load to copy a single table instead of the entire database and to #518184: Allow Users To Set myqldump Arguments In drushrc.php (for drush sql dump), maybe this more generic approach is preferred by the developers where the exact parameters of the mysqldump have certain defaults, but can be override via extra arguments. I'd be glad to put together a proper patch for this (along with updated documentation) if that's what the maintainers would prefer.
Comment #2
moshe weitzman commented#518184: Allow Users To Set myqldump Arguments In drushrc.php (for drush sql dump)