---
title: "POST /v1/{+name}:restoreVolume"
method: POST
path: "/v1/{+name}:restoreVolume"
tags: ["projects"]
---

# POST /v1/{+name}:restoreVolume

`POST /v1/{+name}:restoreVolume`

Restores a backup to an ONTAP-mode volume.

## Path parameters

- `name` string, required

## Request body

- RestoreVolumeRequest — Request message for `RestoreVolume` API.
  - `ontapVolumeTarget` OntapVolumeTarget — Represents the ONTAP volume target of the restore operation.
    - `volumeUuid` string — Required. The UUID of the ONTAP volume to restore to.
    - `restoreDestinationPath` string — Optional. Absolute directory path in the destination volume.
  - `backupSource` BackupSource — Represents the backup source of the restore operation.
    - `backup` string — Required. The backup resource name.
    - `fileList` string[] — Optional. List of files to be restored in the form of their absolute path as in source volume. If provided, only these files will be restored. If not provided, the entire backup will be restored (Full Backup Restore)

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/netapp.md) · [All operations](https://skmtc.net/google/apis/netapp/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/netapp/versions/fa9ebea9e9dc/schema)
