Skip to content
Docs
strackt.io Open app

Backups

How strackt protects your application's data and how to restore it.

Backups

A backup in strackt is a point-in-time snapshot of an environment that you can restore onto any compatible server in your workspace. You choose where the snapshots go and how often they're taken; strackt handles taking them and putting them back.

Where your backups go

There are two destinations, and you can use either:

  • A backup destination on a server you own. You set up a receiver on one of your own servers, and strackt replicates snapshots to it. Everything stays on infrastructure you control.
  • Your own object storage. Point strackt at an S3-compatible bucket — Hetzner Object Storage, AWS S3, Backblaze B2, or anything that speaks the same protocol — using your own credentials. Snapshots are encrypted before they leave your server.

Off-server backup reminders

strackt keeps reminding you about any application that doesn't have a working off-server backup yet, until it has one.

Which applications. An application counts once its production environment has deployed at least once on one of your servers. Staging and preview environments don't count, and neither does an application hosted on a Layover or one that hasn't deployed yet. Databases and other services aren't part of this check yet: an application can read as backed up while its database has no off-server copy.

When a backup counts as working. At least one backup of the production environment, to either destination, has finished a copy, and its latest copy is on time. A backup you turned on in the last two days counts as starting, not missing.

Where you see it. An application without one is marked amber in your list of applications, its page shows a card, and its production Protection page shows a notice with the next step: connect your backup storage, or turn on a backup. The monthly report names these applications too.

Turning the reminders off. Some applications don't need an off-server copy, such as a static site you can rebuild from its repository. For an application with no backup at all, the workspace owner can choose This application doesn't need off-server backups on its production Protection page. The page then shows who turned the reminders off and when, and Remind me about off-server backups again turns them back on. Turning on a working backup also turns the reminders back on.

Setting up backups during onboarding

After your first production deploy on your own server, you can connect backup storage directly from the launch screen. For Backblaze B2, create the bucket first, then create an application key that can read and write that bucket. Paste the endpoint, region, bucket name and access keys into the form, then choose Save and verify. Save the recovery key when it appears.

Once your bucket is verified, strackt turns on nightly backups for that application, even if you close the tab. If you already connected a verified bucket, choose Back up your application every night. New backups run daily at 03:00 UTC; you can change the schedule on the application's Protection page.

Not now hides this setup offer. You can connect storage later in Settings → Backup destinations and turn backups on from Protection. Reminders about missing or broken off-server backups continue until you resolve them or dismiss them for the application. This setup covers the application; it does not turn on database backups.

You hold the key

When you back up to your own object storage, strackt generates one encryption key for your workspace and shows it to you once to save. From then on, every backup is encrypted with it. strackt stores the key only in its secret vault and never writes it into a backup — which means the backups are yours in the strongest sense: with your key and your storage credentials, you can restore your own data using standard open-source tooling, even if strackt itself were unavailable. The point of customer-owned encryption is that strackt doesn't have to be in the loop for you to get your data back.

Scheduling

Each backup runs on a schedule you pick — anything from every fifteen minutes up to weekly, or a custom schedule if you need something specific — in the timezone you choose. When you set it up, strackt shows you the next several times it will run, so you can confirm the timing before saving.

A new backup starts on its own once it's switched on; you don't need to wait for its first scheduled time. A backup to one of your own servers copies the environment's newest automatic checkpoint, so a copy is normally up to an hour older than the run. Those checkpoints are taken hourly, so a schedule more frequent than hourly does not produce fresher copies. The restore list shows each copy's own date and time.

Restoring

To restore, open the environment's Protection page and, under Off-server protection, choose Restore from a backup and pick a snapshot. The restore lands on the server the environment is on. strackt stops the running services there, puts the snapshot's data back in place, and redeploys the environment so it comes back up on the restored data. A restore is a tracked operation you can watch, the same as a deploy.

To restore onto a different server, for example when you're recovering onto fresh hardware, first put the environment on that server, then restore. The server must be a connected server in the same workspace. See Recover from a lost server.

Kept backups

Turning a backup off, removing an environment or removing a service stops future backups. It does not delete the copies already stored off the server. You can restore a kept set, or delete it once you no longer need it. Until you delete it, it keeps using storage.

Open Settings → Backup destinations and look under Kept backups. Each row shows the source's name, the size, and when its last copy was made. A set whose source is gone for a couple of weeks is marked with a suggestion to delete it, so you can stop paying for the storage. Nothing is deleted unless you ask.

Restoring a kept set

  1. As the workspace owner, choose Restore on the kept row.
  2. Pick a dated restore point.
  3. Pick where to restore it.
  4. Type the target's name to confirm.

You then land on the target's Protection page, where you can watch the restore like any other.

Where you can restore:

  • An app's backups restore into an environment of the same app in the same workspace. Your target keeps its own settings, including environment variables and configuration; the set's settings are not brought along.
  • A service's backups restore into a service of the same type with its own Cloud backup turned on. For MariaDB and PostgreSQL, versions must be in the same major line, and you can't restore into an older version.
  • Copies kept on one of your servers can't be restored onto that same server.

Before you confirm, check the safety net:

Restoring into From What happens to your current data
An environment One of your servers Your current data is saved first, so you can undo the restore.
An environment Cloud Your current data is replaced and local restore points are removed. There is no undo.
A service Either destination The target's own Cloud backup runs first. The restore won't start unless that backup succeeds.

What the messages mean:

  • "Another restore of this environment is still running. Wait for it to finish, then try again."
  • "An earlier restore of this environment stopped part-way. Contact support to finish it before restoring again." Support finishes the earlier restore, then you can restore again.
  • "We can't check which version this set holds. Contact support to restore it."
  • "We can't check what service this set belonged to. Contact support to restore it."

Deleting a kept set

Where Delete is shown, choose it, type the name shown, and confirm. The row shows Deleting… while strackt removes it, and it leaves the list when it is done. Deleting cannot be undone. If your workspace has no Delete button on a set yet, the set stays listed and kept.

  • If a backup is still using the same storage, the row reads In use by a backup. Stop that backup first, then delete the set again.
  • While a restore of the set is running, deletion is refused: "A restore is reading these backups. Delete them again once it has finished."
  • If strackt can't confirm that the restore has finished, the row reads "A restore of these backups may still be running. Contact support to finish it."
  • If a set could not be removed, the row says so. Contact support and we'll remove it.
  • If a set is in storage your workspace no longer uses, the row says so. Delete it from that storage's own dashboard, then choose Remove from list.

When a scheduled backup fails

If a scheduled backup run doesn't complete, the environment's Backups panel shows Last copy failed with the reason, and the schedule carries on — one missed run doesn't stop future ones. See Check that your backups ran. The important thing to know is that a failed run means that point in time wasn't captured, so it's worth clearing the cause rather than waiting.

The two most common reasons a run fails:

  • The destination can't be reached. If you back up to a server you own, check that server is online. If you back up to object storage, check the bucket still exists and your credentials are still valid — a rotated access key or a bucket that filled up will stop runs until it's sorted.
  • The source server was busy or briefly offline. A transient blip during the run can cause it to fail. These usually clear on their own by the next scheduled run.

What to do: fix whatever the failed run's reason points at — most often the destination — then either wait for the next scheduled run or take a manual snapshot to capture the current state right away. If runs keep failing while the destination looks healthy, reach out and we'll take a look with you.

When a restore doesn't complete

A restore is a tracked operation, so if it can't finish you'll see where it stopped, the same as a deploy. Your other environments and servers are untouched. If the restore shows a message asking you to wait or to contact support, do that first. For a kept set, see what its messages mean.

What to do:

  1. Check the target server. A restore needs the server you're restoring onto to be connected, online, and with enough room for the environment's data. A target that's offline or short on disk is the most common cause.
  2. Try a different target if you have one. If one server won't take the restore, pick another eligible target and restore there.
  3. Try the restore again. Transient issues during the copy often clear on a second attempt from a clean state.

If a restore keeps failing on a healthy server, reach out — recovering your data is exactly the moment we want to help directly.

Was this helpful?