Update and migrate: DiscVault 26 migration
Goal and result
Section titled “Goal and result”Import an existing SQLite collection into DiscVault 26 through the guarded migration assistant.
Applies to
Section titled “Applies to”This page is only for importing existing legacy data. In both DiscVault v26 channels, /data/discvault.db is a read-only migration source, never the current runtime database; imported records are written to PostgreSQL.
DiscVault v26 stable
Section titled “DiscVault v26 stable”- DiscVault v26 stable ·
ghcr.io/helmerznl/discvault:latest - DiscVault 26 migration assistant
- read-only existing-data source; never the current runtime database · SQLite → PostgreSQL
DiscVault v26 beta
Section titled “DiscVault v26 beta”- DiscVault v26 beta ·
ghcr.io/helmerznl/discvault:beta - DiscVault 26 migration assistant
- read-only existing-data source; never the current runtime database · SQLite → PostgreSQL
Prerequisites
Section titled “Prerequisites”- read-only existing-data source; never the current runtime database ·
/data/discvault.db· source backup - PostgreSQL dump and filesystem archive from the same stopped-writer window
- owner access
Procedure
Section titled “Procedure”- Back up: read-only existing-data source; never the current runtime database · PostgreSQL dump and filesystem archive from the same stopped-writer window · before import
- Inspect:
/api/next/migration/readiness·ready_for_confirmation - Run: one migration job ·
POST /api/next/migration/start - Compare: readiness is confirmed, migration has zero failed records, and counts and sampled media match
Commands and settings
Section titled “Commands and settings”Both channels
Section titled “Both channels”curl --fail http://localhost:6080/api/next/migration/readinesscurl --fail http://localhost:6080/api/next/migration/statuscurl --fail -X POST http://localhost:6080/api/next/migration/start \ -H 'Content-Type: application/json' -d '{}'curl --fail http://localhost:6080/api/next/migration/statusExpected result
Section titled “Expected result”Readiness is confirmed, migration finishes without failed records, and collection counts and sampled media match.
- readiness is confirmed, migration has zero failed records, and counts and sampled media match
Safety and rollback
Section titled “Safety and rollback”Next step
Section titled “Next step”Configure: Environment variables
Source and status
Section titled “Source and status”helmerzNL/DiscVault@6d27c689ac21- Verified:
2026-07-14 - DiscVault Docs:
0.1.0
