Software Development Kit (SDK) and API Discussions
I want to revert a volume to a snapshot but it fails with the message:
Failed to promote Snapshot copy "foo" because one or more newer Snapshot copies are currently used as a reference Snapshot copy...
But assume I want to do it anyway. On the CLI I can use the option -force. With ONTAPI I can use snapshot-restore-volume but this does not have a force option. How can I force it anyway?
See The Solution
It doesn't look like there is a way to force it using the API, at least not one I've found. A potential workaround is to use system-cli to execute the CLI command with the "-force" parameter.
View solution in original post
Live Chat, Watch Parties, and More!