---
title: "DNS backups"
description: "Automated daily backups of your Edge DNS zones for $1/month per zone, with manual snapshots, JSON download and one-click restore via console or API."
url: "https://edge.network/docs/dns/backups"
section: "DNS"
---

# DNS backups

Automated daily snapshots of your DNS zones. Download them as JSON, restore in one click, and never lose a DNS configuration again.

> [!TIP]
> **$1/month per zone.** Enable daily backups on any DNS zone. Includes automated daily snapshots, manual on-demand backups, JSON download and one-click restore. Automated backups are retained for 30 days.

## How it works

1. Open a DNS zone and navigate to the **Backups** tab.
2. Click **Enable ($1/mo)** to activate daily backups for the zone.
3. Automated backups run daily at 02:00 UTC. You can also create manual backups at any time.

## Backup types

- **Auto:** created automatically at 02:00 UTC daily. Subject to the retention policy.
- **Manual:** created on demand via the **Create Backup** button. Useful before making major changes.
- **Pre-restore:** created automatically before a restore operation, so you can always undo a restore.

## Retention

Automated backups expire after 30 days. Manual and pre-restore backups do not expire automatically.

| Plan | Retention |
|---|---|
| Hobbyist | 7 days |
| Dev | 7 days |
| Startup | 30 days |
| Scaleup / Business | 30 days |
| Enterprise | 90 days |

## Restoring from a backup

1. Go to the **Backups** tab on the zone.
2. Click the restore icon on the backup you want to restore.
3. Confirm the restore. A safety backup of the current state is created automatically.
4. All records are replaced with those from the backup.
5. Changes are pushed to the DNS network immediately.

> [!WARNING]
> **Safety first.** A pre-restore backup is always created before restoring. If the restore doesn't produce the desired result, you can restore from the pre-restore backup to undo it.

## Downloading backups

Click the download icon on any backup to save it as a JSON file. The file contains all DNS records for the zone at that point in time.

## API

| Method | Endpoint | Description |
|---|---|---|
| `GET` | `/api/dns/zones/:id/backups` | List backups for a zone |
| `POST` | `/api/dns/zones/:id/backups` | Create a manual backup |
| `GET` | `/api/dns/zones/:id/backups/:bid` | Download a backup as JSON |
| `POST` | `/api/dns/zones/:id/backups/:bid/restore` | Restore from a backup |
| `DELETE` | `/api/dns/zones/:id/backups/:bid` | Delete a backup |
| `POST` | `/api/dns/zones/:id/backups/enable` | Enable daily backups ($1/mo) |
| `POST` | `/api/dns/zones/:id/backups/disable` | Disable daily backups |
