vserver object-store-server bucket snapshot restore show
Displays the progress of ongoing snapshot restore operation of S3 buckets.
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver object-store-server bucket snapshot restore show command displays information about the progress of ongoing snapshot restore operations in S3 bucket(s).
Parameters
- {
[-fields <fieldname>,…] -
If you specify the
-fields <fieldname>, …parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]} -
If you specify the
-instanceparameter, the command displays detailed information about all fields. [-vserver <Vserver Name>]- Vserver Name-
If you specify this parameter, the command displays information only about the snapshot restore operations for the specified Vserver.
[-bucket <TextNoCase>]- S3 Bucket Name-
If you specify this parameter, the command displays information only about the snapshot restore operations for the specified S3 bucket.
[-snapshot <TextNoCase>]- Snapshot Name-
If you specify this parameter, the command displays information only about the snapshot restore operation matching the specified snapshot.
[-restore-status <Bucket snapshot restore progress State>]- Restore Progress Status-
If you specify this parameter, the command displays information only about the snapshot restore operation matching the specified restore-status.
[-restore-progress <percent>]- Restore Progress-
If you specify this parameter, the command displays information only about the snapshot restore operation matching the specified restore-progress.
[-objects-remaining <integer>]- Remaining Objects to be Restored-
If you specify this parameter, the command displays information only about the snapshot restore operation matching the specified objects-remaining.
Examples
The following example displays information for all restore operations in the cluster.
cluster1::> vserver object-store-server bucket snapshot restore show Vserver Bucket Snapshot Status Progress Objects Remaining -------- ---------- --------------------------------- ------------------------ vs0 buck1 snap1 restoring 98% 1092 vs1 buck2 snap2 restoring 47% 19287 vs2 buck3 snap3 preparing 0% 2910 vs3 buck4 snap4 done 100% 0 4 entries were displayed.
The following example displays detailed information of snapshot restore for a particular bucket:
cluster1::> vserver object-store-server bucket snapshot restore show -vserver vs0 -bucket buck1
(vserver object-store-server bucket snapshot restore show)
Vserver Name: vs0
S3 Bucket Name: buck1
Snapshot Name: snap1
Restore Progress Status: done
Restore Progress: 100%
Remaining Objects to be restored: 0
The following example displays information for all restore operations for a particular vserver.
cluster1::> vserver object-store-server bucket snapshot restore show -vserver vs0 Vserver Bucket Snapshot Status Progress Objects Remaining -------- ---------- --------------------------------- ------------------------ vs0 buck1 snap1 restoring 98% 1092 vs0 buck2 snap2 restoring 47% 19287 vs0 buck3 snap3 preparing 0% 2910 vs0 buck4 snap4 done 100% 0 4 entries were displayed.