-
- Service Provider
- Posts: 37
- Liked: 13 times
- Joined: Feb 21, 2023 4:44 pm
- Full Name: Timo Marfurt
- Contact:
Different retention period then immutability
Hi, I want to set my retention period to 1000 days, but my immutability settings only to 100 days. I did set this up in GUI and I think it worked without issue.
When configuring a repository with PowerShell command "Add-VBOAmazonS3CompatibleRepository", I get the following error:
Add-VBOAmazonS3CompatibleRepository : The immutability period cannot be changed from days to the entire duration of the retention period, or vice versa.
Support case #07519514
When configuring a repository with PowerShell command "Add-VBOAmazonS3CompatibleRepository", I get the following error:
Add-VBOAmazonS3CompatibleRepository : The immutability period cannot be changed from days to the entire duration of the retention period, or vice versa.
Support case #07519514
-
- Service Provider
- Posts: 37
- Liked: 13 times
- Joined: Feb 21, 2023 4:44 pm
- Full Name: Timo Marfurt
- Contact:
Re: Different retention period then immutability
I was told by support, that custom PowerShell scripts are not supported by Veeam support. I can totally understand this.
I looked at the documentation here: https://helpcenter.veeam.com/docs/vbo36 ... 0#examples and I cannot find any example for a script/command to add a repository that uses different retention period settings than immutability settings.
Would it be possible to add an example in the PowerShell Reference HelpCenter?
Or does anyone have any expirience with this requirement?
I looked at the documentation here: https://helpcenter.veeam.com/docs/vbo36 ... 0#examples and I cannot find any example for a script/command to add a repository that uses different retention period settings than immutability settings.
Would it be possible to add an example in the PowerShell Reference HelpCenter?
Or does anyone have any expirience with this requirement?
-
- Veeam Legend
- Posts: 481
- Liked: 129 times
- Joined: Apr 22, 2022 12:14 pm
- Full Name: Danny de Heer
- Contact:
Re: Different retention period then immutability
I don't have enough information from your post to make a conclusion, but there are some limitations with immutability.
Can you check this page? https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=80
Can you check this page? https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=80
VMCE / Veeam Legend 2*
-
- Service Provider
- Posts: 37
- Liked: 13 times
- Joined: Feb 21, 2023 4:44 pm
- Full Name: Timo Marfurt
- Contact:
Re: Different retention period then immutability
Thanks, yeah I have seen this. The thing is, I can configure this in the GUI without issue. But with the PowerShell command Add-VBOAmazonS3CompatibleRepository, there is always this error message.
As soon as I set the attribute "ImmutabilityPeriodDays" (which should be the one to set a different immutability period then retention period), the script will fail.
As soon as I set the attribute "ImmutabilityPeriodDays" (which should be the one to set a different immutability period then retention period), the script will fail.
-
- Veeam Legend
- Posts: 481
- Liked: 129 times
- Joined: Apr 22, 2022 12:14 pm
- Full Name: Danny de Heer
- Contact:
Re: Different retention period then immutability
I encourage you to create a support ticket for this bug if you are sure this is not in the known limitation list.
VMCE / Veeam Legend 2*
-
- Veeam Software
- Posts: 3460
- Liked: 830 times
- Joined: Oct 21, 2011 11:22 am
- Full Name: Polina Vasileva
- Contact:
Re: Different retention period then immutability
Hi Timo,
Not sure what could go wrong in your case, but I just tried the following in my lab - a repository is created with the required settings without any issues
Are you adding a new repository or trying to re-add a previously created one with different settings?
Not sure what could go wrong in your case, but I just tried the following in my lab - a repository is created with the required settings without any issues
Code: Select all
$proxy = Get-VBOProxy -Id yourId
$account = Get-VBOAmazonS3CompatibleAccount -Id yourId
$connection = New-VBOAmazonS3CompatibleConnectionSettings -Account $account -ServicePoint "yourServicePoint" -CustomRegionId yourRegionId -TrustServerCertificate:$True
$bucket = Get-VBOAmazonS3Bucket -AmazonS3CompatibleConnectionSettings $connection -Name "yourBucketName"
$folder = Add-VBOAmazonS3Folder -Bucket $bucket -Name "yourFolderName"
$settings = New-VBOAmazonS3CompatibleObjectStorageSettings -Folder $folder
Add-VBOAmazonS3CompatibleRepository -EnableImmutability -ImmutabilityPeriodDays 3 -Proxy $proxy -Name "yourRepositoryName" -CustomRetentionPeriodType Days -CustomRetentionPeriod 100 -RetentionFrequencyType Daily -DailyTime 12:00:00 -DailyType Workdays -Description "Daily Backup" -RetentionType SnapshotBased -ObjectStorageSettings $settings
Who is online
Users browsing this forum: No registered users and 150 guests