Skip to Content

Environment backups

Back up a whole environment — its app volumes and databases — on a schedule or on demand, and restore any of it as a copy.

A recovery point holds an environment's volumes (the disks attached to your apps) and its databases, taken together. You can take one on demand or on a schedule, and restore some or all of it as a copy next to what is running.

This page covers the schedule and volumes. For restoring a database and moving your apps onto the copy, see Database backups and restore.

Open Backup and restore

On the project canvas, click + Service, then Backups (Snapshots and restore for this environment). The row is only listed once the environment has something in it.

The Add to Dev menu with Backups: Snapshots and restore for this environment
The Add to Dev menu with Backups: Snapshots and restore for this environment

Backup and restore has two tabs: Backups (the schedule, Back up now and the recovery points) and Restore.

Turn on a schedule

Edit the schedule

Under Schedule, a new environment says Off — back up on demand. Click Edit.

There are three cadences: Daily, Weekly and Monthly. Tick the ones you want and choose how long each keeps its recovery points.

CadenceRuns
DailyEvery day at 02:00
WeeklySundays at 03:00
MonthlyOn the 1st at 04:00
The schedule editor: Daily ticked with Keep 6 days, Weekly and Monthly unticked
The schedule editor: Daily ticked with Keep 6 days, Weekly and Monthly unticked

The retention choices are Keep 3 days, 6 days, 7 days, 14 days, 1 month, 3 months, 6 months and 1 year. The defaults are Keep 6 days for Daily, Keep 1 month for Weekly and Keep 3 months for Monthly, capped by your plan: we saw Keep 1 month for Monthly on a Business plan.

Your plan caps how long recovery points are kept: 7 days on Developer, 14 on Pro and 30 on Business. The menu lists every choice, but a longer one is saved as your plan's maximum. The Free Trial has no backups. See Billing.

The retention menu: Keep 3 days to Keep 1 year
The retention menu: Keep 3 days to Keep 1 year

Save and deploy

Click Save. Like other canvas changes, the schedule is staged ("Schedule staged. Commit to apply."). Click Commit 1 change; the dialog lists Save backup schedule — when recovery points run and what they cover. Click Deploy 1 change.

1 change to apply: Save backup schedule
1 change to apply: Save backup schedule

The schedule now reads, for example, Daily · keep 6 days.

Backup and restore with Schedule: Daily · keep 6 days
Backup and restore with Schedule: Daily · keep 6 days

If the environment still has a separate database dump schedule, the editor adds: "Every backup already saves this environment's databases, so saving also turns off the separate database dump schedule."

Nothing is backed up until you turn on a schedule or click Back up now: StackBlaze never turns backups on for you.

When you reach the disk cap

While your workspace is at its plan's disk cap, scheduled backups pause. The sheet says "Scheduled … backups are paused — disk cap reached. They resume automatically once usage drops below the cap." You don't need to turn them back on.

Turn it off

To turn the schedule off, click Edit, untick every cadence and click Save. The commit dialog lists Save backup schedule — turns volume backups off; deploy it and the schedule reads Off — back up on demand again. Existing recovery points stay.

Back up now

Click Back up now. It is staged too: click Commit 1 change, check Create a recovery point — backs up volumes and databases, and click Deploy 1 change. The new point shows Backing up… ("usually a minute or two") until it is done.

A point taken with Back up now is kept for 7 days, or less if your plan keeps backups for less. To back up only some services or databases, select their cards and use Backup in the selection bar (see Other ways to back up).

Each recovery point lists what it holds and how it was taken, for example 1 database · 1 volume · on demand. Click a point to open it: it lists its Databases and Volumes (with the app each volume belongs to), and Delete recovery point.

A recovery point opened: the postgresql database, the data volume of nginx, and Delete recovery point
A recovery point opened: the postgresql database, the data volume of nginx, and Delete recovery point

Restore a volume as a copy

Restoring never touches what is running: it creates the copy next to it, under a new name. Copies are billed like any other volume or database.

Choose what to restore

Open the Restore tab. Pick the recovery point under From. Under What, keep Everything or pick Choose… and tick only what you need — here, the data volume of nginx. The summary names the copy, for example "Adds data-restored from Nov 24, 2026, 12:19 PM, next to what is running. Nothing running changes."

Restore with Choose…: only the data volume ticked, and the copy it adds
Restore with Choose…: only the data volume ticked, and the copy it adds

Stage and deploy

Click Stage restore, then Commit 1 change. Type copy to confirm and click Deploy 1 change.

1 change to apply: Copy from the recovery point, with copy typed to confirm
1 change to apply: Copy from the recovery point, with copy typed to confirm

The copy, data-restored, appears on the canvas as its own card, next to the app and its original volume.

Restoring a database works the same way; Database backups and restore shows it end to end, including Switch instance to move your apps onto the copy and how to delete a recovery point.

Restoring from the dashboard or the CLI always creates a copy; it never writes over a running volume or database.

From the CLI

stackblaze backups does the same for an environment:

stackblaze backups create --wait -p shop -e dev
stackblaze backups list -p shop -e dev
stackblaze backups restore <id> --volume data --wait -p shop -e dev
stackblaze backups schedule -p shop -e dev
OK github-demo-gv35/dev scheduled backups: off
Set the schedule in the dashboard (environment → Backups). The CLI never creates a schedule.

On this page