# Backups & snapshots

> Automated daily backups and on-demand snapshots, stored in a second region.

Source: https://docs.avenlith.com/en/backups-and-snapshots  
Category: Servers & compute  
Last updated: 2026-09-22

## Backups vs. snapshots

| | Backups | Snapshots |
| --- | --- | --- |
| Created | Automatically on a schedule | Manually or via API |
| Stored | In a second region | In the same region |
| Retention | 7–90 days | Until deleted |
| Price | +20% of the server price | €0.02 per GB-month |

## Configure a policy

```bash
avenlith backup policy set web-01 --daily 03:00 --retain 14
avenlith snapshot create web-01 --name before-upgrade
avenlith snapshot restore web-01 --snapshot before-upgrade
```

Backups are crash-consistent. For databases, enable the pre-backup hook to flush tables or use native tools such as `pg_dump`.

> **Tip:** > Take a snapshot before every major upgrade. Restoring takes about a minute for a 100 GB disk.

## Restore to a new server

You can restore any backup into a new server in a different region — useful for disaster-recovery drills and for cloning production into staging.
