Download project
sh00ckwave1
HOBBYOP

2 months ago

So I uploaded and initialized my project through CLI and then I accidentally completely deleted the whole file and it’s now wiped on my computer is their anyway I can download the whole project or just the main.go file off of railway

Solved

10 Replies

2 months ago

Hey, make sure to use git in the next time. To recover it from Railway, you may be able to ssh into the container by using railway ssh


sh00ckwave1
HOBBYOP

2 months ago

what does railway ssh do?


2 months ago

It creates a shell inside your container so you can run Linux commands inside it


sh00ckwave1
HOBBYOP

2 months ago

i wouldnt be able to recover it from that although its alright


2 months ago

So I'm confused here, you did not deploy your application to Railway? By "off of railway" it meant to me that you deployed via railway up and then lost the local file.


sh00ckwave1
HOBBYOP

2 months ago

I did


sh00ckwave1
HOBBYOP

2 months ago

yes correct


2 months ago

Then your file might still be on the container that's running and railway ssh can be used to recover it.


2 months ago

Unless your go program got compiled and only the binary is left on the container


sh00ckwave1
HOBBYOP

2 months ago

its alright i found it i made a backup


Status changed to Solved passos 2 months ago


Loading...