snapshot listDiff
Contents
Usage
$ ozone sh snapshot listDiff [-ahV] [<jobStatus>]
<value>
Parameter | Description |
---|---|
jobStatus |
Allows you to list jobs only with the specified status. Possible values: |
-a, --all |
Allows you to list all jobs regardless of the status |
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
List all the SnapshotDiff jobs for a bucket:
$ ozone sh snapshot listDiff vol1/bucket2 -a
The output should be similar to:
[ {
"volumeName" : "vol1",
"bucketName" : "bucket2",
"fromSnapshot" : "s20250223-232331.183",
"toSnapshot" : "newsnap",
"jobStatus" : "DONE"
}, {
"volumeName" : "vol1",
"bucketName" : "bucket2",
"fromSnapshot" : "oldsnap",
"toSnapshot" : "newsnap",
"jobStatus" : "DONE"
} ]