Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to retrieve source code from deleted API

Hi everyone, I have taken over a company that previously had a web app on the Google Cloud Platform and that app has since been deleted by someone. How do I retrieve the source code for this app. It also once resided on our main website if that helps! Really appreciate your help.

MA

0 4 191
4 REPLIES 4

Hi @maniballi

Welcome to Google Cloud Community!

Retrieving a deleted source code from the app is a bit tricky. However, you can check the Logs Explorer to see if there is any reference to the code deployment. While you can't retrieve the code directly from the logs, it can give you insights into deployment configurations.

Another one that you can check is if the backup and disaster recovery is enabled, so that you can restore the data depending on the app used. You can refer to this documentation for Backup and DR for your reference. 

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

Thanks, I really appreciate the feedback. Is it worthwhile contacting
someone at Google Cloud to help with this?

*Michael J. Aniballi* : CEO : OpenGravity
<PII Removed by staff> *Data. Strategy. Storytelling.*

*Your Salesforce© Partner for Sales Cloud, Service Cloud, Field Service
Lightning Your Tableau© Partner for Analytics and Dashboarding*

Book a time with me! <>

Yes, if you are on a paid account, you can reach out or file a case to Google Cloud Customer Care for 1:1 support to check your project.

That’s tough. If the app was on Google Cloud, check for backups or snapshots in your Google Cloud Storage. If your team used version control like GitHub or GitLab, the code could still be there. Also, since the app was on your website, check if any parts are cached with your hosting provider. If not, Google Cloud support might help if backups or logs are available.

Top Solution Authors