Skip to content

downloadFilesetSnapshotFromLocation

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) DownloadFilesetSnapshotFromLocationInput! Input for V2DownloadFilesetSnapshotFromLocation.

Returns

AsyncRequestStatus!

Sample

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