-
- Veeam Legend
- Posts: 843
- Liked: 132 times
- Joined: May 11, 2018 8:42 am
- Contact:
Password protection configuration backup
Hello,
How can I know with powershell if password protection is enabled or not ?
I don't find any way to know it.
Thanks for your help.
How can I know with powershell if password protection is enabled or not ?
I don't find any way to know it.
Thanks for your help.
-
- Veeam Software
- Posts: 2566
- Liked: 603 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Password protection configuration backup
Hi @matteu
It's a property EncryptionOptions on object returned by Get-VBRConfigurationBackupJob cmdlet.
It's a property EncryptionOptions on object returned by Get-VBRConfigurationBackupJob cmdlet.
Code: Select all
PS C:\Users\Administrator> Get-VBRConfigurationBackupJob
Enabled : True
Repository : Veeam.Backup.Core.S3CompatibleRepositoryAdapter
ScheduleOptions : Daily
RestorePointsToKeep : 10
EncryptionOptions : True #This property
NotificationOptions :
NextRun : 10/24/2023 10:00:00 AM
Target : config-backup-s3
Type : ConfigurationBackup
LastResult : Warning
LastState : Stopped
Id : 99d1bf3d-e2e0-4bec-b2b3-820c0b87d212
Name : Backup Configuration Job
Description : Backup configuration job
David Domask | Product Management: Principal Analyst
-
- Veeam Legend
- Posts: 843
- Liked: 132 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Password protection configuration backup
Hello,
Thanks for your answer but I'm not sure we talked about the same thing.
I saw this cmdlet but doesn't seems to return what I want.
Encryption is just for the backup configuration to be encrypted.
What I want to know if it's password lost protection is enabled or not.
You can have encryption enabled but no enterprise manager -> password lost protection will not be enabled.

Thanks for your answer but I'm not sure we talked about the same thing.
I saw this cmdlet but doesn't seems to return what I want.
Encryption is just for the backup configuration to be encrypted.
What I want to know if it's password lost protection is enabled or not.
You can have encryption enabled but no enterprise manager -> password lost protection will not be enabled.

-
- Veeam Software
- Posts: 2021
- Liked: 673 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Password protection configuration backup
Hi @matteu,
This info gets pulled from the table that Get-VBRConfigurationBackupJob cmdlet doesn't access. I'll note it as a feature request. Meanwhile, try the workaround:
Best regards,
Oleg
This info gets pulled from the table that Get-VBRConfigurationBackupJob cmdlet doesn't access. I'll note it as a feature request. Meanwhile, try the workaround:
Code: Select all
[Veeam.Backup.Core.CCryptoKey]::IsLossProtectionEnabled()
Oleg
-
- Veeam Software
- Posts: 2566
- Liked: 603 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Password protection configuration backup
Ah, indeed I misunderstood the request. Thank you Oleg for the save 

David Domask | Product Management: Principal Analyst
-
- Veeam Legend
- Posts: 843
- Liked: 132 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Password protection configuration backup
Hello,
I just tested it.
It works perfectly.
Thanks
I just tested it.
It works perfectly.
Thanks
Who is online
Users browsing this forum: No registered users and 14 guests