You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# How to deploy backup container using Helm and config file
1
+
# How to deploy backup container using Helm and config file
2
+
3
+
## This will explain how to set up a backup container for our sso-keycloak instance along with the values.yaml file to use with helm.
4
+
5
+
## Reference:
2
6
3
-
## Reference:
4
7
-[backup-container](https://github.com/BCDevOps/backup-container?tab=readme-ov-file#deploy-with-helm-chart) we refer to this for instructions on how to deploy
pg_dump: error: aborting because of server version mismatch
30
+
> pg_dump: error: aborting because of server version mismatch
31
+
32
+
- to fix, I updated the tag on the config.yaml to be the latest offered by bcDevops/backup-container 2.10.3 at the time of writing this readme.
33
+
34
+
- how do I verify that the backups work?
35
+
36
+
- I rsynced into the pods and downloaded the .gz backups and opened them in dbeaver.
37
+
- run ./backup.sh -I -v all in the pod
29
38
30
-
39
+
- When backing up pods in patroni use ./backup.sh -I -v. This ignores some dependencies that patroni requires. Source: https://github.com/bcgov/backup-container/blob/fca9861a5c12a61c85baf6ca84e1dbf60abb5ad5/docs/TipsAndTricks.md?plain=1#L77
31
40
32
-
- unable to find persistence volume claim
33
-
- to fix had to create a persistence volume claim matching what was set in the config.yaml file.
34
-

41
+
- Remember to add the correct environment variable otherwise the backup verification won't work. https://github.com/bcgov/backup-container?tab=readme-ov-file#backupconf ex. SSO_PATRONI_USER and SSO_PATRONI_PASSWORD.
35
42
36
-
-how do I verify that the backups work?
37
-
- I rsynced into the pods and downloaded the .gz backups and opened them in dbeaver.
43
+
-Issue verification process hangs and server does not start.
44
+
-https://github.com/bcgov/backup-container/issues/151#issuecomment-2956503224 do not use the default postgres superuser. Odd issue where it might cause the verification to hang. I ended up using another user secret appuser1.
0 commit comments