Closed candersonzna closed 2 years ago
Hi @candersonzna,
Good afternoon.
Thanks for reporting the issue. Looks like the value for AdvancedBackupSetting.BackupOptions: WindowsVSS
is case sensitive. In your code above you have used Enabled
(notice the first letter in uppercase). I was able to successfully create a new backup plan with value as enabled
(all in lowercase):
$AdvancedBackup.BackupOptions.Add("WindowsVSS","enabled");
Kindly refer AdvancedBackupSetting for more details.
Closing this issue as guidance.
Thanks, Ashish
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Description
When creating a new backup plan with the -BackupPlan_AdvancedBackupSetting with the object Amazon.Backup.Model.AdvancedBackupSetting being used we getting the error:
"New-BAKBackupPlan: Invalid Resource Type : EC2"
Reproduction Steps
Code used
Environment
This is a :bug: bug-report