---
title: "Triggers restore of the state of the partition using the specified restore partition description."
method: POST
path: "/Partitions/{partitionId}/$/Restore"
tags: ["BackupRestore"]
---

# Triggers restore of the state of the partition using the specified restore partition description.

`POST /Partitions/{partitionId}/$/Restore`

Restores the state of a of the stateful persisted partition using the specified backup point. In case the partition is already being periodically backed up, then by default the backup point is looked for in the storage specified in backup policy. One can also override the same by specifying the backup storage details as part of the restore partition description in body. Once the restore is initiated, its progress can be tracked using the GetRestoreProgress operation. 
In case, the operation times out, specify a greater restore timeout value in the query parameter.

## Path parameters

- `partitionId` string, uuid, required

## Query parameters

- `RestoreTimeout` integer
- `api-version` '6.4', required
- `timeout` integer

## Request body

- RestorePartitionDescription — Specifies the parameters needed to trigger a restore of a specific partition.
  - `BackupId` string, uuid, required — Unique backup ID.
  - `BackupLocation` string, required — Location of the backup relative to the backup storage specified/ configured.
  - `BackupStorage` BackupStorageDescription — Describes the parameters for the backup storage.
    - `StorageKind` 'Invalid' | 'FileShare' | 'AzureBlobStore' | 'DsmsAzureBlobStore' | 'ManagedIdentityAzureBlobStore', required — The kind of backup storage, where backups are saved.
    - `FriendlyName` string — Friendly name for this backup storage.

## Response `202`

A 202 status code indicates the operation request was accepted and restore will be initiated. Use GetPartitionRestoreProgress operation to get the status of the restore operation.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/revisions/8fd479ce0f16/schema)
