Backups

A backup contains the backup chain that a job creates in a backup repository: a sequence of backup files, where full and incremental backup files correspond to restore points, together with metadata files. You can get backups that are created on or imported to the backup server, view backup details, download backup metadata and delete backups. Within a backup, you can get and delete backup objects, get backup files and mark a backup file as clean or infected.

You can move a backup to another repository and move backup objects to another job. You can also make a one-time copy of machine backups to another repository or folder. If a session of moving or copying backups requires an action, you can retry the session or perform another action, such as stopping the session and undoing the changes; you can also cancel a starting or running session. For unstructured data, you can make a one-time copy of backups to another repository and run health check and repair for backups and backup jobs.

To get backup objects across all backups, see the Backup Objects section. To get restore points, see the Restore Points section.

Get All Backups

The HTTP GET request to the /api/v1/backups endpoint gets an array of all backups that are created on or imported to the backup server.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer, Security Administrator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
query Parameters
skip
integer <int32>

Number of backups to skip.

limit
integer <int32>
Default: 200

Maximum number of backups to return.

orderColumn
string (EBackupsFiltersOrderColumn)

Sorts backups by one of the backup parameters.

Enum: "Name" "CreationTime" "PlatformId" "JobId" "PolicyTag"
orderAsc
boolean

If true, sorts backups in ascending order by the orderColumn parameter.

nameFilter
string

Filters backups by the nameFilter pattern. The pattern can match any backup parameter. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

createdAfterFilter
string <date-time>

Returns backups that are created after the specified date and time.

createdBeforeFilter
string <date-time>

Returns backups that are created before the specified date and time.

platformIdFilter
string <uuid>

Filters backups by ID of the backup object platform.

jobIdFilter
string <uuid>

Filters backups by ID of the parent job.

policyUniqueIdFilter
string

Filters backups by the unique ID of the retention policy.

jobTypeFilter
string (EJobType)

Filters backups by job type.

Enum: "Unknown" "VSphereBackup" "HyperVBackup" "VSphereReplica" "CloudDirectorBackup" "EntraIDTenantBackup" "EntraIDAuditLogBackup" "FileBackupCopy" "LegacyBackupCopy" "BackupCopy" "WindowsAgentBackup" "LinuxAgentBackup" "FileBackup" "ObjectStorageBackup" "EntraIDTenantBackupCopy" "SureBackupContentScan" "CloudBackupAzure" "CloudBackupAWS" "CloudBackupGoogle" "WindowsAgentBackupWorkstationPolicy" "LinuxAgentBackupWorkstationPolicy" "WindowsAgentBackupServerPolicy" "LinuxAgentBackupServerPolicy" "UnixAgentBackupServerPolicy" "MacAgentBackupServerPolicy" "MacAgentBackupWorkstationPolicy" "NutanixAHVBackupJob" "ProxmoxBackupJob" "IrisBackup" "VSphereCdpPolicy" "WindowsUniversalCdpPolicy" "LinuxUniversalCdpPolicy" "WindowsAgentBackupFailoverCluster" "HpeVmeBackupJob" "XenBackupJob" "OVirtKvmBackupJob" "ScaleComputingBackupJob" "SangforHciBackupJob" "KubeVirtBackupJob" "OpenNebulaBackupJob" "Platform9BackupJob" "VergeIoBackupJob" "MsSqlBackupPolicy" "OracleRmanBackupPolicy" "SapHanaBackupPolicy" "OracleRMANBackup" "OracleRMANRestore" "SapHanaBackintBackup" "SapHanaBackintRestore" "SapOracleBackintBackup" "SapOracleBackintRestore" "MSSQLPluginBackup" "MSSQLPluginRestore" "DB2PluginBackup" "DB2PluginRestore" "SapMaxDBBackup" "SapMaxDBRestore" "StorageCopy" "UnixAgentBackup" "ApplicationBackupCopy" "StorageSnapshot" "RedHatOpenStackBackupJob" "VirtuozzoBackupJob" "MacAgentBackup"
primaryJobTypeFilter
string (EJobType)

Filters file backup copies by the type of the primary job whose backups they copy. If you specify the filter, the response contains only file backup copies.

Enum: "Unknown" "VSphereBackup" "HyperVBackup" "VSphereReplica" "CloudDirectorBackup" "EntraIDTenantBackup" "EntraIDAuditLogBackup" "FileBackupCopy" "LegacyBackupCopy" "BackupCopy" "WindowsAgentBackup" "LinuxAgentBackup" "FileBackup" "ObjectStorageBackup" "EntraIDTenantBackupCopy" "SureBackupContentScan" "CloudBackupAzure" "CloudBackupAWS" "CloudBackupGoogle" "WindowsAgentBackupWorkstationPolicy" "LinuxAgentBackupWorkstationPolicy" "WindowsAgentBackupServerPolicy" "LinuxAgentBackupServerPolicy" "UnixAgentBackupServerPolicy" "MacAgentBackupServerPolicy" "MacAgentBackupWorkstationPolicy" "NutanixAHVBackupJob" "ProxmoxBackupJob" "IrisBackup" "VSphereCdpPolicy" "WindowsUniversalCdpPolicy" "LinuxUniversalCdpPolicy" "WindowsAgentBackupFailoverCluster" "HpeVmeBackupJob" "XenBackupJob" "OVirtKvmBackupJob" "ScaleComputingBackupJob" "SangforHciBackupJob" "KubeVirtBackupJob" "OpenNebulaBackupJob" "Platform9BackupJob" "VergeIoBackupJob" "MsSqlBackupPolicy" "OracleRmanBackupPolicy" "SapHanaBackupPolicy" "OracleRMANBackup" "OracleRMANRestore" "SapHanaBackintBackup" "SapHanaBackintRestore" "SapOracleBackintBackup" "SapOracleBackintRestore" "MSSQLPluginBackup" "MSSQLPluginRestore" "DB2PluginBackup" "DB2PluginRestore" "SapMaxDBBackup" "SapMaxDBRestore" "StorageCopy" "UnixAgentBackup" "ApplicationBackupCopy" "StorageSnapshot" "RedHatOpenStackBackupJob" "VirtuozzoBackupJob" "MacAgentBackup"
object (ResourceTagQuery)

Filters backups by a tag query. The response contains only backups that match all conditions of the query. Each condition matches the tag key exactly. The match property of the condition defines how the tag value is matched: Equals, StartsWith or Any (the value is ignored). Pass the query as a URL-encoded JSON object, for example, resourceTagQuery={"conditions":[{"key":"env","match":"Equals","value":"prod"}]}.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/backups
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get Backup

The HTTP GET request to the /api/v1/backups/{id} endpoint gets a backup that has the specified id.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer, Security Administrator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/backups/{id}
Request samples
Response samples
application/json
{
  • "platformName": "VMware",
  • "jobType": "VSphereBackup",
  • "id": "5a39b6d1-008c-4518-bb08-869221b61235",
  • "jobId": "02c7f07b-0fb0-4cd6-8601-3ddf1002b189",
  • "policyUniqueId": "02c7f07b-0fb0-4cd6-8601-3ddf1002b189",
  • "name": "PostgreSQL backup job",
  • "platformId": "00000000-0000-0000-0000-000000000000",
  • "creationTime": "2025-07-09T10:58:28.24213+02:00",
  • "repositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
  • "repositoryName": "Default Backup Repository"
}

Delete Backup

The HTTP DELETE request to the /api/v1/backups/{id} endpoint deletes a backup that has the specified id.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

query Parameters
fromDBIfSPUnavailable
boolean

(Only for Veeam Cloud Connect infrastructure) If true, Veeam Backup & Replication deletes the backup record from the configuration database if the service provider is not available (for example, if a cloud gateway is down, a cloud repository is not available, or the Cloud Connect license is expired).

includeGFS
boolean

If true, Veeam Backup & Replication also deletes the backups with GFS flags (weekly, monthly and yearly full backups).

fromDB
boolean

If true, Veeam Backup & Replication deletes only the record of the backup from the configuration database and keeps the backup in the backup repository.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
201

A DeleteBackup session has been created to delete the backup. If fromDB is true, a BackgroundOperation session has been created instead to remove the record of the backup from the configuration database. To check the progress, track the session state with the Get Session request.

202

Accepted. Four-eyes authorization is enabled: the operation is not performed, an approval request is created instead.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

delete/api/v1/backups/{id}
Request samples
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "Backup Deletion Job",
  • "jobId": "c1dac3ca-2407-41f9-bcf3-836ad0c59a71",
  • "sessionType": "DeleteBackup",
  • "creationTime": "2026-10-21T11:22:07.145+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 517402,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

View Backup Details

The HTTP POST request to the /api/v1/backups/{id}/details endpoint gets details of a backup that has the specified id.

Available to: Backup Administrator, Backup Operator, Backup Viewer, Restore Operator, Security Administrator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
objectId
string <uuid>

Backup object ID. To get the ID, run the Get Backup Objects request.

Responses
200

OK

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/{id}/details
Request samples
application/json
{
  • "objectId": "4d2e7a91-6c3b-4f80-9a15-8e7d3b0c6a21"
}
Response samples
application/json
{
  • "objectOriginalSize": 107374182400,
  • "backupSize": 53687091200,
  • "actualSize": 32212254720,
  • "restorePointsCount": 14
}

Get Backup Objects

The HTTP GET request to the /api/v1/backups/{id}/objects endpoint gets an array of virtual infrastructure objects (VMs and VM containers) that are included in a backup that has the specified id.

Types of backup objects differ depending on the backup job platform:

  • Backups of VMware vSphere, Microsoft Hyper-V, Nutanix AHV, Proxmox VE, and Red Hat OpenStack jobs contain VMs only.
  • Backups of VMware Cloud Director jobs contain VMs and vApps.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer, Security Administrator. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

query Parameters
skip
integer <int32>

Number of items to skip.

limit
integer <int32>
Default: 200

Maximum number of items to return.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/backups/{id}/objects
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Delete Backup Object

The HTTP DELETE request to the /api/v1/backups/{id}/objects/{objectId} endpoint deletes an infrastructure object (VM or VM container) included in a backup that has the specified id.

Types of backup objects differ depending on the backup job platform:

  • Backups of VMware vSphere, Microsoft Hyper-V, Nutanix AHV, and Proxmox VE jobs contain VMs only.
  • Backups of VMware Cloud Director jobs contain VMs and vApps.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

objectId
required
string <uuid>

Object ID. To get the ID, run the Get All Backup Objects request.

query Parameters
fromDBIfSPUnavailable
boolean

(Only for Veeam Cloud Connect infrastructure) If true, Veeam Backup & Replication deletes the backup record from the configuration database if the service provider is not available (for example, if a cloud gateway is down, a cloud repository is not available, or the Cloud Connect license is expired).

includeGFS
boolean

If true, Veeam Backup & Replication also deletes the backups with GFS flags (weekly, monthly and yearly full backups).

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
201

A DeleteBackup session has been created to delete the backup. To check the progress, track the session state with the Get Session request.

202

Accepted. Four-eyes authorization is enabled: the operation is not performed, an approval request is created instead.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

delete/api/v1/backups/{id}/objects/{objectId}
Request samples
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "Backup Deletion Job",
  • "jobId": "c1dac3ca-2407-41f9-bcf3-836ad0c59a71",
  • "sessionType": "DeleteBackup",
  • "creationTime": "2026-10-21T11:22:07.145+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 517402,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Download Backup Metadata

The HTTP POST request to the /api/v1/backups/{id}/downloadBackupMeta endpoint downloads metadata of a backup that has the specified id.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
optional
targetRepositoryId
string <uuid>

ID of the repository where the backup metadata will be stored. Required if the backup is not a direct backup to object storage or if the unstructured data server of the backup has no cache repository. Otherwise, do not specify the property. To get the ID, run the Get All Repositories or Get All Scale-Out Backup Repositories request.

object (UnstructuredDataColdStorageRetrievalSettings)

Settings for retrieving data from cold storage.

Responses
201

An UnstructuredDownloadMeta session has been created to download the backup metadata. To check the progress, track the session state with the Get Session request.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/{id}/downloadBackupMeta
Request samples
application/json
{
  • "targetRepositoryId": "8c5a2f70-1d93-4b6e-a0f8-3e2c7b9d4a16",
  • "coldStorageRetrievalSettings": {
    }
}
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "Backup Metadata Download",
  • "jobId": "cde74ad2-3db8-44b0-b096-2261cb552855",
  • "sessionType": "UnstructuredDownloadMeta",
  • "creationTime": "2026-10-21T11:48:33.58+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 517455,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Get All Backup Files

The HTTP GET request to the /api/v1/backups/{id}/backupFiles endpoint gets an array of all backup files in a backup that has the specified id.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

query Parameters
skip
integer <int32>

Number of backup files to skip.

limit
integer <int32>
Default: 200

Maximum number of backup files to return.

orderColumn
string (EBackupFilesFiltersOrderColumn)

Sorts backup files by one of the backup file parameters.

Enum: "Name" "DataSize" "BackupSize" "DedupRatio" "CompressRatio" "CreationTime" "GFSPeriod"
orderAsc
boolean

If true, sorts backup files in ascending order by the orderColumn parameter.

nameFilter
string

Filters backup files by the nameFilter pattern. The pattern can match any backup files parameter. To substitute one or more characters, use the asterisk (*) character at the beginning, at the end or both.

createdAfterFilter
string <date-time>

Returns backup files that are created after the specified date and time.

createdBeforeFilter
string <date-time>

Returns backup files that are created before the specified date and time.

gfsPeriodFilter
string (EBackupFileGFSPeriod)

Filters backup files by GFS period.

Enum: "None" "Weekly" "Monthly" "Quarterly" "Yearly"
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/backups/{id}/backupFiles
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get Backup File

The HTTP GET request to the /api/v1/backups/{id}/backupFiles/{backupFileId} endpoint gets a backup file with the specified id.

Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

backupFileId
required
string <uuid>

Backup file ID. To get the ID, run the Get All Backup Files request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/backups/{id}/backupFiles/{backupFileId}
Request samples
Response samples
application/json
{
  • "id": "bfe4ce8a-a41e-4a86-aae6-1471fac1bb31",
  • "name": "C:\\Backup\\SRV99_Administrator\\linbase02 AgentBackupJob\\AgentBackupJob_2026-10-21T003020.vib",
  • "backupId": "00d9832b-0b4e-45fe-a284-0683e6c0e44c",
  • "objectIds": [
    ],
  • "restorePointIds": [
    ],
  • "dataSize": 1203845162,
  • "backupSize": 520585216,
  • "dedupRatio": 81,
  • "compressRatio": 53,
  • "dataReduction": 2.3,
  • "creationTime": "2026-10-21T00:30:20+02:00",
  • "gfsPeriods": [
    ],
  • "severity": "Clean",
  • "type": "Increment"
}

Mark Backup File as Clean

The HTTP POST request to the /api/v1/backups/{id}/backupFiles/{backupFileId}/markAsClean endpoint marks a backup file as clean.

Available to: Backup Administrator, Incident API Operator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

backupFileId
required
string <uuid>

Backup file ID. To get the ID, run the Get All Backup Files request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/{id}/backupFiles/{backupFileId}/markAsClean
Request samples
Response samples
application/json
{
  • "id": "bfe4ce8a-a41e-4a86-aae6-1471fac1bb31",
  • "name": "C:\\Backup\\SRV99_Administrator\\linbase02 AgentBackupJob\\AgentBackupJob_2026-10-21T003020.vib",
  • "backupId": "00d9832b-0b4e-45fe-a284-0683e6c0e44c",
  • "objectIds": [
    ],
  • "restorePointIds": [
    ],
  • "dataSize": 1203845162,
  • "backupSize": 520585216,
  • "dedupRatio": 81,
  • "compressRatio": 53,
  • "dataReduction": 2.3,
  • "creationTime": "2026-10-21T00:30:20+02:00",
  • "gfsPeriods": [
    ],
  • "severity": "Clean",
  • "type": "Increment"
}

Mark Backup File as Infected

The HTTP POST request to the /api/v1/backups/{id}/backupFiles/{backupFileId}/markAsInfected endpoint marks a backup file as infected.

Available to: Backup Administrator, Incident API Operator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

backupFileId
required
string <uuid>

Backup file ID. To get the ID, run the Get All Backup Files request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/{id}/backupFiles/{backupFileId}/markAsInfected
Request samples
Response samples
application/json
{
  • "id": "bfe4ce8a-a41e-4a86-aae6-1471fac1bb31",
  • "name": "C:\\Backup\\SRV99_Administrator\\linbase02 AgentBackupJob\\AgentBackupJob_2026-10-21T003020.vib",
  • "backupId": "00d9832b-0b4e-45fe-a284-0683e6c0e44c",
  • "objectIds": [
    ],
  • "restorePointIds": [
    ],
  • "dataSize": 1203845162,
  • "backupSize": 520585216,
  • "dedupRatio": 81,
  • "compressRatio": 53,
  • "dataReduction": 2.3,
  • "creationTime": "2026-10-21T00:30:20+02:00",
  • "gfsPeriods": [
    ],
  • "severity": "Clean",
  • "type": "Increment"
}

Run Health Check and Repair

The HTTP POST request to the /api/v1/backups/runHealthcheck endpoint runs health check and repair for unstructured data backups or backup jobs.

Available to: Backup Administrator.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
backupIds
Array of strings <uuid>

Array of IDs of unstructured data backups that you want to check or repair. To get the IDs, run the Get All Backups request.

jobIds
Array of strings <uuid>

Array of IDs of unstructured data backup jobs that you want to check or repair. To get the IDs, run the Get All Jobs request.

isRepair
boolean

If true, Veeam Backup & Replication will repair corrupted data.

object (HealthCheckRepairOptions)

Settings for repair of unstructured data backup or backup job.

Responses
201

A FileBackupHealthCheck session has been created to check or repair unstructured data backups and backup jobs. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/runHealthcheck
Request samples
application/json
{
  • "backupIds": [
    ],
  • "jobIds": [
    ],
  • "isRepair": true,
  • "repairOptions": {
    }
}
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Copy Unstructured Data Backups to Another Repository

The HTTP POST request to the /api/v1/backups/unstructuredData/copyTo endpoint performs a one-time copy of unstructured data backups to a specified target repository and, if specified, archive repository. To create scheduled backup copy jobs, see the Jobs section.

Available to: Backup Administrator, Backup Operator. Also available to custom roles that have backup permissions.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
backupIds
required
Array of strings <uuid>

Array of IDs of the unstructured data backups that you want to copy. To get the IDs, run the Get All Backups request.

backupRepository
required
string <uuid>

Backup repository ID. To get the ID, run the Get All Repositories request.

archiveRepository
string <uuid>

Archive repository ID. To get the ID, run the Get All Repositories request.

object (UnstructuredDataColdStorageRetrievalSettings)

Settings for retrieving data from cold storage.

object (FileBackupStorageSettingsModel)

Storage settings for file share backup.

Responses
201

A CopyBackup session has been created to copy backups to another backup and archive repository. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/unstructuredData/copyTo
Request samples
application/json
{
  • "backupIds": [
    ],
  • "backupRepository": "49607f55-4cc4-4ea5-a2c9-e750318d0f34",
  • "archiveRepository": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  • "storageData": {
    }
}
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "Copy Backup",
  • "jobId": "14245a9a-6e65-43e2-94e8-f9cdcb427afe",
  • "sessionType": "CopyBackup",
  • "creationTime": "2026-10-21T13:02:41.019+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 517530,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Manage a Failed Copy Session of Unstructured Data Backups

The HTTP POST request to the /api/v1/backups/unstructuredData/moveCopySessions/{sessionId}/manage endpoint performs an action on a failed copy session of unstructured data backups. The only supported action is Retry: Veeam Backup & Replication starts a new session that continues the copy operation of the failed session.

Available to: Backup Administrator, Backup Operator. Also available to custom roles that have backup permissions.

SecurityBearer
Request
path Parameters
sessionId
required
string <uuid>

ID of the failed copy session. To get the ID, run the Get All Sessions request and filter by the CopyBackup session type.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
action
required
string (EUnstructuredDataMoveCopySessionAction)

Action to perform on a failed copy session of unstructured data backups.

Value: "Retry"
Responses
201

A new CopyBackup session has been created to perform the requested management action. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/unstructuredData/moveCopySessions/{sessionId}/manage
Request samples
application/json
{
  • "action": "Retry"
}
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "Copy Backup",
  • "jobId": "f252cc07-aa40-49ce-8481-f37cab3b65a4",
  • "sessionType": "CopyBackup",
  • "creationTime": "2026-10-21T15:37:09.772+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 517688,
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "373d99ab-16c0-4aac-ad5f-9e3f18320eef"
}

Copy Machine Backups to Another Repository or Folder

The HTTP POST request to the /api/v1/backups/machines/copyTo endpoint performs a one-time copy of VM backups to a specified target repository or folder.

To re-compress the copied backup, specify compressionLevel. If it is omitted or set to Auto, the source compression is preserved. A compression level cannot be applied if any restore point of the source backup is encrypted.

To encrypt the copied backup, specify encryption. You can add encryption but not remove it. An already encrypted source keeps its own data encryption, and its encryption keys are re-wrapped under the specified password. If the target is a Veeam Data Cloud Vault repository, the copied backup must be encrypted. For standalone agent backups copied to a repository that has encryption enabled in its access permissions, the encryption key is derived from the repository, so encryption must be omitted.

Available to: Backup Administrator, Backup Operator. Also available to custom roles that have backup permissions.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
One of:

Settings for copying VM backups to a backup repository or a folder.

repositoryId
required
string <uuid>

ID of the target backup repository. Mutually exclusive with targetFolder. To get the ID, run the Get All Repositories or Get All Scale-Out Backup Repositories request.

backupId
required
string <uuid>

ID of the backup whose VM data is to be copied. To get the ID, run the Get All Backups request.

backupObjects
Array of strings <uuid>

Array of backup object IDs to copy. If not specified, all objects in the specified backups are copied. To get the IDs, run the Get Backup Objects request.

targetFolder
string

UNC or local path of the target folder. Mutually exclusive with repositoryId.

deleteAutomatically
boolean
Default: false

If true, the copied backup will be automatically deleted after the period specified in retentionPeriod.

retentionPeriod
string (ECopyMachinesBackupsRetentionPeriod)

Retention period after which the copied backup is automatically deleted.

Enum: "In1Week" "In2Weeks" "In1Month" "In3Months" "In6Months" "In1Year" "In2Years" "In3Years" "In5Years" "In7Years"
compressionLevel
string (ECompressionLevel)

Compression level.

Enum: "Auto" "None" "DedupFriendly" "Optimal" "High" "Extreme"
object (BackupStorageSettingsEncryptionModel)

Encryption of backup files.

Responses
201

A PerVmCopyBackup session has been created to copy backups to another backup and archive repository. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/machines/copyTo
Request samples
application/json
{
  • "backupId": "c5d6e7f8-1234-5678-9abc-def012345678",
  • "repositoryId": "49607f55-4cc4-4ea5-a2c9-e750318d0f34",
  • "deleteAutomatically": true,
  • "retentionPeriod": "In1Year"
}
Response samples
application/json
{
  • "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  • "name": "Copy backup (Backup Job 1)",
  • "jobId": "cc0ea168-010d-45e7-b172-a733fedc23f8",
  • "sessionType": "PerVmCopyBackup",
  • "creationTime": "2026-10-21T16:10:54.236+02:00",
  • "state": "Starting",
  • "progressPercent": 0,
  • "result": {
    },
  • "usn": 517734,
  • "platformName": "VMware",
  • "platformId": "00000000-0000-0000-0000-000000000000",
  • "initiatedBy": "veeamadmin",
  • "originalSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Move Backup to Another Repository

The HTTP POST request to the /api/v1/backups/{id}/moveTo endpoint moves a backup with the specified id to a specified target repository.

To re-compress the moved backup, specify compressionLevel. If it is omitted or set to Auto, the source compression is preserved. A compression level cannot be applied if any restore point of the source backup is encrypted.

To encrypt the moved backup, specify encryption. You can add encryption but not remove it. An already encrypted source keeps its own data encryption, and its encryption keys are re-wrapped under the specified password. If the target is a Veeam Data Cloud Vault repository, the moved backup must be encrypted. For standalone agent backups moved to a repository that has encryption enabled in its access permissions, the encryption key is derived from the repository, so encryption must be omitted.

Available to: Backup Administrator. Also available to custom roles that have backup permissions.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
targetRepositoryId
required
string <uuid>

ID of the target backup repository. To get the ID, run the Get All Repositories or Get All Scale-Out Backup Repositories request.

compressionLevel
string (ECompressionLevel)

Compression level.

Enum: "Auto" "None" "DedupFriendly" "Optimal" "High" "Extreme"
object (BackupStorageSettingsEncryptionModel)

Encryption of backup files.

Responses
201

A PerVmMoveBackup session has been created to move the backup to another repository. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/{id}/moveTo
Request samples
application/json
{
  • "targetRepositoryId": "49607f55-4cc4-4ea5-a2c9-e750318d0f34",
  • "compressionLevel": "Optimal",
  • "encryption": {
    }
}
Response samples
application/json
{
  • "sessionType": "PerVmMoveBackup",
  • "state": "Stopped",
  • "id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
  • "name": "Move Backup",
  • "jobId": "c05dfa57-f59a-4e90-8065-b7f5d3276406",
  • "creationTime": "2026-06-18T10:30:00Z",
  • "endTime": "2026-06-18T10:32:45Z",
  • "progressPercent": 100,
  • "result": {
    },
  • "usn": 0,
  • "platformName": "VMware",
  • "platformId": "00000000-0000-0000-0000-000000000000"
}

Move Backup Objects to Another Job

The HTTP POST request to the /api/v1/backups/{id}/objects/moveTo endpoint moves backup objects (virtual or physical machines) from a backup with the specified id to a specified target job.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
id
required
string <uuid>

Backup ID. To get the ID, run the Get All Backups request.

query Parameters
moveAssociatedBackupCopies
boolean
Default: false

If true, moving backups between primary backup jobs will also move backups between the associated backup copy jobs, preventing a new full backup from being created for the impacted backup copy job on its next run. The request is rejected with HTTP 400 if the source or target job has more than one associated backup copy job — in that case move the affected backup copies manually between the copy jobs. For other topologies where automatic move is not supported (no associated backup copy jobs are found, or any associated backup copy job uses a cloud repository), the flag is silently ignored, only the primary backup is moved, and a warning is added to the session log. Note: if any moved backup is used as a source by another backup copy job, a new full backup will still be created for that impacted backup copy job on its next run.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
targetJobId
required
string <uuid>

ID of the target job to move the backup objects to. To get the ID, run the Get All Jobs request.

backupObjects
Array of strings <uuid>

Array of backup object IDs to move. If not specified, all objects in the backup are moved. To get the IDs, run the Get Backup Objects request.

Responses
201

A PerVmMoveBackup session has been created to move backup objects to another job. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/{id}/objects/moveTo
Request samples
application/json
{
  • "backupObjects": [
    ],
  • "targetJobId": "11a2843c-2c6e-45fe-b394-1784e7c1b55d"
}
Response samples
application/json
{
  • "sessionType": "PerVmMoveBackup",
  • "state": "Stopped",
  • "id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
  • "name": "Move Backup",
  • "jobId": "c05dfa57-f59a-4e90-8065-b7f5d3276406",
  • "creationTime": "2026-06-18T10:30:00Z",
  • "endTime": "2026-06-18T10:32:45Z",
  • "progressPercent": 100,
  • "result": {
    },
  • "usn": 0,
  • "platformName": "VMware",
  • "platformId": "00000000-0000-0000-0000-000000000000"
}

Get Sessions of Moving or Copying Backups Awaiting Action

The HTTP GET request to the /api/v1/backups/moveCopySessions endpoint gets an array of all sessions that move or copy backups and are in the ActionRequired state. These sessions wait for one of the following actions: Retry, ForgetFailed or StopAndUndo.

Available to: Backup Administrator.

SecurityBearer
Request
header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

OK

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/backups/moveCopySessions
Request samples
Response samples
application/json
[
  • {
    },
  • {
    }
]

Manage Session of Moving or Copying Backups Awaiting Action

The HTTP POST request to the /api/v1/backups/moveCopySessions/{sessionId}/manage endpoint performs an action on a session that moves or copies backups and is in the ActionRequired state: Retry, ForgetFailed or StopAndUndo. Veeam Backup & Replication starts a new session that performs the action.

Available to: Backup Administrator.

SecurityBearer
Request
path Parameters
sessionId
required
string <uuid>

ID of the session that moves or copies backups and is in the ActionRequired state. To get the ID, run the Get Sessions of Moving or Copying Backups Awaiting Action request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Request Body schema: application/json
required
action
required
string (EMoveCopySessionAction)

Action to perform on a session that moves or copies backups and is in the ActionRequired state.

Enum: "Retry" "ForgetFailed" "StopAndUndo"
Responses
201

A new PerVmMoveBackup or PerVmCopyBackup session has been created to perform the action. The type of the new session matches the type of the original session. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/moveCopySessions/{sessionId}/manage
Request samples
application/json
{
  • "action": "Retry"
}
Response samples
application/json
{
  • "sessionType": "PerVmMoveBackup",
  • "state": "Stopped",
  • "id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
  • "name": "Move Backup",
  • "jobId": "c05dfa57-f59a-4e90-8065-b7f5d3276406",
  • "creationTime": "2026-06-18T10:30:00Z",
  • "endTime": "2026-06-18T10:32:45Z",
  • "progressPercent": 100,
  • "result": {
    },
  • "usn": 0,
  • "platformName": "VMware",
  • "platformId": "00000000-0000-0000-0000-000000000000"
}

Cancel Moving or Copying Backups

The HTTP POST request to the /api/v1/backups/moveCopySessions/{sessionId}/cancel endpoint cancels a starting or running session that moves or copies backups. Veeam Backup & Replication stops the session and automatically starts a session that undoes the changes; the canceled session gets the Failed result. The following exceptions apply:

  • If the request arrives when Veeam Backup & Replication is already finalizing the moved or copied backups, the cancel does not take effect and the session can complete successfully. Check the session result after the session stops.
  • If the session performs the Retry, ForgetFailed or StopAndUndo action, Veeam Backup & Replication does not start the undo, and the session switches to the ActionRequired state. To complete the operation, run the Manage Session of Moving or Copying Backups Awaiting Action request.

Available to: Backup Administrator. Also available to custom roles that have backup permissions.

SecurityBearer
Request
path Parameters
sessionId
required
string <uuid>

ID of the starting or running session that moves or copies backups. To get the ID, use the session returned by the request that started moving or copying the backups, or run the Get All Sessions request.

header Parameters
x-api-version
required
string
Default: 1.3-rev3

Version and revision of the client REST API. Must be in the following format: <version>-<revision>.

Responses
200

Veeam Backup & Replication is canceling the PerVmMoveBackup or PerVmCopyBackup session. To check the progress, track the session state with the Get Session request.

400

Bad request. This error is related to POST and PUT requests. The request body is malformed, incomplete or otherwise invalid.

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.

404

Not found. No object was found with the path parameter specified in the request.

500

Internal server error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/backups/moveCopySessions/{sessionId}/cancel
Request samples
Response samples
application/json
{
  • "sessionType": "PerVmMoveBackup",
  • "state": "Stopped",
  • "id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
  • "name": "Move Backup",
  • "jobId": "c05dfa57-f59a-4e90-8065-b7f5d3276406",
  • "creationTime": "2026-06-18T10:30:00Z",
  • "endTime": "2026-06-18T10:32:45Z",
  • "progressPercent": 100,
  • "result": {
    },
  • "usn": 0,
  • "platformName": "VMware",
  • "platformId": "00000000-0000-0000-0000-000000000000"
}