Sync Bucket and/or Database between environments
cherrynerd
PROOP

3 months ago

I'm wondering if it's possible to sync buckets and/or databases between environments as well with the sync button.

For context: I'm building a webshop with Medusajs and am using the bucket for storing my (product) images.

To make it easier for me as a developer and my team maintaining the shop to have a sort of staging environment set up where my colleagues can prepare the products and fill in details for newly developed features without always having to push to production.

6 Replies

IIRC there isn't a native way to sync buckets and/or database data.


For buckets, I'd probably just write a cron job that fetches the diff every n time.


For database, you'd be working with dumps (I think...)


However, this will incur egress charges as private networking will not work across environments.


cherrynerd
PROOP

3 months ago

So in that case, should I just make all my different environments in the same Railway environment? 🤔


cherrynerd
PROOP

3 months ago

That seems a bit... odd?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...