# Accidentally deleted source code - web IDE

**URL:** <https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406>\
**Category:** Firmware\
**Tags:** electron\
**Created:** [November 13, 2020, 2:27am UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406 "2020-11-13T02:27:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![chucka](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@chucka](https://community.particle.io/u/chucka)\
**Post date:** [November 13, 2020, 2:27am UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/1 "2020-11-13T02:27:24Z")

</div>

I thought I was selected the source code to edit it and apparently deleted it?? Is there any way to recover this as I don’t know whether there is a backup anywhere - this was done in the Web IDE. Any help greatly appreciated.

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [November 13, 2020, 3:30am UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/2 "2020-11-13T03:30:29Z")

</div>

ping @marekparticle

---

<div class="post-metadata">

**Author:** ![marekparticle](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/marekparticle/32/22793_2.png) [@marekparticle](https://community.particle.io/u/marekparticle)\
**Post date:** [November 13, 2020, 1:27pm UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/3 "2020-11-13T13:27:46Z")

</div>

Hey @chucka - yes, I can probably restore this for you. Can you please open a ticket at [support.particle.io](http://support.particle.io) with the following info:

a) your User ID  
b) the last four digits of payment info we have for you on file  
c) the name of the sketch and as exact a timestamp as possible of the desired version ( **please note timezone** )

and we’ll get you squared away!

Thanks for the ping @nrobinson2000, I really appreciate it!

---

<div class="post-metadata">

**Author:** ![chucka](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@chucka](https://community.particle.io/u/chucka)\
**Post date:** [November 13, 2020, 5:20pm UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/4 "2020-11-13T17:20:19Z")

</div>

Thanks.

This is a project I last visited 2 years ago and I did find what may be a current backup (but not sure if its actually “current”).

My UID: is [cca@allenz.com](mailto:cca@allenz.com)  
Last 4 of my CC: 0494  
Sketch name: GolfTracker\_V2 (or very close to that).  
TS: Around May 7, 2019 17:26 (PT) (at least that’s what the “backup” I located has).

That would be great if you could resurrect it.

---

<div class="post-metadata">

**Author:** ![marekparticle](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/marekparticle/32/22793_2.png) [@marekparticle](https://community.particle.io/u/marekparticle)\
**Post date:** [November 13, 2020, 5:54pm UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/5 "2020-11-13T17:54:39Z")

</div>

Oh no @chucka - I thought this was a much more recent revision. We have some backups that are persistent for a week or so, but I don’t have access to something from 2 years ago.

---

<div class="post-metadata">

**Author:** ![chucka](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@chucka](https://community.particle.io/u/chucka)\
**Post date:** [November 13, 2020, 7:03pm UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/6 "2020-11-13T19:03:21Z")

</div>

Thanks for trying.

I’m hopeful that the one I found was the latest - more hopeful that the client never comes back and wants changes!! It was for a POC project and, although very successful, I don’t think the client was able to get the necessary investment.

I wanted to hack the code for a new project using a Boron to replace a FONA in our cellular air quality monitoring device (the majority of the network is WiFi). We have about 30 devices deployed around central oregon and get a ton of activity during fire season. The FONA is a 2G device and at end-of-life.

You can see our deployment at [aqi.espacelabs.us](http://aqi.espacelabs.us)

Thanks again for looking into it.

---

<div class="post-metadata">

**Author:** ![marekparticle](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/marekparticle/32/22793_2.png) [@marekparticle](https://community.particle.io/u/marekparticle)\
**Post date:** [November 13, 2020, 8:22pm UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/7 "2020-11-13T20:22:09Z")

</div>

Hi @chucka - I’m sorry I couldn’t help you more then! This project looks extremely cool, and extremely relevant!

Don’t ever hesitate to reach out to us via [support.particle.io](http://support.particle.io) if we can assist you through any technical issues (like this one!), our team is standing by and happy to help.

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [November 13, 2020, 9:07pm UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/8 "2020-11-13T21:07:48Z")

</div>

Just to double check: The time you supposedly deleted the code was back a year plus, then you are out of luck, but if you just recently accidentally deleted the code you may still have a chance (IMO).

IIRC the important thing is not when you last actively worked on the code but rather till when it lived on the servers to be backed up - isn’t that so @marekparticle?

---

<div class="post-metadata">

**Author:** ![chucka](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@chucka](https://community.particle.io/u/chucka)\
**Post date:** [November 13, 2020, 10:22pm UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/9 "2020-11-13T22:22:34Z")

</div>

I only deleted it yesterday - about 30 minutes before the post. Although I hadn’t worked on it for a couple years.

---

<div class="post-metadata">

**Author:** ![marekparticle](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/marekparticle/32/22793_2.png) [@marekparticle](https://community.particle.io/u/marekparticle)\
**Post date:** [November 13, 2020, 11:11pm UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/10 "2020-11-13T23:11:00Z")

</div>

That’s correct, @ScruffR.

@chucka - just in case it’s possible, I’ll DM you every last revision for your project as a .json file.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/3/2/3291e3c9351789fe8620ae5bcec8d3fec67ff221.png) [@system](https://community.particle.io/u/system)\
**Post date:** [May 15, 2021, 11:11am UTC](https://community.particle.io/t/accidentally-deleted-source-code-web-ide/58406/11 "2021-05-15T11:11:20Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
