---
title: "Gets the list of backup entities that are associated with this policy."
method: GET
path: "/BackupRestore/BackupPolicies/{backupPolicyName}/$/GetBackupEnabledEntities"
tags: ["BackupRestore"]
---

# Gets the list of backup entities that are associated with this policy.

`GET /BackupRestore/BackupPolicies/{backupPolicyName}/$/GetBackupEnabledEntities`

Returns a list of Service Fabric application, service or partition which are associated with this backup policy.

## Path parameters

- `backupPolicyName` string, required

## Query parameters

- `api-version` '6.4', required
- `ContinuationToken` string
- `MaxResults` integer
- `timeout` integer

## Response `200`

A successful operation will return 200 status code and a paged list of Service Fabric entities that are associated with this policy.

- PagedBackupEntityList — The list of backup entities that are being periodically backed. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.
  - `ContinuationToken` string — The continuation token parameter is used to obtain next set of results. The continuation token is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token is not included in the response.
  - `Items` BackupEntity[] — List of backup entity information.
    - `EntityKind` 'Invalid' | 'Partition' | 'Service' | 'Application', required — The entity type of a Service Fabric entity such as Application, Service or a Partition where periodic backups can be enabled.

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