lbcli get snapshot

Gets snapshot information.

Synopsis

Gets snapshot information.

Bash
Copy

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for snapshot.
--namestringSnapshot name. Either UUID or name must be specified, but not both.
--project-namestringProject name.
--UUIDstringSnapshot UUID. Either UUID or name must be specified, but not both.

This command returns the following fields for each snapshot. The default output format is human-readable. The human-readable output only shows some of these fields. The json/yaml output format is also supported and includes additional fields.

FieldTypeDescription
StateString

The current volume state:

  • Creating
  • Available
  • Deleting
  • Failed
NameStringSnapshot name.
DescriptionStringSnapshot description.
Creation TimeTimestampSnapshot creation time.
Retention TimeDurationSnapshot retention time. when this time expires the snapshot will be deleted. Setting this value to nil will retain the snapshot until it is explicitly deleted.
Source Volume UUIDStringThe source volume UUID which the snapshot was taken from.
Source Volume NameStringThe source volume name which the snapshot was taken from.
Replica CountIntegerTotal replicas count.
Node Listlist of stringsNode UUIDs on which the snapshot is stored (only in json/yaml).
Compressionboolean
  • False: Compression disabled
  • True: Compression enabled

Note: This represents the value of the field in the origin volume at the time of snapshot creation.

ACLlist of strings

Access Control List of source volume.

Note: This represents the value of the field in the origin volume at the time of snapshot creation.

NSIDIntegerSource volume NSID.
SizeInteger

Maximal logical capacity of the snapshot in bytes.

Note: This represents the value of the field in the origin volume at the time of snapshot creation.

Sector SizeInteger

The snapshot sector size:

  • 0 (default = 4096)
  • 512
  • 4096

Note: This represents the value of the field in the origin volume at the time of snapshot creation.

EtagStringDeprecated in v2.2.1.
StatisticsStructSee Appendix A: Common Statistics.

For examples and a full list of snapshots metrics, see lbcli list snapshots (2.2 and above).

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard