This cmdlet adds the Amazon S3 object storage repository to Veeam Backup for Microsoft Office 365.
Parameters
Parameter
Description
Type
Required
Position
Accept Pipeline Input
Accept Wildcard Characters
Folder
Specifies an Amazon S3 folder. The cmdlet will move backup files into the selected folder.
Accepts the VBOAmazonS3Folder object. To get this object, run the Get-VBOAmazonS3Folder cmdlet.
True
Named
False
Name
Specifies a name of Amazon S3 object storage. The cmdlet will add object storage with this name.
String
True
Named
False
Description
Specifies a description of Amazon S3 object storage. The cmdlet will add object storage with this description.
String
False
Named
False
EnableIAStorageClass
Indicates that the cmdlet will enable the infrequent access storage class for data blocks that are stored in an Amazon S3 object storage.
SwitchParameter
False
Named
False
SizeLimit
Specifies a soft limit in GB for your object storage consumption that can be exceeded temporarily. If the specified limit is exceeded, Veeam Backup for Microsoft Office 365 will not run a new job.
Permitted value: 1024 - 1073741824.
Default: 10240.
Note: In PowerShell you can specify a soft limit in GB only.
Uint64
False
Named
False
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VBOAmazonS3ObjectStorageRepository object that contains settings of the Amazon S3 object storage repository.
Examples
Example 1. Adding Amazon S3 Object Storage Repository
This example shows how to add the Amazon S3 object storage repository.
Run the Get-VBOAmazonS3Account cmdlet. Specify the Id parameter value. Save the result to the $account variable.
Run the New-VBOAmazonS3ServiceConnectionSettings cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType parameter value. Save the result to the $connection variable.
Run the Get-VBOAmazonS3Bucket cmdlet. Set the $connection variable as the AmazonS3ConnectionSettings parameter value. Specify the RegionID parameter value. Specify the Name parameter value. Save the result to the $bucket variable.
Run the Get-VBOAmazonS3Folder cmdlet. Set the $bucket variable as the Bucket parameter value. Specify the Name parameter value. Save the result to the $folder variable.
Run the Add-VBOAmazonS3ObjectStorageRepository cmdlet. Set the $folder variable as the Folder parameter value. Specify the Name parameter value.
Example 2. Adding Amazon S3 Object Storage Repository with Description
This example shows how to add the Amazon S3 object storage repository with description.
Add-VBOAmazonS3ObjectStorageRepository -Folder $folder -Name "Documents" -Description "Created by Administrator"
Perform the following steps:
Run the Get-VBOAmazonS3Account cmdlet. Specify the Id parameter value. Save the result to the $account variable.
Run the New-VBOAmazonS3ServiceConnectionSettings cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType parameter value. Save the result to the $connection variable.
Run the Get-VBOAmazonS3Bucket cmdlet. Set the $connection variable as the AmazonS3ConnectionSettings parameter value. Specify the RegionID parameter value. Specify the Name parameter value. Save the result to the $bucket variable.
Run the Get-VBOAmazonS3Folder cmdlet. Set the $bucket variable as the Bucket parameter value. Specify the Name parameter value. Save the result to the $folder variable.
Run the Add-VBOAmazonS3ObjectStorageRepository cmdlet. Specify the following settings:
Set the $folder variable as the Folder parameter value.
Specify the Name parameter value.
Specify the Description parameter value.
Example 3. Adding Amazon S3 Object Storage Repository with Specified Size Limits
This example shows how to add the Amazon S3 object storage repository. The repository will be added with size limits set to 5120 GB.
Run the Get-VBOAmazonS3Account cmdlet. Specify the Id parameter value. Save the result to the $account variable.
Run the New-VBOAmazonS3ServiceConnectionSettings cmdlet. Set the $account variable as the Account parameter value. Specify the RegionType parameter value. Save the result to the $connection variable.
Run the Get-VBOAmazonS3Bucket cmdlet. Set the $connection variable as the AmazonS3ConnectionSettings parameter value. Specify the RegionID parameter value. Specify the Name parameter value. Save the result to the $bucket variable.
Run the Get-VBOAmazonS3Folder cmdlet. Set the $bucket variable as the Bucket parameter value. Specify the Name parameter value. Save the result to the $folder variable.
Run the Add-VBOAmazonS3ObjectStorageRepository cmdlet. Specify the following settings:
Set the $folder variable as the Folder parameter value.