Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / database.restore.yml
index aa7ae94038e8454124648f297f8b9ec887a1691c..b11d5f2b84ae065549ecf899785bc4b2f4ef28dd 100644 (file)
@@ -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'