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

# POST /v1/{+name}:restore

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

Restores an existing instance's file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).

## Path parameters

- `name` string, required

## Request body

- RestoreInstanceRequest — RestoreInstanceRequest restores an existing instance's file share from a backup.
  - `fileShare` string — Required. Name of the file share in the Filestore instance that the backup is being restored to.
  - `sourceBackup` string — The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/file.md) · [All operations](https://skmtc.dev/google/apis/file/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/file/revisions/f3d16365a416/schema)
