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

# Backups

> Create, schedule, and restore backups for applications, databases, and files — stored locally or on S3-compatible cloud storage.

<Info>
  **Path:** Backups (`/backups`) — Admin only
</Info>

## Stats Overview

| Card                 | Shows                                  |
| -------------------- | -------------------------------------- |
| **Total Backups**    | All backups across all types           |
| **Local Size**       | Total disk space used by local backups |
| **Active Schedules** | Running backup schedules               |
| **Remote Synced**    | Backups uploaded to remote storage     |

***

## Tabs

### Backups (Manual)

Lists all existing backups. Filter by:

* **Type pills:** All / Application / Database / Files / WordPress
* **Website dropdown:** Show backups for a specific site
* **Name search:** Filter by backup name

**Backup list columns:**

| Column     | Description                                      |
| ---------- | ------------------------------------------------ |
| **Name**   | Backup display name                              |
| **Site**   | Application or site this backup belongs to       |
| **Type**   | Application / Database / Files / WordPress badge |
| **Synced** | Whether it has been uploaded to remote storage   |
| **Size**   | Backup file size                                 |
| **Date**   | Creation timestamp                               |

**Per-backup actions:** Restore, Upload to Remote, Delete.

#### Creating a Backup

Click **Create Backup** to open the modal:

* Choose type: Application, Database, WordPress, or Files
* Select the target app, WordPress site, or directory path
* Optionally provide database credentials if needed

### Schedules

Automated backup schedules with individual website and name filters.

**Schedule list** — expandable rows showing:

* Type, frequency, scheduled time
* Storage location (Local / Remote)
* Last run status (success/error badge)
* Next run time

**Per-schedule actions:** Run Now, Enable/Disable, Delete.

For WordPress backup schedules, expand the row to see **individual backup records** for each scheduled run.

#### Adding a Schedule

Click **Add Schedule** to configure:

| Field             | Options                                    |
| ----------------- | ------------------------------------------ |
| **Name**          | Display name                               |
| **Type**          | Application / WordPress / Files / Database |
| **Target**        | Which site, app, or path                   |
| **Frequency**     | Hourly / Daily / Weekly / Monthly          |
| **Time**          | Hour of day to run                         |
| **Remote Upload** | Automatically sync to remote storage       |

### Storage

Configure where backups are stored.

**Provider cards** — select one:

| Provider         | Protocol                 |
| ---------------- | ------------------------ |
| **Local**        | Filesystem on the server |
| **Amazon S3**    | S3 API                   |
| **Backblaze B2** | S3-compatible            |

**Per-provider fields:**

* Bucket/container name
* Endpoint URL (for S3-compatible)
* Access key and secret key
* Region

**Remote options** (if not Local):

* **Auto Upload** — push backups to remote storage automatically
* **Keep Local Copy** — retain a local copy after upload

**Retention** — slider from 1 to 365 days. Backups older than the retention period are automatically deleted.

**Test Connection** — verifies credentials before saving.

***

## Restoring a Backup

1. Find the backup in the **Backups** tab
2. Click **Restore**
3. Confirm in the dialog — review the backup name and creation date
4. The restore runs in the background; the site is briefly in maintenance mode

<Warning>
  Restoring overwrites the current site files and database. There is no undo — create a fresh backup of the current state before restoring an older one.
</Warning>
