timescale / timescaledb-docker-ha

Create Docker images containing TimescaleDB, Patroni to be used by developers and Kubernetes.
Apache License 2.0
168 stars 45 forks source link

Review/update the pgbackrest script #479

Closed saolof closed 1 month ago

saolof commented 4 months ago

The pgbackrest_entrypoint.sh script hasn't been updated in five years. It's still a great guideline for using the image & the API server and I got a working local setup out of it with minor tweaking, but it could be worth spending a small amount of time updating.

One thing I noted when building a self-hosted setup is that it hardcodes the amazon aws API and us-east-2 . It may be useful to turn those into optional env variable parameters could be a good idea, since the S3 API has been copied by a bunch of other storage media such as minio and ceph , both of which can be excellent targets to store physical backups depending on scale/requirements.