- About Veeam Backup for Microsoft 365 REST API
- Overview
- Changelog
- Authorization
- Accounts
- Amazon Archiver Appliance
- Amazon S3 Object Storage Buckets and Folders
- Applications
- Audit
- Audit Email Notification Settings
- Azure Blob Object Storage Containers and Folders
- Azure Service Accounts
- getGet Azure Service Accounts
- postAdd Azure Service Account
- getGet Azure Service Account Properties by Account ID
- putEdit Azure Service Account
- delRemove Azure Service Account
- postGet Device Code
- getGet Subscriptions
- getGet Subscription by ID
- getGet Resource Groups
- getGet Resource Group by Name
- getGet Locations
- getGet Location by Name
- getGet Virtual Machine Sizes
- getGet Virtual Machine Size by Name
- getGet Virtual Networks
- getGet Virtual Network by Name
- getGet Subnets
- getGet Subnet by Name
- Backup Accounts
- Backup and Backup Copy Job Session Operations
- Backup and Backup Copy Job Sessions
- Backup Applications
- Backup Copy Jobs
- Backup Jobs
- getGet Backup Jobs
- postCreate Backup Job
- getGet Backup Job
- putEdit Backup Job Settings
- delRemove Backup Job
- getGet Backup Copy Job
- getGet Backup Job Items
- postAdd Items to Backup Job
- delRemove Backup Job Items
- getGet Backup Job Item
- putEdit Backup Job Item
- getGet Excluded Items
- postAdd Items to Exclusions
- delRemove Excluded Items
- getGet Excluded Item
- putEdit Excluded Item
- postEnable Backup Job
- postDisable Backup Job
- postStart Backup Job
- postStop Backup Job
- postCreate Restore Session
- Backup Proxy Pools
- Backup Proxy Servers
- getGet Backup Proxy Servers
- postAdd Backup Proxy Server
- getGet Backup Proxy Server
- putEdit Backup Proxy Server Settings
- postRescan Backup Proxy Server
- postEnable Maintenance Mode for Backup Proxy Server
- postDisable Maintenance Mode for Backup Proxy Server
- postRemove Backup Proxy Server
- postRescan Backup Proxy Servers
- postCheck SSH Connection
- Backup Repositories
- getGet Backup Repositories
- postAdd Backup Repository
- getGet Backup Repository
- putEdit Backup Repository Settings
- delRemove Backup Repository
- getGet Backed-Up Organizations
- postSynchronize Cache
- postCreate Restore Session for Backup Repository by Repository ID
- postChange Owner for Backup Repository by Repository ID
- Backup Repository Change Owner Sessions
- Backup Repository Synchronization
- Configuration
- Data Protection Reports
- Data Retrieval Jobs
- Data Retrieval Session Operations
- Data Retrieval Sessions
- Encryption Passwords
- Events
- Excluded Mailbox Folders
- Global Exclusions from Retention Policy
- Group Data Backups
- Health
- Internet Proxy Server Settings
- Job Session History Settings
- License
- License Usage Report
- Licensed Users
- Mailbox Data Backups
- Mailbox Folders Restore
- Mailbox Items Restore
- getGet Mailbox Item
- getGet Mailbox Items
- postRestore Mailbox Items to Original Mailbox
- postRestore Mailbox Items to Another Mailbox
- postExport Mailbox Items
- postSave Mailbox Items
- postSend Mailbox Items to Original Mailbox
- postSend Mailbox Items to Another Mailbox
- postRestore Mailbox Item to Original Mailbox
- postRestore Mailbox Item to Another Mailbox
- postExport Mailbox Item
- postSave Mailbox Item
- postSend Mailbox Item to Original Mailbox
- postSend Mailbox Item to Another Mailbox
- postRestore Mailbox Items by Restore Operator
- Mailboxes Restore
- Management Mode
- OneDrive Data Backups
- OneDrive Documents Restore
- getGet OneDrive Documents
- getGet OneDrive Document
- getGet Previous Versions of OneDrive Document
- getGet Specific Version of OneDrive Document
- postRestore OneDrive Documents
- postCopy OneDrive Documents
- postSend OneDrive Documents
- postSave OneDrive Documents
- postRestore OneDrive Document
- postRestore Version of OneDrive Document
- postCopy OneDrive Document
- postCopy Version of OneDrive Document
- postSave OneDrive Document
- postSave Version of OneDrive Document
- postSend OneDrive Document
- postSend Version of OneDrive Document
- postRestore OneDrive Documents by Restore Operator
- OneDrive Folders Restore
- getGet OneDrive Folders
- getGet OneDrive Folder
- postRestore OneDrive Folders
- getGet Specific Version of OneDrive Folder
- postCopy OneDrive Folders
- postSave OneDrive Folders
- postSend OneDrive Folders
- getGet Previous Versions of OneDrive Folder
- postRestore OneDrive Folder
- postRestore Version of OneDrive Folder
- postCopy OneDrive Folder
- postCopy Version of OneDrive Folder
- postSave OneDrive Folder
- postSave Version of OneDrive Folder
- postSend OneDrive Folder
- postSend Version of OneDrive Folder
- postSearch for OneDrive Items in OneDrive Folder
- OneDrives of Organization User
- OneDrives Restore
- Organization Data Backups
- Organization Data Restore
- Organization Exclusions from Retention Policy
- Organization Group Members
- Organization Groups
- Organization Licensing
- Organization Sites
- Organization Teams
- Organization Users
- Organizations
- Processed Objects
- Protected Data
- Restore Operator Roles
- getGet All Restore Operator Roles
- getGet Restore Operator Role
- putEdit Restore Operator Role Settings
- delRemove Restore Operator Role
- getGet Restore Operators
- postAdd Restore Operators
- delRemove Restore Operators
- getGet Restore Operator
- getGet Objects to Manage
- postAdd Objects to Manage
- delRemove Objects to Manage
- getGet Object to Manage
- getGet Excluded Objects
- postAdd Excluded Objects
- delRemove Excluded Objects
- getGet Excluded Object
- getGet Restore Operator Roles by Organization ID
- postAdd Restore Operator Role
- Restore Points
- Restore Portal Settings
- Restore Session Events
- Restore Sessions
- S3 Compatible Object Storage Buckets and Folders
- SharePoint Attachments Restore
- SharePoint Data Backups
- SharePoint Documents Restore
- getGet SharePoint Documents
- getGet SharePoint Document
- getGet Specific Version of SharePoint Document
- getGet Previous Versions of SharePoint Document
- postRestore SharePoint Documents to Original Location
- postRestore SharePoint Documents to Another Location
- postRestore Version of SharePoint Document to Original Location
- postRestore Version of SharePoint Document to Another Location
- postRestore SharePoint Document to Original Location
- postRestore SharePoint Document to Another Location
- postSave SharePoint Documents
- postSave Version of SharePoint Document
- postSave SharePoint Document
- postSend SharePoint Documents
- postSend Version of SharePoint Document
- postSend SharePoint Document
- postRestore SharePoint Documents by Restore Operator
- SharePoint Folders Restore
- getGet SharePoint Folders
- getGet SharePoint Folder
- getGet Specific Version of SharePoint Folder
- getGet Previous Versions of SharePoint Folder
- postRestore SharePoint Folders to Original Location
- postRestore SharePoint Folders to Another Location
- postRestore SharePoint Folder to Original Location
- postRestore SharePoint Folder to Another Location
- postRestore Version of SharePoint Folder to Original Location
- postRestore Version of SharePoint Folder to Another Location
- postSave SharePoint Folders
- postSave SharePoint Folder
- postSave Version of SharePoint Folder
- postSend SharePoint Folders
- postSend SharePoint Folder
- postSend Version of SharePoint Folder
- postSearch for SharePoint Documents in SharePoint Folder
- SharePoint Items Restore
- getGet SharePoint Items
- getGet SharePoint Item
- getGet Specific Version of SharePoint Item
- getGet Previous Versions of SharePoint Item
- postRestore SharePoint Items to Original Location
- postRestore SharePoint Items to Another Location
- postRestore SharePoint Item to Original Location
- postRestore Version of SharePoint Item to Original Location
- postRestore SharePoint Item to Another Location
- postRestore Version of SharePoint Item to Another Location
- postRestore SharePoint Items by Restore Operator
- SharePoint Libraries Restore
- SharePoint Lists Restore
- SharePoint Sites Restore
- Synchronization of Organization Objects
- Team Data Backups
- Teams Channels Restore
- Teams Files Restore
- Teams Posts Restore
- Teams Restore
- Teams Tabs Restore
- User Data Backups
- Users Logged In to Restore Portal
- Veeam Backup for Microsoft 365 Email Notification Settings
- Veeam Explorer for Microsoft Exchange Email Settings
- Veeam Explorer for Microsoft OneDrive for Business Email Settings
- Veeam Explorer for Microsoft SharePoint Email Settings
- Veeam Explorer for Microsoft Teams Email Settings
- Version and Installation ID
The /BackupRepositories resource collection represents backup repositories in the Veeam Backup for Microsoft 365 infrastructure.
Get Backup Repositories
Returns a collection of backup repositories.
query Parameters
| proxyId | string <uuid> Specifies the identification number of the backup proxy server. For more information on how to get this parameter, see Get Backup Proxy Servers. |
| proxyPoolId | string <uuid> Specifies the identification number of the backup proxy pool. For more information on how to get this parameter, see Get Backup Proxy Pools. |
| organizationId | string <uuid> Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations. |
| longTerm | boolean Defines the representation of the backup repository properties that will be returned to the client. The following values are available:
|
| limit | integer <int32> Limits the maximum number of items that the server will return on a page. The maximum supported number of items per page is 10,000. The default value is 30. |
| offset | integer <int32> Excludes from a response page the first N items of a collection resource. The default value is 0. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "offset": 0,
- "limit": 0,
- "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
- "results": [
- {
- "objectStorageEncryptionEnabled": true,
- "encryptionKeyId": "00000000-0000-0000-0000-000000000000",
- "capacityBytes": 0,
- "freeSpaceBytes": 0,
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "description": "string",
- "path": "string",
- "retentionType": "ItemLevel",
- "retentionPeriodType": "Monthly",
- "dailyRetentionPeriod": 0,
- "monthlyRetentionPeriod": 0,
- "yearlyRetentionPeriod": "Year1",
- "retentionFrequencyType": "Daily",
- "dailyTime": "string",
- "dailyType": "Everyday",
- "monthlyTime": "string",
- "monthlyDaynumber": "First",
- "monthlyDayofweek": "Sunday",
- "proxyId": "00000000-0000-0000-0000-000000000000",
- "proxyPoolId": "00000000-0000-0000-0000-000000000000",
- "organizationId": "00000000-0000-0000-0000-000000000000",
- "isLongTerm": true,
- "isOutdated": true,
- "isOutOfSync": true,
- "isIndexed": true,
- "isMigrationLocked": true,
- "isOutOfOrder": true,
- "outOfOrderReason": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "objectStorage": {
- "amazonBucketS3Compatible": {
- "servicePoint": "string",
- "customRegionId": "string",
- "name": "string",
- "trustedServerCertificateThumbprint": "string",
- "trustServerCertificate": true,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "s3Folder": "string",
- "id": "00000000-0000-0000-0000-000000000000",
- "accountId": "00000000-0000-0000-0000-000000000000",
- "sizeLimitEnabled": true,
- "sizeLimitGB": 0,
- "usedSpaceBytes": 0,
- "freeSpaceBytes": 0,
- "enableImmutability": true,
- "enableImmutabilityGovernanceMode": true,
- "immutabilityPeriodDays": 0,
- "type": "AzureBlob",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "glacierDeepArchiveEnabled": true,
- "glacierInstantRetrievalEnabled": true,
- "amazonBucketS3Aws": {
- "regionType": "Global",
- "regionName": "string",
- "regionId": "string",
- "name": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "standardIaStorageClassEnabled": true,
- "oneZoneIaStorageClassEnabled": true,
- "useArchiverAppliance": true,
- "amazonArchiverAppliance": {
- "instanceTypeName": "string",
- "virtualPrivateCloud": {
- "id": "string",
- "name": "string",
- "CIDR": "string"
}, - "subnet": {
- "id": "string",
- "name": "string",
- "CIDR": "string"
}, - "securityGroup": {
- "id": "string",
- "name": "string"
}, - "ipRanges": "24.48.96.192/32,16.24.0.0/24",
- "appliancePort": 0
}, - "azureContainer": {
- "name": "string",
- "regionType": "Global",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "azureFolder": "string",
- "azureServiceAccount": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Azure",
- "displayName": "string",
- "description": "string",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "applicationCertificateThumbprint": "string",
- "azureEnvironment": "Global",
- "azureTenantId": "string",
- "lastModified": "2019-08-24T14:15:22Z"
}, - "azureSubscription": {
- "subscriptionId": "string",
- "displayName": "string"
}, - "azureArchiverAppliance": {
- "virtualMachineSizeName": "string",
- "resourceGroup": {
- "name": "string",
- "location": "string"
}, - "virtualNetwork": {
- "id": "string",
- "name": "string",
- "type": "string",
- "location": "string",
- "addressSpaces": [
- "string"
]
}, - "subnet": {
- "name": "string",
- "addressPrefix": "string"
}, - "ipRanges": "24.48.96.192/32,16.24.0.0/24",
- "region": "string",
- "appliancePort": 0
}
}
}
], - "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Add Backup Repository
Adds a backup repository to the Veeam Backup for Microsoft 365 infrastructure.
Request Body schema: application/jsonrequired
| retentionType required | string or null Specifies a type of the retention policy. |
| objectStorageEncryptionEnabled | boolean or null Defines whether the object storage encryption is enabled. |
| encryptionKeyId | string or null <uuid> Specifies the encryption key ID. |
| id | string or null <uuid> Specifies the backup repository ID. |
| name | string Specifies the backup repository name. |
| description | string Specifies the backup repository description. |
| path | string Specifies the full path to the folder where the backups will be stored. If the target folder does not exist, Veeam Backup for Microsoft 365 creates it. Note: This property is ignored for object storage repositories. |
| retentionPeriodType | string or null Specifies the retention period type. |
| dailyRetentionPeriod | integer or null <int32> Specifies the retention period in days. This property is valid if |
| monthlyRetentionPeriod | integer or null <int32> Specifies the retention period in months. This property is valid if |
| yearlyRetentionPeriod | string or null Specifies the retention period in years. This property is valid if |
| retentionFrequencyType | string or null Specifies the clean-up schedule type. The following types are available:
|
| dailyTime | string For Daily clean-up schedule. Specifies the time of the day when clean-up must be performed. |
| dailyType | string or null For Daily clean-up schedule. Specifies the days when clean-up must be performed. |
| monthlyTime | string For Monthly clean-up schedule. Specifies the time of the day when clean-up must be performed. |
| monthlyDaynumber | string or null For Monthly clean-up schedule. Specifies the order number for the day of the week when clean-up must be performed. |
| monthlyDayofweek | string or null For Monthly clean-up schedule. Specifies the day of the week when clean-up must be performed. |
| proxyId | string or null <uuid> Specifies the backup proxy server ID. Veeam Backup for Microsoft 365 will map a backup repository to this proxy server. |
| proxyPoolId | string or null <uuid> Specifies the backup proxy pool ID. Veeam Backup for Microsoft 365 will map a backup repository to this backup proxy pool. |
| ignoreProxyPoolApplianceAccessValidation | boolean or null Defines whether Veeam Backup for Microsoft 365 will not check if backup proxy servers that belong to the specified backup proxy pool can access the archiver appliance. |
| organizationId | string or null <uuid> Specifies the organization ID. |
| attachUsedRepository | boolean or null Defines whether to add a backup repository that was associated with a different backup proxy. If set to true, indicates that Veeam Backup for Microsoft 365 will assign a backup repository with backups to the backup proxy with the specified ID and add it to the backup infrastructure. |
object or null x-anyOf: [{"$ref":"#/components/schemas/RESTS3CompatibleObjectStorage"},{"$ref":"#/components/schemas/RESTAmazonS3ObjectStorage"},{"$ref":"#/components/schemas/RESTAzureObjectStorage"}] |
Created
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "objectStorageEncryptionEnabled": true,
- "encryptionKeyId": "00000000-0000-0000-0000-000000000000",
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "description": "string",
- "path": "string",
- "retentionPeriodType": "Monthly",
- "dailyRetentionPeriod": 0,
- "monthlyRetentionPeriod": 0,
- "yearlyRetentionPeriod": "Year1",
- "retentionFrequencyType": "Daily",
- "retentionType": "ItemLevel",
- "dailyTime": "string",
- "dailyType": "Everyday",
- "monthlyTime": "string",
- "monthlyDaynumber": "First",
- "monthlyDayofweek": "Sunday",
- "proxyId": "00000000-0000-0000-0000-000000000000",
- "proxyPoolId": "00000000-0000-0000-0000-000000000000",
- "ignoreProxyPoolApplianceAccessValidation": true,
- "organizationId": "00000000-0000-0000-0000-000000000000",
- "attachUsedRepository": true,
- "objectStorage": {
- "amazonBucketS3Compatible": {
- "servicePoint": "string",
- "customRegionId": "string",
- "name": "string",
- "trustedServerCertificateThumbprint": "string",
- "trustServerCertificate": true,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "s3Folder": "string",
- "id": "00000000-0000-0000-0000-000000000000",
- "accountId": "00000000-0000-0000-0000-000000000000",
- "sizeLimitEnabled": true,
- "sizeLimitGB": 0,
- "enableImmutability": true,
- "enableImmutabilityGovernanceMode": true,
- "immutabilityPeriodDays": 0,
- "type": "AzureBlob",
- "glacierDeepArchiveEnabled": true,
- "glacierInstantRetrievalEnabled": true,
- "amazonBucketS3Aws": {
- "regionType": "Global",
- "regionName": "string",
- "regionId": "string",
- "name": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "standardIaStorageClassEnabled": true,
- "oneZoneIaStorageClassEnabled": true,
- "useArchiverAppliance": true,
- "amazonArchiverAppliance": {
- "instanceTypeName": "string",
- "virtualPrivateCloud": {
- "id": "string",
- "name": "string",
- "CIDR": "string"
}, - "subnet": {
- "id": "string",
- "name": "string",
- "CIDR": "string"
}, - "securityGroup": {
- "id": "string",
- "name": "string"
}, - "ipRanges": "24.48.96.192/32,16.24.0.0/24",
- "appliancePort": 0
}, - "azureContainer": {
- "name": "string",
- "regionType": "Global",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "azureFolder": "string",
- "azureServiceAccount": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Azure",
- "displayName": "string",
- "description": "string",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "applicationCertificateThumbprint": "string",
- "azureEnvironment": "Global",
- "azureTenantId": "string",
- "lastModified": "2019-08-24T14:15:22Z"
}, - "azureSubscription": {
- "subscriptionId": "string",
- "displayName": "string"
}, - "azureArchiverAppliance": {
- "virtualMachineSizeName": "string",
- "resourceGroup": {
- "name": "string",
- "location": "string"
}, - "virtualNetwork": {
- "id": "string",
- "name": "string",
- "type": "string",
- "location": "string",
- "addressSpaces": [
- "string"
]
}, - "subnet": {
- "name": "string",
- "addressPrefix": "string"
}, - "ipRanges": "24.48.96.192/32,16.24.0.0/24",
- "region": "string",
- "appliancePort": 0
}
}
}- 201
- default
{- "objectStorageEncryptionEnabled": true,
- "encryptionKeyId": "00000000-0000-0000-0000-000000000000",
- "capacityBytes": 0,
- "freeSpaceBytes": 0,
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "description": "string",
- "path": "string",
- "retentionType": "ItemLevel",
- "retentionPeriodType": "Monthly",
- "dailyRetentionPeriod": 0,
- "monthlyRetentionPeriod": 0,
- "yearlyRetentionPeriod": "Year1",
- "retentionFrequencyType": "Daily",
- "dailyTime": "string",
- "dailyType": "Everyday",
- "monthlyTime": "string",
- "monthlyDaynumber": "First",
- "monthlyDayofweek": "Sunday",
- "proxyId": "00000000-0000-0000-0000-000000000000",
- "proxyPoolId": "00000000-0000-0000-0000-000000000000",
- "organizationId": "00000000-0000-0000-0000-000000000000",
- "isLongTerm": true,
- "isOutdated": true,
- "isOutOfSync": true,
- "isIndexed": true,
- "isMigrationLocked": true,
- "isOutOfOrder": true,
- "outOfOrderReason": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "objectStorage": {
- "amazonBucketS3Compatible": {
- "servicePoint": "string",
- "customRegionId": "string",
- "name": "string",
- "trustedServerCertificateThumbprint": "string",
- "trustServerCertificate": true,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "s3Folder": "string",
- "id": "00000000-0000-0000-0000-000000000000",
- "accountId": "00000000-0000-0000-0000-000000000000",
- "sizeLimitEnabled": true,
- "sizeLimitGB": 0,
- "usedSpaceBytes": 0,
- "freeSpaceBytes": 0,
- "enableImmutability": true,
- "enableImmutabilityGovernanceMode": true,
- "immutabilityPeriodDays": 0,
- "type": "AzureBlob",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "glacierDeepArchiveEnabled": true,
- "glacierInstantRetrievalEnabled": true,
- "amazonBucketS3Aws": {
- "regionType": "Global",
- "regionName": "string",
- "regionId": "string",
- "name": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "standardIaStorageClassEnabled": true,
- "oneZoneIaStorageClassEnabled": true,
- "useArchiverAppliance": true,
- "amazonArchiverAppliance": {
- "instanceTypeName": "string",
- "virtualPrivateCloud": {
- "id": "string",
- "name": "string",
- "CIDR": "string"
}, - "subnet": {
- "id": "string",
- "name": "string",
- "CIDR": "string"
}, - "securityGroup": {
- "id": "string",
- "name": "string"
}, - "ipRanges": "24.48.96.192/32,16.24.0.0/24",
- "appliancePort": 0
}, - "azureContainer": {
- "name": "string",
- "regionType": "Global",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "azureFolder": "string",
- "azureServiceAccount": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Azure",
- "displayName": "string",
- "description": "string",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "applicationCertificateThumbprint": "string",
- "azureEnvironment": "Global",
- "azureTenantId": "string",
- "lastModified": "2019-08-24T14:15:22Z"
}, - "azureSubscription": {
- "subscriptionId": "string",
- "displayName": "string"
}, - "azureArchiverAppliance": {
- "virtualMachineSizeName": "string",
- "resourceGroup": {
- "name": "string",
- "location": "string"
}, - "virtualNetwork": {
- "id": "string",
- "name": "string",
- "type": "string",
- "location": "string",
- "addressSpaces": [
- "string"
]
}, - "subnet": {
- "name": "string",
- "addressPrefix": "string"
}, - "ipRanges": "24.48.96.192/32,16.24.0.0/24",
- "region": "string",
- "appliancePort": 0
}
}
}Get Backup Repository
Returns a resource representation of a backup repository with the specified ID.
path Parameters
| repositoryId required | string <uuid> Specifies the identification number of the backup repository. For more information on how to get this parameter, see Get Backup Repositories. x-veeam-constraint: true |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "objectStorageEncryptionEnabled": true,
- "encryptionKeyId": "00000000-0000-0000-0000-000000000000",
- "capacityBytes": 0,
- "freeSpaceBytes": 0,
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "description": "string",
- "path": "string",
- "retentionType": "ItemLevel",
- "retentionPeriodType": "Monthly",
- "dailyRetentionPeriod": 0,
- "monthlyRetentionPeriod": 0,
- "yearlyRetentionPeriod": "Year1",
- "retentionFrequencyType": "Daily",
- "dailyTime": "string",
- "dailyType": "Everyday",
- "monthlyTime": "string",
- "monthlyDaynumber": "First",
- "monthlyDayofweek": "Sunday",
- "proxyId": "00000000-0000-0000-0000-000000000000",
- "proxyPoolId": "00000000-0000-0000-0000-000000000000",
- "organizationId": "00000000-0000-0000-0000-000000000000",
- "isLongTerm": true,
- "isOutdated": true,
- "isOutOfSync": true,
- "isIndexed": true,
- "isMigrationLocked": true,
- "isOutOfOrder": true,
- "outOfOrderReason": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "objectStorage": {
- "amazonBucketS3Compatible": {
- "servicePoint": "string",
- "customRegionId": "string",
- "name": "string",
- "trustedServerCertificateThumbprint": "string",
- "trustServerCertificate": true,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "s3Folder": "string",
- "id": "00000000-0000-0000-0000-000000000000",
- "accountId": "00000000-0000-0000-0000-000000000000",
- "sizeLimitEnabled": true,
- "sizeLimitGB": 0,
- "usedSpaceBytes": 0,
- "freeSpaceBytes": 0,
- "enableImmutability": true,
- "enableImmutabilityGovernanceMode": true,
- "immutabilityPeriodDays": 0,
- "type": "AzureBlob",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "glacierDeepArchiveEnabled": true,
- "glacierInstantRetrievalEnabled": true,
- "amazonBucketS3Aws": {
- "regionType": "Global",
- "regionName": "string",
- "regionId": "string",
- "name": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "standardIaStorageClassEnabled": true,
- "oneZoneIaStorageClassEnabled": true,
- "useArchiverAppliance": true,
- "amazonArchiverAppliance": {
- "instanceTypeName": "string",
- "virtualPrivateCloud": {
- "id": "string",
- "name": "string",
- "CIDR": "string"
}, - "subnet": {
- "id": "string",
- "name": "string",
- "CIDR": "string"
}, - "securityGroup": {
- "id": "string",
- "name": "string"
}, - "ipRanges": "24.48.96.192/32,16.24.0.0/24",
- "appliancePort": 0
}, - "azureContainer": {
- "name": "string",
- "regionType": "Global",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "azureFolder": "string",
- "azureServiceAccount": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Azure",
- "displayName": "string",
- "description": "string",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "applicationCertificateThumbprint": "string",
- "azureEnvironment": "Global",
- "azureTenantId": "string",
- "lastModified": "2019-08-24T14:15:22Z"
}, - "azureSubscription": {
- "subscriptionId": "string",
- "displayName": "string"
}, - "azureArchiverAppliance": {
- "virtualMachineSizeName": "string",
- "resourceGroup": {
- "name": "string",
- "location": "string"
}, - "virtualNetwork": {
- "id": "string",
- "name": "string",
- "type": "string",
- "location": "string",
- "addressSpaces": [
- "string"
]
}, - "subnet": {
- "name": "string",
- "addressPrefix": "string"
}, - "ipRanges": "24.48.96.192/32,16.24.0.0/24",
- "region": "string",
- "appliancePort": 0
}
}
}Edit Backup Repository Settings
Modifies settings of a backup repository with the specified ID.
path Parameters
| repositoryId required | string <uuid> Specifies the identification number of the backup repository. For more information on how to get this parameter, see Get Backup Repositories. x-veeam-constraint: true |
Request Body schema: application/jsonrequired
| retentionType required | string or null Specifies a type of the retention policy. |
| objectStorageEncryptionEnabled | boolean or null Defines whether the object storage encryption is enabled. |
| encryptionKeyId | string or null <uuid> Specifies the encryption key ID. |
| id | string or null <uuid> Specifies the backup repository ID. |
| name | string Specifies the backup repository name. |
| description | string Specifies the backup repository description. |
| path | string Specifies the full path to the folder where the backups will be stored. If the target folder does not exist, Veeam Backup for Microsoft 365 creates it. Note: This property is ignored for object storage repositories. |
| retentionPeriodType | string or null Specifies the retention period type. |
| dailyRetentionPeriod | integer or null <int32> Specifies the retention period in days. This property is valid if |
| monthlyRetentionPeriod | integer or null <int32> Specifies the retention period in months. This property is valid if |
| yearlyRetentionPeriod | string or null Specifies the retention period in years. This property is valid if |
| retentionFrequencyType | string or null Specifies the clean-up schedule type. The following types are available:
|
| dailyTime | string For Daily clean-up schedule. Specifies the time of the day when clean-up must be performed. |
| dailyType | string or null For Daily clean-up schedule. Specifies the days when clean-up must be performed. |
| monthlyTime | string For Monthly clean-up schedule. Specifies the time of the day when clean-up must be performed. |
| monthlyDaynumber | string or null For Monthly clean-up schedule. Specifies the order number for the day of the week when clean-up must be performed. |
| monthlyDayofweek | string or null For Monthly clean-up schedule. Specifies the day of the week when clean-up must be performed. |
| proxyId | string or null <uuid> Specifies the backup proxy server ID. Veeam Backup for Microsoft 365 will map a backup repository to this proxy server. |
| proxyPoolId | string or null <uuid> Specifies the backup proxy pool ID. Veeam Backup for Microsoft 365 will map a backup repository to this backup proxy pool. |
| ignoreProxyPoolApplianceAccessValidation | boolean or null Defines whether Veeam Backup for Microsoft 365 will not check if backup proxy servers that belong to the specified backup proxy pool can access the archiver appliance. |
| organizationId | string or null <uuid> Specifies the organization ID. |
| attachUsedRepository | boolean or null Defines whether to add a backup repository that was associated with a different backup proxy. If set to true, indicates that Veeam Backup for Microsoft 365 will assign a backup repository with backups to the backup proxy with the specified ID and add it to the backup infrastructure. |
object or null x-anyOf: [{"$ref":"#/components/schemas/RESTS3CompatibleObjectStorage"},{"$ref":"#/components/schemas/RESTAmazonS3ObjectStorage"},{"$ref":"#/components/schemas/RESTAzureObjectStorage"}] |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "objectStorageEncryptionEnabled": true,
- "encryptionKeyId": "00000000-0000-0000-0000-000000000000",
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "description": "string",
- "path": "string",
- "retentionPeriodType": "Monthly",
- "dailyRetentionPeriod": 0,
- "monthlyRetentionPeriod": 0,
- "yearlyRetentionPeriod": "Year1",
- "retentionFrequencyType": "Daily",
- "retentionType": "ItemLevel",
- "dailyTime": "string",
- "dailyType": "Everyday",
- "monthlyTime": "string",
- "monthlyDaynumber": "First",
- "monthlyDayofweek": "Sunday",
- "proxyId": "00000000-0000-0000-0000-000000000000",
- "proxyPoolId": "00000000-0000-0000-0000-000000000000",
- "ignoreProxyPoolApplianceAccessValidation": true,
- "organizationId": "00000000-0000-0000-0000-000000000000",
- "attachUsedRepository": true,
- "objectStorage": {
- "amazonBucketS3Compatible": {
- "servicePoint": "string",
- "customRegionId": "string",
- "name": "string",
- "trustedServerCertificateThumbprint": "string",
- "trustServerCertificate": true,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "s3Folder": "string",
- "id": "00000000-0000-0000-0000-000000000000",
- "accountId": "00000000-0000-0000-0000-000000000000",
- "sizeLimitEnabled": true,
- "sizeLimitGB": 0,
- "enableImmutability": true,
- "enableImmutabilityGovernanceMode": true,
- "immutabilityPeriodDays": 0,
- "type": "AzureBlob",
- "glacierDeepArchiveEnabled": true,
- "glacierInstantRetrievalEnabled": true,
- "amazonBucketS3Aws": {
- "regionType": "Global",
- "regionName": "string",
- "regionId": "string",
- "name": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "standardIaStorageClassEnabled": true,
- "oneZoneIaStorageClassEnabled": true,
- "useArchiverAppliance": true,
- "amazonArchiverAppliance": {
- "instanceTypeName": "string",
- "virtualPrivateCloud": {
- "id": "string",
- "name": "string",
- "CIDR": "string"
}, - "subnet": {
- "id": "string",
- "name": "string",
- "CIDR": "string"
}, - "securityGroup": {
- "id": "string",
- "name": "string"
}, - "ipRanges": "24.48.96.192/32,16.24.0.0/24",
- "appliancePort": 0
}, - "azureContainer": {
- "name": "string",
- "regionType": "Global",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}, - "azureFolder": "string",
- "azureServiceAccount": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Azure",
- "displayName": "string",
- "description": "string",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "applicationCertificateThumbprint": "string",
- "azureEnvironment": "Global",
- "azureTenantId": "string",
- "lastModified": "2019-08-24T14:15:22Z"
}, - "azureSubscription": {
- "subscriptionId": "string",
- "displayName": "string"
}, - "azureArchiverAppliance": {
- "virtualMachineSizeName": "string",
- "resourceGroup": {
- "name": "string",
- "location": "string"
}, - "virtualNetwork": {
- "id": "string",
- "name": "string",
- "type": "string",
- "location": "string",
- "addressSpaces": [
- "string"
]
}, - "subnet": {
- "name": "string",
- "addressPrefix": "string"
}, - "ipRanges": "24.48.96.192/32,16.24.0.0/24",
- "region": "string",
- "appliancePort": 0
}
}
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Remove Backup Repository
Removes a backup repository with the specified ID from the Veeam Backup for Microsoft 365 infrastructure.
path Parameters
| repositoryId required | string <uuid> Specifies the identification number of the backup repository. For more information on how to get this parameter, see Get Backup Repositories. x-veeam-constraint: true |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Get Backed-Up Organizations
Returns a collection of organizations whose data is stored in a backup repository with the specified ID. Veeam Backup for Microsoft 365 returns statistical information on used space in the backup repository per Microsoft organization.
path Parameters
| repositoryId required | string <uuid> Specifies the identification number of the backup repository. For more information on how to get this parameter, see Get Backup Repositories. |
query Parameters
| limit | integer <int32> Limits the maximum number of items that the server will return on a page. The maximum supported number of items per page is 10,000. The default value is 30. |
| offset | integer <int32> Excludes from a response page the first N items of a collection resource. The default value is 0. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "offset": 0,
- "limit": 0,
- "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
- "results": [
- {
- "name": "string",
- "id": "string",
- "usedSpaceBytes": 0,
- "localCacheUsedSpaceBytes": 0,
- "objectStorageUsedSpaceBytes": 0
}
], - "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Synchronize Cache
Synchronizes cache between object storage repository and the PersistentCache database created for object storage repository with the specified ID.
path Parameters
| repositoryId required | string <uuid> Specifies the identification number of the backup repository. For more information on how to get this parameter, see Get Backup Repositories. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "id": "00000000-0000-0000-0000-000000000000",
- "repositoryId": "00000000-0000-0000-0000-000000000000",
- "state": "None",
- "progressPercent": 0,
- "error": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Create Restore Session for Backup Repository by Repository ID
Creates and starts a restore session to explore and restore data from backup copies for a backup repository with the specified ID.
Use this resource for Azure Blob Storage, Amazon S3 Standard, Amazon S3 Standard-Infrequent Access, Amazon S3 One Zone-Infrequent Access and Amazon S3 Glacier Instant Retrieval storage classes or S3 Compatible object storage repositories.
path Parameters
| repositoryId required | string <uuid> Specifies the identification number of the backup repository. For more information on how to get this parameter, see Get Backup Repositories. |
query Parameters
| organizationId required | string <uuid> Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations. |
Request Body schema: application/jsonrequired
| dateTime | string or null <date-time> Specifies the date and time. |
| type | string or null Specifies a type of the restore session to start. |
| showDeleted | boolean or null Defines whether the restore session will show items that have been removed by the user before the specified date. |
| showAllVersions | boolean or null Defines whether the restore session will show all versions of items that have been modified by the user before the specified date. |
Created
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "dateTime": "2019-08-24T14:15:22Z",
- "type": "Vex",
- "showDeleted": true,
- "showAllVersions": true
}- 201
- default
{- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "organization": "string",
- "type": "Vex",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Working",
- "result": "Success",
- "initiatedBy": "string",
- "details": "string",
- "scopeName": "string",
- "clientHost": "string",
- "reason": "string",
- "eTag": 0,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Change Owner for Backup Repository by Repository ID
Creates and starts a change owner session to change an owner for a backup repository with the specified ID.
path Parameters
| repositoryId required | string <uuid> Specifies the identification number of the backup repository. For more information on how to get this parameter, see Get Backup Repositories. |
query Parameters
| proxyId | string <uuid> Specifies the identification number of the backup proxy server. For more information on how to get this parameter, see Get Backup Proxy Servers. |
| poolId | string <uuid> Specifies the identification number of the backup proxy pool. For more information on how to get this parameter, see Get Backup Proxy Pools. |
| includeAllRelatedRepositories | boolean Default: false Defines whether to process all related backup repositories within the change owner session. |
| waitForSessionsTimeout | integer <int32> Default: 60 Specifies a timeout in minutes. This timeout is used to wait for the related sessions to finish before starting the current session. Related sessions are the sessions that Veeam Backup for Microsoft 365 creates to perform different activities: data backup and backup copy, data management, data restore, data retrieval, and data migration. |
| forceStopSessions | boolean Default: false Defines action that Veeam Backup for Microsoft 365 will perform if the related sessions exceed the
|
| forceStopSessionsTimeout | integer <int32> Default: 10 Specifies a timeout in minutes. This timeout is used to wait for the related sessions to stop after Veeam Backup for Microsoft 365 forced them to stop. NOTE Use this parameter only if the
forceStopSessions parameter is set to true. The change owner session will be canceled if there are still active related sessions after this timeout is expired. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "id": "00000000-0000-0000-0000-000000000000",
- "status": "Waiting",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "details": "string",
- "waitForSessionsTimeout": "string",
- "forceStopSessions": true,
- "forceStopSessionsTimeout": "string",
- "fromOwnerId": "00000000-0000-0000-0000-000000000000",
- "toOwnerId": "00000000-0000-0000-0000-000000000000",
- "repositoryIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}