Ransomware Recovery

Quarantine snapshots on a resource - v1

Quarantine all snapshots, or snapshots within a date range on a resource. :fa-info-circle: Users and administrators cannot restore or download data from the quarantined snapshots. :fa-info-circle: Both v1 and v2 Quarantine APIs are supported for Endpoints, File Server, NAS, VMware, OneDrive, Google Drive, SharePoint, and Shared Drive. However, only v2 Quarantine APIs are supported for Azure Virtual Machines.

post/ransomwarerecovery/v1/quarantineranges/resource/{resourceID}

Request

  • Base URL
    https://apis.druva.com/realize
  • URL
    https://apis.druva.com/realize/ransomwarerecovery/v1/quarantineranges/resource/{resourceID}
  • Auth
    API key in header Authorization

Path parameters

resourceIDinteger required

The unique ID of the resource on which the snapshots should be quarantined. Get the ID of a device using the ‘List all devices’ API. For data sources like File Server, NAS, VMware and so on, refer to the respective 'List all backup sets' API.

Request body

orgIDinteger

Specify unique ID of the Enterprise Workloads organization to which the backup set belongs. For Endpoints, specify -1.

resourceType'Endpoint' | 'File Server' | 'NAS' | 'VMware' | 'OneDrive' | 'Google Drive' | 'SharePoint' | 'Shared Drive' required

Select the resource type. Select Endpoint if you want to quarantine snapshots on a device. Select File Server, NAS, and so on respectively if you want to quarantine snapshots on server data sources.

fromDatestring date

Specify a date from which you want to quarantine all the snapshots. Format - YYYY-MM-DD Example - 2020-10-25. :fa-info-circle: If you do not specify a date Druva will quarantine all the snapshots after November 10, 2019 (a system-defined limit). Druva uses UTC time zone to quarantine a resource. You must factor in the difference between the resource time zone and UTC zone while selecting the dates.

toDatestring date

Specify the date until which you want to quarantine the snapshots on the resource. Format - YYYY-MM-DD. Example - 2020-04-01 :fa-info-circle: If you do not specify a date Druva will keep quarantining all the snapshots formed on the resource indefinitely.

Example request

{
  "orgID": -1,
  "fromDate": "2020-10-25",
  "toDate": "2020-10-25"
}

Response

OK

rangeIDinteger

The unique identifier of the quarantine range which is created or updated for the resource.

Example response

{
  "rangeID": 101
}

Changes

No recorded changes to this operation across all 1 revision of this API.