Add-VBRAmazonS3Server
Short Description
Adds Amazon S3 storage as unstructured data source to the inventory.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRAmazonS3Server -FriendlyName <String> -Account <VBRAmazonAccount> -Region <VBRAmazonS3Region> [-ProxyMode <VBRNASProxyMode>] [-SelectedProxyServer <VBRNASProxyServer[]>] -CacheRepository <CBackupRepository> [-BackupIOControlLevel <VBRUnstructuredBackupIOControlLevel>] [-BucketName <String>] [<CommonParameters>] |
Detailed Description
This cmdlet adds Amazon S3 storage to the inventory. You can use this object storage as a source of data for object storage backup job.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Account |
Specifies an Amazon S3 credentials record. Veeam Backup & Replication will use this credentials record to connect to Amazon S3 storage.
Accepts the |
True |
Named |
False |
|
|
BackupIOControlLevel |
Specifies a speed that Veeam Backup & Replication will use to read data from object storage. You can specify either of the following speed:
|
|
False |
Named |
False |
|
BucketName |
Specifies a name of the Amazon S3 bucket. The cmdlet will connect to this bucket. |
|
False |
Named |
False |
|
CacheRepository |
Specifies the cache repository. Veeam Backup & Replication will keep the .VCACHE files on this repository.
Accepts the |
|
True |
Named |
False |
|
FriendlyName |
Specifies a name that you want to assign to the object storage. |
|
True |
Named |
True (ByValue) |
|
ProxyMode |
Specifies the backup proxy options.
|
|
False |
Named |
False |
|
Region |
Specifies an array of Amazon S3 regions where Amazon S3 buckets are located. The cmdlet will return an array of Amazon S3 buckets from these Amazon S3 regions.
Accepts the |
True |
Named |
False |
|
|
SelectedProxyServer |
For the Specifies the backup proxy. Veeam Backup & Replication will use this backup proxy to back up Amazon S3 object storage.
Accepts the |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRAmazonS3Server object that contains settings of Amazon S3 storage added to the inventory.
Examples
Adding Amazon S3 Storage as Unstructured Data Source
This example shows how to add Amazon S3 storage as unstructured data source to the inventory.
|
$account = Get-VBRAmazonAccount -AccessKey "XXXXXXXX" -Description "AWS account" $region = Get-VBRAmazonS3Region -RegionId "eu-central-1" $cacherepository = Get-VBRBackupRepository -Name "WinSrv" Add-VBRAmazonS3Server -FriendlyName "Amazon S3 OS" -Account $account -Region $region -CacheRepository $cacherepository |
Perform the following steps:
- Run the
Get-VBRAmazonAccountReturns AWS credentials records. cmdlet. Specify theAccessKeyand theDescriptionparameter values. Save the result to the$accountvariable. - Run the
Get-VBRAmazonS3RegionReturns Amazon S3 regions. cmdlet. Specify theRegionIdparameter value. Save the result to the$regionvariable. - Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify theNameparameter value. Save the result to the$cacherepositoryvariable. - Run the
Add-VBRAmazonS3Servercmdlet. Specify the following settings:- Specify the
FriendlyNameparameter value. - Set the
$accountvariable as theAccountparameter value. - Set the
$regionvariable as theRegionparameter value. - Set the
$cacherepositoryvariable as theCacheRepositoryparameter value.
- Specify the
Related Commands
Get-VBRAmazonAccountReturns AWS credentials records.Get-VBRAmazonS3RegionReturns Amazon S3 regions.Get-VBRBackupRepositoryReturns a list of backup repositories.