Duplicating Existing Project
aalfath
PROOP

a month ago

Hey there,

So, one of my SaaS products is being acquired by a 3rd party.

Is there any feature where I can create a duplicate or copy of the project (and their services) to another Railway account?

Since I still need to keep the existing services running until the migration is done, I will need to first duplicate the current stacks first on another Railway account, and to eventually handover that Railway credentials and the associated git repos to the buyer.

Or, if anyone has better suggestions, please let me know.

Thank you very much.

16 Replies

i'm not sure you can copy projects directly, you can generate a template and use it on your other account and copy-paste all the credentials manually


aalfath
PROOP

a month ago

Hi Taf, thank you for your inputs. I will look into it.


aalfath
PROOP

a month ago

I wish Railway allows copying the whole project to another Railway account. Such feature exists when creating new environment, but I will need it for another Railway account belonging to the buyer.

image.png

Attachments


yeah, the only possible way now is by creating a template


aalfath
PROOP

a month ago

Is it possible to generate a template from an existing project? It looks like I have to add the services manually when creating a new template.


aalfath
PROOP

a month ago

The whole tech stacks have 50 running services, so adding them manually 1 by 1 would be a lot of work 🙁

image.png

Attachments


aalfath
PROOP

a month ago

Duplicating Existing Project


yes, if you go to the project settings, on the general tab you'll see the "Generate Template from Project" and the "Create Template" button

image0.jpg

Attachments


aalfath
PROOP

a month ago

Thank you. I just tried it.

It looks like one of the services used in the project prevented that function from working properly.

image.png

Attachments


does any of your services use private repos?


aalfath
PROOP

a month ago

Yes


maybe that's what causes it


aalfath
PROOP

a month ago

Hmm I'll have to think about it, maybe using railway-cli from one account to another work better. List all services from 1 account, save the information of the git source repo and their .envs, then transfer them all to another account.


aalfath
PROOP

a month ago

But thank you for your help.


I don't think it's possible to create template service that rely on private repo


yeah ,give it a try👍


Welcome!

Sign in to your Railway account to join the conversation.

Loading...