Add-VBRS3GlacierCompatibleRepository
Short Description
Adds S3 compatible object storage with data archiving to the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRS3GlacierCompatibleRepository [-Name <String>] [-Description <String>] -AmazonS3Folder <VBRAmazonS3Folder> -Connection <VBRAmazonS3CompatibleConnection> [-EnableBackupImmutability] [-ImmutabilityMode <VBRRepositoryImmutabilityMode>] [-ImmutabilityPeriod <Int32>] [-ArchiverAppliance <CHost>] [-ForceOwnershipChange] [-EnableReadOnlyMode] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet adds S3 compatible object storage with data archiving to the backup infrastructure.
Important |
|
To be able to work with S3 compatible object storage with data archiving, you must enable the SOSAPI functionality. For more information, see Working with Veeam Smart Object Storage API (SOSAPI) section in Veeam Backup & Replication User Guide. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AmazonS3Folder |
Specifies a folder for S3 compatible object storage with data archiving. Veeam Backup & Replication will move backup files into this folder.
Accepts the |
True |
Named |
True (ByValue) |
|
|
ArchiverAppliance |
Specifies the archiver appliance. The cmdlet will use it to transfer data from S3 compatible object storage to S3 compatible object storage with data archiving. You can use either Windows-based or Linux-based appliance.
Accepts the |
|
False |
Named |
False |
|
Connection |
Specifies an active session with S3 compatible object storage that supports data archiving. The cmdlet use it to add S3 compatible object storage as a backup repository.
Accepts the |
|
True |
Named |
False |
|
Description |
Specifies a description of S3 compatible object storage with data archiving. The cmdlet will add S3 compatible object storage with this description. |
|
False |
Named |
False |
|
EnableBackupImmutability |
Enables immutability for S3 compatible object storage with data archiving.
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 |
|
Force |
Defines that the cmdlet will add S3 compatible object storage with data archiving without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
ForceOwnershipChange |
Defines that the cmdlet will force ownership change of the folder for S3 compatible that supports data archiving. If you do not provide this parameter and the S3 compatible object storage folder is owned by another host, you will not be able to add S3 compatible 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:
Maximum: |
|
False |
Named |
False |
|
Name |
Specifies a name of S3 compatible object storage with data archiving. The cmdlet will add S3 compatible object storage with this name. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRS3GlacierCompatibleRepository
Examples
Adding S3 Compatible Object Storage with Data Archiving
This example shows how to add S3 compatible object storage with data archiving to the backup infrastructure.
|
$account = Get-VBRAmazonAccount $connect = Connect-VBRAmazonS3CompatibleService -Account $account[0] -CustomRegionId "us-east-1" -ServicePoint "http://172.24.185.88:80" -ServiceType ArchiveTier $folder = New-VBRAmazonS3Folder -Bucket $bucket[1] -Connection $connect -Name "TW02" $s3Archive = Add-VBRS3GlacierCompatibleRepository -AmazonS3Folder $folder -Name "Monthly_Reports" -Connection $connect |
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. Specify theAccount,CustomRegionId,ServicePointand theServiceTypeparameter values. Save the result to the$connectvariable. - Run the
New-VBRAmazonS3FolderCreates Amazon S3 folders. cmdlet. Specify theBucket,ConnectionandNameparameter values. Save the result to the$foldervariable. - Run the
Add-VBRS3GlacierCompatibleRepositorycmdlet. Specify the following settings:- Set the
$foldervariable as theAmazonS3Folderparameter value. - Set the
$connectvariable as theConnectionparameter value. - Set the
Nameparameter value. - Save the result to the
$s3Archivevariable.
- Set the
Related Commands
Get-VBRAmazonAccountReturns AWS credentials records.Connect-VBRAmazonS3CompatibleServiceConnects to S3 compatible object storage.New-VBRAmazonS3FolderCreates Amazon S3 folders.