Azure Storage – how to restore a directory by Node.js?

The article you refer to mentions the Restore Blob Ranges operation to initiate a restore.

To initiate a point-in-time restore, call the Restore Blob Ranges operation and specify a restore point in UTC time. You can specify lexicographical ranges of container and blob names to restore, or omit the range to restore all containers in the storage account. Up to 10 lexicographical ranges are supported per restore operation.

Following that link brings you to the documentation for the operation, which is a REST API that you can call.

Sample request


Sample body

  "timeToRestore": "2021-09-11T12:00:00.0000000Z",
  "blobRanges": [
      "startRange": "container/{blobpath1}",
      "endRange": "container/{blobpath2}"
      "startRange": "container2/{blobpath3}",
      "endRange": ""

Read more here: Source link