Native database backups for popular databases

It'd be great to not have to worry about backups on Railway at all.

We offer an S3-backed automated Postgres backup template, but having this in dashboard itself as a tab would be killer.

  1. Input S3/GCS/some other cloud storage credentials

  2. Set a schedule

  3. We automatically pgdump/mysqldump/etc. your database to the configured cloud storage at the schedule you configure

"Popular" meaning widely-deployed on Railway, e.g. Postgres, MySQL, and Mongo. A more generic way of doing this would be automated volume snapshots that we can ship to any cloud storage provider, and/or combining the two (volumes -> ship snapshot; databases -> ship native dumps).

Completed

10 Replies

👆 would be amazing!

I think going for both volume, and "popular" databases would be the way to go, you don't want to lose pgdump as an example.
We also run other databases such as Chroma vector store, which would be cool to backup as well.


faces-of-ethPRO

a year ago

I'd add Redis to the list perhaps but echo the original poster's request.

Additionally, being able to load this data, or a seed data file into PR environments or forked environments would be clutch. Right now I'm hacking this as a custom one-off data loader service that only runs in environments lacking a PRODUCTION environment variable


dwaynemacHOBBY

a year ago

maybe this could be implemented in a more generic way providing a native backup solution for VOLUMES.


a year ago

the team has mentioned volume snapshots as the backup method, this would allow taking backups of services that use sqlite databases, along with so much more


dwaynemacHOBBY

a year ago

Volume snapshots would be awesome


mbrooksonPRO

a year ago

I’d also say a restore feature would be useful. I’d have a lot more confidence with backups and recovery if it was natively baked in to the platform.


mickTRIAL

10 months ago

Its a no-go that Railway does not provide automatic backups of my Postgres database at least done daily. Render provides daily backups AND point in time recovery. Neon does as well.


jpowellPRO

8 months ago

This is definitely a shortcoming of Railway... which since you're now saying you help with HIPAA compliance, some pieces are missing... backups, retention, recovery, traceability are all part of that where most good cloud DB providers seem to provide out of the box. Would love this


diegohorvattiTRIAL

7 months ago

This really is an uncle in the foot


5 months ago

Hey all!

We now have native backups, it is not limited to databases but works with any service that has an attached volume, check out our docs here -

https://docs.railway.com/reference/backups


Status changed to Completed brody 5 months ago