tool: disinto backup create — export Forgejo issues + disinto-ops git bundle #1057
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#1057
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal: produce
disinto backup create <outfile.tar.gz>command that snapshots factory state from the live disinto-dev-box for restore on a fresh Nomad cluster.Scope (only what cutover needs — everything else is either regeneratable or discarded; see parent #1037):
Output tarball must contain:
Explicitly NOT in scope (these are regenerated or not migrated):
disintogit history — migrated separately via existing Codeberg push mirror (done 2026-04-19)File locations:
lib/disinto/backup.sh(or nearest matching module pattern — mirrorlib/disinto/init.shlayout)bin/disintodispatcher:./bin/disinto backup create <outfile>FORGE_URL,FORGE_TOKEN(already in.env)Acceptance:
./bin/disinto backup create /tmp/out.tar.gzon disinto-dev-box exits 0tar -tzf /tmp/out.tar.gzshowsmetadata.json,issues/disinto.json,issues/disinto-ops.json,repos/disinto-ops.bundlejq '.[].number' issues/disinto.json | sort -n | tail -5matches latest 5 issue numbers from Forgejogit bundle verify repos/disinto-ops.bundlereturns successBlocks: #1037 (cutover runbook) and the companion import tool (sibling issue).
toolto tool: disinto backup create — export Forgejo issues + disinto-ops git bundle