Is there a recommended way to do regular postgres backups?
I tried to run pg_dump in my cron job but it says
pg_dump
: not foundSolution:Jump to solution
I would recommend you deploy this template into your existing project with the database and to pair it with Cloudflare R2
https://railway.app/template/I4zGrH...
7 Replies
Project ID:
61398dc5-6b4a-40c8-a31f-d56ffd752011
61398dc5-6b4a-40c8-a31f-d56ffd752011
Solution
I would recommend you deploy this template into your existing project with the database and to pair it with Cloudflare R2
https://railway.app/template/I4zGrH
thanks, r2 instead of s3?
I've not used templates much, can I edit it or its just a read only thing?
cloudflare R2 is an S3 compatible service.
for your usecase you wouldn't really need to edit anything, simply fill out the variables it asks for and it will backup your database to cloudflare r2 on a schedule
Ok thanks!
let me know if you are having any troubles