# Panes

Canonical: https://usepanes.com/docs/backups

## Backups

Backups are optional. PATCH `/v1/machines/{id}` with `{"backup":true}` enables them. Each hour, Panes copies a changed, stopped computer and keeps its latest two copies on separate storage.

Prices: **$0.018 per GB-month** of copies kept, charged hourly; **$0.00035 per GB** copied; **$0.0003 per GB** restored. GB means 1,000,000,000 bytes. The computer's `backup` object gives bytes, copies and prices.

POST `/v1/machines/{id}/restore` with `{"copy":"<backup.copies[].id>"}` restores a stopped computer. Restore can take about half an hour. Wait until `backup.restoring` clears before starting; a failure leaves the old computer and sets `backup.restore_error`.

Disabling backups with `{"backup":false}`, or deleting the computer, deletes its copies and ends their charge. A computer without backups enabled has no backup copies. Download important outputs yourself.
