sirius/docs
Local Dev 2b22a663bb docs/sirius.x: dual-host recipe + auto-backup + reusable mirror script
/sirius-x/docs/#host — Pattern C section extended with:
  * "The dual-host recipe, end to end" — four-step publish sequence: edit
    locally → scp to VPS → sia-upload → verify both.
  * "Auto-backup: one command, both mirrors" — a Bash wrapper any operator
    can drop into their repo to publish to both mirrors atomically.
  * "Automate the reverse — VPS → Sia periodic backup" — a cron snippet
    for setups whose primary publish is straight-to-VPS.
  * Note on which mirror is authoritative (chain record decides).

scripts/mirror-bcnr-site.sh — general-purpose implementation of the
recipe. Takes local-dir, ssh-dest, sia-bucket-key + optional verify URLs.
Exit codes distinguish scp failure vs sia-upload failure vs verify
failure so a CI/hook can react. Trims trailing slash from Sia bucket key
so sia-upload.js doesn't produce "bns/x//file" paths.
2026-09-04 23:44:10 +02:00
..
index.html docs/sirius.x: dual-host recipe + auto-backup + reusable mirror script 2026-09-04 23:44:10 +02:00