Selective Restoration of Deleted Projects/Repositories in Bitbucket

yj_seong February 13, 2025

Hi, I’m looking for a way to restore a specific project or repository that was accidentally deleted in Bitbucket, without performing a full instance recovery.

I understand that file system and database snapshots must be aligned for a proper restoration, but I’d like to know if there’s any way to recover only a deleted project or repository without restoring the entire Bitbucket instance.

Here’s what we are considering:

- Restoring a backup to a temporary Bitbucket instance

- Exporting only the necessary projects/repositories from the temporary instance

- Importing them back into the active Bitbucket instance

Would this approach work? Or is there a more efficient way to achieve this?

Also, does Atlassian provide any official tools or scripts for selectively restoring deleted projects or repositories?

 

If anyone has experience with this or can offer guidance, I’d really appreciate your help.
Thanks in advance!

1 answer

0 votes
Daria Kulikova_GitProtect_io
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 14, 2025

Hello @yj_seong ,

If you have a backup done before the deleting repository or project, the approach you described may work -  restoring a backup to a temporary Bitbucket instance, exporting the necessary repositories or projects, and then importing them back into the active instance.

Hovewer, to have the possibility of granular restore, it's worth considering third-party backup tools, like GitProtect backup and Disaster Recovery software for Bitbucket, Jira Cloud, GitHub, GitLab, and Azure DevOps. With the solution, it's possible not only to get automated scheduled backups, unlimited retention, ransomware protection, keep backups in multiple storage destinations with replication enabled, but also get the possibility of full and granular recovery of only specific data to the same or a new account, to your local machine, to another git hosting service. 

Learn more about GitProtect: https://marketplace.atlassian.com/apps/1225728/gitprotect-io-backup-for-bitbucket?hosting=cloud&tab=overview

Regards, 

Daria

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events