Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

A rogue former employee has just deleted everything on bitbucket, what should we do?

David Elliot Johnson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2022

A former employee has just deleted everything in our bitbucket account - all repos, everything. What should we do? Is there any way it can be recovered? 

2 answers

4 votes
Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 5, 2022

Hey David,

Welcome to the Atlassian Community, that sounds like something terrible! 

If it's Bitbucket Cloud you could reach out to Atlassian Support to see if they can help recover your code: https://support.atlassian.com 

 

Otherwise I would hope that your developers have local copies of your bitbucket repositories and you can recover your repositories from their local instances.

Cheers,
Peter

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 7, 2022

Hi @David Elliot Johnson,

 

If you are using Bitbucket Server (self-hosted instance), then the way to recover would be from any backups or from the clone that other developers may have on their machine.

 

If you are using Bitbucket Cloud (repos hosted in https://bitbucket.org/):

I cannot see a Bitbucket Cloud account in our system with the email of your community account. If your question concerns Bitbucket Cloud and you are using an account with a different email, we may be able to help restore the core repository content only, as long as the deletion happened within the last 7 days. We are unable to recover metadata or any content that was deleted past 7 days.

I would suggest to first check with any other employees who may have a clone of the repos locally and see if you can restore the repos from these clones.

If this is not possible, and the deletion happened within the last 7 days, and you are on the Free plan and can't create a support ticket yourself as Peter suggested, then please log in to community with the email of your Bitbucket Cloud account that had access to these repos, and leave a comment here.

I can then create a support ticket for you so that we check if we can restore these repositories from our backup.

 

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events