Create Snapshot

  1. Create a snapshot using the createStorageSnapshot API.
    Following is a sample request:
    https://1.2.3.4/client/api?id=1e56d057-ec5c-3c08-8d15-be6994659b1e&command=createStorageSnapshot&response=json&name=snap_8f27fce8211511e583de160ef4d73eaf

  2. JSON Response
    { "createStorageSnapshotResponse" :  { "StorageSnapshot" : {
    	"id": "bce40f85-6cb0-36f1-9dc4-a08cfcadfb8f",
    	"name": "snap_cba35af9255643f6818b5422e67bbbd0",
    	"usn": "bce40f856cb036f19dc4a08cfcadfb8f",
    	"lunusn": "dbf632cc009b3c9eb4ab801330cc49b1",
    	"lunid": "dbf632cc-009b-3c9e-b4ab-801330cc49b1",
    	"scsiEnabled": false
    } }  };376
  3. Use the listStorageSnapshots API to verify the Snapshot creation.
    Following is a sample request:
    https://1.2.3.4/client/api?command=listStorageSnapshots&id=1e56d057-ec5c-3c08-8d15-be6994659b1e&response=json

  4. JSON Response
    { "listDatasetSnapshotsResponse" : { "count":1 ,"snapshot" : [  {
    	"name": "snap_cba35af9255643f6818b5422e67bbbd0",
    	"path": "Pool1/Acc1TSM1/2f850b5879954b02b0b2aa621800fc7d
            @snap_cba35af9255643f6818b5422e67bbbd0",
    	"availMem": "-",
    	"usedMem": "0",
    	"refer": "38K",
    	"mountpoint": "-",
    	"timestamp": "Fri Jul 3 2015 17:27",
    	"clones": 0,
    	"poolTakeOver": "noTakeOver",
    	"managedstate": "Available"
    } ] } };56