Make a database dump including data from an ignored table
You need a dump including the values of a datebase table that is ignored by your drush configuration.
drush sql:dump --structure-tables-list=cache,cachetags,'cache_*',history,'search_*',sessions,webprofiler
Issue:
You need a dump including the values of a datebase table that is ignored by your drush configuration.
Prerequisites:
You use drush in your setup and have a drush config file (e.g.: https://github.com/drush-ops/drush/blob/master/examples/example.drush.yml) like this:
command:
sql:
dump:
options:
structure-tables-list:
- cache
- cachetags
- 'cache_*'
- history
- 'search_*'
- 'sessions'
- 'watchdog'
- 'webprofiler'Solution:
This example overrides the settings for the ignored tables in your drush command to also get the data of the watchdog table.
Ihre Drupal-Website zukunftssicher machen
Wir prüfen Ihr System und zeigen, was Sie für AI, Wartung und Upgrades brauchen.