After Zipping/Downloading my project, all of the code is completely gone and I cannot seem to restore project

Hi All,

I was trying to migrate a project from one account to another and I was told by support to navigate to the project and then zip/download the “studio” folder. Maybe because of my work laptop permissions, but I am unable to see the zipped downloaded file anywhere on my laptop. And now my app won’t load and all of the project code is missing. Can anyone advise on how to restore my project?

Thank you!

I dont think you can directly zip the studio folder. What command did you run? I think I did something similar but because you can’t access the root you can’t see it. Ask the prototyper if your ZIP is in the root or a script for you to see the root structure. I wouldn’t recommend zipping the entire thing and downloading though.

This is how you do it. You navigate to the files and folders, select the files you want to download and right right-click, and choose the option of zip and download. confirm you did this

I run this whenever I want to make a backup. Then when the zip file is created, I right-click on the zip file in the file explorer on the left a zip and download it.

zip -r9 “user-backup-$(date +%F).zip” . -x “user-backup-.zip" "/node_modules/” “/.next/" "/.git/” “/dist/" "/build/” “/out/" "/.turbo/” “/.cache/" "/.venv/” “/venv/" "/pycache/” “/coverage/" "/.firebase/” “/firebase-cache/" “/.DS_Store” “/Thumbs.db” "/runner/node_modules/

1 Like