I have a Dart project folder that has 3 cloud functions in it which have all been deployed. I mistakenly deleted the project while trying to delete something else. I did SHIFT+DEL so it's not in my recycle bin 😭 😭
I want to know if there is a way I can retrieve the files from each cloud function on Appwrite. 🥹
Summary
User accidentally deleted a Dart project folder with 3 cloud functions deployed on Appwrite. Looking for a way to retrieve the files from each cloud function. Solution: Check functions volume for a folder matching the function deployment ID. Also, try digging through docker volumes, specifically the /tmp folder, although the compiled Dart source code might be gone.
Drake
Admin
Apr 30, 2023, 23:51
You can try digging through some of your docker volumes. Maybe /tmp folder. The thing is, dart is compiled, so the source code might be gone
Samuel Kings
Rank 3: Container
Apr 30, 2023, 23:54
😭
Drake
Admin
Apr 30, 2023, 23:55
Hopefully, you check your code into version control next time
Samuel Kings
Rank 3: Container
Apr 30, 2023, 23:56
Ikr. I was just procrastinating this time around. Now, I've learnt the hard way
Drake
Admin
Apr 30, 2023, 23:58
Look through your functions volume and try to find a folder that matches the id of your function deployment