Link to home
Start Free TrialLog in
Avatar of David Sankovsky
David SankovskyFlag for Israel

asked on

veeam backup - get all mchines that user local user authentication for backup

I'm taking over a backup system that was managed by what appears to be SOMEWHAT trained monkey who didn't think that servers that weren't in the main domain needed domain credentials (Our company has several AD Domains - main, prod, dmz and etc.) He also didn't use any logic when creating jobs = the same job would be backing up machines from various domains at the same time regardless of the VM type... in general it's a mass.

For starters, I'd like to use power shell to get all vms in all the jobs that use .\Administrator as the backup credential... but when I use Get-VBRJobObject, even with the FL flag, I can't see the credentialss used:

PS C:\Users\davidsadm> Get-VBRJob |Get-VBRJobObject -Name "CTRACK" |fl


Id                  : 32584000-6a3c-4042-9540-8ebfaec4e0c9
ObjectId            : 42d7e0ed-f0f1-48ac-96ff-3eded31ee9a1
Object              : Name: CTRACK
TypeDisplayName     : Virtual Machine
Filter              :
Role                : EInclude
Name                : CTRACK
Type                : Include
Location            : <redacted>\<redacted>\Prod-Cluster\CTRACK
OrderNo             : 23
ApproxSizeString    : 20.7 GB
Info                : Veeam.Backup.Model.CDbObjectInJobInfo
JobId               : 7e1d7c34-8f92-4e1a-a806-93ba2868fc10
IsFolder            : False
IsIncluded          : True
IsVssChild          : False
IsExcludeDisksChild : False
IsExcluded          : False
IsExtended          : False
PolicyType          : None
VssOptions          : VssSnapshotOptions: [Enabled: [True], ApplicationProcessingEnabled: [True], IgnoreErrors: [False], IsCopyOnly: [False]], WinGuestFSIndexingOptions: [Type:
                      [ExceptSpecifiedFolders], IncludedFolders: [], ExcludedFolders: [%windir%; %ProgramFiles%; %ProgramFiles(x86)%; %ProgramW6432%; %TEMP%]], LinGuestFSIndexingOptions:
                      [Type: [ExceptSpecifiedFolders], IncludedFolders: [], ExcludedFolders: [/cdrom; /dev; /media; /mnt; /proc; /tmp; /lost+found]], SqlBackupOptions:
                      [TransactionLogsProcessing: [TruncateOnlyOnSuccessJob], BackupLogsFrequencyMin: [15], UseDbBackupRetention: [True], RetainDays: [15], ProxyAutoSelect: [True]],
                      ExchangeBackupOptions: [TransactionLogsProcessing: [TruncateOnlyOnSuccessJob]], WinCredsId: [e6d838b2-6710-44ec-8e87-00f28f75d89e], LinCredsId:
                      [00000000-0000-0000-0000-000000000000], Old Properties: [Enabled: [True], IgnoreErrors: [False], GuestFSIndexingType: [ExceptSpecifiedFolders],
                      IncludedIndexingFolders: [], ExcludedIndexingFolders: [%windir%; %ProgramFiles%; %ProgramFiles(x86)%; %ProgramW6432%; %TEMP%], LinGuestFSIndexingType:
                      [ExceptSpecifiedFolders], LinIncludedIndexingFolders: [], LinExcludedIndexingFolders: [/cdrom; /dev; /media; /mnt; /proc; /tmp; /lost+found], IsFirstUsage: [True]]
ExtendedOptions     : Veeam.Backup.Model.COijExtendedOptions
DiskFilter          : Veeam.Backup.Core.CDiskFilter
DiskFilterInfo      : Veeam.Backup.Model.CDiskFilterInfo
UpdateConfig        : True

Open in new window


How can I get a list of machines using the ,\Administrator user?
Avatar of Zaheer Iqbal
Zaheer Iqbal
Flag of United Kingdom of Great Britain and Northern Ireland image

Avatar of David Sankovsky

ASKER

I get you need to use get-vbcredentials


https://helpcenter.veeam.com/docs/backup/powershell/get-vbrcredentials.html?ver=95u4

That would only allow me to see the credentials stored on veeam, not which server uses which credential

This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.