docs/subcommands/snapshot_restore.md in knife-ionoscloud-5.0.0.beta.1 vs docs/subcommands/snapshot_restore.md in knife-ionoscloud-5.0.0
- old
+ new
@@ -1,23 +1,24 @@
# SnapshotRestore
This will restore a snapshot onto a volume. A snapshot is created as just another image that can be used to create new volumes or to restore an existing volume.
- knife ionoscloud snapshot restore (options)
+```text
+knife ionoscloud snapshot restore (options)
+```
-
## Available options:
----
### Required options:
-* datacenter_id
-* volume_id
-* snapshot_id
-* ionoscloud_username
-* ionoscloud_password
-```
+* datacenter\_id
+* volume\_id
+* snapshot\_id
+* ionoscloud\_username
+* ionoscloud\_password
+
+```text
datacenter_id: --datacenter DATACENTER_ID, -D DATACENTER_ID
iD of the Datacenter (required)
volume_id: --volume VOLUME_ID, -V VOLUME_ID
iD of the Volume (required)
@@ -28,11 +29,13 @@
ionoscloud_username: --username USERNAME, -u USERNAME
your Ionoscloud username (required)
ionoscloud_password: --password PASSWORD, -p PASSWORD
your Ionoscloud password (required)
-
```
## Example
- knife ionoscloud snapshot restore --datacenter DATACENTER_ID --volume VOLUME_ID --snapshot SNAPSHOT_ID --username USERNAME --password PASSWORD
+```text
+knife ionoscloud snapshot restore --datacenter DATACENTER_ID --volume VOLUME_ID --snapshot SNAPSHOT_ID --username USERNAME --password PASSWORD
+```
+