X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fdatabase.restore.yml;fp=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fdatabase.restore.yml;h=b11d5f2b84ae065549ecf899785bc4b2f4ef28dd;hp=aa7ae94038e8454124648f297f8b9ec887a1691c;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/drupal/console-en/translations/database.restore.yml b/vendor/drupal/console-en/translations/database.restore.yml index aa7ae9403..b11d5f2b8 100644 --- a/vendor/drupal/console-en/translations/database.restore.yml +++ b/vendor/drupal/console-en/translations/database.restore.yml @@ -1,9 +1,14 @@ -description: "Restore structure and contents of a database." +description: 'Restore 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 file' + 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." \ No newline at end of file + 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'