I’ve accidentally deleted my project from the Defold dashboard.
Locally I have all my files saved, but how can I restore the project on the Defold dashboard to be able to synchronize my files, use development apps etc.?
I’ve accidentally deleted my project from the Defold dashboard.
Locally I have all my files saved, but how can I restore the project on the Defold dashboard to be able to synchronize my files, use development apps etc.?
Hi,
ouch, that’s unfortunate! We don’t have the ability to restore deleted projects on our side, but you should be able to solve it in one of the two ways described below.
IMPORTANT: First of all, make a backup of your project if the below solutions don’t work out! Copy it somewhere safe!
You should be able to delete the internal .git
folder located in the project directory and then synchronizing the project from the editor. This will automatically create a new project on the dashboard.
.git
folder that should be located inside the project folder.game.project
file in the project folder.You should be able to manually create a new project on the dashboard and copy the “old” files into the newly created one.
.git
, .gitignore
, build
and .internal
.Thanks, Sven,
I went for the second options and created the new project. Of course, the commit history is gone forever. It would be nice to have some temporary “Restore” option. Or at least, it shouldn’t be this easy to delete the project (two clicks - and everything is gone).
As an example github has 2 clicks and a password confirmation. Perhaps we should add the confirmation phase? Ping @samuel.nystedt
Good idea, password confirmation always gives you second thoughts.
Besides, you can include in confirmation message that all source code & all history will be deleted (instead of simple “are you sure”).
There’s definitely room for improvement here.
Password confirmation sounds like a good idea. Also the messaging both before and after deletion can be improved. Will add a ticket to our backlog.
We did a quick fix to this one. While we chose to omit password confirmation (due to other priorities), the copy was clarified, and the exact consequences of deleting your project were added. Also, the title of the project was added.
Can’t believe you’ve pulled the plug on your MTV cribs simulator Axel. I guess you have other projects to focus on.
Yeah… Got into sort of a legal dispute with Xzibit, things got kind of ugly—you know how it is. Let’s just say that they heard I like lawsuits, so they put a lawsuit in my law suit, so they could law suit from their law suite.