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

# List all backup jobs

`GET /fileserver/v1/orgs/{OrgID}/reports/jobs/backups`

Returns all backup jobs for Windows/Linux servers

## Path parameters

- `OrgID` integer, required

## Query parameters

- `serverName` string
- `status` string
- `fromTime` string, date-time
- `toTime` string, date-time
- `sortOrder` string
- `pageToken` string

## Response `200`

Success

- FSGetBackupJobReportResponse — GetBackupJobReportResponse is the response schema for GetBackupJobReport
  - `jobs` FSGetBackupJobsReport[]
    - `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.
    - `backupPolicyID` integer — The ID of your backup policy.
    - `backupPolicyName` string — The name of the backup policy.
    - `backupsetID` integer — The ID of your backup set.
    - `dataTransfer` FSDataTransferStruct
      - `backupDuration` string — Specifies the total time taken to upload data to the Cloud and CloudCache. Backup duration excludes the estimation time, network retry time, and the waiting for retry time.
      - `backupDurationInSeconds` integer — Specifies the total time taken in seconds to upload data to the Cloud and CloudCache. Backup duration excludes the estimation time, network retry time, and the waiting for retry time.
      - `backupSpeed` string — Specifies the rate at which the source data is backed up to the Cloud.
      - `backupSpeedInKBps` number, double — Specifies the rate in Kilobytes per second at which the source data is backed up to the Cloud.
      - `bandwidthConsumed` string — Specifies the bit rate to transfer data from the Cloud and CloudCache.
      - `bandwidthConsumedInKBps` number, double — Specifies the bit rate in Kilobytes per second to transfer data from the Cloud and CloudCache.
      - `dataTransferCache` string — Specifies the incremental data that is uploaded to CloudCache after deduplication and compression.
      - `dataTransferCacheInBytes` integer — Specifies the incremental data in bytes that is uploaded to CloudCache after deduplication and compression.
      - `dataTransferCloud` string — Specifies the incremental data that is uploaded to the Cloud after deduplication and compression.
      - `dataTransferCloudInBytes` integer — Specifies the incremental data in bytes that is uploaded to the Cloud after deduplication and compression.
    - `environmentDetails` FSEnvironmentStruct
      - `diskReadRate` string — Specifies the bit rate for reading I/O by the agent. The Disk Read Rate is an average of the total data read with respect to the total time taken to read data at various intervals for all drives where data is distributed.
      - `diskReadRateInKBps` number, double — Specifies the bit rate in Kilobytes per second for reading I/O by the agent. The Disk Read Rate is an average of the total data read with respect to the total time taken to read data at various intervals for all drives where data is distributed.
      - `networkRetries` integer — Number of retries during the job due to network issues.
      - `networkRetryDuration` string — Specifies the total time spent in the network retries. It represents the cumulative of all network session duration.
      - `networkRetryDurationInSeconds` integer — Specifies the total time spent in seconds in the network retries. It represents the cumulative of all network session duration.
    - `estimationDetails` FSEstimationDetailsStruct
      - `estimationTimeTaken` string — Specifies the approximate time taken to scan the data.
      - `estimationTimeTakenInSeconds` integer — Specifies the approximate time taken in seconds to scan the data.
      - `fileSizeDistribution` object — File size distribution of the files backed up during the job.
      - `filesAdded` integer — Number of files added at source during the job.
      - `filesChanged` integer — Number of files changed at source during the job.
      - `filesRemoved` integer — Number of files removed at source during the job.
      - `filesScanned` integer — Number of files scanned at source during the job.
      - `sourceDataScanned` string — Specifies the data scanned at the source in order to backup.
      - `sourceDataScannedInBytes` integer — Specifies the data scanned in bytes at the source in order to backup.
    - `executionDetails` FSExecutionDetailsStruct
      - `endTime` string — The time when the job completes. The time is specified in the UTC timezone. The format is YYYY-MM-DDTHH:MM:SSZ.
      - `errorCode` string — Specifies the error code for the failed jobs. The possible values are: \"0\": If the job is successful <error_number>: If the job has failed
      - `errorMessage` string — Specifies the error message for the failed jobs. This field is empty if the job is successful.
      - `postScriptStatus` 'Successful' | ' Failed' | ' Skipped' | ' Not enabled' | ' N/A' — Post-script execution status of the job.
      - `preScriptStatus` 'Successful' | ' Failed' | ' Skipped' | ' Not enabled' | ' N/A' — Pre-script execution status of the job.
      - `scanMode` 'Smart' | ' Full' — Scanning mode of the job.
      - `scheduleTime` string — The date and time when the job starts or is scheduled to start. The time is specified in UTC in the format YYYY-MM-DDTHH:MM:SSZ.
      - `startTime` string — The time when the job starts. The time is specified in the UTC timezone. The format is YYYY-MM-DDTHH:MM:SSZ.
      - `status` 'Queued' | 'Running' | 'Successful' | 'Successful with errors' | 'Failed' — Status of the job.
    - `jobID` integer — A unique identification number associated with the job.
    - `jobType` 'Backup' | 'Restore' | 'Log Request' — The type of the job.
    - `organizationID` integer — The ID of your organization.
    - `organizationName` string — The name of the organization.
    - `serverName` string — The name of Windows/Linux server.
  - `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)
