22 days ago
What is the recommended approach to backup database and volume as I want to store them in a separate region (within Railway) from a DR perspective
I have an environment with a volume and Postgres DB. I have setup the automated backup for both - but I am guessing the backups are stored within the same region.
Is there an API that I can call to either copy the into different project running in a different region ?
4 Replies
22 days ago
Volume backups can currently only be restored into the same project and environment, and there is no built-in cross-region backup replication or API to copy backups to a different project or region. For a DR strategy, you would need to handle cross-region data replication at the application level, for example by running pg_dump on a schedule and pushing the output to external storage, or by setting up a Postgres replica in a second region using streaming replication. More details on our backup feature and its current limitations are in the backups docs, and the volume backup API can be used to automate backup creation and listing within the same project.
Status changed to Awaiting User Response Railway • 22 days ago
22 days ago
The OOTB backup feature is half baked. All backup best practices start with the ability to keep it in a different location. Is there a plan to add a replication capability ?
Status changed to Awaiting Railway Response Railway • 22 days ago
18 days ago
Any update on this question/request ?
18 days ago
Cross-region backup replication is not currently available, and there is nothing on the roadmap for it at this time. Backups can only be restored within the same project and environment. We appreciate the feedback - this would be a great feature request! You can write up your use case and submit it here so other users can upvote it: https://station.railway.com/roadmap
Status changed to Awaiting User Response Railway • 18 days ago
11 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 11 days ago