Skip to content

downloadManagedVolumeFromLocation

Download a snapshot from a remote 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 remote target connected to this Rubrik cluster.

Arguments

Argument Type Description
input (required) DownloadManagedVolumeFromLocationInput! Input for V1ManagedVolumeDownloadFromLocation.

Returns

AsyncRequestStatus!

Sample

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