Open kayakr opened 10 years ago
Still broken?
I am having this issue now with 8.1.9.
I have tried a 3 different ways:
$command_specific['sql-sync'] = array('structure-tables-list' => 'accesslog, batch, cache, cache_*, ctools_css_cache, ctools_object_cache, flood, search_*, history, queue, semaphore, sessions, watchdog, webform_submitted_data');
$options['structure-tables']['common'] = array('accesslog, batch, cache, cache_*, ctools_css_cache, ctools_object_cache, flood, search_*, history, queue, semaphore, sessions, watchdog, webform_submitted_data');
--structure-tables-list='accesslog, batch, cache, cache_*, ctools_css_c ache, ctools_object_cache, flood, search_*, history, queue, semaphore, sessions, watchdog, webform_submitted_data'
When doing a sync in verbose mode with 1 and 3 above it shows Starting to dump database on Source. ... sql-dump --structure-tables-list='\''accesslog, batch, cache, cache_*, ctools_css_cache, ctools_object_cache, flood, search_*, history, queue, semaphore, sessions, watchdog, webform_submitted_data'\'' --gzip --result-file 2>&1' 2>&1
and only the first table is ever empty (structured).
Any ideas?
Ahh, my issue appears to be that I was using spaces :/
If I use drush sql-dump --ordered-dump --structure-tables-list="cache,cache_*" or drush sql-dump --ordered-dump --structure-tables-key=caches, when drushrc.php has
I find the resulting dump has cache* tables missing entirely, rather than including the table structure with no data. Drush 7.0-dev.