---
title: "List all backup sets"
method: GET
path: "/nas/v1/orgs/{OrgID}/reports/backupsets"
tags: ["NAS"]
---

# List all backup sets

`GET /nas/v1/orgs/{OrgID}/reports/backupsets`

## Request

- Base URL: `//apis.druva.com/phoenix` (relative, and the document’s source URL is not known)
- URL: `//apis.druva.com/phoenix/nas/v1/orgs/{OrgID}/reports/backupsets`
- Auth: API key in header `Authorization`

Returns a list of all backup sets for NAS hosts.

## Path parameters

- `OrgID` integer, required

## Query parameters

- `hostName` string
- `proxyName (deprecated)` string
- `poolName` string
- `backupEnable` boolean
- `pageToken` string

## Response `200`

Success

- NASGetBackupsetsResponse: GetBackupsetsResponse is response schema for GetBackupsets
  - `backupsets` NASBackupsetInfo[]
    - `backupContent` NASRuleStruct: RuleStruct is response schema for GetContentRules
      - `backupContent` NASBackupContentStruct: BackupContentStruct is response schema for GetContentRules
        - `excludeExtension` string[]: The list of file types that are excluded from the backup. You can select pre-defined file types that you want to exclude from the backup.
        - `excludeFolders` string[]: The list of folders that are excluded from the backup. See <a href=https://help.druva.com/en/articles/8651422-about-data-protection-for-file-servers>Folders excluded from File server backup</a>.
        - `excludePattern` string[]: The list of file extensions that are excluded in the backup.
        - `excludeType` string[]: The list of file types that are excluded from the backup. You can select pre-defined file types that you want to exclude from the backup.
        - `includeExtension` string[]: The list of file extensions that are included in the backup.
        - `includeFolders` string[]: List of folders/directories included in the backup operation.
        - `includePattern` string[]: The list of file patterns that are included in the backup.
        - `includeType` string[]: The list of file types that are included in the backup. You can select pre-defined file types that you want to include in the backup. See <a href=https://help.druva.com/en/articles/8651422-about-data-protection-for-file-servers>File types supported for backup</a>.
        - `isCaseInsensitive` boolean: The status of the case insensitivity flag.
      - `organizationName` string: The name of NAS organization.
      - `ruleName` string: Name of the content rule.
      - `ruleType` string: The data that is backed up on a server.
    - `backupEnabled` boolean: Specifies whether the backup is enabled for the backup set.
    - `backupPolicyID` integer: The ID of your backup policy.
    - `backupPolicyName` string: Name of the backup policy attached to the backup set.
    - `backupsetID` integer: The ID of your backup set.
    - `backupsetName` string: The name of the backup set.
    - `dataLock` boolean: The status indicating if Data Lock is enabled for the backup set
    - `hostName` string: The name of NAS host/device.
    - `lastBackupDetails` NASLastBackupDetailsStruct: LastBackupDetailsStruct is response schema for GetBackupsets
      - `jobID` integer: A unique identification number associated with the job. This parameter will be skipped if the value is empty.
      - `status` string: Status of the job. This parameter will be skipped if the value is empty.
    - `organizationID` integer: The ID of your organization.
    - `ltrEnabled` boolean: The status of the backup set whether enabled for long term retention. For example, True denotes that the backup set is enabled for LTR.
    - `organizationName` string: The name of NAS organization.
    - `proxyName (deprecated)` string: The name of NAS proxy. (This is deprecated)
    - `poolName` string: The name of NAS pool.
    - `shareID` integer: The ID of NAS share.
    - `shareName` string: The name of NAS share.
    - `storageName` string: The name of the storage.
    - `warmTierDuration` integer: Lists the duration in days for which the snapshot will reside in the warm tier of the AWS storage.
  - `nextPageToken` string: The token to access the next page of results. This parameter will be empty for the last page of results.

## Other responses

- `400`: Bad Request
- `401`: The request did not include an authentication token or the authentication token was expired.
- `403`: Forbidden
- `404`: The requested resource was not found.
- `500`: The request was not processed due to an internal error in Cloud.

---

[API](https://skmtc.dev/druva/apis/enterprise-workloads.md) - [All operations](https://skmtc.dev/druva/apis/enterprise-workloads/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/enterprise-workloads/revisions/18fc75e8229e?raw)
