#Copy database from production to PR environments?

8 messages · Page 1 of 1 (latest)

valid zenith
#

Poking around Railway a lot today and seeing how it could definitely be my new place to deploy apps.

One thing I was very excited about was the abiity to create an environment for each PR.

However, my services are failing being deployed because the data I'm relying on doesn't exist. Is this a feature that's coming, or how are people automating this?

I suppose I could look for an environment variable and bootstrap my data on server boot, but that seems a bit heavy handed.

humble mossBOT
#

Project ID: N/A

pastel joltBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

valid zenith
#

N/A

rotund hound
#

railway doesn’t provide a way to do this natively, you would have to seed the database for the pr environments

valid zenith
#

That's unfortunate. I'm also searching how to upgrade from Hobby to Pro, as I've reached the limit of my database volume size. I'm trying to do that from the interface but there is no clear path to doing so. Help?

rotund hound
valid zenith
#

Got it, thank you. I figured out I had to create a team, upgrade that, then move the project over