Overbear.ing
In this guide

Protect and recover

Choose the recovery you actually need

Protect configuration, application data and host state at the right scope. Verify the artifact, target and evidence before any restore changes live data.

Independent owner & host operatorSource-reviewed guideVerify on your host

This guide follows the reviewed Den source. It describes supported controls and their limits, not a claim that your host has this version or that these operations have been rehearsed here. Check the installed build and current evidence before making changes.

Choose the right protection artifact

Target backup
One declared file target or managed PostgreSQL database. It does not establish consistency across unrelated targets.
Encrypted profile
Registrations and protected configuration. No application data, owner credentials or complete host infrastructure.
Portable ZIP + Postgres
Selected encrypted configuration plus supported managed database dumps, restored through a saved recovery job. It is not a generic file-volume backup.
Complete related set
A declared related database/files capture, its boundary and captured verifier. Restore the whole supported set, not individual members.
Cloudflare metadata
Protected installation routing evidence. Import is disarmed and does not activate connectors, credentials or DNS ownership.
Matched host checkpoint
Coordinated manager/agent state, journals, keys, protected volumes and separately protected infrastructure configuration. Required for host-level recovery.

Choose based on what you must recover: settings, one independent target, a consistent related application, or the whole installation. The fleet's Last backup is only the latest successful individual target. It is not a coverage report or a guarantee of recovery.

Before valuable workloads, make a backup, keep an off-host copy where appropriate, run a suitable restore exercise and verify application behavior. A checksum, a successful download and a semantic restore test prove different things.

Create and inspect a target backup

  1. Open the application's Backups tab. Refresh its deployment check and identify the exact declared target, kind and configuration.
  2. For file-volume backup, stop the application and control automatic deployment/pending work first. Managed PostgreSQL uses a consistent online logical dump and can be backed up while the app runs, subject to operation and policy guards.
  3. Select Create backup, inspect Backup target, then Queue backup. Follow the operation; a queued message is not a ready artifact.
  4. Check the row's ready state, target, size and summary. For source revision, digest and policy/verifier detail, use the authenticated catalog/API or qualified host-operator evidence; the row is not a full metadata inspector. A download supplies X-Den-Backup-SHA256. Inspect off-host verification and restore-test timestamps separately.
  5. The independent owner can download a ready backup. The agent verifies size/hash before authenticated streaming. Treat the downloaded payload as private application data, not an encrypted profile merely because access was authenticated.

Local artifacts and their protected catalogs live in Den's backup volume. Back up that volume too. A free-space reserve prevents capture from consuming all available storage; do not delete unknown files or weaken integrity checks to force a backup through.

For policy-bound PostgreSQL targets, ready status requires matching semantic verifier evidence and captured image/archive bytes, not just a dump. Invalid policy declarations fail closed. The application-specific cache-exclusion adapter is a fixed contract, not arbitrary dump arguments, SQL or executable hooks.

Restore one eligible target

  1. Confirm this is an independent target backup, not a member of a complete recovery set. Check the exact app, target kind, volume/dependency ownership and supported current contract.
  2. Control automation, wait for active work and stop the application. Identify all writers, including external writers beyond Den's visibility, and retain a recovery plan.
  3. Select the ready backup and review Restore's warning. Den rechecks recorded size/hash and target compatibility. A changed target contract is a blocker, not permission to rename a catalog entry.
  4. Follow the restore operation. PostgreSQL first creates a separately cataloged safety backup and replaces objects in a single transaction. A file restore extracts to a new candidate volume, updates the managed mapping and leaves the prior volume intact.
  5. Inspect the final result and preserved safety copy, then deliberately deploy/start as required and verify application-level data and health.

Dedicated PostgreSQL may be started for the restore and returned to its prior stopped state. External databases, plain SQL and arbitrary physical restores are not handled by this workflow. Code rollback does not undo this data change.

Do not turn an off-host file into an invented catalog entry. Policy-backup recovery must preserve the dump, captured verifier archive and metadata together. The source's internal adoption primitive is not a public UI/CLI workflow. If the protected catalog is lost, restore a matching catalog checkpoint that actually contains the selected backup UUID before normal restore; an older checkpoint missing that record is not enough.

Initial import into an empty target is separate. See initial data import; policy-bound raw dump import is blocked because it cannot preserve the required verification evidence.

Configure coverage and inspect runs

The owner can choose an application's Configure schedule for selected targets or all its PostgreSQL targets. The all-PostgreSQL option includes eligible targets added later. Set the offered interval and per-target retention, then Save policy. File targets only run while stopped.

Alternatively, configure the Fleet PostgreSQL backup policy in System health. It dynamically discovers current Den-managed PostgreSQL targets and records separate independently restorable artifacts. Fleet and application PostgreSQL schedules cannot overlap. Protected targets owned by a recovery authority have additional exclusion rules.

  • Review Protection runs, the next run and actual per-target results, including skipped, failed or unavailable targets. Busy apps and missing preflights do not mean successful coverage.
  • A partial run is not complete protection. Inspect each target and the aggregate result rather than only the latest timestamp.
  • Intervals are calculated from policy save time. Application policies travel in encrypted profiles and receive a new next-run time on import; the fleet policy is installation-scoped.
  • Archiving disables the app policy. Recheck policy and automation after restoring a registration or recovering configuration.

Scheduled retention is per target and removes only older successful scheduled artifacts after a successful replacement. Manual and pre-restore safety backups are preserved. With remote copying enabled, unverified copies are protected from normal retention. Complete-set members cannot be pruned as independent targets.

Policy-bound PostgreSQL additionally protects the last verified matching generation; a failed or differently scoped replacement does not displace it. Where the old generation has off-host coverage, the replacement needs verified off-host and isolated restore-test evidence. Remote object retention is configured separately at the provider.

Verify encrypted off-host protection

Off-host copying is disabled until the host administrator configures the intended private S3-compatible destination and independent encryption key. Use the reviewed source template, exact bucket/region/HTTPS endpoint and a distinct installation prefix. Keep the key offline, separately from the artifacts; losing it makes them unrecoverable.

New backups are verified locally, encrypted, uploaded and read back. Den authenticates metadata and verifies decrypted bytes before marking remote success. It does not create a bucket or delete remote objects. Configure provider retention and abandoned multipart cleanup yourself.

  1. Create a new eligible backup after configuring the destination. Read local success, remote verification and isolated restore-test status separately.
  2. If copying fails, retain the ready local artifact and inspect the failure. The operation can fail even though the local artifact exists.
  3. Scheduled runs create a new backup on the next interval; they do not automatically recopy older failed artifacts. The host operator can use the approved source's remote-backup CLI for an exact existing slug/backup UUID, rather than repeating a data restore.
  4. Enable and inspect the appropriate isolated restore drill. It tests restoration within bounded scratch/resource constraints, not full application behavior. Policy artifacts require their captured verifier and semantic evidence.

Individual off-host recovery reconstructs verified artifacts in a new recovery directory; it does not automatically restore live data, register a backup catalog or recover the Den owner. Preserve the matching configuration, catalogs, keys and target contracts. For ordinary non-policy file or PostgreSQL artifacts, an eligible empty target can use the guarded local-owner initial import workflow when catalog restore is unavailable. This does not apply to policy-bound raw dumps, whose verification evidence must stay intact. Complete sets use their separate retrieval flow below.

Export and import configuration

  1. As the independent owner, open Import & export → Export profile. Select the intended registrations and use a strong recovery key. Choose the configuration-only format and download the encrypted file.
  2. Store the profile and recovery key separately. Without that key, the export cannot be recovered. Do not paste it into a support case.
  3. On the destination, establish independent owner access first. Choose Import profile, select the file and enter its recovery key. Review collisions and intended registrations.
  4. Active slugs remain unchanged. Explicit replacement of an archived registration requires stopped containers and preserves Docker volumes/completed backups. Review destination Shared values because same-name destination values take precedence.
  5. Run fresh preflight, review environment/resource differences and build/deploy deliberately. Update GitHub webhook URLs if the destination's webhook base URL differs.

The encrypted profile includes registrations, repository settings/deploy keys, protected app/shared values, webhook configuration, dependency credentials, storage mappings and app backup policies. It does not contain volume data, database rows, images, owner password/sessions, complete operation history or host infrastructure keys.

Unlike portable recovery jobs, ordinary configuration-profile import can restore automatic-deployment flags and enabled application backup policies. Review them and retained work immediately; do not assume this import is disarmed.

Restored settings are not running services or a data migration. Keep original volume names/ownership and a reviewed separate data restore where required. Cloudflare installation credentials and active routing ownership are not restored by this ordinary profile.

Recover configuration plus PostgreSQL

Use Portable ZIP + Postgres when the supported selected registrations need configuration and managed PostgreSQL data together. Stop selected applications before export. The encrypted profile, dump inventories and data are authenticated; keep the recovery key separately.

  1. Export the selected stopped applications and verify that all intended eligible database targets are included. This is not a replacement for file-volume or related-set protection.
  2. On the enabled loopback local-owner destination, choose the ZIP import and review registration collisions. Active collisions block reservation; archived replacement requires explicit selection and stopped containers.
  3. Follow Portable recovery jobs. The saved job retains registration and per-target progress after closing or refreshing the page.
  4. Each eligible empty database restore commits its data and exact recovery receipt together. After a lost response, inspect the existing saved job. A populated database without the matching receipt remains held; do not clear it or mint a new job to bypass the evidence.
  5. Resolve any execution review, then continue the same retained job when permitted. Recovered registrations keep automatic deployment and schedules disabled; review them deliberately after verification.

Finish with fresh deployment checks, required image builds, data/health verification and an explicit protection plan on the destination. Import completion does not establish public routing or application correctness.

Capture and verify a complete related set

The current complete-set workflow supports the attic-v1 contract: exactly one managed PostgreSQL member and one file subtree, not arbitrary related targets. For that declared Attic application, use Complete recovery sets. The contract captures its related database and file subtree under an application boundary and retains the exact verifier image/archive. Two independent target backups are not equivalent to this set.

  1. Review the deployed definition, required target IDs, source revision and boundary prerequisites. New capture needs the declared signed boundary API/coordinator reachable and able to establish and renew its pause; unlike artifact retrieval, capture depends on this live boundary. Choose the offered Capture action for that definition.
  2. Follow capture and inspect the complete-set record. Capture, artifact integrity, remote verification, isolated restore and semantic evidence are separate states.
  3. Choose Verify isolated restore. The drill uses the captured data and verifier, not a guessed current application image.
  4. Inspect the resulting receipt and any remote verification. Preserve partial/historical artifacts and retry only the supported retained capture when evidence permits.

Missing captured image bytes cannot be reconstructed by pretending today's image is the historical verifier. Retain the complete inventory and original set identity. A successful drill establishes the supported checks under its isolated conditions, not every production behavior.

Whole-set restore changes identity and application state

Control automation and stop writers. Verify the current required source revision and a successful local drill, then review Restore entire set. For Attic, the warning states that database and file-tree data/permissions return to captured state; accounts require operator-assisted recovery and email verification, restored passkeys and recovery codes are removed, both current safety targets are preserved, and Den owner access is unchanged.

Track the complete restore record. Interrupted work uses Resume whole-set restore on the retained restore, not separate member restores. Keep the application stopped for data/security review. Starting its held API for authority reconciliation is a later explicit step, not automatic scheduling release.

Retrieve or import a complete set

Off-host retrieval: establish Den's independent owner access and the existing remote store/key. Restore reviewed deployment configuration, select the captured source revision, run preflight and stop the application. In Backups enter the exact set UUID and select Retrieve complete off-host set.

Retrieval downloads/authenticates both data members, the catalog and captured verifier. It imports artifact catalogs only; live data and schedule/callback authority are unchanged. Conflicting catalogs are preserved for reconciliation. After uncertain execution, inspect its saved operation first; supported same-set continuation reuses verified members rather than creating a new identity.

Portable complete bundle: export a complete set with its recovery key. On a local-owner destination use Import a complete recovery bundle, upload the ZIP, review the displayed definition and enter the recovery key, then Start saved recovery import. The saved job reserves a fresh destination and maps authenticated source identities. Existing registrations cannot be adopted by this flow.

Both paths preserve historical target IDs, the file subtree and source evidence. Neither restores live database/files merely by importing artifacts. Run a new isolated drill on this host, then separately review whole-set restore. Inherited runtime/semantic success is not destination acceptance.

Attic sign-in/API availability is not required to retrieve these artifacts through Den's independent owner. Authority reconciliation later does require the recovered API under its held state.

Keep scheduling authority singular

Recovery authority is an advanced, separately enabled contract for supported protected sets, not a switch to turn every backup into a production scheduler. It is disabled by default. Importing a catalog or installing new code does not transfer schedules or callbacks.

  1. Policy creation currently uses the owner API, not a dashboard creation form. Have the qualified operator prepare and review the strict policy against the installed source contract, then configure the exact current deployed definition, target IDs, registered callback recipients and schedule/timezone in shadow mode. Overlapping target ownership and unregistered recipients block transfer.
  2. Select Verify shadow recovery. Require a matching current-policy complete capture, full off-host readback and isolated semantic drill. The activation evidence must match the current revision and its verified off-host evidence must be no more than seven days old. A shadow run sends no release callbacks.
  3. Before Transfer scheduling to Den, review the enabled feature and exact transfer. A signed current Attic suspension receipt and frozen callback registry, not an operator claim or elapsed timeout, establish exclusive authority.
  4. Inspect durable periods, release decisions and callback acknowledgments. Retried delivery keeps its original identity. A callback may have affected its consumer even when the response was lost.
  5. To return authority, use the reviewed Suspend Den and return authority to Attic flow. Den must persist suspension and drain work before legacy resume is acknowledged. Disabling a feature flag does not resume the old scheduler.

After an infrastructure restore, captured authority records are not proof of current ownership. Review the completed restore/security receipt and start the recovered Attic API with its durable nightly hold. Keep Den's executor fenced. The owner reviews exact set/operation/callback inventory with fresh MFA and records restored review, retaining uncertain old callbacks as unknown rather than successful.

Both sides remain suspended after that review. Run a fresh shadow under the new revision, then separately approve any transfer. Reuse the original retained request/transfer on an uncertain retry; do not invent a new release date or clear fences to make progress.

Respect holds and matched host state

An uncertain operation retains its resource ownership. First inspect the same operation and current host/service evidence. Use the independent owner's System health → Execution review for eligible reconciliation. Releasing an interruption does not replay work, resume a partial restore, restore data or restart applications.

Before host-level changes, stop/drain matched manager and agent work using the approved host procedure and preserve their coordinated state. Keep the manager database with its encryption keys; the full protected agent configuration and execution tree with journal, protection key, witness and captured inputs; repository/key/import/backup volumes; connector credential store; and separately protected host deployment configuration and infrastructure secrets.

Do not combine an old journal with a newer witness, mix binaries that cannot read the saved formats, or assume six volume archives include every container environment secret. Keep independent owner/MFA recovery and host access, plus external checkpoint keys that remain available after host loss.

Cloudflare metadata export is only one piece. Its disarmed import does not reactivate routes or credentials. Updater held-job cancellation, legacy ownership format changes and offline host recovery require their exact installed-version procedure and fresh stopped proofs. A diagnostic or a successful release is not restart authorization.

Do not repair uncertainty by deleting state. Never prune volumes, clear a journal, relabel foreign resources, rewrite target IDs or restart an incompatible old binary to get around a recovery guard. Preserve the checkpoint and escalate with non-secret operation evidence.

Validate the recovered installation in stages: independent owner access, matched state/health, artifact integrity, guarded data restore, application/security behavior, routing, then separately reviewed automation and authority. This guide is source-reviewed documentation, not a completed host-loss rehearsal.

Recovery ends with verified behavior, not a downloaded file

Keep safety copies, exact receipts and independent owner access. Resume automation only after data, identity, authority and application checks match the intended recovered state.

Previous guideNext: TroubleshootBack to top