Skip to content

Snapshot commands

sbcli-pre snapshot --help

Snapshot commands

Creates a new snapshot

Creates a new snapshot

sbcli-pre snapshot add
    <VOLUME_ID>
    <NAME>
Argument Description Data Type Required
VOLUME_ID Logical volume id string True
NAME New snapshot name string True

Lists all snapshots

Lists all snapshots

sbcli-pre snapshot list
    --all
Parameter Description Data Type Required Default
--all List soft deleted snapshots marker False -

Deletes a snapshot

Deletes a snapshot

sbcli-pre snapshot delete
    <SNAPSHOT_ID>
    --force
Argument Description Data Type Required
SNAPSHOT_ID Snapshot id string True
Parameter Description Data Type Required Default
--force Force remove marker False -

Provisions a new logical volume from an existing snapshot

Provisions a new logical volume from an existing snapshot

sbcli-pre snapshot clone
    <SNAPSHOT_ID>
    <LVOL_NAME>
    --resize=<RESIZE>
Argument Description Data Type Required
SNAPSHOT_ID Snapshot id string True
LVOL_NAME Logical volume name string True
Parameter Description Data Type Required Default
--resize New logical volume size: 10M, 10G, 10(bytes) string False -