Oncall
All docs

Your data

Export and restore

Your schedules, incidents, team and history live in your own installation. You can take all of it with you, or put it back, at any time.

Export everything

Shell
"$HOME/.local/bin/rer" export --output exports/installation.rer

The archive holds everything Oncall keeps: services, schedules, incidents with their timelines and reviews, alerts, routing rules, the team and the move-in journal. Sign-in sessions, passwords and private settings are never in it. Stop dev first. Keep the archive private: imported pager files you moved in from may contain people's names and email addresses.

Shift coordination is included: swap requests and decisions, approval settings, recorded change obligations, reminder preferences and subscription records. Raw calendar URLs are never stored or exported. Native, paired-checkpoint and installation recovery retain these records inactive and clear subscription hashes. Restored swaps cannot be accepted and restored feed records grant no access. Subject erasure removes their owned and indirect person references atomically. Alert-only coordination history, revisions and replay-safe bulk results stay in the existing alert/triage categories.

Permanent operational audit

The permanent audit is a separate durable category in installation transfer. It contains safe operation metadata and permanent random labels, with no credentials, raw hashes, credential labels or payload content. Its identity associations can be erased without rewriting the append-only entries. Incident timelines and imported operational history remain separate and retain their own custody rules. Administrators can read the dedicated protected GET /api/audit/export; see Permanent operational audit for authority and erasure limits.

Restore into a new installation

Install the rer command first; it provides its own Node runtime. In an empty folder, fetch Oncall without starting it:

Shell
"$HOME/.local/bin/rer" install just-every/run-oncall
cd run-oncall
mkdir -p exports

Alternative for people who already have Node 22 or later: use npx -y @runeditrun/rer install just-every/run-oncall for the first command. After cd run-oncall, prefix subsequent rer commands with npx -y @runeditrun/rer too if you have not installed the launcher.

Copy your private archive into the new checkout's exports directory, then restore:

Shell
"$HOME/.local/bin/rer" import --input exports/installation.rer --yes

Import checks the archive first and only restores into an empty installation, so it can never overwrite data by accident. Then run "$HOME/.local/bin/rer" setup --owner-email you@example.com and "$HOME/.local/bin/rer" dev. Open the private owner entry printed by dev and confirm the new installation owner. Open your restored workspace then asks you to map an archived administrator; it opens the chooser automatically. If you use email sign-in instead, real mail delivery must be configured first. Choose your active archived administrator and confirm the identity to link it to your installation owner. Passwords do not travel with the archive.

The chooser shows archived names and IDs so you can distinguish duplicate names. Archived member records do not contain email addresses; the chooser says email not recorded. The list is available only to the signed-in installation owner while the installation has no password accounts and no existing owner-to-member mapping. Mapping checks these conditions and the selected administrator's current active status again when you confirm. An installation with existing password accounts must keep using its existing workspace password access.

Agent policy and audit, call, review and event history travel as retained records. Before publishing the restored installation, import sets the local agent Pause, clears admission leases and marks pending or in-flight approvals expired. The pause and expiry publish atomically with the restored records, without an active interval. Their saved proposals and attribution remain readable, but cannot be approved or executed. Local credentials must be provisioned again, and only the signed-in installation owner can resume agents. Resuming does not revive an expired approval or replay a historical action; acting on an old proposal requires a fresh request and current authorization. Private agent relay custody and installation-bound replay receipts do not travel.

The archive screen

Admins also have Archive in the app. Portable workspace archive downloads the workspace's coordination records as a file. Validate and replace from archive puts a downloaded file back: Oncall checks it completely first, you type REPLACE to confirm, and a file that fails the check leaves your current workspace exactly as it was.

Transfer local coordination records to hosting

The app's JSON archive can move coordination records between installations. It excludes schedules, overrides, authentication secrets and sessions. The .rer installation archive is for local rer import only.

  1. On the local app, open Archive → Export original archive and keep the downloaded JSON private.
  2. Export any records you need from the current hosted workspace. An archive from another installation cannot replace a workspace that already has services, incidents, events or additional members: administrator mapping needs an empty target.
  3. From your hosting checkout, use a new unused environment name: "$HOME/.local/bin/rer" deploy --environment move-in --env-file "$HOME/.config/oncall/production.env". Getting started explains how to prepare the owner and private credentials file. Choose another name if move-in exists already. Your existing hosted environment stays available.
  4. With email off, use owner access without email with --environment move-in and the same private deploy file. If you configured email links, request one at the new app address. Finish owner setup. Before creating services or members, open Archive, choose the local JSON, explicitly map your sign-in to an archived administrator, type REPLACE and press Replace workspace with this archive.
  5. After Restored, reset other members' passwords and recreate monitoring source keys. Recreate schedules under On call, or bring provider schedules through Settings → Move in. Check Incidents and Team before using the new address.

Restoring this hosted workspace's own archive works without mapping when the current active administrator is in it. A refused replacement leaves existing records unchanged. Deployment itself never uploads local records.

Subject erasure fences

Native archives, both recovery checkpoint versions and the private checkpoint CLI carry the durable portability erasure digests and epochs. Once an installation knows a subject erasure, it refuses an older source whole with an erasure-fence error. Nothing is replaced, no label returns and no session rotates. A checkpoint made after erasure can restore; replacement preserves the fence. Legacy sources without fence metadata are refused wherever a later fence is known. No erased name or address appears in the fence or its refusal.

Installation export/import carries the same fence records and the portability journal. When moving to an empty installation, supply the later archive with "$HOME/.local/bin/rer" import --input exports/older.rer --journal exports/current.rer --yes to enforce a later erasure against the older source. An empty installation cannot know an erasure it has never received. Vendor move-in and saved vendor bundles carry vendor records, not native automation definitions.

Start over

Stop both local servers before resetting:

Shell
"$HOME/.local/bin/rer" dev --stop
"$HOME/.local/bin/rer" preview --stop
"$HOME/.local/bin/rer" reset --yes

Reset deletes this installation's data, its owner and its private settings, and keeps the source code and your exports. Export first if you may want anything back.

To restore in this same checkout, keep the exported file in exports, reset, then import it:

Shell
"$HOME/.local/bin/rer" import --input exports/installation.rer --yes
"$HOME/.local/bin/rer" setup --owner-email you@example.com
"$HOME/.local/bin/rer" dev

Confirm the new owner and map an archived administrator as described above. An import that says target_not_empty has kept the existing installation; it has not replaced any records. Do not reset to upgrade Oncall.

Change-event erasure is a separate administrator action in Settings → Archive → Erase someone's data. It commits event removal, last-receipt cleanup, local transfer-copy invalidation, retry and restore fences and identity unlinking together. The count-only receipt confirms local completion and explicitly reports standby as not reconciled. See Change erasure for categories, retention, the HTTP door and offline/provider custody limits. Linked installation-owner account erasure and standby reconciliation remain incomplete.

Incident, member and integration erasure

An administrator opens Settings → Archive → Erase someone's data, chooses the category and exact subject, and types erase <displayed subject name> exactly as the app shows it. The HTTP equivalent is POST /api/erasure/:category/:id with workspaceRevision and confirmation: "erase <subject ID>". Supported categories are incident, member, native, intake, email, change, client, endpoint and email-list. Use a new integration ID after erasure; an erased ID cannot be configured again.

Incident

Local custody: Incident timeline, notes, review, follow-ups, copied runbook and workflow/checklist; alert links, related merge/split links, reviewed-handoff copies, bulk results, API results, synthetic paging history and queued response events

Retention and limits: Kept until explicit erasure. Independent alerts and other incidents remain. A surviving split or merge loses the erased source reference visibly.

Integration

Local custody: Native/routed keys, signing custody and incumbent credentials; routed receipts, signals, native incomplete prefixes, change source copies; API client or endpoint definitions, subscriptions and associated queued response events

Retention and limits: Kept until explicit erasure. API client history uses an inactive anonymous identity rather than being reassigned to a human. A linked supplied incumbent integration retires its imported target, plans and originals in the same transaction; its receipt adds per-store erased-or-rewritten counts. Conflicting imported bindings refuse without erasing anything.

Email integration erasure removes the address, every rule version, saved mail, quarantine, receipts, signals and credential digests together. Linked incidents remain with their source references removed. It uses the same count-only receipt, audit rollback, transfer invalidation and restore fence as other subjects. The separate “Erase saved mail and quarantine” action retains operational history and is not full integration erasure. Provider and offline copies still need separate deletion.

Native contact/member

Local custody: Password credentials, sessions, owned API clients/recipients and queued response work; status subscriptions, responder requests, shift coordination records and reviewed handoff copies; retained routing labels and generated member descriptions are anonymized

Retention and limits: Kept until explicit erasure. A credential-free inactive Erased member preserves anonymous history. Fixed schedule positions stay in place and show coverage gaps; later responders are never shifted into those positions. Select all retained imported identities belonging to the person and confirm the review; their user targets, originals/plans and copied schedule identity are erased in the same commit. Native email identity also fences pending imported copies. Linked installation-owner accounts refuse atomically with 409: identity erasure happens only through Auth, and the last owner requires its protected reset or transfer path (AUTH-ERASURE-001). Non-owner Auth links are severed locally; Auth identities, sessions and other products remain unchanged. Self-erasure and erasing the last active administrator are refused.

For member erasure, send identitiesReviewed: true and importedPeople: ["person@example.test"] after reviewing GET /api/move-in/objects; use an empty list when none belong to the person. Different aliases cannot be inferred safely: the administrator must select them explicitly. Erased native members cannot be reactivated. Anonymized operational/audit references retain no member name or address.

The same transaction as change-event erasure removes local transfer snapshots and staged copies, advances the restore journal and severs permanent-audit identity associations. An audit, table or revision failure commits no erasure receipt. The successful count-only receipt reports local complete and standby: not-reconciled; it never certifies cross-site completion.

A matching response delivery that is sending, uncertain or has an expired lease returns 409 without an erasure receipt. Reconcile its outcome first. An administrator can explicitly clear an expired response lease through POST /api/automation/outbox/:id/clear-expired with its current revision and approve: true. This also accepts an uncertain outcome whose latest reason is lease expiry. Clearance commits an attributed permanent interrupted audit entry with the local outbox change, disables dispatch, and survives restart before erasure. A live lease, another kind of uncertain result, missing approval or stale revision refuses with 409. The external outcome remains unknown: clearance permits local erasure, never claims delivery, recall or recipient deletion. An explicit replay authorizes a new send and does not clear any later expired lease. Queued deliveries are removed atomically. Already-sent provider messages and bytes already handed to an external call cannot be recalled. Ask the named recipient and provider to delete their retained messages, logs and backups; record their response separately. Request deletion of offline exports and copied text from their holders. This installation cannot prove those remote deletions. No automatic expiry, live provider call or paging delivery is enabled.

Email-list subscriber custody

A business service can retain up to 50 operator-declared email-list addresses, each at most 254 characters, with its email channel, subscription state, last editor and time. Formatting validation does not verify a mailing list, its membership or ownership. Only current administrators and the active communications owner manage or read these addresses. Lists create recorded impact-started/ended obligations containing the business-service name and status, never raw alert content. No sender or delivery is enabled.

Unsubscribe stops future obligations and retains the address and stopped history. An administrator can remove the independent list subject through Settings → Archive → Erase someone's data, with the same committed per-table receipt, audit identity unlinking, transfer-copy invalidation and restore fence as other local subjects. Erasing a native/imported person removes matching known email-list addresses and their local notices. Other business-owned lists retain anonymized authorship. Auth accounts and other products are untouched. No automatic expiry applies. Native and portable restore retain lists inactive and notices stopped; reactivation authorizes only future records. Offline copies cannot be recalled, and standby reconciliation remains unbuilt.

Installation-bound agent erasure receipts (oc_agent_erasure_receipts) retain only binding IDs and digests, never erased content. They are excluded from portable export/import. Native subject erasure inventories and clears earlier receipts in the same transaction, then may retain the new agent erasure binding. A receipt supplies no restore data, deletion authority or cached response, and does not weaken the erasure fence.

Installation-bound team replay receipts (oc_agent_team_receipts) retain sponsor, agent, client, consent, approval, operation and team bindings, manager-gain IDs, revisions and argument/effect digests. They contain no team names, raw arguments or cached responses. Portable export/import excludes them; native subject erasure inventories and deletes them in the same transaction. A changed workspace invalidates their replay binding. They grant no authority to restore or execute an effect.

Edit this page on GitHub