Skip to content

docs(docs): add the Backup & restore page - #477

Merged
PhenX merged 1 commit into
mainfrom
claude/docs-backup-restore
Sep 5, 2026
Merged

docs(docs): add the Backup & restore page#477
PhenX merged 1 commit into
mainfrom
claude/docs-backup-restore

Conversation

@PhenX

@PhenX PhenX commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

What & why

Phase-2 restructure — another additive new page. Backup and restore were split across the deployment guide (how to back up) and the upgrading guide (the restore/rollback steps), so an operator hunting the rollback path had to piece it together across two pages.

  • New apps/docs/backup-restore.md (Operate, 558 words): what to back up (database + file storage, kept consistent), how (online SQLite snapshot, pg_dump, stop-and-copy, S3), the restore procedure that doubles as the post-upgrade rollback path, the desktop app's data directory, and when.
  • Trims deployment's "Backups" section to a one-paragraph summary + pointer, keeping the ## Backups heading so deployment#backups (linked from upgrading and the production-checklist PR) still resolves.
  • Adds a "Backup & restore" entry to the "Running your instance" sidebar, next to Upgrading.

Per the plan, retention/cleanup is a separate page and stays in Storage. No existing page URL or heading anchor changes.

How was it tested?

  • npm run docs:build — green; the dead-link check confirms deployment#backups still exists and every new anchor resolves (storage#s3-compatible-storage, storage#data-retention, …).
  • npx vitest run tests/unit/docs-drift.test.ts — 124 passing.

Note on the stack

Independent of #475 (CLI) and #476 (Production checklist), all based on main. The three touch config.mts in different sidebar groups and deployment.md in different sections (#476 → "Security", this → "Backups"), so they merge cleanly in any order.

Checklist

  • PR title follows Conventional Commits (type(scope): subject)
  • Tests added/updated for behavior changes (n/a — covered by docs-drift + build dead-link check)
  • Docs updated — this is the docs change

🤖 Generated with Claude Code

https://claude.ai/code/session_01GKdmqq1BRUPeH5BxSPV5Jj


Generated by Claude Code

Phase-2 documentation restructure — another additive "new page". Backup and
restore were split across the deployment guide (how to back up) and the
upgrading guide (the restore/rollback steps), so an operator hunting the
rollback path had to piece it together.

- Add apps/docs/backup-restore.md (Operate, 558 words): what to back up
  (database + file storage, kept consistent), how (online SQLite snapshot,
  pg_dump, stop-and-copy, S3), the restore procedure that doubles as the
  post-upgrade rollback path, the desktop app's data directory, and when.
- Trim deployment's "Backups" section to a one-paragraph summary plus a
  pointer, keeping the ## Backups heading so the deployment#backups anchor
  (linked from upgrading and the production checklist) still resolves.
- Add a "Backup & restore" entry to the "Running your instance" sidebar,
  next to Upgrading.

Retention/cleanup is a separate page in the plan and stays in Storage. No
existing page URL or heading anchor changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GKdmqq1BRUPeH5BxSPV5Jj
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for Reporter (./packages/reporter)

Status Category Percentage Covered / Total
🔵 Lines 75.71% 2407 / 3179
🔵 Statements 74.03% 2735 / 3694
🔵 Functions 79.11% 428 / 541
🔵 Branches 67.72% 1905 / 2813
File CoverageNo changed files found.
Generated in workflow #1641 for commit f1044ca by the Vitest Coverage Report Action

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for Application (./apps/application)

Status Category Percentage Covered / Total
🔵 Lines 47.41% 7220 / 15227
🔵 Statements 46.34% 8370 / 18059
🔵 Functions 45.9% 1389 / 3026
🔵 Branches 41.71% 6460 / 15486
File CoverageNo changed files found.
Generated in workflow #1641 for commit f1044ca by the Vitest Coverage Report Action

@PhenX
PhenX merged commit 136631b into main Sep 5, 2026
25 checks passed
@PhenX
PhenX deleted the claude/docs-backup-restore branch September 5, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants