---
title: "List all backupsets"
method: GET
path: "/pbs/v1/orgs/{OrgID}/reports/backupsets"
tags: ["PBS"]
---

# List all backupsets

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

Returns  all backupsets for Phoenix Backup Stores.

## Path parameters

- `OrgID` integer, required

## Query parameters

- `serverName` string[]
- `backupEnabled` boolean
- `pageToken` string

## Response `200`

Success

- PBSGetBackupsetsResponse — GetBackupsetsResponse is response schema for GetBackupsets
  - `backupsets` PBSBackupsetInfo[]
    - `backupEnabled` boolean — Specifies whether the backup is enabled for the backup set.
    - `backupsetID` integer — The ID of the backup set.
    - `backupMountName` string — The RMAN target location where the Oracle RMAN backups are stored.
    - `dataLock` boolean — The status indicating if Data Lock is enabled for the backup set
    - `ipWhitelist` string — The list of IP addresses of the Oracle RMAN hosts that can store Oracle RMAN backups on the mount. If the IP whitelist is not set to *, it displays the list of allowed IP addresses. For more information, see IPWhitelist.
    - `lastBackupDetails` PBSLastBackupDetailsStruct — LastBackupDetailsStruct is response schema for GetBackupsets
      - `jobID` integer — The unique identification number associated with the job. This parameter will be skipped if the value is NULL.
      - `status` string — The status of the job. This parameter can be one from the following values: Queued, Running, Successful, Successful with errors and Failed.
    - `maxBandwidth` integer — The maximum bandwidth that each server can consume while backing up data to the Cloud.
    - `organizationID` integer — The ID of the organization
    - `organizationName` string — The name of the organization in which the Phoenix Backup Store is deployed.
    - `resourceType` string — The Resource type which in this case is for Phoenix Backup Store : Oracle.
    - `oracleStoreID` integer — The ID of the Oracle Store
    - `serverName` string — The name of the Oracle server host or the Phoenix Backup Store.
    - `storageId` integer — The unique identification number associated with the storage region.
    - `storageName` string — The name of the storage region where the snapshot is stored after the Phoenix Backup Store uploads the snapshot to the Druva Cloud.
  - `nextPageToken` string — The token to access the next page of results. Keep this field blank in the first request. The value of this parameter is NULL for the last set of results.

## Other responses

- `400` — Bad Request
- `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)
