diff --git a/monthlySnap.ps1 b/monthlySnap.ps1 index 6aa816c..a97db60 100644 --- a/monthlySnap.ps1 +++ b/monthlySnap.ps1 @@ -1,21 +1,20 @@ ########################################################################## # -# Add a new SSO Group to an existing RSC Tenant Org. -# Created by Rubrik PS for Keylane, June 2024 +# On Demand Snapshot for all Oracle DBs with a specific SLA +# Created by Rubrik PS for McDermott, September 2025 # -# Must be run with a Global service account. It reads in the current details -# of the Organisation, adds the new SSO group and runs the UpdateOrg mutation. +# Must be run with a Global service account. # # Requires RubrikSecurityCloud module to be installed and working against # a Global Service Account with Administrator rights. # -# set service account like this +# Create the service account file with: # Set-RscServiceAccountFile sa.json -OutputFilePath Global.xml # # Example invocation -# .\create_ssogroup.ps1 -SSOGroup "TestCustomerSSO" -TenantName "keylanetest" +# .\monthlySnap.ps1 -sourceSla "Prod Oracle SLA" -triggerSla "Oracle Monthly Only" # -# v0.2 Initial Release +# v0.1 Initial Release # ########################################################################## @@ -67,7 +66,6 @@ $protectedObjects = $query.invoke() $protectedObjects.Nodes | ForEach-Object { - Write-Host "Triggering Backup for Name: $($_.Name), Id: $($_.Id)" $oracleDb = Get-RscOracleDatabase -name "example" @@ -84,7 +82,4 @@ $protectedObjects.Nodes | ForEach-Object { } - - - Disconnect-Rsc \ No newline at end of file