Skip to content
Attached volume
franklinson
OP

a year ago

If I attached a volume to my web server, does it store my web server configurations and settings that if I need to restore it, it becomes easier? Wanted to pause a server but the only option I have is to delete and bring it back after a while. So want to know if "attach volume" will save my settings to prevent me from doing a whole lot settings when I am bringing it back.

Solved

16 Replies

a year ago

Volume only persists files you write to it, what is the use case of this 'web server config'?

Remember that you will need to redeploy your app after attaching a volume.


franklinson
OP

a year ago

Its not clear to me


a year ago

If by configurations, you're talking about config files inside your web server, then I'm not sure they will persist with a volume since they're probably rebuilt at every restart/redeploy.

If you're talking about files that you've uploaded through your own app, then mounting a volume to that path will persist those files between restart/redeploys.

Your concern is dataloss, by attaching a volume you will need to redeploy your service, that will cause an initial dataloss since you still don't persist any files.


franklinson
OP

a year ago

Alright

Thank you


franklinson
OP

a year ago

My concern isnt data loss per say, its about how I setup the domain, predeploy, builds etc


a year ago

Oh, you're talking about Railway service settings.

Don't worry, they will be saved if you don't delete that service.


a year ago

If you wanna pause a service just remove it's active deployment


a year ago

Click on it -> Deployments tab -


a year ago

Click on the service -> deployments tab -> three dots on the active deploy -> remove

1444001612707139666


franklinson
OP

a year ago

Oh great. So all I have to do is remove the current deployment thats all?


franklinson
OP

a year ago

That means to bring it back, I have to redeploy it again right?


a year ago

yeah!


franklinson
OP

a year ago

Sure. Thanks


a year ago

You can also take a look at the Serverless feature



franklinson
OP

a year ago

Alright, I will


Status changed to Solved medim • 12 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...