Files
popsu-d9/old.vendor/drupal/console-en/translations/database.dump.yml
2022-04-27 11:30:43 +02:00

20 lines
677 B
YAML

description: 'Dump structure and contents of a database'
arguments:
database: 'Database key from settings.php'
target: 'Database target from settings.php'
options:
file: 'The filename for your database backup'
gz: 'Pass this option if you want the sql result file gzipped'
exclude-cache: 'Pass this option if you want to exclude cache tables.'
messages:
success: 'Database exported to:'
examples:
- description: 'Dump default database or the one specified on the argument'
execution: |
drupal database:dump \
<database>
- description: 'Dump in gz compressed format'
execution: |
drupal database:dump \
--gz