osc block-storage snapshot create

Creates a new snapshot

Usage: osc block-storage snapshot create [OPTIONS] --volume-id <VOLUME_ID>

Options:

  • --description <DESCRIPTION> — A description for the snapshot. Default is None

  • --no-description — Set explicit NULL for the description

  • --display-name <DISPLAY_NAME> — The name of the snapshot

  • --no-display-name — Set explicit NULL for the display_name

  • --force <FORCE> — Indicates whether to snapshot, even if the volume is attached. Default is false. See valid boolean values

    Possible values: true, false

  • --metadata <key=value> — One or more metadata key and value pairs for the snapshot

  • --name <NAME> — The name of the snapshot

  • --no-name — Set explicit NULL for the name

  • --volume-id <VOLUME_ID> — The UUID of the volume