Space Works platform: Running Space Works
Encrypted backups, offsite copies and safe restore
Backups and restore in Space Works is an always-on platform duty that makes signed, encrypted archives of the whole deployment and of each space, copies them offsite and restores them with a preview.
Backup has no switch: a space cannot opt out of being backed up, and the superadmin's platform key always unlocks every archive. Space Managers see a read-only Last backup line and use data export for their own copy, while the superadmin restores and runs drills.
01 · Capabilities
What Backups and restore does
A whole-deployment archive of the database and object files is signed and encrypted to the platform key nightly at 02:00 and on demand.
Each space also gets a nightly one-space archive, plus a Back up now button for the superadmin.
Nightly archives keep 7 daily and 4 weekly copies, and every update first takes a pre-update database dump.
Offsite copies go to any S3-compatible bucket you own, such as R2, B2, S3, Supabase Storage or MinIO, and count only after a read-back and SHA-256 check.
Verified copies are re-checked every 30 days, and the newest verified copy of each destination is never pruned.
Restoring one space shows a preview, needs a recent sign-in and the space's slug, and takes a safety backup first.
Append-only records are never rolled back: the live audit history, payments and newer evidence photos are kept and flagged.
The server drills one space weekly by restoring it into a throwaway database, and failures email the superadmins.
02 · Step by step
How Backups and restore works
Nightly archives run automatically; add an offsite destination under Data and recovery and test it.
Keep the platform key and a copy of the environment file off the server.
To restore one space, choose it, pick a restore point and read the preview of what is replaced and kept.
Confirm with a recent sign-in; the Space Managers are told when the restore completes or fails.
03 · Roles
Who uses it
| Role | What they can do |
|---|---|
| Platform superadmin | Takes and restores backups, manages offsite destinations and watches restore drills. |
| Space Manager | Sees the last backup and requests a readable data export of the space. |
FAQ
Backups and restore: questions and answers
Are Space Works backups encrypted?
Yes. Space Works archives are encrypted to the platform key, and whole-deployment archives are also signed. Keep that key off the server.
Can I restore just one space?
Yes. Space Works restores one space from its own restore points with a preview and a safety backup first, and other spaces are never changed.
Where can offsite backups go?
Any S3-compatible bucket you own, such as Cloudflare R2, Backblaze B2, Amazon S3, Supabase Storage or MinIO elsewhere.
Free and open source
Run it on your own server
Space Works is free under AGPL-3.0-or-later. One command installs it on a 64-bit Linux server, and every area can be switched on later.