---
title: pydo.vector_databases.post_restore_backup()
description: Restore a Vector Database from a Backup
product: Reference
url: https://docs.digitalocean.com/reference/pydo/reference/vector_databases/post_restore_backup/
last_updated: "2026-08-03"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# pydo.vector_databases.post_restore_backup()

Generated on 3 Aug 2026 from `pydo` version [`v0.40.0`](https://github.com/digitalocean/pydo/releases/tag/v0.40.0v0.40.0)

## Usage

```python
client.vector_databases.post_restore_backup(
    id="\"example string\"",
    backup_id="\"example string\"",
    body={
        "backup_id": "123e4567-e89b-12d3-a456-426614174000",
        "id": "example string",
    },
)
```

Returns `JSON`Raises `HttpResponseError`

## Description

To restore a vector database from a backup, send a POST request to [`/v2/vector-databases/{id}/backups/{backup_id}/restore`](https://docs.digitalocean.com/reference/api/reference/vector-databases/index.html.md#vectorDatabases_post_restore_backup). The restore runs asynchronously; use the restore-status endpoint to monitor its progress.

## Parameters

`id` string required

Required. ID of the vector database.

`backup_id` string required

Required. ID of the backup to restore from.

`backup_id` string optional

Example: `123e4567-e89b-12d3-a456-426614174000`

Required. ID of the backup to restore from.

`id` string optional

Example: `example string`

Required. ID of the vector database.

## Request Sample

## Show Request Sample

```python
import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

req = {
  "backup_id": "123e4567-e89b-12d3-a456-426614174000",
  "id": "example string"
}

resp = client.vector_databases.post_restore_backup(id="\"example string\"", backup_id="\"example string\"", body=req)
```

## Response Example

## Show Response Example

```json
{
  "backup_id": "123e4567-e89b-12d3-a456-426614174000",
  "status": "example string"
}
```

## More Information

See [`/v2/vector-databases/{id}/backups/{backup_id}/restore`](https://docs.digitalocean.com/reference/api/reference/vector-databases/index.html.md#vectorDatabases_post_restore_backup) in the API reference for additional detail on responses, headers, parameters, and more.