---
title: "Disables periodic backup of Service Fabric partition which was previously enabled."
method: POST
path: "/Partitions/{partitionId}/$/DisableBackup"
tags: ["BackupRestore"]
---

# Disables periodic backup of Service Fabric partition which was previously enabled.

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

Disables periodic backup of partition which was previously enabled. Backup must be explicitly enabled before it can be disabled. 
In case the backup is enabled for the Service Fabric application or service, which this partition is part of, this partition would continue to be periodically backed up as per the policy mapped at the higher level entity.

## Path parameters

- `partitionId` string, uuid, required

## Query parameters

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

## Request body

- DisableBackupDescription — It describes the body parameters while disabling backup of a backup entity(Application/Service/Partition).
  - `CleanBackup` boolean, required — Boolean flag to delete backups. It can be set to true for deleting all the backups which were created for the backup entity that is getting disabled for backup.

## Response `202`

A 202 status code indicates the request to disable 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)
