snapshot info
Contents
Usage
$ ozone sh snapshot info [-hV] <snapshotName>
<value>
Parameter | Description |
---|---|
snapshotName |
Name of a snapshot |
value |
A bucket URI. It can be a full URI (starts with |
-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
}