# Backups

A backup saves the files and the databases of your webspace as they are at that moment. It is stored on a separate backup server, not on the server your webspace runs on. You take backups by hand or have them taken on a schedule, and you restore everything or only the files or the database.

## Backup Slots

Each backup fills one backup slot until it is deleted.

| Webspace | Included slots |
|---|---|
| Free | 1 |
| Paid | 2 |

If you need more, add slots in the **Resources** area, up to 10 in total. The price of a slot depends on the disk space of your webspace, because a backup can become as large as the webspace itself.

How many slots are in use is shown at the top of the **Backups** area and on the **Backups** card of the overview (e.g. "1 / 2").

## What a Backup Holds

- all files of your webspace: the website with its uploads, themes and extensions
- all databases

Temporary files, logs and caches are not backed up. A restore leaves these folders as they are.

## Creating a Backup

1. Open your webspace under [Webspaces](https://site.quest/dashboard/webspaces/)
2. Switch to the **Backups** area
3. Click **Create Backup** and give the backup a label if you like, for example "Before relaunch"
4. Hold **Hold to Create**

A backup usually takes seconds to a few minutes. The list updates by itself until it is finished. The button is disabled when all slots are in use or a backup or restore is running.

## Restoring a Backup

1. Switch to the **Backups** area and click the backup
2. Choose what comes back: **Everything**, **Files only** or **Database only**
3. Hold **Hold to Restore**

A restore replaces everything that changed since the backup. Right before it we save the current state as a backup of its own, named **State before a restore**. It fills no slot, is kept for 7 days and can be restored in turn. That is how you undo a restore.

A restore also brings back the configuration files of that time. If you reset the database password since the backup, set it again afterwards, or the website cannot reach its database.

## Deleting a Backup

1. Switch to the **Backups** area and click the backup
2. Hold **Hold to Delete**

The backup is gone for good and its slot is free again.

## Automatic Backups

You can have backups taken on a schedule, daily or weekly at a time you choose.

1. Switch to the **Backups** area
2. Click **Automatic backups**
3. Turn them on, choose how often and at what time, and set under **Keep** how many automatic backups stay

The time is meant in the time zone of your account.

How automatic backups use your slots:

- Each automatic backup fills a backup slot, just like one you take yourself.
- Once the number under **Keep** is reached, the oldest automatic backup is deleted as soon as the new one is there.
- Backups you took yourself are never deleted automatically. If they fill every slot, the automatic backup is skipped and you get a notification.
- If a backup or restore is already running at the planned time, it is tried again every 15 minutes for up to two hours.

In the list, automatic backups carry the note **Automatic**. When you turn the schedule off, the automatic backups that exist stay until you delete them.

## A Backup Before a Change

When you change the [PHP version](/en/docs/webspace/php-version/) or the [application](/en/docs/webspace/install-cms/), the dialog offers the switch **Create a backup first**. It takes the backup, waits until it is finished and only then makes the change.

## Notifications

Automatic backups report in the **Webspaces** category:

- **Automatic backup created** — as a push and in the dashboard, never by email
- **Automatic backup failed** — the planned backup could not be created
- **Automatic backup skipped** — no slot was free or another operation was running

Which channels you get is set in the [notification settings](/en/docs/account/notifications/).

## Permissions

Creating, restoring and deleting backups and changing the schedule is open to **Owner** and **Collaborator**. With the role **Read-only** you see the backups and the schedule.

## Via API or AI Agent

Everything here also works through the [Webspace API](/en/docs/api/webspaces/#webspace-backups-list) and the [MCP server](/en/docs/api/mcp/):

| Action | REST | MCP tool |
|---|---|---|
| Read backups, slots and schedule | `GET /api/v1/webspaces/:id/backups` | `webspace_list_backups` |
| Create a backup | `POST /api/v1/webspaces/:id/backups` | `webspace_create_backup` |
| Restore a backup | `POST /api/v1/webspaces/:id/backups/:backupId` | `webspace_restore_backup` |
| Delete a backup | `DELETE /api/v1/webspaces/:id/backups/:backupId` | `webspace_delete_backup` |
| Set up automatic backups | `PUT /api/v1/webspaces/:id/backups/schedule` | `webspace_set_backup_schedule` |

Reading needs only the scope `webspace:read`, everything else `webspace:manage`.

## Troubleshooting

**"Create Backup" is disabled** — all slots are in use, or a backup or restore is running. Wait until it is finished, delete a backup or add a slot.

**A backup says "Failed"** — it did not finish and fills no slot. Delete it and create a new one. If it keeps failing, contact support.

**After a restore the website shows a database error** — the database password was changed since the backup. Reset it again.

## Next Steps

- [Change the PHP version](/en/docs/webspace/php-version/)
- [Install a CMS](/en/docs/webspace/install-cms/)
- [Set up SSH and SFTP access](/en/docs/webspace/ssh-access/)
