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

# List all backupsets

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

Returns a list of all backup sets for Hyper-V.

## Path parameters

- `OrgID` integer, required

## Query parameters

- `pageToken` string

## Response `200`

Success

- HVGetBackupSetReportResponse — GetBackupSetReportResponse is the response schema for HyperVBackupSets
  - `backupsets` HVHyperVBackupSets[] — Returns a list of all Hyper-V backup sets.
    - `backupEnabled` boolean — Specifies whether backup is enabled for the backup set.
    - `backupPolicyID` integer — The ID of your backup policy.
    - `backupPolicyName` string — The name of the backup policy attached to the backup set.
    - `backupsetID` integer — The ID of your backup set.
    - `diskExcludeList` string[] — Specifies the list of disks that are excluded from the backup set.
    - `dataLock` boolean — The status indicating if Data Lock is enabled for the backup set.
    - `lastBackupDetails` HVLastBackupDetailsStruct — LastBackupDetailsStruct is response schema for LastBackupDetailsStruct
      - `jobID` integer — Specifies a unique identification number associated with the job.
      - `status` string — Specify the status of the job. This parameter can be set to one or more of the following values: Queued, Running, Successful, Successful with errors and Failed. Specify multiple status values by separating them with commas.
    - `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.
    - `name` string — The name of the VM for which the job is initiated. Specify multiple VM names by separating them with commas.
    - `organizationID` integer — The ID of your organization.
    - `organizationName` string — The name of the organization.
    - `storageName` string — The name of the storage.
    - `vmID` integer — The ID of your virtual machine.
    - `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
- `404` — The requested resource was not found.
- `500` — The request was not processed due to an internal error in the 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)
