{
  "task": "t_4fd0571a WKP/T3.2 backup validado BookStack (DB + uploads)",
  "generated_at": "2026-09-07T05:54:55Z",
  "source": {
    "cluster": "rke-platform (rke2, kubectl via rke-cp01 /etc/rancher/rke2/rke2.yaml)",
    "namespace": "bookstack",
    "pod": "bookstack-mariadb-0",
    "mariadb_version_live": null,
    "db_name": "bookstack",
    "db_user": "bookstack (Infisical services/bookstack/bookstack MARIADB_* keys)",
    "dump_tool": "mariadb-dump --single-transaction --routines --triggers bookstack",
    "uploads_path": "/config/www/uploads (mount of PVC bookstack-data at /config)",
    "uploads_files": 0,
    "uploads_size": "4.0K (empty dir)",
    "images_files": 0,
    "attachments_rows": 0,
    "images_rows": 0
  },
  "dump": {
    "file": "bs-db-20260907.sql",
    "bytes": 5339115,
    "sha256": "1012551a4d520f7ffa4896e1503483a49d80e302355c66cbb28fadd377a7b73c",
    "lines": 32203
  },
  "live_counts": {
    "entities": 91,
    "entities_by_type": {
      "book": 10,
      "chapter": 21,
      "page": 60
    },
    "page_revisions": 85,
    "users": 2,
    "api_tokens": 3
  },
  "restore_test": {
    "method": "local portable MariaDB (Debian trixie 11.8.6 debs, extracted to user prefix, no root): fresh datadir + mariadb-install-db, server on 127.0.0.1:3310 --skip-grant-tables (test user uid!=0; dump carries only the bookstack schema, no privilege schema)",
    "load": "mariadb -uroot bookstack < bs-db-20260907.sql (rc=0)",
    "restored_tables": 41,
    "restored_counts": {
      "entities": 91,
      "entities_by_type": {
        "book": 10,
        "chapter": 21,
        "page": 60
      },
      "page_revisions": 85,
      "users": 2,
      "api_tokens": 3,
      "attachments": 0,
      "images": 0
    },
    "content_check": "SHA2(markdown,256) per page computed IN the restored DB == T3.1 export manifest sha256_markdown_by_id: 60/60 identical (verification-2026-09-07.json)",
    "sample_page": "id=11 page start-here-el-plano-en-una-pagina markdown_len=2620"
  },
  "rollback_point": "raw/bookstack-archive/bs-db-20260907.sql (+ this manifest + T3.1 page export) — full DB + 0 uploads; restoring this SQL into a MariaDB >=11.8 instance reproduces the BookStack DB exactly",
  "notes": "BookStack v26 stores content in entities/entity_page_data (no pages.books.columns); uploads dir empty (freeze since 2026-09-06, no binaries ever stored on this instance). No S3/RGW endpoint exists in the cluster (D3 artifact-store debt), so the durable copy lives in this repo under raw/ per the raw/ README small-material convention; the file is 5.3MB (< repo limits)."
}