Skip to content

downloadHypervSnapshotFromLocation

Download a snapshot from a replication target Supported in v7.0+ Initiates a job to download a snapshot from the specified location when the snapshot does not exist locally. The specified location has to be a replication target connected to this Rubrik cluster. If an SLA Domain is not provided, the snapshot will be retained forever.

Arguments

Argument Type Description
input (required) DownloadHypervSnapshotFromLocationInput! Input for DownloadHyperVSnapshotFromLocationRequest.

Returns

AsyncRequestStatus!

Sample

mutation DownloadHypervSnapshotFromLocation($input: DownloadHypervSnapshotFromLocationInput!) {
  downloadHypervSnapshotFromLocation(input: $input) {
    endTime
    id
    nodeId
    progress
    result
    startTime
    status
  }
}
{
  "input": {
    "downloadConfig": {},
    "locationId": "example-string",
    "snapshotId": "example-string"
  }
}
{
  "data": {
    "downloadHypervSnapshotFromLocation": {
      "endTime": "2024-01-01T00:00:00.000Z",
      "id": "example-string",
      "nodeId": "example-string",
      "progress": 0.0,
      "result": "example-string",
      "startTime": "2024-01-01T00:00:00.000Z",
      "error": {
        "message": "example-string"
      },
      "links": [
        {
          "href": "example-string",
          "rel": "example-string"
        }
      ]
    }
  }
}