> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Initiate A Restore Activity

Creates a data restore request and provides the option to scan the data for malware or viruses before restoring to the desired location on the target device.

<Note>
  External Documentation

  To learn more, visit the [Druva documentation](https://developer.druva.com/reference/post_endpoints-v1-restores).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                                                                                                                                                                                        |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Device ID        | Specify the unique ID of the device in inSync from which you want to initiate the restore activity.                                                                                                                                                                                                                                                                                                                |
  | Restore Location | Specify the location to which you intend to restore the data on the selected device.<br />Specify one of the following -<br /><br />Desktop - If you want to restore the data to the desktop on the target device.<br />Original - If you want to restore data to the same location from which it was backed up.<br />If you want to restore the data at a custom location, specify absolute path of the location. |
  | Target Device ID | Specify the target device ID to which you intend to restore the data. The target device must belong to the same user.                                                                                                                                                                                                                                                                                              |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter             | Description                                                                                                                                                                                                                                                                                                                                                   |
  | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Enable Antivirus Scan | If your organization has the 'Restore With Confidence' license, you can force scan the Snapshot for malware and viruses before restoring the data to the target device and location. Select True to enable Malicious File Scan for the Snapshot being restored.<br />**Note:** Malicious file scan is not applicable if you are restoring a Curated Snapshot. |
  | Snapshot Name         | To restore a curated snapshot, provide the curated snapshot name. Can be obtained by using the `List Curated Snapshots` action.<br />**Note:** `Enable Antivirus Scan` is not applicable for curated snapshots.                                                                                                                                               |
</div>

## Example Output

```json theme={"dark"}
{
	"restores": [
		{
			"deviceID": 12345,
			"targetDeviceID": 12345,
			"restoreLocation": "Desktop",
			"userID": 12345,
			"restoreID": 12345,
			"startTime": "2019-11-19T06:49:15Z",
			"endTime": "",
			"status": "Ongoing",
			"restoreSize": "",
			"numberOfFilesRestored": null,
			"numberOfFilesMissed": null,
			"restoreMode": "Admin",
			"systemSettingsRestore": null,
			"failureReason": ""
		}
	],
	"totalSize": 1
}
```

## Workflow Library Example

[Initiate a Restore Activity with Druva and Send Results Via Email](https://library.blinkops.com/workflows/initiate-a-restore-activity-with-druva-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/initiate-a-restore-activity-with-druva-and-send-results-via-email/canvas" />
</div>
