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
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
2 months ago
It creates a shell inside your container so you can run Linux commands inside it
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.
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
Status changed to Solved passos • 2 months ago