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

# List all backup sets

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

Returns all backup sets for Windows/Linux servers

## Path parameters

- `OrgID` integer, required

## Query parameters

- `serverName` string
- `backupEnable` boolean
- `pageToken` string

## Response `200`

Success

- FSGetBackupsetsResponse — GetBackupsetsResponse is response schema for GetBackupsets
  - `backupsets` FSBackupsetInfo[]
    - `backupContent` FSRuleStruct1
      - `backupContent` FSBackupContentStruct
        - `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.
      - `ruleName` string — Name of the content rule.
    - `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
    - `lastBackupDetails` FSLastBackupDetailsStruct
      - `jobID` integer — A unique identification number associated with the job. This parameter will be skipped if the value is NULL.
      - `status` string — Status of the job. This parameter will be skipped if the value is NULL.
    - `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 the organization.
    - `serverName` string — The name of the Windows/Linux server.
    - `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/authentication.md) · [All operations](https://skmtc.dev/druva/apis/authentication/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/druva/authentication/revisions/2af2bf148b25/schema)
