---
title: "Site Filesystem & Database Restores"
method: POST
path: "/sites/{site_id}/restores"
tags: ["sites"]
---

# Site Filesystem & Database Restores

`POST /sites/{site_id}/restores`

## Request

- Base URL: `https://my.pressable.com/v1`
- URL: `https://my.pressable.com/v1/sites/{site_id}/restores`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/docs/sites/:site_id/restores/post.ts> (a function with typed inputs; its response is checked against the schema)

Restore your site from a Filesystem and/or Database backup. During a restore, your site will be set in maintenance mode and will be inaccessible for the duration of the restore. Depending on the size of your site, the restore can be as short as a few minutes to a few hours. Select a filesystem and/or database backup from the lists below to restore your website to a previous version backup list. You will receive an email when the restore attempt is finished.

## Path parameters

- `site_id` integer, required

## Request body

- object
  - `filesystem_id` integer
  - `database_id` integer
  - `restore_on_site_id` integer

## Response `200`

Successful Response

- object
  - `message` string

---

[API](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1.md) - [All operations](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/revisions/267a95219f47?raw)
