10 months ago
Hi,
I was looking at the docs https://docs.railway.app/guides/postgresql#high-availability-postgresql-cluster which are great! A really useful addition to this would be if the team can add migration steps. We are already running a postgres + redis instance and would love to move to a more highly available setup.
Cheers,
Ruud
2 Replies
10 months ago
Hey Rudd, you read our minds! We have this for Postgres right now -https://railway.app/template/VgqHWg (thanks for the reminder to mention it in docs, will do that now). It's a service that you can deploy which will do the migration for you. You can checkout the script in the source if you'd prefer to do it manually. The script can also, optionally, enable replication between your standalone and the cluster, assuming you'll want to test before cutting over.
We paused building these migration tools to gauge interest, but we can pick up and see about doing the same for the rest. You can probably adapt the old plugin migration template for Redis (https://railway.app/template/redis-plugin-migration) if you're looking to get started ASAP.
Let me know when you intend to pick up this work, and I'd really love to help out. I expect that we'll learn a lot and identify opportunities to improve these templates.
Status changed to Awaiting User Response railway[bot] • 10 months ago
10 months ago
This is great and will definitely check it out!
Status changed to Awaiting Railway Response railway[bot] • 10 months ago
Status changed to Solved angelo • 10 months ago