3 months ago
I'd like to have a new environment being created each time I create a PR in my repository, which works fine with the PR environment feature. However, it used to be possible to copy all volume data from an environment into the newly created PR one, but I can't find the option anymore.
From documentation: https://docs.railway.com/guides/environments#copy-volume-data
Thank you
3 Replies
3 months ago
Hi, we've deprecated this feature as of https://railway.com/changelog/2025-05-02-great-metal-migration#copy-volumes-on-pr-deprecation
We'll remove the documentation - sorry that's still there.
Best,
Nico
Status changed to Awaiting User Response Railway • 3 months ago
3 months ago
Hi Nico, thank you for the quick reply.
In that case, what would you advise to be the best method to duplicate a database content to a PR environment? (Postgresql)
Status changed to Awaiting Railway Response Railway • 3 months ago
3 months ago
I think a simple pg_dump/pg_restore would serve you good. some db clients also have tools
Status changed to Awaiting User Response Railway • 3 months ago
Status changed to Solved tevarg • 3 months ago