--- title: "Add-VBOAmazonS3GlacierRepository" description: "This cmdlet adds a backup repository of the Amazon S3 object storage type, in particular — Amazon S3 Glacier Instant Retrieval, Amazon S3 Glacier Flexible Retrieval and Amazon S3 Glacier Deep Archive storage classes, to the Veeam Backup for..." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/add-vboamazons3glacierrepository.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Backup Infrastructure > JET-based Backup Repositories and Object Storage Repositories > Add-VBOAmazonS3GlacierRepository" dateModified: "2026-08-21" --- # Add-VBOAmazonS3GlacierRepository ## Short Description Adds Amazon S3 object storage repository (Amazon S3 Glacier Instant Retrieval, Amazon S3 Glacier Flexible Retrieval and Amazon S3 Glacier Deep Archive storage classes) to the Veeam Backup for Microsoft 365 infrastructure. ## Syntax This cmdlet provides the following parameter sets:
DefaultParameterSet (Default)
DailyParameterSet
MonthlyParameterSet
DailyCustomRetentionParameterSet
MonthlyCustomRetentionParameterSet
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CustomRetentionPeriod |
For the Specifies the retention period to keep data on the object storage repository. The retention period is defined according to the
Veeam Backup for Microsoft 365 will remove items from the object storage repository once this period is passed. |
|
True |
Named |
False |
|
CustomRetentionPeriodType |
Specifies a type of custom retention period. Veeam Backup for Microsoft 365 will remove items from the object storage repository once this period is passed. You can set the custom retention period to either of the following types:
Set the |
|
True |
Named |
False |
|
DailyTime |
For daily retention policy schedule. Specifies the time of the day when Veeam Backup for Microsoft 365 must apply the retention policy. Default: 00:00:00 |
|
True |
Named |
False |
|
DailyType |
For daily retention policy schedule. Specifies the days when Veeam Backup for Microsoft 365 must apply the retention policy:
Default: Everyday |
|
True |
Named |
False |
|
Description |
Specifies a description of Amazon S3 object storage repository. The cmdlet will add an object storage repository with this description. The default description contains information on the user who added the object storage repository, date and time when the object storage repository was added. |
|
False |
Named |
False |
|
EnableGlacierDeepArchive |
Defines that the cmdlet will enable the Amazon S3 Glacier Deep Archive storage class. Default: False |
|
False |
Named |
False |
|
EnableGlacierInstantRetrieval |
Defines that the cmdlet will enable the Amazon S3 Glacier Instant Retrieval storage class. Default: False |
|
False |
Named |
False |
|
EnableImmutability |
Defines that the cmdlet will add the object storage repository to the Veeam Backup for Microsoft 365 infrastructure with the immutability feature enabled. Veeam Backup for Microsoft 365 allows you to prohibit deletion of data from the object storage repository by making that data temporarily immutable and to protect data against malware activity. For more information about the immutability feature, see the Immutability section of the Veeam Backup for Microsoft 365 User Guide. Default: False |
|
False |
Named |
False |
|
EnableImmutabilityGovernanceMode |
Defines that a storage administrator with specific permissions to be allowed to override the lock settings and to delete the protected backups in the object storage repository added by the cmdlet. Default: False |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will add the object storage repository to the Veeam Backup for Microsoft 365 infrastructure without notifying the user. Default: False |
|
False |
Named |
False |
|
IgnoreProxyPoolApplianceAccessValidation |
Defines that the cmdlet will ignore check whether backup proxy servers that belong to the specified backup proxy pool can access the archiver appliance. Default: False |
|
False |
Named |
False |
|
MonthlyDayNumber |
For monthly retention policy schedule. Specifies the order number for the day of the week when Veeam Backup for Microsoft 365 must apply the retention policy.
Default: First |
|
True |
Named |
False |
|
MonthlyDayOfWeek |
For monthly retention policy schedule. Specifies the day of the week when Veeam Backup for Microsoft 365 must apply the retention policy.
Default: Monday |
|
True |
Named |
False |
|
MonthlyTime |
For monthly retention policy schedule. Specifies the time of the day when Veeam Backup for Microsoft 365 must apply the retention policy. Default: 18:00:00 |
|
True |
Named |
False |
|
Name |
Specifies a name of Amazon S3 object storage repository. The cmdlet will add an object storage repository with this name. |
|
True |
Named |
False |
|
ObjectStorageEncryptionKey |
Specifies object storage encryption key. Veeam Backup for Microsoft 365 will encrypt data that is saved to this object storage repository. Accepts the To get this object, run the |
|
False |
Named |
False |
|
ObjectStorageSettings |
Specifies the Amazon S3 object storage settings. Accepts the To get this object, run the |
True |
Named |
False |
|
|
Proxy |
Specifies a backup proxy server. The cmdlet will map a new Amazon S3 object storage repository to this backup proxy server. Accepts the To get this object, run the |
False |
Named |
False |
|
|
ProxyPool |
Specifies a backup proxy pool. The cmdlet will map a new Amazon S3 object storage repository to this backup proxy pool. Accepts the To get this object, run the |
False |
Named |
False |
|
|
RetentionFrequencyType |
Specifies retention policy schedule. Veeam Backup for Microsoft 365 will check the object storage repository and will remove the outdated backups according to this schedule. You can set either of the following types of schedule:
Default: Daily |
|
True |
Named |
False |
|
RetentionPeriod |
Specifies the retention period in years. Veeam Backup for Microsoft 365 will remove items from the object storage repository once this period is passed. You can set either of the following periods:
Default: Years3 Note: Apply the |
|
True |
Named |
False |
|
RetentionType |
Specifies a type of retention policy. You can set either of the following types:
Default: SnapshotBased |
|
False |
Named |
False |
|
SizeLimit |
Specifies a soft limit in GB for the object storage repository consumption that can be exceeded temporarily. If the specified limit is exceeded, Veeam Backup for Microsoft 365 will not run a new job. Permitted values: 1024–1073741824. Default: 1024 Note: In PowerShell you can specify a soft limit in GB only. |
|
False |
Named |
False |
|
SyncNow |
Defines that the cmdlet will start to synchronize cache between the object storage repository and the PersistentCache database on the PostgreSQL instance. Default: False |
|
False |
Named |
False |