reimport
This commit is contained in:
@@ -168,20 +168,34 @@ postgres-18-cluster:
|
|||||||
requests:
|
requests:
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
roles:
|
initdb:
|
||||||
- app
|
owner: app
|
||||||
# initdb:
|
|
||||||
# owner: app
|
|
||||||
# postInitSQL:
|
# postInitSQL:
|
||||||
# - CREATE DATABASE "lidarr-main" OWNER "app";
|
# - CREATE DATABASE "lidarr-main" OWNER "app";
|
||||||
# - CREATE DATABASE "lidarr-log" OWNER "app";
|
# - CREATE DATABASE "lidarr-log" OWNER "app";
|
||||||
recovery:
|
recovery:
|
||||||
method: objectStore
|
method: import
|
||||||
objectStore:
|
objectStore:
|
||||||
destinationPath: s3://postgres-backups/cl01tl/lidarr/lidarr-postgresql-18-cluster
|
destinationPath: s3://postgres-backups/cl01tl/lidarr/lidarr-postgresql-18-cluster
|
||||||
endpointURL: http://garage-main.garage:3900
|
endpointURL: http://garage-main.garage:3900
|
||||||
index: 1
|
index: 1
|
||||||
endpointCredentials: lidarr-postgresql-18-cluster-backup-secret
|
endpointCredentials: lidarr-postgresql-18-cluster-backup-secret
|
||||||
|
import:
|
||||||
|
type: "monolith"
|
||||||
|
databases:
|
||||||
|
- lidarr-main
|
||||||
|
- lidarr-log
|
||||||
|
roles:
|
||||||
|
- app
|
||||||
|
source:
|
||||||
|
host: "lidarr2-postgresql-17-cluster-rw"
|
||||||
|
port: 5432
|
||||||
|
username: app
|
||||||
|
database: app
|
||||||
|
sslMode: "disable"
|
||||||
|
passwordSecret:
|
||||||
|
name: "lidarr2-postgresql-17-cluster-app"
|
||||||
|
key: "password"
|
||||||
backup:
|
backup:
|
||||||
objectStore:
|
objectStore:
|
||||||
- name: external
|
- name: external
|
||||||
|
|||||||
Reference in New Issue
Block a user