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

# Backups and Snapshots

> Protect data with snapshots, automated backups, and replication.

Backups are not enabled by default. We recommend enabling automated backups or scheduling snapshots for production workloads.

## Instance snapshots

Snapshots capture a full point-in-time image of your server (OS, apps, data).

* Incremental snapshots store only changed blocks.
* Create snapshots without downtime.
* Restore quickly or launch new instances from a snapshot.
* Copy snapshots across regions.

Pricing (international USD): \$0.253 per GB per month (same as Universal SSD storage).

## Automated backups

Automated backups run on a schedule and retain multiple restore points.

* Schedules: hourly, daily, weekly, or custom.
* Retention: 7, 30, or 90 days.
* Optional backup windows and email notifications.

Pricing (international USD): \$0.15 per GB per month.

## Volume snapshots

Use volume snapshots for more granular backup control.

```bash theme={null}
# Create a volume snapshot
lineserve volume snapshot create \
  --volume-id vol-abc123 \
  --name "db-backup-2024"

# Restore to a new volume
lineserve volume create \
  --snapshot snap-xyz789 \
  --size 100
```

## Cross-region replication

Replicate snapshots to other regions for disaster recovery.

* Automatic replication to one or more regions.
* RPO under 1 hour, RTO under 15 minutes.
* Store replicas in Nairobi, Lagos, or Dar es Salaam.

## Best practices

* Enable automated backups for all production servers.
* Test restores at least quarterly.
* Use the 3-2-1 rule: 3 copies, 2 media, 1 off-site.
* Replicate critical data to multiple regions.
