Skip to content
tcloud storage snapshots create

storage snapshots create

tcloud storage snapshots create

Create a snapshot

Synopsis

Create a snapshot from a volume by providing a name and volume ID.

tcloud storage snapshots create <name> [flags]

Options

      --annotations strings     Annotations in key=value format (can be specified multiple times)
      --delete-protection       Enable delete protection for the snapshot
      --description string      Description of the snapshot
  -h, --help                    help for create
      --labels strings          Labels in key=value format (can be specified multiple times)
      --volume string           Volume identity to create snapshot from
      --wait                    Wait for the snapshot to be ready for use
      --wait-timeout duration   Maximum time to wait for the snapshot to be ready (default 20m0s)

Options inherited from parent commands

      --access-token string    Access Token authentication (overrides context)
      --api string             API endpoint (overrides context)
      --client-id string       OIDC client ID for OIDC authentication (overrides context)
      --client-secret string   OIDC client secret for OIDC authentication (overrides context)
  -c, --context string         Context name
      --debug                  Debug mode
      --ignore-dir-config      Ignore directory-local .thalassa defaults
  -O, --organisation string    Organisation slug or identity (overrides context)
  -P, --project string         Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
      --token string           Personal access token (overrides context)

SEE ALSO