Skip to content

Phase 3: Restore (disaster recovery) + run-local harness + docs #797

Closed

Description

@neuromechanist

Part of epic #794 (expands #655).

In nemarOrg/nemar-db-backup:

  • scripts/restore-remote.sh: DANGER-guarded restore of a backup into a D1 (typed confirmation, target-db arg, dry-run default). Recreates schema (incl FTS) then loads data.
  • scripts/run-local.sh: load latest backup into a local miniflare D1 and start wrangler dev against a nemar-cli checkout (--nemar-cli-path). Document AI/Vectorize local-emulation gaps (semantic search degrades to lexical FTS locally).
  • README finalization (restore + local-run runbook).

In nemar-cli:

  • docs/disaster-recovery/d1-backup.md pointer doc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions