Docs / Secrets and data / Backups, export and purge
Backups, export and purge
Nightly backups, an export of everything you can see, and a purge that stays purged through a restore.
Your controls
| Download | Your repo copy | Your runner | Nightly backup | |
|---|---|---|---|---|
| Records you can see | yes | yes | yes | yes |
| Your own prompts | yes | if you choose | yes | yes |
| Other people's prompts | no | no | no | yes, never shown |
| File bytes | from Files | no | no | yes |
| Never-in-git records | yes | no | yes | yes |
| Purged words | no | removed by a commit | gone at the next copy | purged again on restore |
How each works
- Export everything streams one zip of every part you can see, with the same files as your repo copy. An owner can export the whole workspace.
- Your runner copies the same files once a day into a folder on your own machine, using the runner's own sign-in, so no password or key is kept here. Switch it on per runner under Your data. Each copy replaces the last only once it is whole.
- Restore from an export: an owner brings a download, unzipped, or a repo copy's folder back into a new, empty workspace. Projects, items with their notes, requests, docs at their newest version, handovers and reports come back with their dates; prompts, threads, file bytes, schedules and learnings stay in the export to read. A restore cut short keeps what came back: run it again within a few hours to go on.
- Backups run nightly and are kept 15 days. Each one is a whole copy, so a restore needs only one. A large workspace is read and sent a part at a time, up to 1 GB compressed, and a restore puts it back a step at a time. From 70 percent of that limit, the Deck and Your data warn an owner or maintainer with what to do. A night with no change sends nothing.
- Restore from a backup goes only into a workspace with no work in it. The whole backup is read, checked and rehearsed in a throwaway copy before anything is replaced. Every purge is replayed, so purged words stay gone.
- Purge takes every copy of the words, search included, and the numbers meaning search keeps for them. A tombstone stops the plugin sending them again.
- What each project keeps of prompts (every prompt, each person's say, or nothing), the default for new projects, and each person's yes to a project that keeps every prompt are kept in a ledger, so a restore never keeps more than was said: an old yes never comes back. Where files go, the workspace's and each person's, is ledgered the same way, so a restore never brings back an older, looser choice.
- Deleting a project is the workspace owner's alone, from the project's settings, and only once it is archived: the page shows how many of each record go, and waits for the project's id typed. Every record in it goes through its own purge, so a restore deletes it again. Prompts filed there stay with their person, unfiled. Archiving instead keeps everything readable, and freezing keeps it readable and can name the day it comes back on.
- When someone leaves or is removed, their prompts stay theirs: they can export and purge them for 30 days, then they expire.
- The Your data page lists every fact about what is stored, shown and kept, line by line, and has a public copy you can read before signing in.
Files
- A file up to 25 MB goes up in one. On Pro a bigger picture, video or archive goes up in parts, up to 2 GB, kept only once the whole of it matches the fingerprint sent first. Text stops at 2 MB, so it can be masked.
- Files are served as a download, a plain picture or plain text. Never as a web page.
- The Files list leads each row with a small square: a picture's thumbnail, made once and kept beside its bytes, or an icon for its kind. A purge takes the thumbnail with the file.
- A file can carry a keep-or-delete rule: it goes once its report is decided, its item closes, or on a day. With no rule it is kept, and your own upload is always kept unless you say otherwise.
Work for an employer
Keep an employer's work in a workspace of its own, and mark it as holding work data under Setup, Workspace. The mark can go on at any time, and comes off only while the workspace holds no work.
- Its repo copy stops until an owner restarts it, confirming the employer's rules allow it.
- It takes no public share links, its old links stop answering, and it publishes nothing to the learning hub.
- Your own Inbox shows titles only from workspaces on the same side of the wall. Across it, either way, a workspace shows as counts alone, and the page says why.
- A card copies only between two workspaces that both hold work data, or both don't.
- Your own items, reports, docs and files can move into it from a personal workspace of yours, words you and your own agents wrote only. Your agents do it for you by default (Move into work, on the agent permissions grid, which a workspace, role, project or you can switch off). Out of it, into a workspace without work data that you own, your agents move them for you only once you turn on Move out of work on your own row of agent permissions in the work workspace, with Project move on in both, and into one that others also have a seat in only when they name it again (confirm_shared) after you say so; a workspace, role or project can forbid it, and only your own words go. On the screen there is no move-out control for a doc or a file. A file moved on its own that something staying holds is refused: move what holds it.
- A workspace holding work data takes back only an export marked as work, and one without only an export that isn't.
Your own storage bucket
A workspace can connect its own bucket under Setup, Storage: AWS S3, Backblaze B2, Wasabi, Google Cloud Storage, MinIO and other S3 services, or an Azure Blob Storage container. Its files are kept there instead of in CommonRig's storage, and each night an export of its records is copied into it as well, in the export format, so a full copy of your work sits in storage you hold.
- With a key: one limited to that bucket, kept encrypted and never shown again.
- With no key at all, on AWS: your account trusts CommonRig as an identity provider for one role whose trust policy names this workspace alone. Each time, CommonRig signs a five-minute token for this workspace and AWS swaps it for keys that last an hour; nothing long-lived is kept on either side. Setup, Storage shows the steps and the trust policy to paste.
- On Azure, always with no key, as Azure has no key limited to one container: an app in your Microsoft Entra tenant carries a federated credential that trusts CommonRig for this workspace alone (subject workspace:<id>, audience api://AzureADTokenExchange), with Storage Blob Delegator on the storage account and Storage Blob Data Contributor on the one container. CommonRig signs a five-minute token, Entra trades it for access, the account hands back a user delegation key held in memory for a few hours, and every upload and download link is a user delegation SAS lasting 10 or 5 minutes. Only the tenant and app ids are kept. Setup, Storage shows the Entra steps, the credential and the same as Azure CLI lines to copy.
- On Azure your browser never gets a link that writes a file's own name: it uploads to a staging blob under commonrig/<workspace>/.staging/, and CommonRig checks that blob (its size, its sha256 up to 64 MB, a picture's first bytes) and has Azure copy it into place. Larger files have their sha256 read that night before a move trusts it; until then the file shows the sha256 its uploader gave, and if the bytes say otherwise the record takes theirs and the audit says so. Staging blobs left by an unfinished upload go after a day.
- To cut CommonRig off from an Azure container at once: remove the federated credential from the app, then run az storage account revoke-delegation-keys on the storage account, which ends every link already signed.
- With blob versioning or soft delete on, a file you purge stays in your account until that retention ends; the connection test says when it finds either.
Checked against the code at e28af69c. Site built from f04f4af1.