Downloading codebases
kevin-ox-digital
PROOP

a year ago

I'm planning on building a client system on my railway account.

This would include things like setting up databases and installing Directus via the templates option.

After the build is done, the client will likely decide where they want to host on their own. At this stage, is there a way I can easily download my directus application and database and anything else I install using templates?

Solved$10 Bounty

Pinned Solution

a year ago

You can use Railway SSH to access a service while its running and download and export any data stored on the container, though SCP won't work so getting the data off would have to involve an outbound connection to upload: https://docs.railway.com/reference/cli-api#ssh

or for data on a volume, the filebrowser template: https://railway.com/deploy/Nan7Bs

But this may not be what you want. If your clients are self-hosting through Railway you can create a template for them to use, or if you build your app as a Dockerfile you can also share a container image or codebase with them. Railway is a service for running containers not for storing or downloading them, so there isn't an easy one-size-fits-all answer.

1 Replies

a year ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody about 1 year ago


a year ago

You can use Railway SSH to access a service while its running and download and export any data stored on the container, though SCP won't work so getting the data off would have to involve an outbound connection to upload: https://docs.railway.com/reference/cli-api#ssh

or for data on a volume, the filebrowser template: https://railway.com/deploy/Nan7Bs

But this may not be what you want. If your clients are self-hosting through Railway you can create a template for them to use, or if you build your app as a Dockerfile you can also share a container image or codebase with them. Railway is a service for running containers not for storing or downloading them, so there isn't an easy one-size-fits-all answer.


Status changed to Solved chandrika 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...