5a2babd514
This patchset introduces the framework by which all OSH-based database systems can use to backup and restore their databases. The framework is refactored from the Postgresql backup and restore logic. This will prevent alot of code duplication in the backup restore scripts across each cluster. In the process, some improvements needed to be made: 1) Removing the need for 2 separate containers to do the backup and restore work to a remote gateway. This simplifies the design and enables a higher level of robustness. 2) Adding separate "days to keep" config value for remote backup files, as there may be different requirements for the remote files than the local backup files. 3) Adding capability to send Storage_Policy when creating the remote RGW swift container. 4) Making coding style improvement for readability and maintainability. 5) Fixing a deployment bug that occurs when remote backup is disabled. Change-Id: I3a3482ad67320e89f04305b17da79abf7ad6eb45 |
||
---|---|---|
.. | ||
bin | ||
monitoring/prometheus | ||
secrets | ||
configmap-bin.yaml | ||
configmap-etc.yaml | ||
cron-job-backup-postgres.yaml | ||
job-image-repo-sync.yaml | ||
job-ks-user.yaml | ||
network_policy.yaml | ||
pod-test.yaml | ||
postgresql-backup-pvc.yaml | ||
secret-admin.yaml | ||
secret-audit.yaml | ||
secret-replica.yaml | ||
secret-rgw.yaml | ||
secret-server.yaml | ||
secrets-etc.yaml | ||
service-postgres.yaml | ||
service-restapi.yaml | ||
statefulset.yaml |