Downloading codebases
kevin-ox-digital
PROOP

9 months 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

erisa
HOBBY

8 months 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

brody
EMPLOYEE

9 months 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 9 months ago


erisa
HOBBY

8 months 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 8 months ago


Loading...