Skip to main content
Command reference

vserver object-store-server bucket snapshot restore start

Suggest changes

Restore a snapshot for the S3 bucket.

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver object-store-server bucket snapshot restore start command restores a snapshot for a specified S3 bucket.

Parameters

-vserver <vserver name> - Vserver

This specifies the name of the Vserver that contains the S3 bucket for which the snapshot will be restored.

-bucket <TextNoCase> - S3 Bucket Name

This specifies the name of the S3 bucket for which the snapshot will be restored.

-snapshot <TextNoCase> - Snapshot Name

This specifies the name of the snapshot that is to be restored.

[-foreground <true>] - Run Operation in the Foreground

This specifies whether the operation runs in the foreground. The default setting is true (the operation runs in the foreground). If true, the command will wait until the operation is finished. If false, the command will return immediately and the operation will complete in the background.

Examples

The following example restores a snapshot named bucket-1-snap on S3 bucket named bucket-1 on Vserver named vs0.

cluster1::> vserver object-store-server bucket snapshot restore start -vserver vs0 -bucket bucket-1 -snapshot bucket-1-snap