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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.