Postgres Backup Retention Policy
coopbri
PROOP

2 years ago

I am planning on backing up a postgres server (running in container on Railway) to MinIO (running in container on Railway as well) with cron as the execution layer to initiate backups. Any suggestions for setting up backup retention policies so I don't fill MinIO with an unnecessary number of backup files? Hosted/managed providers like AWS RDS and Azure Database offer built-in retention control, but im not sure how to do this with self-hosted postgres & minio on railway

Closed

8 Replies

coopbri
PROOP

2 years ago

N/A


coopbri
PROOP

2 years ago

I could write a service that does this too but it would be nice not to have to code this up, curious if there's a service anyone can think of/has used that handles this kind of Postgres backup retention for you


coopbri
PROOP

2 years ago


coopbri
PROOP

2 years ago

This looks good!


coopbri
PROOP

2 years ago


coopbri
PROOP

2 years ago

I'll mark solved but hopefully this helps someone.


2 years ago

use the template we provide and set a retention policy in minio, no need to complicate things


coopbri
PROOP

2 years ago

That is what I looked into but that is too primitive. Thanks for the suggestion!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...