help recovering important files
peacocksir
HOBBYOP

9 months ago

hey, on railway i host my discord bot for a fairly large server. i have it connected to a GitHub repo.

the bot contains several json files which hold info for server members.

currently, the only way i am able to access the changes to these files is by running a command i added which sends all the the file data that has been updated since the last gh commit

unforatnly, i forgot the change the code when i removed a json file and now the command dosnt execute.

is there any way to view these changed files without removing the data/making a new commit so i dont loose 10 days worth of data?

Solved$10 Bounty

24 Replies

peacocksir
HOBBYOP

9 months ago

b6a98aa2-1b73-4ace-bd6f-938ee3488910


peacocksir
HOBBYOP

9 months ago

also in the future is there any way i can easily view the files of my project without having to do a whole process every time i want to look?


9 months ago

You should be using a database rather than json files to store data. That would make your life much, much easier


9 months ago

ssh would be your best bet


peacocksir
HOBBYOP

9 months ago

yea, i figured i should have switched to something like that a while ago

will DEFINITELY switch after this lol


peacocksir
HOBBYOP

9 months ago

thank you, i will look into it


peacocksir
HOBBYOP

9 months ago

oh ok good


peacocksir
HOBBYOP

9 months ago

yea this should be fine


9 months ago

Great glad to hear it, am I good to call this thread solved?


peacocksir
HOBBYOP

9 months ago

i will mark it once i make sure my stuff is safe


peacocksir
HOBBYOP

9 months ago

its !s right


9 months ago

Only conductors can mark threads as solved


peacocksir
HOBBYOP

9 months ago

oh ok


peacocksir
HOBBYOP

9 months ago

im sure this will work


9 months ago

No rush though, do your thing


peacocksir
HOBBYOP

9 months ago

ok


peacocksir
HOBBYOP

9 months ago

i will ping you when im finished


peacocksir
HOBBYOP

9 months ago

is the easy install command hardcoded to usr/local/bin? im on windows so theres not that file. ive tried making those folders and that diddnt help


peacocksir
HOBBYOP

9 months ago

i guess i can just localy install it



peacocksir
HOBBYOP

9 months ago

ok good


peacocksir
HOBBYOP

9 months ago

alright i thankfully got it, can see why ssh was the most requested feature. you may close now. thank you!


9 months ago

glad to hear it!


9 months ago

!s


Status changed to Solved adam 9 months ago


Status changed to Solved chandrika 9 months ago


Loading...