Method: projects.locations.volumes.restore

Restore files from a backup to a volume.

HTTP request

POST https://netapp.googleapis.com/v1beta1/{name=projects/*/locations/*/volumes/*}:restore

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The volume resource name, in the format projects/{projectId}/locations/{location}/volumes/{volumeId}

Request body

The request body contains data with the following structure:

JSON representation
{
  "backup": string,
  "fileList": [
    string
  ],
  "restoreDestinationPath": string
}
Fields
backup

string

Required. The backup resource name, in the format projects/{projectId}/locations/{location}/backupVaults/{backupVaultId}/backups/{backupId}

fileList[]

string

Required. List of files to be restored in the form of their absolute path as in source volume.

restoreDestinationPath

string

Required. Absolute directory path in the destination volume.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • netapp.volumes.restore

For more information, see the IAM documentation.