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

16 lines
648 B
YAML

description: 'Restore 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 file (absolute path) . 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'