Is it possible to recover code that has been deleted by a malicious developer?

October 13, 2016 1.2k views

I’m not a developer so apologies if this question is naive but a developer we had to fire deleted our code and we are trying to reclaim it - is there a way to do this? thanks

1 Answer

If you had backups enabled on your droplet or snapshots of it then it would be possible to roll back to one of those images. If not, and your developer either deleted the files from your droplet or deleted your droplet itself then there is not likely going t be a way to recover them.

One things I will mention. If this was a static website (not interactive) and it was public, it is possible that it may have been cached by google or the Internet Archive. This is not perfect but might allow you to recover some portion of what was lost.

by Etel Sverdlov
This tutorial provides an explanation for how backup and snapshots work on DigitalOcean. Additionally, it includes information on how to scale, backup, and clone out servers with snapshots.
  • Thanks ryanpq - unfortunately I don’t have a back up so I suspect it’s gone. The site wasn’t static either but thank you for your very helpful suggestions. B

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!