Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-RscMssqlDatabase RecoveryModel is $null #157

Open
hedgehog1974 opened this issue Dec 4, 2024 · 0 comments
Open

Get-RscMssqlDatabase RecoveryModel is $null #157

hedgehog1974 opened this issue Dec 4, 2024 · 0 comments

Comments

@hedgehog1974
Copy link

Running Get-RscMssqlDatabase always returns $null for RecoveryModel

Example:
Get-RscMssqlDatabase -RscMssqlAvailabilityGroup ( Get-RscMssqlAvailabilityGroup -AvailabilityGroupName xxxxxx -RscCluster (Get-RscCluster -Name xxxxxx)) -Name my_db returns:

AuthorizedOperations :
ObjectType : MSSQL
SlaAssignment : DERIVED
ConfiguredSlaDomain :
EffectiveRetentionSlaDomain :
EffectiveSlaDomain : RubrikSecurityCloud.Types.GlobalSlaReply
PendingSla :
ReplicatedObjects :
CdmId : xxxx-xxxxxx
CdmLink :
CdmOnDemandSnapshotCount :
CopyOnly : False
DagId : xxxx-xxxxxx
HasLogConfigFromSla : True
HasPermissions : True
HostLogRetention : -1
Id : xxxx-xxxxxx
IsInAvailabilityGroup : True
IsLogShippingSecondary : False
IsMount : False
IsOnline : True
IsRelic : False
LogBackupFrequencyInSeconds : -2
LogBackupRetentionInHours : -3
Name : my_db
NumWorkloadDescendants : 0
OnDemandSnapshotCount :
PostBackupScript :
PreBackupScript :
RecoveryModel :
ReplicatedObjectCount :
SlaPauseStatus : False

Get-RscMssqlDatabase | Where-Object { $_.RecoveryModel -ne $null } returns nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant