- About Veeam Backup & Replication REST API
- Overview
- How To
- Changelog
- Login
- Service
- Services
- Credentials
- getGet All Credentials
- postAdd Credentials Record
- getGet Credentials Record
- putEdit Credentials Record
- delRemove Credentials Record
- postChange Password
- postChange Linux Private Key
- postChange Linux Root Password
- getGet All Cloud Credentials
- postAdd Cloud Credentials Record
- postGet Microsoft Azure Verification Code
- postRegister Microsoft Entra Application
- postGet Google Authentication Information
- getGet Cloud Credentials Record
- putEdit Cloud Credentials Record
- delRemove Cloud Credentials Record
- postChange Secret Key
- postChange Google Service Account
- postChange Certificate
- getGet All Helper Appliances
- postAdd or Edit Helper Appliance
- getGet Helper Appliance
- delRemove Helper Appliance
- Encryption
- Connection
- Cloud Browser
- Inventory Browser
- Traffic Rules
- General Options
- Malware Detection
- Configuration Backup
- Managed Servers
- Repositories
- getGet All Repositories
- postAdd Repository
- getGet All Repository States
- getGet Repository
- putEdit Repository
- delRemove Repository
- getGet All Scale-Out Backup Repositories
- postAdd Scale-Out Backup Repository
- getGet Scale-Out Backup Repository
- putEdit Scale-Out Backup Repository
- delRemove Scale-Out Backup Repository
- postEnable Sealed Mode
- postDisable Sealed Mode
- postEnable Maintenance Mode
- postDisable Maintenance Mode
- Proxies
- WAN Accelerators
- Jobs
- Backups
- Backup Objects
- Restore Points
- Restore
- getGet All VM Mounts
- postStart Instant Recovery
- getGet VM Mount
- postStop VM Publishing
- postStart VM Migration
- postRestore Entire VMware vSphere VM
- postRestore Entire VMware Cloud Director VM
- getGet All FCD Mounts
- postStart Instant FCD Recovery
- getGet FCD Mount
- postStop FCD Publishing
- postStart FCD Migration
- postStart File Restore
- postUnmount File System
- Backup Browsers
- getGet All File Restore Mounts
- getGet File Restore Mount
- postBrowse File System
- postCompare Attributes
- postCompare Files and Folders
- postSearch for Files and Folders
- postBrowse Search Results
- postRestore Files and Folders to Original Location
- postRestore Files and Folders to Another Location
- postPrepare Files and Folders for Download
- postDownload Files and Folders
- Tasks
- Replicas
- Replica Restore Points
- Failover
- Failback
- Sessions
- Agents
- Automation
- postImport Jobs
- postExport Jobs
- postImport Credentials
- postExport Credentials
- postImport Cloud Credentials
- postExport Cloud Credentials
- postImport Proxies
- postExport Proxies
- postImport Servers
- postExport Servers
- postImport Repositories
- postExport Repositories
- postImport Encryption Passwords
- postExport Encryption Passwords
- getGet All Automation Sessions
- getGet Automation Session
- getGet Automation Session Logs
- postStop Automation Session
The Jobs section defines paths and operations for managing jobs that are coordinated by the backup server.
In this version, the REST API supports the following job types:
Backup
— VMware vSphere backup jobsvSphereReplica
— VMware vSphere replication jobsCloudDirectorBackup
— VMware Cloud Director backup jobs
Get All Jobs
The HTTP GET request to the /api/v1/jobs
path allows you to get an array of all jobs coordinated by the backup server.
Available to: All user roles.
query Parameters
skip | integer <int32> Number of jobs to skip. |
limit | integer <int32> Maximum number of jobs to return. |
orderColumn | string (EJobFiltersOrderColumn) Sorts jobs by one of the job parameters. |
orderAsc | boolean Sorts jobs in the ascending order by the |
nameFilter | string Filters jobs by the |
typeFilter | string (EJobType) Filters jobs by job type. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "data": [
- {
- "isHighPriority": false,
- "virtualMachines": {
- "includes": [
- {
- "inventoryObject": {
- "type": "VirtualMachine",
- "hostName": "vcenter01.tech.local",
- "name": "filesrv02",
- "objectId": "vm-45006"
}, - "size": "43.5 GB"
}
], - "excludes": {
- "vms": [ ],
- "disks": [
- {
- "disksToProcess": "AllDisks",
- "vmObject": {
- "type": "VirtualMachine",
- "hostName": "vcenter01.tech.local",
- "name": "filesrv02",
- "objectId": "vm-45006"
}, - "disks": [ ],
- "removeFromVMConfiguration": true
}
], - "templates": {
- "isEnabled": true,
- "excludeFromIncremental": true
}
}
}, - "storage": {
- "backupRepositoryId": "88101045-8755-4117-9221-bca81fbfabc4",
- "backupProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [ ]
}, - "retentionPolicy": {
- "type": "Days",
- "quantity": 7
}, - "gfsPolicy": {
- "isEnabled": false,
- "weekly": {
- "desiredTime": "sunday",
- "isEnabled": false,
- "keepForNumberOfWeeks": 1
}, - "monthly": {
- "desiredTime": "First",
- "isEnabled": false,
- "keepForNumberOfMonths": 1
}, - "yearly": {
- "desiredTime": "January",
- "isEnabled": false,
- "keepForNumberOfYears": 1
}
}, - "advancedSettings": {
- "backupModeType": "Incremental",
- "synthenticFulls": {
- "isEnabled": true,
- "days": [
- "saturday"
]
}, - "activeFulls": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": true,
- "days": [
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "isEnabled": false,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "backupHealth": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": false,
- "days": [
- "friday"
]
}, - "monthly": {
- "dayOfWeek": "friday",
- "dayNumberInMonth": "Last",
- "isEnabled": true,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "fullBackupMaintenance": {
- "RemoveData": {
- "isEnabled": false,
- "afterDays": 14
}, - "defragmentAndCompact": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": false,
- "days": [
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Last",
- "isEnabled": true,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}
}, - "storageData": {
- "compressionLevel": "Optimal",
- "storageOptimization": "LocalTarget",
- "inlineDataDedupEnabled": true,
- "excludeSwapFileBlocks": true,
- "excludeDeletedFileBlocks": true,
- "encryption": {
- "isEnabled": false,
- "encryptionPasswordId": "00000000-0000-0000-0000-000000000000",
- "encryptionPasswordUniqueId": null
}
}, - "notifications": {
- "sendSNMPNotifications": false,
- "emailNotifications": {
- "notificationType": null,
- "isEnabled": false,
- "recipients": [ ],
- "customNotificationSettings": null
}, - "vmAttribute": {
- "isEnabled": false,
- "notes": "Notes",
- "appendToExistingValue": true
}
}, - "vSphere": {
- "enableVMWareToolsQuiescence": false,
- "changedBlockTracking": {
- "isEnabled": true,
- "enableCBTautomatically": true,
- "resetCBTonActiveFull": true
}
}, - "storageIntegration": {
- "isEnabled": true,
- "processedVmsLimitEnabled": false,
- "processedVmsCount": 10,
- "failoverToStandardBackup": false
}, - "scripts": {
- "periodicityType": "BackupSessions",
- "preCommand": {
- "isEnabled": false,
- "command": ""
}, - "postCommand": {
- "isEnabled": false,
- "command": ""
}, - "runScriptEvery": 1,
- "dayOfWeek": [
- "saturday"
]
}
}
}, - "guestProcessing": {
- "appAwareProcessing": {
- "isEnabled": false,
- "appSettings": [ ]
}, - "guestFSIndexing": {
- "isEnabled": true,
- "indexingSettings": [
- {
- "vmObject": {
- "type": "VirtualMachine",
- "hostName": "vcenter01.tech.local",
- "name": "filesrv02",
- "objectId": "vm-45006"
}, - "WindowsIndexing": {
- "guestFSIndexingMode": "indexAllExcept",
- "indexingList": [
- "%windir%",
- "%ProgramFiles%",
- "%ProgramFiles(x86)%",
- "%ProgramW6432%",
- "%TEMP%"
]
}, - "LinuxIndexing": {
- "guestFSIndexingMode": "indexAllExcept",
- "indexingList": [
- "/cdrom",
- "/dev",
- "/media",
- "/mnt",
- "/proc",
- "/tmp",
- "/lost+found"
]
}
}
]
}, - "guestInteractionProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [ ]
}, - "guestCredentials": {
- "credentialsType": "Standard",
- "credentialsId": "4fbeb05c-c158-4510-84f3-6744554fb350",
- "credentialsPerMachine": [ ]
}
}, - "schedule": {
- "runAutomatically": true,
- "daily": {
- "dailyKind": "Everyday",
- "isEnabled": true,
- "localTime": "10:00",
- "days": [
- "sunday",
- "monday",
- "tuesday",
- "wednesday",
- "thursday",
- "friday",
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Fourth",
- "isEnabled": false,
- "localTime": "10:00",
- "dayOfMonth": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}, - "periodically": {
- "periodicallyKind": "Hours",
- "isEnabled": false,
- "frequency": 1,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}, - "startTimeWithinAnHour": 0
}, - "continuously": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}
}, - "afterThisJob": {
- "isEnabled": false,
- "jobName": null
}, - "retry": {
- "isEnabled": true,
- "retryCount": 3,
- "awaitMinutes": 10
}, - "backupWindow": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}
}
}, - "type": "Backup",
- "id": "ef1f0227-80e1-40f8-b2a2-5119172d2c36",
- "name": "Backup Job 2",
- "description": "Created by ENTERPRISE01\\Administrator",
- "isDisabled": false
}
], - "pagination": {
- "total": 3,
- "count": 1,
- "skip": 0,
- "limit": 1
}
}
Create Job
The HTTP POST request to the /api/v1/jobs
path allows you to create a new job that has the specified parameters.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
name required | string Name of the job. |
description required | string Description of the job. |
type required | string (EJobType) Type of the job. |
required | object (BackupJobVirtualMachinesSpec) Included and excluded objects. |
isHighPriority | boolean Default: false If |
object (BackupJobStorageModel) Backup storage settings. | |
object (BackupJobGuestProcessingModel) Guest processing settings. | |
object (BackupScheduleModel) Job scheduling options. |
Job has been created.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "type": "Backup",
- "name": "Backup Job 3",
- "description": "Created by ENTERPRISE01\\Administrator",
- "isHighPriority": false,
- "virtualMachines": {
- "includes": [
- {
- "type": "ResourcePool",
- "vcName": "vcenter01.tech.local",
- "name": "ResourcePool01",
- "objectId": "resgroup-32774"
}
], - "excludes": {
- "vms": [
- {
- "type": "VirtualMachine",
- "vcName": "vcenter01.tech.local",
- "name": "srv01",
- "objectId": "vm-34739"
}, - {
- "type": "VirtualMachine",
- "vcName": "vcenter01.tech.local",
- "name": "srv02",
- "objectId": "vm-32843"
}
], - "disks": [
- {
- "disksToProcess": "SelectedDisks",
- "vmObject": {
- "type": "ResourcePool",
- "vcName": "vcenter01.tech.local",
- "name": "ResourcePool01",
- "objectId": "resgroup-32774"
}, - "disks": [
- "SCSI 0:0 (2000)",
- "IDE 0:0 (3000)"
]
}
], - "templates": {
- "isEnabled": true,
- "excludeFromIncremental": false
}
}
}, - "storage": {
- "backupRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "backupProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [ ]
}, - "retentionPolicy": {
- "type": "RestorePoints",
- "quantity": 7
}, - "gfsPolicy": {
- "isEnabled": false,
- "weekly": {
- "desiredTime": "sunday",
- "isEnabled": false,
- "keepForNumberOfWeeks": 1
}, - "monthly": {
- "desiredTime": "First",
- "isEnabled": false,
- "keepForNumberOfMonths": 1
}, - "yearly": {
- "desiredTime": "January",
- "isEnabled": false,
- "keepForNumberOfYears": 1
}
}, - "advancedSettings": {
- "backupModeType": "Incremental",
- "synthenticFulls": {
- "isEnabled": true,
- "days": [
- "saturday"
]
}, - "activeFulls": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": true,
- "days": [
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "isEnabled": false,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "backupHealth": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- "friday"
]
}, - "monthly": {
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "isEnabled": true,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "fullBackupMaintenance": {
- "RemoveData": {
- "isEnabled": false,
- "afterDays": 14
}, - "defragmentAndCompact": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": false,
- "days": [
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Last",
- "isEnabled": true,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}
}, - "storageData": {
- "compressionLevel": "Optimal",
- "storageOptimization": "LocalTarget",
- "inlineDataDedupEnabled": true,
- "excludeSwapFileBlocks": true,
- "excludeDeletedFileBlocks": true,
- "encryption": {
- "isEnabled": false,
- "passwordId": "00000000-0000-0000-0000-000000000000"
}
}, - "notifications": {
- "sendSNMPNotifications": true,
- "emailNotifications": {
- "notificationType": null,
- "isEnabled": false,
- "recipients": [ ],
- "customNotificationSettings": null
}, - "vmAttribute": {
- "isEnabled": false,
- "notes": "Notes",
- "appendToExistingValue": true
}
}, - "vSphere": {
- "enableVMWareToolsQuiescence": false,
- "changedBlockTracking": {
- "isEnabled": true,
- "enableCBTautomatically": true,
- "resetCBTonActiveFull": true
}
}, - "storageIntegration": {
- "isEnabled": true,
- "processedVmsLimitEnabled": true,
- "processedVmsCount": 13,
- "failoverToStandardBackup": true
}, - "scripts": {
- "preCommand": {
- "periodicityType": "BackupSessions",
- "isEnabled": false,
- "command": "",
- "runScriptEvery": 1,
- "dayOfWeek": [
- "saturday"
]
}, - "postCommand": {
- "periodicityType": "BackupSessions",
- "isEnabled": false,
- "command": "",
- "runScriptEvery": 1,
- "dayOfWeek": [
- "saturday"
]
}
}
}
}, - "guestProcessing": {
- "appAwareProcessing": {
- "isEnabled": true,
- "appSettings": [
- {
- "vss": "requireSuccess",
- "transactionLogs": "process",
- "vmObject": {
- "type": "ResourcePool",
- "vcName": "vcenter01.tech.local",
- "name": "ResourcePool01",
- "objectId": "resgroup-32774"
}, - "sql": {
- "logsProcessing": "backup",
- "retainLogBackups": "untilBackupDeleted",
- "backupMinsCount": 15,
- "keepDaysCount": null,
- "logShippingServers": {
- "autoSelection": true,
- "shippingServerIds": [ ]
}
}, - "oracle": {
- "archiveLogs": "deleteExpiredGBs",
- "retainLogBackups": "untilBackupDeleted",
- "useGuestCredentials": false,
- "credentialsId": "a1b84070-9767-4f47-99cd-e25f57cd65dc",
- "deleteHoursCount": null,
- "deleteGBsCount": 10240,
- "backupLogs": true,
- "backupMinsCount": 23,
- "keepDaysCount": 15,
- "logShippingServers": {
- "autoSelection": true,
- "shippingServerIds": [ ]
}
}, - "exclusions": {
- "exclusionPolicy": "disabled",
- "itemsList": [ ]
}, - "scripts": {
- "scriptProcessingMode": "disableExec",
- "windowsScripts": null,
- "linuxScripts": null
}
}
]
}, - "guestFSIndexing": {
- "isEnabled": true,
- "indexingSettings": [
- {
- "vmObject": {
- "type": "ResourcePool",
- "vcName": "vcenter01.tech.local",
- "name": "ResourcePool01",
- "objectId": "resgroup-32774"
}, - "WindowsIndexing": {
- "guestFSIndexingMode": "indexAllExcept",
- "indexingList": [
- "%windir%",
- "%ProgramFiles%",
- "%ProgramFiles(x86)%",
- "%ProgramW6432%",
- "%TEMP%"
]
}, - "LinuxIndexing": {
- "guestFSIndexingMode": "indexAllExcept",
- "indexingList": [
- "/cdrom",
- "/dev",
- "/media",
- "/mnt",
- "/proc",
- "/tmp",
- "/lost+found"
]
}
}
]
}, - "guestInteractionProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [ ]
}, - "guestCredentials": {
- "windowsCredsId": "a1b84070-9767-4f47-99cd-e25f57cd65dc",
- "linuxCredsId": "00000000-0000-0000-0000-000000000000",
- "credentialsPerMachine": [
- {
- "windowsCredsId": "a1b84070-9767-4f47-99cd-e25f57cd65dc",
- "linuxCredsId": "00000000-0000-0000-0000-000000000000",
- "vmObject": {
- "type": "ResourcePool",
- "vcName": "vcenter01.tech.local",
- "name": "ResourcePool01",
- "objectId": "resgroup-32774"
}
}
]
}
}, - "schedule": {
- "isEnabled": true,
- "daily": {
- "dailyKind": "Everyday",
- "isEnabled": true,
- "localTime": "10:00",
- "days": [
- "sunday",
- "monday",
- "tuesday",
- "wednesday",
- "thursday",
- "friday",
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Fourth",
- "isEnabled": false,
- "localTime": "10:00",
- "dayOfMonth": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}, - "periodically": {
- "periodicallyKind": "Hours",
- "isEnabled": false,
- "frequency": 0,
- "continuously": {
- "BackupWindow": {
- "days": [
- {
- "day": "monday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "tuesday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "wednesday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "thursday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "friday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "saturday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "sunday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}
]
}
}
}, - "retry": {
- "isEnabled": true,
- "retryCount": 3,
- "awaitMinutes": 10
}, - "backupWindow": {
- "isEnabled": false,
- "WindowSetting": {
- "days": [
- {
- "day": "monday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "tuesday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "wednesday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "thursday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "friday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "saturday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}, - {
- "day": "sunday",
- "hours": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
}
]
}
}
}
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "type": "Backup",
- "isDisabled": true,
- "isHighPriority": true,
- "virtualMachines": {
- "includes": [
- {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}
], - "excludes": {
- "vms": [
- {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}
], - "disks": [
- {
- "vmObject": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "disksToProcess": "AllDisks",
- "disks": [
- "string"
], - "removeFromVMConfiguration": true
}
], - "templates": {
- "isEnabled": true,
- "excludeFromIncremental": true
}
}
}, - "storage": {
- "backupRepositoryId": "c751aefd-407e-4bce-ae09-c9333379fbbe",
- "backupProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "retentionPolicy": {
- "type": "RestorePoints",
- "quantity": 0
}, - "gfsPolicy": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": true,
- "keepForNumberOfWeeks": 0,
- "desiredTime": "monday"
}, - "monthly": {
- "isEnabled": true,
- "keepForNumberOfMonths": 0,
- "desiredTime": "First"
}, - "yearly": {
- "isEnabled": true,
- "keepForNumberOfYears": 0,
- "desiredTime": "January"
}
}, - "advancedSettings": {
- "backupModeType": "Full",
- "synthenticFulls": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- "monday"
]
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonths": 0,
- "months": [
- "January"
]
}
}, - "activeFulls": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- "monday"
]
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonths": 0,
- "months": [
- "January"
]
}
}, - "backupHealth": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- "monday"
]
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonths": 0,
- "months": [
- "January"
]
}
}, - "fullBackupMaintenance": {
- "RemoveData": {
- "isEnabled": true,
- "afterDays": 0
}, - "defragmentAndCompact": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- "monday"
]
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonths": 0,
- "months": [
- "January"
]
}
}
}, - "storageData": {
- "inlineDataDedupEnabled": true,
- "excludeSwapFileBlocks": true,
- "excludeDeletedFileBlocks": true,
- "compressionLevel": "None",
- "storageOptimization": "LocalTargetLarge",
- "encryption": {
- "isEnabled": true,
- "encryptionType": "ByUserPassword",
- "encryptionPasswordId": "c26b46c1-e3e5-424c-948f-0a3fa5a19ab7",
- "encryptionPasswordUniqueId": "string",
- "kmsServerId": "b99403b3-0207-49d5-b267-d9213abf6699"
}
}, - "notifications": {
- "sendSNMPNotifications": true,
- "emailNotifications": {
- "isEnabled": true,
- "recipients": [
- "string"
], - "notificationType": "UseGlobalNotificationSettings",
- "customNotificationSettings": {
- "subject": "string",
- "notifyOnSuccess": true,
- "notifyOnWarning": true,
- "notifyOnError": true,
- "SuppressNotificationUntilLastRetry": true
}
}, - "vmAttribute": {
- "isEnabled": true,
- "notes": "string",
- "appendToExistingValue": true
}
}, - "vSphere": {
- "enableVMWareToolsQuiescence": true,
- "changedBlockTracking": {
- "isEnabled": true,
- "enableCBTautomatically": true,
- "resetCBTonActiveFull": true
}
}, - "storageIntegration": {
- "isEnabled": true,
- "processedVmsLimitEnabled": true,
- "processedVmsCount": 0,
- "failoverToStandardBackup": true
}, - "scripts": {
- "preCommand": {
- "isEnabled": true,
- "command": "string"
}, - "postCommand": {
- "isEnabled": true,
- "command": "string"
}, - "periodicityType": "Days",
- "runScriptEvery": 0,
- "dayOfWeek": [
- "monday"
]
}
}
}, - "guestProcessing": {
- "appAwareProcessing": {
- "isEnabled": true,
- "appSettings": [
- {
- "vmObject": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "vss": "requireSuccess",
- "usePersistentGuestAgent": true,
- "transactionLogs": "process",
- "sql": {
- "logsProcessing": "truncate",
- "backupMinsCount": 0,
- "retainLogBackups": "untilBackupDeleted",
- "keepDaysCount": 0,
- "logShippingServers": {
- "autoSelection": true,
- "shippingServerIds": [
- null
]
}
}, - "oracle": {
- "useGuestCredentials": true,
- "credentialsId": "08e8bcd2-3d30-4d03-8e1a-ab6ac0cbf1ed",
- "archiveLogs": "preserve",
- "deleteHoursCount": 0,
- "deleteGBsCount": 0,
- "backupLogs": true,
- "backupMinsCount": 0,
- "retainLogBackups": "untilBackupDeleted",
- "keepDaysCount": 0,
- "logShippingServers": {
- "autoSelection": true,
- "shippingServerIds": [
- null
]
}
}, - "exclusions": {
- "exclusionPolicy": "disabled",
- "itemsList": [
- "string"
]
}, - "scripts": {
- "scriptProcessingMode": "disableExec",
- "windowsScripts": {
- "preFreezeScript": "string",
- "postThawScript": "string"
}, - "linuxScripts": {
- "preFreezeScript": "string",
- "postThawScript": "string"
}
}
}
]
}, - "guestFSIndexing": {
- "isEnabled": true,
- "indexingSettings": [
- {
- "vmObject": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}, - "WindowsIndexing": {
- "guestFSIndexingMode": "disable",
- "indexingList": [
- "string"
]
}, - "LinuxIndexing": {
- "guestFSIndexingMode": "disable",
- "indexingList": [
- "string"
]
}
}
]
}, - "guestInteractionProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "guestCredentials": {
- "credentialsId": "08e8bcd2-3d30-4d03-8e1a-ab6ac0cbf1ed",
- "credentialsType": "Standard",
- "credentialsPerMachine": [
- {
- "windowsCredsId": "e4fbc8a3-7521-4d04-bb52-b3396f357cae",
- "linuxCredsId": "937919c4-3a63-4887-ba84-eabe45ff4fd3",
- "vmObject": {
- "platform": "VMware",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string"
}
}
]
}
}, - "schedule": {
- "runAutomatically": false,
- "daily": {
- "isEnabled": true,
- "localTime": "14:15:22Z",
- "dailyKind": "Everyday",
- "days": [
- "monday"
]
}, - "monthly": {
- "isEnabled": false,
- "localTime": "14:15:22Z",
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- "January"
]
}, - "periodically": {
- "isEnabled": false,
- "periodicallyKind": "Hours",
- "frequency": 0,
- "backupWindow": {
- "days": [
- {
- "day": "monday",
- "hours": "string"
}
]
}, - "startTimeWithinAnHour": 0
}, - "continuously": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": "monday",
- "hours": "string"
}
]
}
}, - "afterThisJob": {
- "isEnabled": true,
- "jobName": "string"
}, - "retry": {
- "isEnabled": false,
- "retryCount": 3,
- "awaitMinutes": 10
}, - "backupWindow": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": "monday",
- "hours": "string"
}
]
}
}
}
}
Get All Job States
The HTTP GET request to the /api/v1/jobs/states
path allows you to get an array of all job states. The states include brief job information that you can also find under the Jobs node in the Veeam Backup & Replication console.
Available to: All user roles.
query Parameters
skip | integer <int32> Number of job states to skip. |
limit | integer <int32> Maximum number of job states to return. |
orderColumn | string (EJobStatesFiltersOrderColumn) Sorts job states by one of the state parameters. |
orderAsc | boolean Sorts job states in the ascending order by the |
idFilter | string <uuid> Filters job states by job ID. |
nameFilter | string Filters job states by the |
typeFilter | string (EJobType) Filters job states by job type. |
lastResultFilter | string (ESessionResult) Filters job states by status with which jobs must finish. |
statusFilter | string (EJobStatus) Filters job states by current status of the job. |
workloadFilter | string (EJobWorkload) Filters job states by workloads that jobs must process. |
lastRunAfterFilter | string <date-time> Returns job states for jobs that have run after the specified date and time. |
lastRunBeforeFilter | string <date-time> Returns job states for jobs that have not run after the specified date and time. |
isHighPriorityJobFilter | boolean If |
repositoryIdFilter | string <uuid> Filters job states by repository ID. |
objectsCountFilter | integer Filters job states by number of objects processed by the job. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "data": [
- {
- "type": "Backup",
- "status": "running",
- "lastResult": "None",
- "workload": "vm",
- "id": "301450bc-34cd-4d2c-bfc3-8d269bb471be",
- "name": "AD Backup",
- "description": "Created by GAMMA\\Administrator",
- "lastRun": "2024-02-04T21:40:34.473+03:00",
- "nextRun": null,
- "repositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "repositoryName": "Default Backup Repository",
- "objectsCount": 1,
- "sessionId": "dc98d2df-e845-46c4-bba1-57c3d020bf36"
}, - {
- "type": "Backup",
- "status": "inactive",
- "lastResult": "Warning",
- "workload": "vm",
- "id": "53b87378-7958-477d-8def-fbe6740d4b6f",
- "name": "Exchange Backup",
- "description": "Created by GAMMA\\Administrator",
- "lastRun": "2023-02-20T06:53:17.747+03:00",
- "nextRun": null,
- "repositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "repositoryName": "Default Backup Repository",
- "objectsCount": 1,
- "sessionId": "4c5f14a6-b883-4b83-891a-d520809e4284"
}, - {
- "type": "Backup",
- "status": "running",
- "lastResult": "None",
- "workload": "application",
- "id": "75fc491a-d158-4380-a433-ebc42a28e4df",
- "name": "Oracle Backup",
- "description": "Created by GAMMA\\Administrator",
- "lastRun": "2024-02-04T21:40:24.96+03:00",
- "nextRun": "2024-02-05T16:00:00+03:00",
- "repositoryId": "49607f55-4cc4-4ea5-a2c9-e750318d0f34",
- "repositoryName": "Storage 3",
- "objectsCount": 1,
- "sessionId": "433d8b8b-bcb7-4ce3-986e-7bf2a3731d01"
}
], - "pagination": {
- "total": 3,
- "count": 3,
- "skip": 0,
- "limit": 200
}
}
Get Job
The HTTP GET request to the /api/v1/jobs/{id}
path allows you to get a job that has the specified id
.
Available to: All user roles.
path Parameters
id required | string <uuid> ID of the job. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "isHighPriority": false,
- "virtualMachines": {
- "includes": [
- {
- "inventoryObject": {
- "type": "VirtualMachine",
- "hostName": "172.17.52.34",
- "name": "srv45",
- "objectId": "vm-61281"
}, - "size": "152.5 GB"
}
], - "excludes": {
- "vms": [ ],
- "disks": [
- {
- "disksToProcess": "AllDisks",
- "vmObject": {
- "type": "VirtualMachine",
- "hostName": "172.17.52.34",
- "name": "srv45",
- "objectId": "vm-61281"
}, - "disks": [ ],
- "removeFromVMConfiguration": true
}
], - "templates": {
- "isEnabled": true,
- "excludeFromIncremental": true
}
}
}, - "storage": {
- "backupRepositoryId": "49607f55-4cc4-4ea5-a2c9-e750318d0f34",
- "backupProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [ ]
}, - "retentionPolicy": {
- "type": "RestorePoints",
- "quantity": 7
}, - "gfsPolicy": {
- "isEnabled": false,
- "weekly": {
- "desiredTime": "sunday",
- "isEnabled": false,
- "keepForNumberOfWeeks": 1
}, - "monthly": {
- "desiredTime": "First",
- "isEnabled": false,
- "keepForNumberOfMonths": 1
}, - "yearly": {
- "desiredTime": "January",
- "isEnabled": false,
- "keepForNumberOfYears": 1
}
}, - "advancedSettings": {
- "backupModeType": "Incremental",
- "synthenticFulls": {
- "isEnabled": false,
- "days": [
- "saturday"
]
}, - "activeFulls": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": true,
- "days": [
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "isEnabled": false,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "backupHealth": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": false,
- "days": [
- "friday"
]
}, - "monthly": {
- "dayOfWeek": "friday",
- "dayNumberInMonth": "Last",
- "isEnabled": true,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "fullBackupMaintenance": {
- "RemoveData": {
- "isEnabled": false,
- "afterDays": 14
}, - "defragmentAndCompact": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": false,
- "days": [
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Last",
- "isEnabled": true,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}
}, - "storageData": {
- "compressionLevel": "Optimal",
- "storageOptimization": "LocalTarget",
- "inlineDataDedupEnabled": true,
- "excludeSwapFileBlocks": true,
- "excludeDeletedFileBlocks": true,
- "encryption": {
- "isEnabled": false,
- "encryptionPasswordId": "00000000-0000-0000-0000-000000000000",
- "encryptionPasswordUniqueId": null
}
}, - "notifications": {
- "sendSNMPNotifications": false,
- "emailNotifications": {
- "notificationType": null,
- "isEnabled": false,
- "recipients": [ ],
- "customNotificationSettings": null
}, - "vmAttribute": {
- "isEnabled": false,
- "notes": "Notes",
- "appendToExistingValue": true
}
}, - "vSphere": {
- "enableVMWareToolsQuiescence": false,
- "changedBlockTracking": {
- "isEnabled": true,
- "enableCBTautomatically": true,
- "resetCBTonActiveFull": true
}
}, - "storageIntegration": {
- "isEnabled": true,
- "processedVmsLimitEnabled": false,
- "processedVmsCount": 10,
- "failoverToStandardBackup": false
}, - "scripts": {
- "periodicityType": "BackupSessions",
- "preCommand": {
- "isEnabled": false,
- "command": ""
}, - "postCommand": {
- "isEnabled": false,
- "command": ""
}, - "runScriptEvery": 1,
- "dayOfWeek": [
- "saturday"
]
}
}
}, - "guestProcessing": {
- "appAwareProcessing": {
- "isEnabled": true,
- "appSettings": [
- {
- "vss": "requireSuccess",
- "transactionLogs": "process",
- "vmObject": {
- "type": "VirtualMachine",
- "hostName": "172.17.52.34",
- "name": "srv45",
- "objectId": "vm-61281"
}, - "usePersistentGuestAgent": false,
- "sql": {
- "logsProcessing": "truncate",
- "retainLogBackups": null,
- "backupMinsCount": null,
- "keepDaysCount": null,
- "logShippingServers": null
}, - "oracle": {
- "archiveLogs": "preserve",
- "retainLogBackups": "untilBackupDeleted",
- "useGuestCredentials": true,
- "credentialsId": null,
- "deleteHoursCount": null,
- "deleteGBsCount": null,
- "backupLogs": true,
- "backupMinsCount": 15,
- "keepDaysCount": 15,
- "logShippingServers": {
- "autoSelection": true,
- "shippingServerIds": [ ]
}
}, - "exclusions": {
- "exclusionPolicy": "disabled",
- "itemsList": [ ]
}, - "scripts": {
- "scriptProcessingMode": "disableExec",
- "windowsScripts": null,
- "linuxScripts": null
}
}
]
}, - "guestFSIndexing": {
- "isEnabled": false,
- "indexingSettings": [ ]
}, - "guestInteractionProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [ ]
}, - "guestCredentials": {
- "credentialsType": "Standard",
- "credentialsId": "6454c893-d5c6-4de8-be38-d984ea30dae4",
- "credentialsPerMachine": [ ]
}
}, - "schedule": {
- "runAutomatically": true,
- "daily": {
- "dailyKind": "Everyday",
- "isEnabled": true,
- "localTime": "4:00",
- "days": [
- "sunday",
- "monday",
- "tuesday",
- "wednesday",
- "thursday",
- "friday",
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Fourth",
- "isEnabled": false,
- "localTime": "9:00",
- "dayOfMonth": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}, - "periodically": {
- "periodicallyKind": "Hours",
- "isEnabled": false,
- "frequency": 1,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}, - "startTimeWithinAnHour": 0
}, - "continuously": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}
}, - "afterThisJob": {
- "isEnabled": false,
- "jobName": null
}, - "retry": {
- "isEnabled": true,
- "retryCount": 3,
- "awaitMinutes": 10
}, - "backupWindow": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}
}
}, - "type": "Backup",
- "id": "75fc491a-d158-4380-a433-ebc42a28e4df",
- "name": "Oracle Backup",
- "description": "Created by GAMMA\\Administrator",
- "isDisabled": false
}
Edit Job
The HTTP PUT request to the /api/v1/jobs/{id}
path allows you to edit a job that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the job. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
id required | string <uuid> ID of the job. |
name required | string Name of the job. |
description required | string Description of the job. |
type required | string (EJobType) Type of the job. |
isDisabled required | boolean If |
required | object (BackupJobGuestProcessingModel) Guest processing settings. |
isHighPriority required | boolean If |
required | object (BackupScheduleModel) Job scheduling options. |
required | object (BackupJobStorageModel) Backup storage settings. |
required | object (BackupJobVirtualMachinesModel) Included and excluded objects. |
Job has been updated.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "isHighPriority": false,
- "virtualMachines": {
- "includes": [
- {
- "inventoryObject": {
- "type": "VirtualMachine",
- "hostName": "172.17.52.34",
- "name": "srv45",
- "objectId": "vm-61281"
}, - "size": "152.5 GB"
}
], - "excludes": {
- "vms": [ ],
- "disks": [
- {
- "disksToProcess": "AllDisks",
- "vmObject": {
- "type": "VirtualMachine",
- "hostName": "172.17.52.34",
- "name": "srv45",
- "objectId": "vm-61281"
}, - "disks": [ ],
- "removeFromVMConfiguration": true
}
], - "templates": {
- "isEnabled": true,
- "excludeFromIncremental": true
}
}
}, - "storage": {
- "backupRepositoryId": "49607f55-4cc4-4ea5-a2c9-e750318d0f34",
- "backupProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [ ]
}, - "retentionPolicy": {
- "type": "RestorePoints",
- "quantity": 7
}, - "gfsPolicy": {
- "isEnabled": false,
- "weekly": {
- "desiredTime": "sunday",
- "isEnabled": false,
- "keepForNumberOfWeeks": 1
}, - "monthly": {
- "desiredTime": "First",
- "isEnabled": false,
- "keepForNumberOfMonths": 1
}, - "yearly": {
- "desiredTime": "January",
- "isEnabled": false,
- "keepForNumberOfYears": 1
}
}, - "advancedSettings": {
- "backupModeType": "Incremental",
- "synthenticFulls": {
- "isEnabled": false,
- "days": [
- "saturday"
]
}, - "activeFulls": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": true,
- "days": [
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "isEnabled": false,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "backupHealth": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": false,
- "days": [
- "friday"
]
}, - "monthly": {
- "dayOfWeek": "friday",
- "dayNumberInMonth": "Last",
- "isEnabled": true,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "fullBackupMaintenance": {
- "RemoveData": {
- "isEnabled": false,
- "afterDays": 14
}, - "defragmentAndCompact": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": false,
- "days": [
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Last",
- "isEnabled": true,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}
}, - "storageData": {
- "compressionLevel": "Optimal",
- "storageOptimization": "LocalTarget",
- "inlineDataDedupEnabled": true,
- "excludeSwapFileBlocks": true,
- "excludeDeletedFileBlocks": true,
- "encryption": {
- "isEnabled": false,
- "encryptionPasswordId": "00000000-0000-0000-0000-000000000000",
- "encryptionPasswordUniqueId": null
}
}, - "notifications": {
- "sendSNMPNotifications": false,
- "emailNotifications": {
- "notificationType": null,
- "isEnabled": false,
- "recipients": [ ],
- "customNotificationSettings": null
}, - "vmAttribute": {
- "isEnabled": false,
- "notes": "Notes",
- "appendToExistingValue": true
}
}, - "vSphere": {
- "enableVMWareToolsQuiescence": false,
- "changedBlockTracking": {
- "isEnabled": true,
- "enableCBTautomatically": true,
- "resetCBTonActiveFull": true
}
}, - "storageIntegration": {
- "isEnabled": true,
- "processedVmsLimitEnabled": false,
- "processedVmsCount": 10,
- "failoverToStandardBackup": false
}, - "scripts": {
- "periodicityType": "BackupSessions",
- "preCommand": {
- "isEnabled": false,
- "command": ""
}, - "postCommand": {
- "isEnabled": false,
- "command": ""
}, - "runScriptEvery": 1,
- "dayOfWeek": [
- "saturday"
]
}
}
}, - "guestProcessing": {
- "appAwareProcessing": {
- "isEnabled": true,
- "appSettings": [
- {
- "vss": "requireSuccess",
- "transactionLogs": "process",
- "vmObject": {
- "type": "VirtualMachine",
- "hostName": "172.17.52.34",
- "name": "srv45",
- "objectId": "vm-61281"
}, - "usePersistentGuestAgent": false,
- "sql": {
- "logsProcessing": "truncate",
- "retainLogBackups": null,
- "backupMinsCount": null,
- "keepDaysCount": null,
- "logShippingServers": null
}, - "oracle": {
- "archiveLogs": "preserve",
- "retainLogBackups": "untilBackupDeleted",
- "useGuestCredentials": true,
- "credentialsId": null,
- "deleteHoursCount": null,
- "deleteGBsCount": null,
- "backupLogs": true,
- "backupMinsCount": 15,
- "keepDaysCount": 15,
- "logShippingServers": {
- "autoSelection": true,
- "shippingServerIds": [ ]
}
}, - "exclusions": {
- "exclusionPolicy": "disabled",
- "itemsList": [ ]
}, - "scripts": {
- "scriptProcessingMode": "disableExec",
- "windowsScripts": null,
- "linuxScripts": null
}
}
]
}, - "guestFSIndexing": {
- "isEnabled": false,
- "indexingSettings": [ ]
}, - "guestInteractionProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [ ]
}, - "guestCredentials": {
- "credentialsType": "Standard",
- "credentialsId": "6454c893-d5c6-4de8-be38-d984ea30dae4",
- "credentialsPerMachine": [ ]
}
}, - "schedule": {
- "runAutomatically": true,
- "daily": {
- "dailyKind": "Everyday",
- "isEnabled": true,
- "localTime": "4:00",
- "days": [
- "sunday",
- "monday",
- "tuesday",
- "wednesday",
- "thursday",
- "friday",
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Fourth",
- "isEnabled": false,
- "localTime": "9:00",
- "dayOfMonth": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}, - "periodically": {
- "periodicallyKind": "Hours",
- "isEnabled": false,
- "frequency": 1,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}, - "startTimeWithinAnHour": 0
}, - "continuously": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}
}, - "afterThisJob": {
- "isEnabled": false,
- "jobName": null
}, - "retry": {
- "isEnabled": true,
- "retryCount": 3,
- "awaitMinutes": 10
}, - "backupWindow": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}
}
}, - "type": "Backup",
- "id": "75fc491a-d158-4380-a433-ebc42a28e4df",
- "name": "Oracle Backup",
- "description": "Created by GAMMA\\Administrator",
- "isDisabled": false
}
- 200
- 400
- 401
- 403
- 404
- 500
{- "isHighPriority": false,
- "virtualMachines": {
- "includes": [
- {
- "inventoryObject": {
- "type": "VirtualMachine",
- "hostName": "172.17.52.34",
- "name": "srv45",
- "objectId": "vm-61281"
}, - "size": "152.5 GB"
}
], - "excludes": {
- "vms": [ ],
- "disks": [
- {
- "disksToProcess": "AllDisks",
- "vmObject": {
- "type": "VirtualMachine",
- "hostName": "172.17.52.34",
- "name": "srv45",
- "objectId": "vm-61281"
}, - "disks": [ ],
- "removeFromVMConfiguration": true
}
], - "templates": {
- "isEnabled": true,
- "excludeFromIncremental": true
}
}
}, - "storage": {
- "backupRepositoryId": "49607f55-4cc4-4ea5-a2c9-e750318d0f34",
- "backupProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [ ]
}, - "retentionPolicy": {
- "type": "RestorePoints",
- "quantity": 7
}, - "gfsPolicy": {
- "isEnabled": false,
- "weekly": {
- "desiredTime": "sunday",
- "isEnabled": false,
- "keepForNumberOfWeeks": 1
}, - "monthly": {
- "desiredTime": "First",
- "isEnabled": false,
- "keepForNumberOfMonths": 1
}, - "yearly": {
- "desiredTime": "January",
- "isEnabled": false,
- "keepForNumberOfYears": 1
}
}, - "advancedSettings": {
- "backupModeType": "Incremental",
- "synthenticFulls": {
- "isEnabled": false,
- "days": [
- "saturday"
]
}, - "activeFulls": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": true,
- "days": [
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "isEnabled": false,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "backupHealth": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": false,
- "days": [
- "friday"
]
}, - "monthly": {
- "dayOfWeek": "friday",
- "dayNumberInMonth": "Last",
- "isEnabled": true,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}, - "fullBackupMaintenance": {
- "RemoveData": {
- "isEnabled": false,
- "afterDays": 14
}, - "defragmentAndCompact": {
- "isEnabled": false,
- "weekly": {
- "isEnabled": false,
- "days": [
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Last",
- "isEnabled": true,
- "dayOfMonths": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}
}
}, - "storageData": {
- "compressionLevel": "Optimal",
- "storageOptimization": "LocalTarget",
- "inlineDataDedupEnabled": true,
- "excludeSwapFileBlocks": true,
- "excludeDeletedFileBlocks": true,
- "encryption": {
- "isEnabled": false,
- "encryptionPasswordId": "00000000-0000-0000-0000-000000000000",
- "encryptionPasswordUniqueId": null
}
}, - "notifications": {
- "sendSNMPNotifications": false,
- "emailNotifications": {
- "notificationType": null,
- "isEnabled": false,
- "recipients": [ ],
- "customNotificationSettings": null
}, - "vmAttribute": {
- "isEnabled": false,
- "notes": "Notes",
- "appendToExistingValue": true
}
}, - "vSphere": {
- "enableVMWareToolsQuiescence": false,
- "changedBlockTracking": {
- "isEnabled": true,
- "enableCBTautomatically": true,
- "resetCBTonActiveFull": true
}
}, - "storageIntegration": {
- "isEnabled": true,
- "processedVmsLimitEnabled": false,
- "processedVmsCount": 10,
- "failoverToStandardBackup": false
}, - "scripts": {
- "periodicityType": "BackupSessions",
- "preCommand": {
- "isEnabled": false,
- "command": ""
}, - "postCommand": {
- "isEnabled": false,
- "command": ""
}, - "runScriptEvery": 1,
- "dayOfWeek": [
- "saturday"
]
}
}
}, - "guestProcessing": {
- "appAwareProcessing": {
- "isEnabled": true,
- "appSettings": [
- {
- "vss": "requireSuccess",
- "transactionLogs": "process",
- "vmObject": {
- "type": "VirtualMachine",
- "hostName": "172.17.52.34",
- "name": "srv45",
- "objectId": "vm-61281"
}, - "usePersistentGuestAgent": false,
- "sql": {
- "logsProcessing": "truncate",
- "retainLogBackups": null,
- "backupMinsCount": null,
- "keepDaysCount": null,
- "logShippingServers": null
}, - "oracle": {
- "archiveLogs": "preserve",
- "retainLogBackups": "untilBackupDeleted",
- "useGuestCredentials": true,
- "credentialsId": null,
- "deleteHoursCount": null,
- "deleteGBsCount": null,
- "backupLogs": true,
- "backupMinsCount": 15,
- "keepDaysCount": 15,
- "logShippingServers": {
- "autoSelection": true,
- "shippingServerIds": [ ]
}
}, - "exclusions": {
- "exclusionPolicy": "disabled",
- "itemsList": [ ]
}, - "scripts": {
- "scriptProcessingMode": "disableExec",
- "windowsScripts": null,
- "linuxScripts": null
}
}
]
}, - "guestFSIndexing": {
- "isEnabled": false,
- "indexingSettings": [ ]
}, - "guestInteractionProxies": {
- "autoSelectEnabled": true,
- "proxyIds": [ ]
}, - "guestCredentials": {
- "credentialsType": "Standard",
- "credentialsId": "6454c893-d5c6-4de8-be38-d984ea30dae4",
- "credentialsPerMachine": [ ]
}
}, - "schedule": {
- "runAutomatically": true,
- "daily": {
- "dailyKind": "Everyday",
- "isEnabled": true,
- "localTime": "4:00",
- "days": [
- "sunday",
- "monday",
- "tuesday",
- "wednesday",
- "thursday",
- "friday",
- "saturday"
]
}, - "monthly": {
- "dayOfWeek": "saturday",
- "dayNumberInMonth": "Fourth",
- "isEnabled": false,
- "localTime": "9:00",
- "dayOfMonth": 1,
- "months": [
- "January",
- "February",
- "March",
- "April",
- "May",
- "June",
- "July",
- "August",
- "September",
- "October",
- "November",
- "December"
]
}, - "periodically": {
- "periodicallyKind": "Hours",
- "isEnabled": false,
- "frequency": 1,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}, - "startTimeWithinAnHour": 0
}, - "continuously": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}
}, - "afterThisJob": {
- "isEnabled": false,
- "jobName": null
}, - "retry": {
- "isEnabled": true,
- "retryCount": 3,
- "awaitMinutes": 10
}, - "backupWindow": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": "sunday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "monday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "tuesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "wednesday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "thursday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "friday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}, - {
- "day": "saturday",
- "hours": "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
}
]
}
}
}, - "type": "Backup",
- "id": "75fc491a-d158-4380-a433-ebc42a28e4df",
- "name": "Oracle Backup",
- "description": "Created by GAMMA\\Administrator",
- "isDisabled": false
}
Delete Job
The HTTP DELETE request to the /api/v1/jobs/{id}
path allows you to delete a job that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the job. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Removed.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 204
- 401
- 403
- 404
- 500
{ }
Start Job
The HTTP POST request to the /api/v1/jobs/{id}/start
path allows you to start a job that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator.
path Parameters
id required | string <uuid> ID of the job. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonoptional
performActiveFull required | boolean Default: false If |
startChainedJobs | boolean Default: false If |
A BackupJob
(or ReplicaJob
) session has been started. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "performActiveFull": true,
- "startChainedJobs": true
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "sessionType": "Job",
- "state": "Starting",
- "id": "b1380736-18a9-4fac-adfe-20abc570e8de",
- "name": "Oracle Backup",
- "jobId": "75fc491a-d158-4380-a433-ebc42a28e4df",
- "creationTime": "2024-02-04T20:46:49.067+03:00",
- "endTime": null,
- "progressPercent": 0,
- "result": null,
- "resourceId": null,
- "resourceReference": null,
- "parentSessionId": null,
- "usn": 0
}
Stop Job
The HTTP POST request to the /api/v1/jobs/{id}/stop
path allows you to stop a job that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator.
path Parameters
id required | string <uuid> ID of the job. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonoptional
gracefullStop required | boolean Default: true If |
Stopping the BackupJob
(or ReplicaJob
) session. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "gracefullStop": true
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "sessionType": "Job",
- "state": "Starting",
- "id": "b1380736-18a9-4fac-adfe-20abc570e8de",
- "name": "Oracle Backup",
- "jobId": "75fc491a-d158-4380-a433-ebc42a28e4df",
- "creationTime": "2024-02-04T20:46:49.067+03:00",
- "endTime": null,
- "progressPercent": 0,
- "result": null,
- "resourceId": null,
- "resourceReference": null,
- "parentSessionId": null,
- "usn": 0
}
Disable Job
The HTTP POST request to the /api/v1/jobs/{id}/disable
path allows you to disable a job that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the job. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Job has been disabled.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{ }
Enable Job
The HTTP POST request to the /api/v1/jobs/{id}/enable
path allows you to enable a job that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator.
path Parameters
id required | string <uuid> ID of the job. |
header Parameters
x-api-version required | string Default: 1.1-rev1 Version and revision of the client REST API. Must be in the following format: |
Job has been enabled.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{ }