Postgres Slave Backup Server

How can I run a backup server to backup my postgres database on Railway?
12 Replies
Percy
Percy16mo ago
Project ID: N/A
Croissant
Croissant16mo ago
N/A
Brody
Brody16mo ago
i think you may be intrested in this blog post https://blog.railway.app/p/automated-postgresql-backups
Croissant
Croissant16mo ago
Is there any other option than AWS S3? Not feeling to sign up for AWS
Brody
Brody16mo ago
oh yeah i feel you there, so im fairly certain that template supports any s3 compatible storage provider, like cloudflare r2
Croissant
Croissant16mo ago
nice, how can I only store 30 newest backup and delete the oldest one when new backup arrive?
Brody
Brody16mo ago
i think that may require a slight modification to the templates code
Croissant
Croissant16mo ago
What should I put in the region if I use Cloudflare R2?
Brody
Brody16mo ago
the region of your cloudflare r2 bucket
Croissant
Croissant16mo ago
It's automatic
Brody
Brody16mo ago
then try setting the region to auto
Brody
Brody16mo ago
Want results from more Discord servers?
Add your server