Start a Conversation

Unsolved

S

1 Rookie

 • 

1 Message

82

December 13th, 2023 01:59

Snapshot cannot be operated with Powershell in Unity v5.3.1

Get-Snapshot and New-Snashot result in an error.
It was successful in v5.1.0 and v5.2.2, but after upgrading the OE to v5.3.1 it fails. What could be the cause? If there is a problem, please fix it.

Get-Snapshot : Error calling SnapGetByName: {"error":{"errorCode":131149893,"httpStatusCode":422,"messages":[{"en-US":"The requested field [isRemoteAutoDelete] was deprecated more than 18 months ago. Please
use [snapRemoteRetentionPolicies.isRemoteAutoDelete] instead. (Error Code:0x7d13045)"}],"created":"2023-12-13T01:39:30.707Z"}}
発生場所 C:\Scripts\Invoke-UnityNASBackup-v531.ps1:155 文字:32
+ ... ExistingSnap = Get-Snapshot -UnityArray $Unity -Name $SnapshotName) {
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : DeviceError: (VeeamNASBackup:String) [Get-Snapshot]、SystemException
    + FullyQualifiedErrorId : Error during query,Dell.Unity.PowerShell.GetSnapshot

1 Rookie

 • 

1 Message

January 2nd, 2025 09:28

Same issue trying to manage Unity snapshots from Orchestrator plugin "o11nplugin-dellemc-unity-1.0.9.76.vmoapp":

The requested field [isRemoteAutoDelete] was deprecated more than 18 months ago. Please use [snapRemoteRetentionPolicies.isRemoteAutoDelete] instead. (Error Code:0x7d13045)

Ignoring this error will allow create a snapshot with System.getModule("com.dell.unity.snapshot").createSnapshotForStorageResource(...) despite error message,

but will prevent deleting it with System.getModule("com.dell.unity.snapshot").deleteSnapshotByName(...)

No Events found!

Top