diff --git a/clusters/cl01tl/applications/immich/values.yaml b/clusters/cl01tl/applications/immich/values.yaml index 9ebe21dd6..e058401ac 100644 --- a/clusters/cl01tl/applications/immich/values.yaml +++ b/clusters/cl01tl/applications/immich/values.yaml @@ -258,11 +258,30 @@ postgres-16-b-cluster: - CREATE EXTENSION IF NOT EXISTS "cube" CASCADE; - CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE; recovery: - method: objectStore + method: import recoveryServerName: immich-postgresql-16-backup-2 objectStore: destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/immich/immich-postgresql-16-cluster index: 2 + import: + type: "microservice" + databases: + - app + postImportApplicationSQL: + - CREATE EXTENSION IF NOT EXISTS "vector"; + - CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE; + - CREATE EXTENSION IF NOT EXISTS "cube" CASCADE; + - CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE; + source: + host: immich-postgresql-16-cluster-rw + port: 5432 + username: app + database: app + sslMode: disable + passwordSecret: + name: immich-postgresql-16-cluster-app + key: password + # backup: # objectStore: # - name: external