# Backups

> Create, schedule, and restore backups for database services.

Services with the `database` kind support backups, from the Backups tab of the [inspector](/docs/control-plane) or the CLI. Backups also appear as lightweight attachments on the service node.

## Create a backup

```bash
yalla backups create --service cache --env production
```

## Restore

List recent backups, then restore a known-good one by its ID:

```bash
yalla backups list --service cache --env production
```

```bash
yalla backups restore <backup-id> --service cache --env production
```

> [!CAUTION]
> Restoring replaces the current data of the service. Take a fresh backup first and confirm the target environment before you proceed.
