Add-VBRAmazonS3CompatibleRepository
Short Description
Adds S3 compatible and S3-integrated object storage repositories to the backup infrastructure.
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRAmazonS3CompatibleRepository [-Name <String>] [-Description <String>] -AmazonS3Folder <VBRAmazonS3Folder> -Connection <VBRAmazonS3CompatibleConnection> [-EnableSizeLimit] [-SizeLimit <Int32>] [-EnableBackupImmutability] [-ImmutabilityMode <VBRRepositoryImmutabilityMode>] [-ImmutabilityPeriod <Int32>] [-MountServerOptions <VBRRepositoryMountServerOptions[]>] [-ProxyAppliance <CHost>] [-EnableConcurrentTasksLimit] [-MaxConcurrentTasks <Int32>] [-ForceOwnershipChange] [-EnableReadOnlyMode] [-EnableBucketAutoProvision] [-MachinesPerBucketLimit <Int32>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet adds S3 compatible and S3-integrated object storage repositories to Veeam Backup & Replication.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AmazonS3Folder |
Specifies an S3 compatible folder. Veeam Backup & Replication will store backup files in this folder.
Accepts the |
True |
Named |
True (ByValue) |
|
|
Connection |
Specifies an active session with S3 compatible object storage. The cmdlet will add it as a backup repository.
Accepts the |
|
True |
Named |
False |
|
Description |
Specifies a description of an S3 compatible object storage. The cmdlet will add object storage with this description. |
|
False |
Named |
False |
|
EnableBackupImmutability |
Defines that the cmdlet will enable the immutability option.
Default: |
|
False |
Named |
False |
|
EnableBucketAutoProvision |
For creating multiple child buckets. Defines that the cmdlet will create multiple child buckets automatically. |
|
False |
Named |
False |
|
EnableConcurrentTasksLimit |
Enables limits for concurrent tasks that can be processed by the object storage repository.
Use the
Default: |
|
False |
Named |
False |
|
EnableReadOnlyMode |
Defines that the cmdlet will add the object storage repository in the read-only mode. If you enable this option, Veeam Backup & Replication will not write or modify data in the object storage repository. You can use the object storage repository for restore operations only.
Default: |
|
False |
Named |
False |
|
EnableSizeLimit |
Defines that the cmdlet will enable size limits for data blocks that you want to store in an S3 compatible storage.
Use the
Default: |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will add an object storage repository without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
ForceOwnershipChange |
Defines that the cmdlet will force ownership change of the object storage folder. If you do not provide this parameter and the object storage folder is owned by another host, you will not be able to add object storage to the backup infrastructure.
Default: |
|
False |
Named |
False |
|
ImmutabilityMode |
Specifies the immutability retention period:
|
|
False |
Named |
False |
|
ImmutabilityPeriod |
For the Defines the immutability period in days. Default: 30 days. Maximum: 999 days. |
|
False |
Named |
False |
|
MachinesPerBucketLimit |
For creating multiple child buckets. Specifies a number of per-machine backup chains in a sub bucket. The cmdlet will create child buckets according to the amount of per-machine backup chains.
Default: |
|
False |
Named |
False |
|
MaxConcurrentTasks |
Specifies a maximum number of concurrent tasks that can be processed at once by the object storage repository. |
|
False |
Named |
False |
|
MountServerOptions |
Specifies settings of a mount server for object storage repositories. Note: This parameter is required for object storage repositories that you want to add as performance extents to a scale-out backup repository.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
Name |
Specifies a name of an S3 compatible object storage. The cmdlet will add object storage with this name. |
|
False |
Named |
False |
|
ProxyAppliance |
Specifies a helper appliance. Veeam Backup & Replication will use this appliance to perform a health check of backup files and apply retention to file backup job files. |
|
False |
Named |
False |
|
SizeLimit |
For the Specifies size limits in GB for data blocks that you want to store in an S3 compatible object storage added as a backup repository.
Permitted value:
Default:
Note: [For S3-integrated repository] If you specify size limits that exceed an actual capacity of the S3-integrated repository, you will get a warning. Provide the |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRAmazonS3CompatibleRepository
Examples
Adding Amazon S3 Object Storage to Backup Infrastructure
This example shows how to add an Amazon S3 compatible object storage repository to the backup infrastructure.
|
$account = Get-VBRAmazonAccount $connect = Connect-VBRAmazonS3CompatibleService -Account $account -CustomRegionId "us-east-1" -ServicePoint "http://123.45.67.89:9000" $bucket = Get-VBRAmazonS3Bucket -Connection $connect -Name "New Bucket" $folder = Get-VBRAmazonS3Folder -Name "New Folder" -Bucket $bucket -Connection $connect Add-VBRAmazonS3CompatibleRepository -AmazonS3Folder $folder -Connection $connect -Name "New Repository" |
Perform the following steps:
- Run the
Get-VBRAmazonAccountReturns AWS credentials records. cmdlet. Save the result to the$accountvariable. - Run the
Connect-VBRAmazonS3CompatibleServiceConnects to S3 compatible object storage. cmdlet. Set the$accountvariable as theAccountparameter value. Specify theCustomRegionIdandServicePointparameter values. Save the result to the$connectvariable. - Run the
Get-VBRAmazonS3BucketReturns Amazon S3 buckets. cmdlet. Set the$connectvariable as theConnectionparameter value. Specify theNameparameter value. Save the result to the$bucketvariable. - Run the
Get-VBRAmazonS3FolderReturns Amazon S3 folders. cmdlet. Specify theNameparameter value. Set the$bucketvariable as theBucketparameter value. Set the$connectvariable as theConnectionparameter value. Save the result to the$foldervariable. - Run the
Add-VBRAmazonS3CompatibleRepositorycmdlet. Set the$foldervariable as theAmazonS3Folderparameter value. Set the$connectvariable as theConnectionparameter value. Specify theNameparameter value.
Related Commands
Get-VBRAmazonAccountReturns AWS credentials records.Connect-VBRAmazonS3CompatibleServiceConnects to S3 compatible object storage.Get-VBRAmazonS3BucketReturns Amazon S3 buckets.Get-VBRAmazonS3FolderReturns Amazon S3 folders.