[egulu CLI reference](../index.md) / [egulu opensearch-instances](index.md)

# egulu opensearch-instances restore

POST /v1/projects/{project}/locations/{location}/openSearchInstances/{instance}:restore

```sh
egulu opensearch-instances restore [options]
```

## API operation

[OpenSearchInstances_restore](../../api/analytics/OpenSearchInstances_restore.md): `POST /v1/projects/{project}/locations/{location}/openSearchInstances/{instance}:restore` (analytics module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--backup-id` | value | no | backupId |
| `--instance` | value | yes | instance |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--request-id` | value | no | requestId |
| `--target-instance-id` | value | no | targetInstanceId |

The [global options](../index.md) apply too.
