snapshot info

Definition

Prints information about a bucket.

Usage

$ ozone sh snapshot info [-hV] <snapshotName>
                               <value>
Arguments
Parameter Description

snapshotName

Name of a snapshot

value

A bucket URI. It can be a full URI (starts with o3://, e.g. o3://hostname:9862/vol1/bucket1/) or a short URI (starts with a volume name, e.g. vol1/bucket1). Any missing information is obtained from the configuration files

-h, --help

Prints out a help manual for this command

-V, --version

Prints out version information and exits

Examples

Print information about a snapshot:

$ ozone sh snapshot info vol1/bucket2 newsnap

The output depends on the snapshot, but should be similar to the following:

{
  "volumeName" : "vol1",
  "bucketName" : "bucket2",
  "name" : "newsnap",
  "creationTime" : 1740354183187,
  "snapshotStatus" : "SNAPSHOT_ACTIVE",
  "snapshotId" : "958877db-3d6e-4ff6-9ff6-910f3176b8d7",
  "snapshotPath" : "vol1/bucket2",
  "checkpointDir" : "-958877db-3d6e-4ff6-9ff6-910f3176b8d7",
  "referencedSize" : 5,
  "referencedReplicatedSize" : 17,
  "exclusiveSize" : 0,
  "exclusiveReplicatedSize" : 0
}
Found a mistake? Seleсt text and press Ctrl+Enter to report it