From 674ca2ced96e4670fc0f4746c14a097f237c38dd Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 13 May 2026 12:58:59 -0700 Subject: [PATCH] C2(migrate-immich-to-ringtail): close immich-pg-data-migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Migration via CNPG pg_basebackup (Option A) completed cleanly. Sequence: 1. Stopped immich-server + immich-machine-learning on minikube (scaled to 0). valkey + source pg kept running. 2. Copied minikube's immich-pg-ca + immich-pg-replication secrets to ringtail as source-immich-pg-{ca,replication}. 3. Recreated the ringtail immich-pg Cluster with bootstrap.pg_basebackup, replica.enabled=true, externalClusters pointing at immich-pg.tail8d86e.ts.net via the streaming_replica TLS cert. 4. Basebackup completed in ~50s. Replica caught up streaming. 5. Verified row counts identical between source and replica: asset=12681, user=1, album=28, smart_search=9624, activity=0, asset_face=3917. 6. Promoted via replica.enabled=false. pg_is_in_recovery → false. Write test passed. All 7 expected extensions present in immich db (vector, vchord, cube, earthdistance, pg_trgm, unaccent, uuid-ossp). 7. Pruned bootstrap + externalClusters blocks; deleted out-of-band replication secrets. Source minikube immich-pg is intact and untouched — recovery path remains available until immich-cutover-and-decommission completes. Co-Authored-By: Claude Opus 4.7 (1M context) --- docs/how-to/immich/immich-pg-data-migration.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/how-to/immich/immich-pg-data-migration.md b/docs/how-to/immich/immich-pg-data-migration.md index 1482fd9..e0eeb7c 100644 --- a/docs/how-to/immich/immich-pg-data-migration.md +++ b/docs/how-to/immich/immich-pg-data-migration.md @@ -2,7 +2,6 @@ title: Immich Postgres Data Migration modified: 2026-05-13 last-reviewed: 2026-05-13 -status: active requires: - immich-pg-on-ringtail tags: