This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/drupal/console-en/translations/database.restore.yml

15 lines
585 B
YAML
Raw Normal View History

2018-11-23 12:29:20 +00:00
description: 'Restore structure and contents of a database.'
arguments:
database: 'Database key from settings.php'
options:
file: 'The filename for your database backup file. If using a .sql.gz file, the gunzip command needs to be installed.'
messages:
success: 'Database imported from:'
no-file: 'Missing file option'
help: 'Restore structure and contents of a database.'
examples:
- description: 'Restore the database file dump to the database default or another one specified'
execution: |
drupal database:restore \
--file='/srv/dump/db.sql'