> ## Documentation Index
> Fetch the complete documentation index at: https://project-brain.rocheaiops.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Backup and restore

> Generate, copy, isolate, verify, then consider recovery.

<Steps>
  <Step title="Create">Produce an application-only archive with database dump, artifacts, migration/deployment metadata, and checksum.</Step>
  <Step title="Copy">Maintain an independent off-host recovery copy using the approved management path.</Step>
  <Step title="Restore in isolation">Use a throwaway pgvector target; never replace live data to test a backup.</Step>
  <Step title="Verify lineage">Check an active record, a superseded record when applicable, and document-original checksum integrity.</Step>
</Steps>

The restore verifier waits for a successful SQL query before `pg_restore`, a repair after an early readiness race. Basic Memory has its own archive and restore procedure.
