Skip to content

downloadK8sSnapshotFromLocation

Download a snapshot from a remote target Supported in v9.3+ 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 remote target connected to this Rubrik cluster. If no SLA Domain is selected, the snapshot is retained forever.

Arguments

Argument Type Description
input (required) DownloadK8sSnapshotFromLocationInput! Input for V1DownloadK8sSnapshotFromLocation.

Returns

AsyncRequestStatus!

Sample

mutation DownloadK8sSnapshotFromLocation($input: DownloadK8sSnapshotFromLocationInput!) {
  downloadK8sSnapshotFromLocation(input: $input) {
    endTime
    id
    nodeId
    progress
    result
    startTime
    status
  }
}
{
  "input": {
    "locationId": "example-string",
    "snapshotId": "example-string"
  }
}
{
  "data": {
    "downloadK8sSnapshotFromLocation": {
      "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"
        }
      ]
    }
  }
}