Backups and restore

Scheduled and on-demand database backups on DASTER, and how to restore a backup into a new generation without touching live data.

Last updated

Backups

Open PostgreSQL › Backups.

  • Back up now takes a verified backup.
  • Scheduled backups run every 6, 12 or 24 hours, as your size allows, and are kept from 1 day up to your size's maximum. The schedule is shown above the backup list and on the Point in time tab.
  • Restore puts a backup into a new generation of the database. Restore history lists every restore.

Backups cover the database schema, data, policies and functions. They do not cover Storage files, your app's users and sessions, or your DASTER account.

Point-in-time restore

Note: Point-in-time restore is not available on the Mumbai database server yet. A request answers 409 pitr_not_available. Scheduled backups and restoring a backup keep working.

When it is available:

  1. On Backups › Scheduled backups, open the Point-in-time restore card.
  2. Pick any minute inside the restore window for your database's size.
  3. Confirm with the acknowledgement. A sign-in within the last 10 minutes is needed.
  4. The card follows the restore to Restored or Failed, and the PostgreSQL pages reload the new generation.

A restore never overwrites the live database: the restored copy becomes a new generation. If a restore fails, the live database is untouched. One restore runs per project at a time.

The Point in time tab lists restores to a point in time made by your team or by DASTER support.

With the API

HTTP
POST /v1/projects/{projectId}/backend/backups/point-in-time?organizationId={organizationId}
Content-Type: application/json

{ "restoreTo": "2026-10-31T09:15:00Z", "confirmed": true, "idempotencyKey": "pitr-1" }

The answer is 202 with { "id", "state": "requested", "restoreTo" }. restoreTo is ISO 8601 and is cut to whole seconds.

RoutePurpose
GET …/backend/backupsBackups and the schedule
POST …/backend/backupsBack up now
POST …/backend/backups/{backupId} with { "confirmed": true }Restore a backup
GET, PATCH …/backend/backups/policyRead or change intervalHours and retentionDays
GET …/backend/backups/point-in-timeThe window (earliest, latest) and the last 20 restores

Refusals include restore_time_out_of_range, restore_time_in_future, restore_point_unavailable and restore_in_progress (409), and fresh_confirmation_required when your sign-in is older than 10 minutes.