- 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 Entra ID Verification Code
- postRegister Microsoft Entra ID 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
- getGet All Encryption Passwords
- postAdd Encryption Password
- getGet Encryption Password
- putEdit Encryption Password Hint
- delRemove Encryption Password
- postChange Encryption Password
- postVerify Encryption Password
- getGet All KMS Servers
- postAdd KMS Server
- getGet KMS Server
- putEdit KMS Server
- delRemove KMS Server
- postChange KMS Server Certificate
- License
- postInstall License
- getGet Installed License
- postRemove License
- postCreate License Usage Report
- postRenew Installed License
- getGet Consumption of Socket Licenses
- postRevoke Socket License
- getGet Instance Licenses Consumption
- postAssign Instance License
- postRevoke Instance License
- postRemove Instance License
- getGet Capacity License Consumption
- postRevoke Capacity License From Unstructured Data Workload
- postUpdate License
- postEnable or Disable License Auto Update
- postEnable or Disable Instance Consumption for Unlicensed Agents
- Connection
- Cloud Browser
- Inventory Browser
- getGet All VMware vSphere Servers
- getGet VMware vSphere Server Objects
- postRescan Inventory Objects
- postGet All Servers
- postGet Inventory Objects
- postGet All Protection Groups
- postGet Inventory Objects for Specific Protection Group
- getGet All Unstructured Data Servers
- getGet Unstructured Data Servers
- getGet All Microsoft Entra ID Tenants
- postAdd Microsoft Entra ID Tenant
- getGet Microsoft Entra ID Tenant
- putEdit Microsoft Entra ID Tenant
- delRemove Microsoft Entra ID Tenant
- getGet Active Directory Objects from Domain
- Traffic Rules
- General Options
- Global Exclusions
- Security
- postStart Security & Compliance Analyzer
- getGet Security & Compliance Analyzer Last Run
- getGet Security & Compliance Analyzer Schedule
- putModify Security & Compliance Analyzer Schedule
- postReset All Security & Compliance Analyzer Statuses
- getGet Security & Compliance Analyzer Results
- postSuppress Security & Compliance Analyzer Best Practice Status
- postReset Security & Compliance Analyzer Status
- getGet All Authorization Events
- getGet Authorization Event
- Malware Detection
- Configuration Backup
- Deployment
- Managed Servers
- getGet All Servers
- postAdd Server
- postGet vCenter Servers Attached to Cloud Director Server
- postGet Hyper-V Servers Managed by Hyper-V Cluster or SCVMM Server
- getGet Server
- putEdit Server
- delRemove Server
- postChange to Single-Use Credentials
- getGet Volumes for Hyper-V Standalone Server
- putEdit Volumes on Hyper-V Standalone Server
- postRescan All Managed Servers
- postRescan Managed Server
- getDefault Set of Optional Managed Server Components
- postUpdate Managed Server Components
- Repositories
- getGet All Repositories
- postAdd Repository
- postRescan Repositories
- 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
- Mount Servers
- Proxies
- WAN Accelerators
- Jobs
- Backups
- Backup Objects
- Restore Points
- Restore
- getGet All Instant Recovery Mount Points of VMware vSphere VMs
- postStart Instant Recovery of VMware vSphere VM
- getGet Instant Recovery Mount Point of VMware vSphere VM
- postStop Publishing VMware vSphere VM
- postStart Migrating VMware vSphere VM
- getGet All Instant Recovery Mount Points of Microsoft Hyper-V VMs
- postStart Instant Recovery of Microsoft Hyper-V VM
- getGet Instant Recovery Mount Point of Microsoft Hyper-V VM
- postStop Publishing Microsoft Hyper-V VM
- postStart Migrating Microsoft Hyper-V VM
- getGet All Mount Points for Instant Recovery to Azure
- postStart Instant Recovery to Azure
- getGet Mount Point for Instant Recovery to Azure
- getGet All Mount Sessions for Instant Recovery to Azure
- postStop Publishing Machine to Azure
- postStart Migrating Machine to Azure
- getGet Settings for Switchover to Azure
- putUpdate Settings for Switchover to Azure
- postStart Switchover to Azure
- postRestore Entire VMware vSphere VM
- postRestore Entire VMware Cloud Director VM
- postRestore Entire Microsoft Hyper-V VM
- getGet All FCD Mount Points
- postStart Instant FCD Recovery
- getGet FCD Mount Point
- postStop FCD Publishing
- postStart FCD Migration
- postStart File Restore
- postUnmount File System
- postGet User Code for Delegated Restore of Microsoft Entra ID Items
- postGet Credentials for Delegated Restore of Microsoft Entra ID Items
- postMount Microsoft Entra ID Tenant
- postStart Microsoft Entra ID Tenant Restore from Copy
- postUnmount Microsoft Entra ID Tenant
- postStart Microsoft Entra ID Audit Log Restore
- postUnmount Microsoft Entra ID Audit Logs
- Data Integration API
- Backup Browsers
- postValidate Target Machine Credentials
- getGet All File Restore Mount Points
- getGet File Restore Mount Point
- getGet Restored Files Audit
- 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
- getGet All Unstructured Data Mount Points
- getGet Unstructured Data Mount Point
- postBrowse Unstructured Data File System
- postSearch for Files and Folders in Unstructured Data Source
- postBrowse Search Results
- postCopy Files and Folders to Specific Folder
- getGet Mount Points of All Entra ID Tenants
- getGet Mount Point of Microsoft Entra ID Tenant
- postGet Restore Points of Microsoft Entra ID Tenant
- getGet Protection Scope of Microsoft Entra ID Tenant
- postGet Microsoft Entra ID Items
- postGet Microsoft Entra ID Item
- postGet Restore Points of Microsoft Entra ID Item
- postValidate Microsoft Entra ID Items
- postCheck Microsoft Entra ID Items in Production
- postGenerate Microsoft Entra ID User Passwords
- postRestore Microsoft Entra ID Items
- postRestore Microsoft Entra ID Item Properties
- postCompare Microsoft Entra ID Item Properties
- postStart Comparing Microsoft Entra ID Item Properties
- getGet Comparison Results for Microsoft Entra ID Items
- postStart Comparing Microsoft Entra ID Conditional Access Policy
- getGet Comparison Results for Microsoft Entra ID Conditional Access Policy
- postExport Microsoft Entra ID Items
- postUpload Microsoft Entra ID Users
- postUpload Microsoft Entra ID Groups
- postUpload Microsoft Entra ID Administrative Units
- postUpload Microsoft Entra ID Roles
- postUpload Microsoft Entra ID Applications
- postUpload Microsoft Entra ID Conditional Access Policies
- getGet All Restore Sessions of Microsoft Entra ID Tenant
- getGet Restore Session of Microsoft Entra ID Tenant
- getGet Restore Session Logs of Microsoft Entra ID Tenant
- postStop Restore Session of Microsoft Entra ID Tenant
- Tasks
- Replicas
- Replica Restore Points
- Failover
- Failback
- Sessions
- Agents
- getGet All Recovery Tokens
- postCreate Recovery Token
- getGet Recovery Token
- putEdit Recovery Token
- delDelete Recovery Token
- getGet All Protected Computers
- getGet Protected Computer
- getGet Discovered Entities
- postRescan Discovered Entities
- postInstall Agent on Discovered Entities
- postUninstall Agent from Discovered Entities
- postUninstall All Components from Discovered Entities
- getGet Discovered Entity
- delRemove Discovered Entity
- getGet Linux Agent Packages
- getGet Unix Agent Packages
- Protection Groups
- Active Directory Domains
- 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
- Log export
The Automation section defines paths and operations for granular import and export of objects available in the REST API. It can be useful, for example, if you set up the backup infrastructure using JSON specification or migrate the infrastructure to another backup server. For details, see Mass Deployment.
Import Jobs
The HTTP POST request to the /api/v1/automation/jobs/import
path allows you to import jobs to Veeam Backup & Replication.
In this REST API version, you can import VMware vSphere backup jobs only.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
required | Array of objects (JobImportSpec) unique Array of jobs. |
An Automation
session has been created to import the jobs. 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.
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
{- "jobs": [
- {
- "name": "string",
- "description": "string",
- "isHighPriority": true,
- "type": "Unknown",
- "virtualMachines": {
- "includes": [
- {
- "platform": "VSphere",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string",
- "isEnabled": true,
- "metadata": [
- {
- "field": null,
- "data": null
}
]
}
], - "excludes": {
- "vms": [
- {
- "platform": "VSphere",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string",
- "isEnabled": true,
- "metadata": [
- null
]
}
], - "disks": [
- {
- "vmObject": {
- "platform": null,
- "size": null,
- "hostName": null,
- "name": null,
- "type": null,
- "objectId": null,
- "urn": null,
- "isEnabled": null,
- "metadata": [ ]
}, - "disksToProcess": "AllDisks",
- "disks": [
- null
], - "removeFromVMConfiguration": true
}
], - "templates": {
- "isEnabled": true,
- "excludeFromIncremental": true
}
}
}, - "storage": {
- "backupRepository": {
- "name": "string",
- "uniqueId": "string"
}, - "backupProxies": {
- "automaticSelection": true,
- "proxies": [
- {
- "name": "string",
- "type": "vmware",
- "uniqueId": "string"
}
]
}, - "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": [
- null
], - "localTime": "14:15:22Z"
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- null
], - "localTime": "14:15:22Z",
- "isLastDayOfMonth": true
}
}, - "activeFulls": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- null
], - "localTime": "14:15:22Z"
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- null
], - "localTime": "14:15:22Z",
- "isLastDayOfMonth": true
}
}, - "backupHealth": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- null
], - "localTime": "14:15:22Z"
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- null
], - "localTime": "14:15:22Z",
- "isLastDayOfMonth": true
}
}, - "fullBackupMaintenance": {
- "RemoveData": {
- "isEnabled": true,
- "afterDays": 0
}, - "defragmentAndCompact": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": null,
- "days": [ ],
- "localTime": null
}, - "monthly": {
- "isEnabled": null,
- "dayOfWeek": null,
- "dayNumberInMonth": null,
- "dayOfMonth": null,
- "months": [ ],
- "localTime": null,
- "isLastDayOfMonth": null
}
}
}, - "storageData": {
- "inlineDataDedupEnabled": true,
- "excludeSwapFileBlocks": true,
- "excludeDeletedFileBlocks": true,
- "compressionLevel": "Auto",
- "storageOptimization": "256KB",
- "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": [
- null
], - "notificationType": "UseGlobalNotificationSettings",
- "customNotificationSettings": {
- "subject": null,
- "notifyOnSuccess": null,
- "notifyOnWarning": null,
- "notifyOnError": null,
- "SuppressNotificationUntilLastRetry": null
}
}, - "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": {
- "applicationAwareProcessing": {
- "isEnabled": true,
- "appSettings": [
- {
- "vmObject": {
- "platform": null,
- "size": null,
- "hostName": null,
- "name": null,
- "type": null,
- "objectId": null,
- "urn": null,
- "isEnabled": null,
- "metadata": [ ]
}, - "vss": "requireSuccess",
- "usePersistentGuestAgent": true,
- "transactionLogs": "process",
- "sql": {
- "logsProcessing": null,
- "backupMinsCount": null,
- "retainLogBackups": null,
- "keepDaysCount": null,
- "logShippingServers": null
}, - "oracle": {
- "useGuestCredentials": null,
- "credentials": null,
- "archiveLogs": null,
- "deleteHoursCount": null,
- "deleteGBsCount": null,
- "backupLogs": null,
- "backupMinsCount": null,
- "retainLogBackups": null,
- "keepDaysCount": null,
- "logShippingServers": null
}, - "postgreSQL": {
- "useGuestCredentials": null,
- "credentials": null,
- "userConnectionType": null,
- "backupLogs": null,
- "backupMinsCount": null,
- "retainLogBackups": null,
- "keepDaysCount": null,
- "tempArchiveLogsPath": null,
- "logShippingServers": null
}, - "exclusions": {
- "exclusionPolicy": null,
- "itemsList": [ ]
}, - "scripts": {
- "scriptProcessingMode": null,
- "windowsScripts": null,
- "linuxScripts": null
}
}
]
}, - "guestFileSystemIndexing": {
- "isEnabled": true,
- "indexingSettings": [
- {
- "vmObject": {
- "platform": null,
- "size": null,
- "hostName": null,
- "name": null,
- "type": null,
- "objectId": null,
- "urn": null,
- "isEnabled": null,
- "metadata": [ ]
}, - "WindowsIndexing": {
- "guestFSIndexingMode": null,
- "indexingList": [ ]
}, - "LinuxIndexing": {
- "guestFSIndexingMode": null,
- "indexingList": [ ]
}
}
]
}, - "guestInteractionProxies": {
- "automaticSelection": true,
- "proxies": [
- "string"
]
}, - "guestCredentials": {
- "creds": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "credentialsPerMachine": [
- {
- "windowsCreds": {
- "credentialsName": null,
- "credentialsTag": null
}, - "linuxCreds": {
- "credentialsName": null,
- "credentialsTag": null
}, - "vmObject": {
- "platform": null,
- "size": null,
- "hostName": null,
- "name": null,
- "type": null,
- "objectId": null,
- "urn": null,
- "isEnabled": null,
- "metadata": [ ]
}, - "default": true
}
]
}
}, - "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"
], - "isLastDayOfMonth": true
}, - "periodically": {
- "isEnabled": false,
- "periodicallyKind": "Hours",
- "frequency": 0,
- "backupWindow": {
- "days": [
- {
- "day": null,
- "hours": null
}
]
}, - "startTimeWithinAnHour": 0
}, - "continuously": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": null,
- "hours": null
}
]
}
}, - "afterThisJob": {
- "isEnabled": true,
- "jobName": "string"
}, - "retry": {
- "isEnabled": false,
- "retryCount": 3,
- "awaitMinutes": 10
}, - "backupWindow": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": null,
- "hours": null
}
]
}
}
}
}
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Export Jobs
The HTTP POST request to the /api/v1/automation/jobs/export
path allows you to export jobs from Veeam Backup & Replication.
In this REST API version, you can export VMware vSphere backup jobs only.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonoptional
ids | Array of strings <uuid> unique Array of job IDs. |
types | Array of strings unique Array of job types. |
names | Array of strings unique Array of job names. Wildcard characters are supported. |
OK
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
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "types": [
- "string"
], - "names": [
- "string"
]
}
- 200
- 400
- 401
- 403
- 500
{- "jobs": [
- {
- "name": "string",
- "description": "string",
- "isHighPriority": true,
- "type": "Unknown",
- "virtualMachines": {
- "includes": [
- {
- "platform": "VSphere",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string",
- "isEnabled": true,
- "metadata": [
- {
- "field": null,
- "data": null
}
]
}
], - "excludes": {
- "vms": [
- {
- "platform": "VSphere",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string",
- "isEnabled": true,
- "metadata": [
- null
]
}
], - "disks": [
- {
- "vmObject": {
- "platform": null,
- "size": null,
- "hostName": null,
- "name": null,
- "type": null,
- "objectId": null,
- "urn": null,
- "isEnabled": null,
- "metadata": [ ]
}, - "disksToProcess": "AllDisks",
- "disks": [
- null
], - "removeFromVMConfiguration": true
}
], - "templates": {
- "isEnabled": true,
- "excludeFromIncremental": true
}
}
}, - "storage": {
- "backupRepository": {
- "name": "string",
- "uniqueId": "string"
}, - "backupProxies": {
- "automaticSelection": true,
- "proxies": [
- {
- "name": "string",
- "type": "vmware",
- "uniqueId": "string"
}
]
}, - "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": [
- null
], - "localTime": "14:15:22Z"
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- null
], - "localTime": "14:15:22Z",
- "isLastDayOfMonth": true
}
}, - "activeFulls": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- null
], - "localTime": "14:15:22Z"
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- null
], - "localTime": "14:15:22Z",
- "isLastDayOfMonth": true
}
}, - "backupHealth": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- null
], - "localTime": "14:15:22Z"
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- null
], - "localTime": "14:15:22Z",
- "isLastDayOfMonth": true
}
}, - "fullBackupMaintenance": {
- "RemoveData": {
- "isEnabled": true,
- "afterDays": 0
}, - "defragmentAndCompact": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": null,
- "days": [ ],
- "localTime": null
}, - "monthly": {
- "isEnabled": null,
- "dayOfWeek": null,
- "dayNumberInMonth": null,
- "dayOfMonth": null,
- "months": [ ],
- "localTime": null,
- "isLastDayOfMonth": null
}
}
}, - "storageData": {
- "inlineDataDedupEnabled": true,
- "excludeSwapFileBlocks": true,
- "excludeDeletedFileBlocks": true,
- "compressionLevel": "Auto",
- "storageOptimization": "256KB",
- "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": [
- null
], - "notificationType": "UseGlobalNotificationSettings",
- "customNotificationSettings": {
- "subject": null,
- "notifyOnSuccess": null,
- "notifyOnWarning": null,
- "notifyOnError": null,
- "SuppressNotificationUntilLastRetry": null
}
}, - "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": {
- "applicationAwareProcessing": {
- "isEnabled": true,
- "appSettings": [
- {
- "vmObject": {
- "platform": null,
- "size": null,
- "hostName": null,
- "name": null,
- "type": null,
- "objectId": null,
- "urn": null,
- "isEnabled": null,
- "metadata": [ ]
}, - "vss": "requireSuccess",
- "usePersistentGuestAgent": true,
- "transactionLogs": "process",
- "sql": {
- "logsProcessing": null,
- "backupMinsCount": null,
- "retainLogBackups": null,
- "keepDaysCount": null,
- "logShippingServers": null
}, - "oracle": {
- "useGuestCredentials": null,
- "credentials": null,
- "archiveLogs": null,
- "deleteHoursCount": null,
- "deleteGBsCount": null,
- "backupLogs": null,
- "backupMinsCount": null,
- "retainLogBackups": null,
- "keepDaysCount": null,
- "logShippingServers": null
}, - "postgreSQL": {
- "useGuestCredentials": null,
- "credentials": null,
- "userConnectionType": null,
- "backupLogs": null,
- "backupMinsCount": null,
- "retainLogBackups": null,
- "keepDaysCount": null,
- "tempArchiveLogsPath": null,
- "logShippingServers": null
}, - "exclusions": {
- "exclusionPolicy": null,
- "itemsList": [ ]
}, - "scripts": {
- "scriptProcessingMode": null,
- "windowsScripts": null,
- "linuxScripts": null
}
}
]
}, - "guestFileSystemIndexing": {
- "isEnabled": true,
- "indexingSettings": [
- {
- "vmObject": {
- "platform": null,
- "size": null,
- "hostName": null,
- "name": null,
- "type": null,
- "objectId": null,
- "urn": null,
- "isEnabled": null,
- "metadata": [ ]
}, - "WindowsIndexing": {
- "guestFSIndexingMode": null,
- "indexingList": [ ]
}, - "LinuxIndexing": {
- "guestFSIndexingMode": null,
- "indexingList": [ ]
}
}
]
}, - "guestInteractionProxies": {
- "automaticSelection": true,
- "proxies": [
- "string"
]
}, - "guestCredentials": {
- "creds": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "credentialsPerMachine": [
- {
- "windowsCreds": {
- "credentialsName": null,
- "credentialsTag": null
}, - "linuxCreds": {
- "credentialsName": null,
- "credentialsTag": null
}, - "vmObject": {
- "platform": null,
- "size": null,
- "hostName": null,
- "name": null,
- "type": null,
- "objectId": null,
- "urn": null,
- "isEnabled": null,
- "metadata": [ ]
}, - "default": true
}
]
}
}, - "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"
], - "isLastDayOfMonth": true
}, - "periodically": {
- "isEnabled": false,
- "periodicallyKind": "Hours",
- "frequency": 0,
- "backupWindow": {
- "days": [
- {
- "day": null,
- "hours": null
}
]
}, - "startTimeWithinAnHour": 0
}, - "continuously": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": null,
- "hours": null
}
]
}
}, - "afterThisJob": {
- "isEnabled": true,
- "jobName": "string"
}, - "retry": {
- "isEnabled": false,
- "retryCount": 3,
- "awaitMinutes": 10
}, - "backupWindow": {
- "isEnabled": false,
- "backupWindow": {
- "days": [
- {
- "day": null,
- "hours": null
}
]
}
}
}
}
]
}
Import Credentials
The HTTP POST request to the /api/v1/automation/credentials/import
path allows you to import credentials to Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
required | Array of objects (CredentialsImportSpec) unique Array of credentials. |
An Automation
session has been created to import the credentials. 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.
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
{- "credentials": [
- {
- "username": "string",
- "password": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "Standard",
- "linuxAdditionalSettings": {
- "SSHPort": 0,
- "elevateToRoot": true,
- "addToSudoers": true,
- "useSu": true,
- "privateKey": "string",
- "passphrase": "string",
- "rootPassword": "string"
}
}
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Export Credentials
The HTTP POST request to the /api/v1/automation/credentials/export
path allows you to export credentials from Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonoptional
showHiddenCreds | boolean If |
ids | Array of strings <uuid> unique Array of credentials IDs. |
types | Array of strings (ECredentialsType) unique Array of credentials types. |
names | Array of strings unique Array of credentials user names. Wildcard characters are supported. |
OK
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
{- "showHiddenCreds": true,
- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "types": [
- "Standard"
], - "names": [
- "string"
]
}
- 200
- 400
- 401
- 403
- 500
{- "credentials": [
- {
- "username": "string",
- "password": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "Standard",
- "linuxAdditionalSettings": {
- "SSHPort": 0,
- "elevateToRoot": true,
- "addToSudoers": true,
- "useSu": true,
- "privateKey": "string",
- "passphrase": "string",
- "rootPassword": "string"
}
}
]
}
Import Cloud Credentials
The HTTP POST request to the /api/v1/automation/cloudcredentials/import
path allows you to import cloud credentials to Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
Array of objects (AzureStorageCloudCredentialsImportSpec) unique Array of Azure storage accounts. | |
Array of objects (AzureComputeCloudCredentialsImportSpec) unique Array of Azure compute accounts. | |
Array of objects (AmazonCloudCredentialsImportSpec) unique Array of AWS accounts. | |
Array of objects (GoogleCloudCredentialsImportSpec) unique Array of Google accounts. |
An Automation
session has been created to import the cloud credentials. 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.
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
{- "azureStorage": [
- {
- "type": "AzureStorage",
- "description": "string",
- "uniqueId": "string",
- "account": "string",
- "sharedKey": "string"
}
], - "azureCompute": [
- {
- "type": "AzureStorage",
- "description": "string",
- "uniqueId": "string",
- "connectionName": "string",
- "existingAccount": {
- "deployment": {
- "deploymentType": "MicrosoftAzure",
- "region": "China"
}, - "subscription": {
- "tenantId": "string",
- "applicationId": "string",
- "secret": "string",
- "certificate": {
- "certificate": "string",
- "formatType": "pfx",
- "password": "string"
}
}
}
}
], - "amazon": [
- {
- "type": "AzureStorage",
- "description": "string",
- "uniqueId": "string",
- "accessKey": "string",
- "secretKey": "string"
}
], - "google": [
- {
- "type": "AzureStorage",
- "description": "string",
- "uniqueId": "string",
- "accessKey": "string",
- "secretKey": "string"
}
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Export Cloud Credentials
The HTTP POST request to the /api/v1/automation/cloudcredentials/export
path allows you to export cloud credentials from Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonoptional
ids | Array of strings <uuid> unique Array of cloud credentials IDs that you want to export. |
types | Array of strings (ECloudCredentialsType) unique Array of cloud credentials types that you want to export. |
names | Array of strings unique Array of cloud credentials user names. Wildcard characters are supported. |
OK
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
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "types": [
- "AzureStorage"
], - "names": [
- "string"
]
}
- 200
- 400
- 401
- 403
- 500
{- "azureStorage": [
- {
- "type": "AzureStorage",
- "description": "string",
- "uniqueId": "string",
- "account": "string",
- "sharedKey": "string"
}
], - "azureCompute": [
- {
- "type": "AzureStorage",
- "description": "string",
- "uniqueId": "string",
- "connectionName": "string",
- "existingAccount": {
- "deployment": {
- "deploymentType": "MicrosoftAzure",
- "region": "China"
}, - "subscription": {
- "tenantId": "string",
- "applicationId": "string",
- "secret": "string",
- "certificate": {
- "certificate": "string",
- "formatType": "pfx",
- "password": "string"
}
}
}
}
], - "amazon": [
- {
- "type": "AzureStorage",
- "description": "string",
- "uniqueId": "string",
- "accessKey": "string",
- "secretKey": "string"
}
], - "google": [
- {
- "type": "AzureStorage",
- "description": "string",
- "uniqueId": "string",
- "accessKey": "string",
- "secretKey": "string"
}
]
}
Import Proxies
The HTTP POST request to the /api/v1/automation/proxies/import
path allows you to import backup proxies to Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
required | Array of objects (ProxyImportSpec) unique Array of backup proxies. |
An Automation
session has been created to import the proxies. 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.
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
{- "proxies": [
- {
- "description": "string",
- "type": "ViProxy",
- "server": {
- "hostName": "string",
- "hostUniqueId": "string",
- "transportMode": "auto",
- "failoverToNetwork": true,
- "hostToProxyEncryption": true,
- "connectedDatastores": {
- "autoSelectEnabled": true,
- "datastores": [
- {
- "datastore": {
- "platform": null,
- "size": null,
- "hostName": null,
- "name": null,
- "type": null,
- "objectId": null,
- "urn": null,
- "isEnabled": null,
- "metadata": [ ]
}, - "vmCount": 0
}
]
}, - "maxTaskCount": 0
}
}
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Export Proxies
The HTTP POST request to the /api/v1/automation/proxies/export
path allows you to export backup proxies from Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonoptional
ids | Array of strings <uuid> unique Array of backup proxy IDs. |
types | Array of strings (EProxyType) unique Array of backup proxy types. |
names | Array of strings unique Array of backup proxy names. Wildcard characters are supported. |
OK
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
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "types": [
- "ViProxy"
], - "names": [
- "string"
]
}
- 200
- 400
- 401
- 403
- 500
{- "proxies": [
- {
- "description": "string",
- "type": "ViProxy",
- "server": {
- "hostName": "string",
- "hostUniqueId": "string",
- "transportMode": "auto",
- "failoverToNetwork": true,
- "hostToProxyEncryption": true,
- "connectedDatastores": {
- "autoSelectEnabled": true,
- "datastores": [
- {
- "datastore": {
- "platform": null,
- "size": null,
- "hostName": null,
- "name": null,
- "type": null,
- "objectId": null,
- "urn": null,
- "isEnabled": null,
- "metadata": [ ]
}, - "vmCount": 0
}
]
}, - "maxTaskCount": 0
}
}
]
}
Import Servers
The HTTP POST request to the /api/v1/automation/managedServers/import
path allows you to import managed servers to Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
Array of objects (WindowsHostImportSpec) unique Array of managed Microsoft Windows servers. | |
Array of objects (LinuxHostImportSpec) unique Array of managed Linux servers. | |
Array of objects (ViHostImportSpec) unique Array of VMware vSphere servers. | |
Array of objects (CloudDirectorHostImportSpec) unique Array of VMware Cloud Director servers. |
An Automation
session has been created to import the servers. 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.
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
{- "windowsHosts": [
- {
- "name": "string",
- "description": "string",
- "type": "WindowsHost",
- "credentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "networkSettings": {
- "components": [
- {
- "componentName": "TransportSvc",
- "port": 0
}
], - "portRangeStart": 0,
- "portRangeEnd": 0,
- "serverSide": true
}
}
], - "linuxHosts": [
- {
- "name": "string",
- "description": "string",
- "type": "WindowsHost",
- "credentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "sshSettings": {
- "components": [
- {
- "componentName": "TransportSvc",
- "port": 0
}
], - "sshTimeOutMs": 200,
- "portRangeStart": 65535,
- "portRangeEnd": 65535,
- "serverSide": true
}, - "sshFingerprint": "string"
}
], - "viHosts": [
- {
- "name": "string",
- "description": "string",
- "type": "WindowsHost",
- "viHostType": "ESX",
- "credentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "port": 0,
- "certificateThumbprint": "string"
}
], - "cloudDirectorHosts": [
- {
- "name": "string",
- "description": "string",
- "type": "WindowsHost",
- "credentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "certificateThumbprint": "string",
- "url": "string",
- "viServers": [
- {
- "viServerName": "string",
- "viCredentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "certificateThumbprint": "string"
}
]
}
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Export Servers
The HTTP POST request to the /api/v1/automation/managedServers/export
path allows you to export managed servers from Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonoptional
ids | Array of strings <uuid> unique Array of server IDs. |
types | Array of strings (EManagedServerType) unique Array of server types. |
names | Array of strings unique Array of server names. Wildcard characters are supported. |
OK
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
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "types": [
- "WindowsHost"
], - "names": [
- "string"
]
}
- 200
- 400
- 401
- 403
- 500
{- "windowsHosts": [
- {
- "name": "string",
- "description": "string",
- "type": "WindowsHost",
- "credentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "networkSettings": {
- "components": [
- {
- "componentName": "TransportSvc",
- "port": 0
}
], - "portRangeStart": 0,
- "portRangeEnd": 0,
- "serverSide": true
}
}
], - "linuxHosts": [
- {
- "name": "string",
- "description": "string",
- "type": "WindowsHost",
- "credentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "sshSettings": {
- "components": [
- {
- "componentName": "TransportSvc",
- "port": 0
}
], - "sshTimeOutMs": 200,
- "portRangeStart": 65535,
- "portRangeEnd": 65535,
- "serverSide": true
}, - "sshFingerprint": "string"
}
], - "viHosts": [
- {
- "name": "string",
- "description": "string",
- "type": "WindowsHost",
- "viHostType": "ESX",
- "credentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "port": 0,
- "certificateThumbprint": "string"
}
], - "cloudDirectorHosts": [
- {
- "name": "string",
- "description": "string",
- "type": "WindowsHost",
- "credentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "certificateThumbprint": "string",
- "url": "string",
- "viServers": [
- {
- "viServerName": "string",
- "viCredentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "certificateThumbprint": "string"
}
]
}
]
}
Import Repositories
The HTTP POST request to the /api/v1/automation/repositories/import
path allows you to import backup repositories to Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
Array of objects (WindowsLocalStorageImportSpec) unique Array of Microsoft Windows-based repositories. | |
Array of objects (LinuxLocalStorageImportSpec) unique Array of Linux-based repositories. | |
Array of objects (SmbStorageImportSpec) unique Array of SMB backup repositories. | |
Array of objects (NfsStorageImportSpec) unique Array of NFS backup repositories. | |
Array of objects (AzureBlobStorageImportSpec) unique Array of Microsoft Azure Blob storages. | |
Array of objects (AzureDataBoxStorageImportSpec) unique Array of Microsoft Azure Data Box storages. | |
Array of objects (AmazonS3StorageImportSpec) unique Array of Amazon S3 storages. | |
Array of objects (AmazonSnowballEdgeStorageImportSpec) unique Array of AWS Snowball Edge storages. | |
Array of objects (S3CompatibleStorageImportSpec) unique Array of S3 compatible storages. | |
Array of objects (GoogleCloudStorageImportSpec) unique Array of Google Cloud storages. | |
Array of objects (IBMCloudStorageImportSpec) unique Array of IBM Cloud storages. | |
Array of objects (AmazonS3GlacierStorageImportSpec) unique Array of Amazon S3 Glacier storages. | |
Array of objects (AzureArchiveStorageImportSpec) unique Array of Microsoft Azure Archive storages. | |
Array of objects (WasabiCloudStorageImportSpec) unique Array of Wasabi Cloud storages. | |
Array of objects (LinuxHardenedStorageImportSpec) unique Array of Linux hardened repositories. |
An Automation
session has been created to import the repositories. 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.
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
{- "WindowsLocalRepositories": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "hostName": "string",
- "type": "WinLocal",
- "repository": {
- "path": "string",
- "taskLimitEnabled": true,
- "maxTaskCount": 0,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "advancedSettings": {
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": true,
- "perVmBackup": true,
- "RotatedDriveCleanupMode": "Disabled"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "LinuxLocalRepositories": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "hostName": "string",
- "type": "WinLocal",
- "repository": {
- "path": "string",
- "taskLimitEnabled": true,
- "maxTaskCount": 0,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "useFastCloningOnXFSVolumes": true,
- "advancedSettings": {
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": true,
- "perVmBackup": true,
- "RotatedDriveCleanupMode": "Disabled"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "SmbRepositories": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "share": {
- "sharePath": "string",
- "credentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "gatewayServer": {
- "autoSelectEnabled": true,
- "gatewayServerName": "string"
}
}, - "repository": {
- "taskLimitEnabled": true,
- "maxTaskCount": 0,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "advancedSettings": {
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": true,
- "perVmBackup": true,
- "RotatedDriveCleanupMode": "Disabled"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "NfsRepositories": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "share": {
- "sharePath": "string",
- "gatewayServer": {
- "autoSelectEnabled": true,
- "gatewayServerName": "string"
}
}, - "repository": {
- "taskLimitEnabled": true,
- "maxTaskCount": 0,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "advancedSettings": {
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": true,
- "perVmBackup": true,
- "RotatedDriveCleanupMode": "Disabled"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "AzureBlobStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "regionType": "China",
- "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "container": {
- "containerName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}
}, - "proxyAppliance": {
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "instanceSize": "string",
- "resourceGroup": "string",
- "virtualNetwork": "string",
- "subnet": "string",
- "redirectorPort": 0
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "AzureDataBoxStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "serviceEndpoint": "string",
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "container": {
- "containerName": "string",
- "folderName": "string"
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "AmazonS3Storages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "regionType": "China",
- "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "regionId": "string",
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}, - "infrequentAccessStorage": {
- "isEnabled": true,
- "singleZoneEnabled": true
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}, - "proxyAppliance": {
- "ec2InstanceType": "string",
- "vpcName": "string",
- "vpcId": "string",
- "subnetName": "string",
- "subnetId": "string",
- "securityGroup": "string",
- "redirectorPort": 0
}
}
], - "AmazonSnowballEdgeStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "servicePoint": "string",
- "regionId": "string",
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "S3CompatibleStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "servicePoint": "string",
- "regionId": "string",
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}, - "proxyAppliance": {
- "managedServerId": "5f0be415-00a3-4fc5-b6ca-5b802e95ca87"
}
}
], - "GoogleCloudStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "regionId": "string",
- "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "nearlineStorageEnabled": true,
- "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "IBMCloudStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "servicePoint": "string",
- "regionId": "string",
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}, - "proxyAppliance": {
- "managedServerId": "5f0be415-00a3-4fc5-b6ca-5b802e95ca87"
}
}
], - "AmazonS3GlacierStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "account": {
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "regionType": "China",
- "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "regionId": "string",
- "bucketName": "string",
- "folderName": "string",
- "immutabilityEnabled": true,
- "useDeepArchive": true
}, - "proxyAppliance": {
- "ec2InstanceType": "string",
- "vpcName": "string",
- "vpcId": "string",
- "subnetName": "string",
- "subnetId": "string",
- "securityGroup": "string",
- "redirectorPort": 0
}
}
], - "AzureArchiveStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "account": {
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "regionType": "China",
- "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "container": {
- "containerName": "string",
- "folderName": "string",
- "immutabilityEnabled": true
}, - "proxyAppliance": {
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "instanceSize": "string",
- "resourceGroup": "string",
- "virtualNetwork": "string",
- "subnet": "string",
- "redirectorPort": 0
}
}
], - "WasabiCloudStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "regionId": "string",
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}, - "proxyAppliance": {
- "managedServerId": "5f0be415-00a3-4fc5-b6ca-5b802e95ca87"
}
}
], - "LinuxHardenedRepositories": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "hostName": "string",
- "type": "WinLocal",
- "repository": {
- "path": "string",
- "taskLimitEnabled": true,
- "maxTaskCount": 0,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "useFastCloningOnXFSVolumes": true,
- "makeRecentBackupsImmutableDays": 0,
- "advancedSettings": {
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": true,
- "perVmBackup": true,
- "RotatedDriveCleanupMode": "Disabled"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Export Repositories
The HTTP POST request to the /api/v1/automation/repositories/export
path allows you to export backup repositories from Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonoptional
ids | Array of strings <uuid> unique Array of repository IDs. |
types | Array of strings (ERepositoryType) unique Array of repository types. |
names | Array of strings unique Array of repository names. Wildcard characters are supported. |
OK
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
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "types": [
- "WinLocal"
], - "names": [
- "string"
]
}
- 200
- 400
- 401
- 403
- 500
{- "WindowsLocalRepositories": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "hostName": "string",
- "type": "WinLocal",
- "repository": {
- "path": "string",
- "taskLimitEnabled": true,
- "maxTaskCount": 0,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "advancedSettings": {
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": true,
- "perVmBackup": true,
- "RotatedDriveCleanupMode": "Disabled"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "LinuxLocalRepositories": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "hostName": "string",
- "type": "WinLocal",
- "repository": {
- "path": "string",
- "taskLimitEnabled": true,
- "maxTaskCount": 0,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "useFastCloningOnXFSVolumes": true,
- "advancedSettings": {
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": true,
- "perVmBackup": true,
- "RotatedDriveCleanupMode": "Disabled"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "SmbRepositories": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "share": {
- "sharePath": "string",
- "credentials": {
- "credentialsName": "string",
- "credentialsTag": "string"
}, - "gatewayServer": {
- "autoSelectEnabled": true,
- "gatewayServerName": "string"
}
}, - "repository": {
- "taskLimitEnabled": true,
- "maxTaskCount": 0,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "advancedSettings": {
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": true,
- "perVmBackup": true,
- "RotatedDriveCleanupMode": "Disabled"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "NfsRepositories": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "share": {
- "sharePath": "string",
- "gatewayServer": {
- "autoSelectEnabled": true,
- "gatewayServerName": "string"
}
}, - "repository": {
- "taskLimitEnabled": true,
- "maxTaskCount": 0,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "advancedSettings": {
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": true,
- "perVmBackup": true,
- "RotatedDriveCleanupMode": "Disabled"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "AzureBlobStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "regionType": "China",
- "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "container": {
- "containerName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}
}, - "proxyAppliance": {
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "instanceSize": "string",
- "resourceGroup": "string",
- "virtualNetwork": "string",
- "subnet": "string",
- "redirectorPort": 0
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "AzureDataBoxStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "serviceEndpoint": "string",
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "container": {
- "containerName": "string",
- "folderName": "string"
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "AmazonS3Storages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "regionType": "China",
- "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "regionId": "string",
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}, - "infrequentAccessStorage": {
- "isEnabled": true,
- "singleZoneEnabled": true
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}, - "proxyAppliance": {
- "ec2InstanceType": "string",
- "vpcName": "string",
- "vpcId": "string",
- "subnetName": "string",
- "subnetId": "string",
- "securityGroup": "string",
- "redirectorPort": 0
}
}
], - "AmazonSnowballEdgeStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "servicePoint": "string",
- "regionId": "string",
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "S3CompatibleStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "servicePoint": "string",
- "regionId": "string",
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}, - "proxyAppliance": {
- "managedServerId": "5f0be415-00a3-4fc5-b6ca-5b802e95ca87"
}
}
], - "GoogleCloudStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "regionId": "string",
- "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "nearlineStorageEnabled": true,
- "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
], - "IBMCloudStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "servicePoint": "string",
- "regionId": "string",
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}, - "proxyAppliance": {
- "managedServerId": "5f0be415-00a3-4fc5-b6ca-5b802e95ca87"
}
}
], - "AmazonS3GlacierStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "account": {
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "regionType": "China",
- "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "regionId": "string",
- "bucketName": "string",
- "folderName": "string",
- "immutabilityEnabled": true,
- "useDeepArchive": true
}, - "proxyAppliance": {
- "ec2InstanceType": "string",
- "vpcName": "string",
- "vpcId": "string",
- "subnetName": "string",
- "subnetId": "string",
- "securityGroup": "string",
- "redirectorPort": 0
}
}
], - "AzureArchiveStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "account": {
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "regionType": "China",
- "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "container": {
- "containerName": "string",
- "folderName": "string",
- "immutabilityEnabled": true
}, - "proxyAppliance": {
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "instanceSize": "string",
- "resourceGroup": "string",
- "virtualNetwork": "string",
- "subnet": "string",
- "redirectorPort": 0
}
}
], - "WasabiCloudStorages": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "type": "WinLocal",
- "enableTaskLimit": true,
- "maxTaskCount": 0,
- "account": {
- "regionId": "string",
- "credentials": {
- "name": "string",
- "tag": "string",
- "type": "AzureStorage"
}, - "connectionSettings": {
- "connectionType": "Direct",
- "gatewayServers": [
- "string"
]
}
}, - "bucket": {
- "bucketName": "string",
- "folderName": "string",
- "storageConsumptionLimit": {
- "isEnabled": true,
- "consumptionLimitCount": 0,
- "consumptionLimitKind": "TB"
}, - "immutability": {
- "isEnabled": true,
- "daysCount": 0,
- "immutabilityMode": "RepositorySettings"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}, - "proxyAppliance": {
- "managedServerId": "5f0be415-00a3-4fc5-b6ca-5b802e95ca87"
}
}
], - "LinuxHardenedRepositories": [
- {
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "hostName": "string",
- "type": "WinLocal",
- "repository": {
- "path": "string",
- "taskLimitEnabled": true,
- "maxTaskCount": 0,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "useFastCloningOnXFSVolumes": true,
- "makeRecentBackupsImmutableDays": 0,
- "advancedSettings": {
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": true,
- "perVmBackup": true,
- "RotatedDriveCleanupMode": "Disabled"
}
}, - "mountServer": {
- "mountServerSettingsType": "windows",
- "windows": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}, - "linux": {
- "mountServerName": "string",
- "writeCacheFolder": "string",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 0,
- "vPowerNFSPort": 0
}
}
}
}
]
}
Import Encryption Passwords
The HTTP POST request to the /api/v1/automation/encryptionPasswords/import
path allows you to import encryption passwords to Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
Array of objects (EncryptionPasswordImportSpec) unique Array of encryption passwords. |
An Automation
session has been created to import the passwords. 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.
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
{- "encryptionPasswords": [
- {
- "password": "string",
- "hint": "string",
- "uniqueId": "string"
}
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Export Encryption Passwords
The HTTP POST request to the /api/v1/automation/encryptionPasswords/export
path allows you to export encryption passwords from Veeam Backup & Replication.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonoptional
modificationTimeFrom | string <date-time> Date and time when the password was last modified. |
ids | Array of strings <uuid> unique Array of password IDs. |
hints | Array of strings unique Array of password hints. |
tags | Array of strings unique Array of password tags. |
OK
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
{- "modificationTimeFrom": "2019-08-24T14:15:22Z",
- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "hints": [
- "string"
], - "tags": [
- "string"
]
}
- 200
- 400
- 401
- 403
- 500
{- "encryptionPasswords": [
- {
- "password": "string",
- "hint": "string",
- "uniqueId": "string"
}
]
}
Get All Automation Sessions
The HTTP GET request to the /api/v1/automation/sessions
path allows you to get an array of all automation sessions performed on the backup server.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Backup Viewer, Veeam Tape Operator, Veeam Security Administrator.
query Parameters
skip | integer <int32> Number of sessions to skip. |
limit | integer <int32> Default: 200 Maximum number of sessions to return. |
orderColumn | string (ESessionsFiltersOrderColumn) Sorts sessions by one of the session parameters. |
orderAsc | boolean If |
nameFilter | string Filters sessions by the |
createdAfterFilter | string <date-time> Returns sessions that are created after the specified date and time. |
createdBeforeFilter | string <date-time> Returns sessions that are created before the specified date and time. |
endedAfterFilter | string <date-time> Returns sessions that are finished after the specified date and time. |
endedBeforeFilter | string <date-time> Returns sessions that are finished before the specified date and time. |
typeFilter | string (ESessionType) Filters sessions by session type. |
stateFilter | string (ESessionState) Filters sessions by session state. |
resultFilter | Array of strings (ESessionResult) Filters sessions by session result. |
jobIdFilter | string <uuid> Filters sessions by job ID. |
header Parameters
x-api-version required | string Default: 1.3-rev0 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": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Get Automation Session
The HTTP GET request to the /api/v1/automation/sessions/{id}
path allows you to get an automation session that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Backup Viewer, Veeam Tape Operator, Veeam Security Administrator.
path Parameters
id required | string <uuid> Automation session ID. To get the ID, run the Get All Automation Sessions request. |
header Parameters
x-api-version required | string Default: 1.3-rev0 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
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Get Automation Session Logs
The HTTP GET request to the /api/v1/automation/sessions/{id}/logs
path allows you to get an array of log records of an automation session that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Backup Viewer, Veeam Tape Operator, Veeam Security Administrator.
path Parameters
id required | string <uuid> Automation session ID. To get the ID, run the Get All Automation Sessions request. |
header Parameters
x-api-version required | string Default: 1.3-rev0 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
{- "totalRecords": 0,
- "records": [
- {
- "id": 0,
- "status": "None",
- "startTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "title": "string",
- "description": "string",
- "additionalInfo": "string"
}
]
}
Stop Automation Session
The HTTP POST request to the /api/v1/automation/sessions/{id}/stop
path allows you to stop an automation session that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator.
path Parameters
id required | string <uuid> Automation session ID. To get the ID, run the Get All Automation Sessions request. |
header Parameters
x-api-version required | string Default: 1.3-rev0 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
{ }