Backup restore copies tables by column position
Maintainers usually reply within 1 day
@Wikid82 is already working on this.
Since Nov 25, 2026.
Assessment
This issue has not been assessed yet.
Description
What: RehydrateLiveDatabase restores each table with INSERT INTO t SELECT * FROM restore_src.t, which matches columns by position. When a table's column order differs between the live database and the backup (for example a fresh install versus a database upgraded by adding a column, which appends it at the end), values can shift into the wrong columns without an error.
Where: backend/internal/services/backup_service.go:1600-1625.
Severity: medium.
Suggested approach: copy using the explicit list of column names that both schemas share, and add a test with differing column order.
Found during plan review of the encryption key work.
- Dominant language
- Go
- Stars
- 17
- Forks
- 2
- Avg merge
- 1h 42m
- Merged PRs (30d)
- 173
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Wikid82/Charon
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Docs promise signed SLSA provenance that the image build does not producePossibly taken @Wikid82 claimed this today. Openarchitecture documentation security ui
Wikid82/Charon#2152 · 1 assignee ·
Maintainers usually reply within 1 day
-
Orthrus agent images are not signed or SBOM-attestedPossibly taken @Wikid82 claimed this today. Opensecurity ssl testing
Wikid82/Charon#2151 · 1 assignee ·
Maintainers usually reply within 1 day
-
Registry prune deletes release image signatures and SBOM attestations on GHCR after 7 daysPossibly taken @Wikid82 claimed this today. Opencritical testing
Wikid82/Charon#2150 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Minor follow-ups from the country-allow-list local-network reviewPossibly taken @Wikid82 claimed this today. Openarchitecture backend documentation frontend low
Wikid82/Charon#2149 · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
agent:ready
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
turbot/flowpipe#1162 · 1 comment ·
Maintainers usually reply within 1 day
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsPossibly taken @weirong-ui claimed this today. Openkind/bug needs-priority needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/karpenter#3728 · 1 comment ·
Maintainers usually reply within 1 day
-
compaction: redundant exclusion checks after inRangePossibly taken @moodbased claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
docker/mcp-registry#8199 ·
Maintainers usually reply within 2 days