chore(blog): export/backup posts from SQLite #9

Open
opened 2026-10-22 17:55:25 +00:00 by dsh · 0 comments
Member

Scope

SQLite content and logs live in the Compose instance volume. Add a safe way to back up and restore blog content.

Ideas

  • flask blog export --output content/posts writing one Markdown file per post with YAML/front-matter metadata.
  • flask blog import for restoring/versioning posts from git.
  • Document a simple docker run --rm -v ... or sqlite3 .backup procedure.
  • Consider a scheduled backup job separate from the app container.

Acceptance

A documented, tested export path produces readable Markdown files and a restore path is verified against a disposable database.

Moved from pvlb-infra/vps-setup#24 (created in the wrong repo by the issue tool's default).

## Scope SQLite content and logs live in the Compose `instance` volume. Add a safe way to back up and restore blog content. ## Ideas - `flask blog export --output content/posts` writing one Markdown file per post with YAML/front-matter metadata. - `flask blog import` for restoring/versioning posts from git. - Document a simple `docker run --rm -v ...` or `sqlite3 .backup` procedure. - Consider a scheduled backup job separate from the app container. ## Acceptance A documented, tested export path produces readable Markdown files and a restore path is verified against a disposable database. <sub>Moved from pvlb-infra/vps-setup#24 (created in the wrong repo by the issue tool's default).</sub>
Sign in to join this conversation.
No description provided.