I've attached a screenshot. It appears the command to use moving forward is 'mkvolumegroup'.
Original Message:
Sent: Tue May 21, 2024 11:39 AM
From: Christian Schroeder
Subject: Best practice approach Safeguarded Copy recovery using REST API
Hi Jack,
I suppose, I understood what you need now.
To be honest, I'd need to dig a bit deeper into the SGC technique myself to learn, whether CSM-like snapshot restore or recover operation can be triggered the way you are asking for.
If there is a way via native CLI / ssh, the REST API endpoints basically would be the same.
Hope to be back with you with some update in a bit, or maybe someone else can contribute something.
------------------------------
Best regards,
Christian Schroeder
IBM Storage Virtualize Support with Passion
Original Message:
Sent: Tue May 21, 2024 03:16 AM
From: Jack Wilkins
Subject: Best practice approach Safeguarded Copy recovery using REST API
Hi Christian,
Thank you for your response, it's much appreciated.
I reviewed the REST Explorer but couldn't find the correct commands. Instead of restoring, which I believe overwrites the source volumes, I would like to create an additional thin-clone copy of the snapshot. This is similar to how Copy Services Manager (CSM) creates a secondary copy of an immutable snapshot in seconds using a bitmap. CSM provides two options; Restore (overwrite) and Recover (second copy). It's the equivalent of the Recover command I'm not too sure, please.
Cheers,
Jack
------------------------------
Jack Wilkins
Original Message:
Sent: Tue May 21, 2024 02:22 AM
From: Christian Schroeder
Subject: Best practice approach Safeguarded Copy recovery using REST API
Hello Jack,
the REST API basically is an interface to the CLI commands.
So, depending on the concrete goal you want to achieve, /restorevolume
or /restorefromsnapshot
might be the endpoints you are looking for.
Command reference in IBM Docs:
Generally, for exploring the features and capabilities of the RESTful API you might want to have a look at the built-in REST Explorer.
You can reach the same by navigating with a browser to https://<FlashSystem_IP_or_hostname>:7443/rest/explorer
IBM Docs reference for the REST API:
------------------------------
Best regards,
Christian Schroeder
IBM Storage Virtualize Support with Passion
Original Message:
Sent: Mon May 20, 2024 10:19 AM
From: Jack Wilkins
Subject: Best practice approach Safeguarded Copy recovery using REST API
Hello,
I am testing the recovery of Safeguarded Copies using the Internal Scheduler on FlashSystem. Which REST API endpoints are recommended for recovering a specific snapshot?
Thanks,
Jack
------------------------------
Jack Wilkins
------------------------------