-description: "Dump structure and contents of a database"
+description: 'Dump structure and contents of a database'
arguments:
- database: "Database key from settings.php"
+ database: 'Database key from settings.php'
options:
file: 'The filename for your database backup'
gz: 'Pass this option if you want the sql result file gzipped'
messages:
- success: "Database exported to:"
+ 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
\ No newline at end of file