rubrikinc / rubrik-scripts-for-powershell

Collection of PowerShell Scripts created to interact to Rubrik CDM
MIT License
50 stars 58 forks source link

Managed Volume need to handled in a different way since any other snapable. It has to be used with Start-RubrikManagedVolumeSnapshot and Stop-RubrikManagedVolumeSnapshot insead of New-RubrikSnapshot #47

Closed politzky closed 5 years ago

politzky commented 5 years ago

What happened: Script fails if there is a managed volume in the sla

What you expected to happen: backup of all managed volumes in the given sla

How to reproduce it (as minimally and precisely as possible): have a managed volume in the source sla and run the script

Anything else we need to know?: If managed volumes are fixed be aware that there is a limit of max 10 running managed volume snaps in parallel

politzky commented 5 years ago

Pls fix this section so that it works also for MV.

foreach($SLA in $SLADomains){ Write-Host ("Gathering snappables from SLA Domain $SLA...") $Snappables += Get-RubrikFileset -SLA $SLA $Snappables += Get-RubrikVM -SLA $SLA #$Snappables += Get-RubrikManagedVolume -SLA $SLA $Snappables += Get-RubrikDatabase -SLA $SLA }

politzky commented 5 years ago

.

politzky commented 5 years ago

Further CDM only supports 10 managed volume snap at the same time. So this must be covered as well in the fix.

clumnah commented 5 years ago

Closed with #129