---
title: "Enables periodic backup of the stateful persisted partition."
method: POST
path: "/Partitions/{partitionId}/$/EnableBackup"
tags: ["BackupRestore"]
---

# Enables periodic backup of the stateful persisted partition.

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

Enables periodic backup of stateful persisted partition. Each partition is backed up as per the specified backup policy description. In case the application or service, which is partition is part of, is already enabled for backup then this operation would override the policy being used to take the periodic backup of this partition.
Note only C# based Reliable Actor and Reliable Stateful services are currently supported for periodic backup.

## Path parameters

- `partitionId` string, uuid, required

## Query parameters

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

## Request body

- EnableBackupDescription — Specifies the parameters needed to enable periodic backup.
  - `BackupPolicyName` string, required — Name of the backup policy to be used for enabling periodic backups.

## Response `202`

A 202 status code indicates the request to enable partition backup has been accepted.

## 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)
