how can i restore deleted repository from bitbukcet?

chana roobinski
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!
August 6, 2024

 

I mistakely deleted a repository, can it be restored?

3 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 9, 2024

Hi Chana and welcome to the community!

I checked the workspaces and repositories your account has access to, and I found one repo deleted by your user. A backup was available for this repo and I restored it. The timestamp of the deletion has been added to this repo's name, but you can change that from Repository settings.

Can you see the repo now when viewing all repositories of the workspace it belongs to?

Kind regards,
Theodora

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.
August 7, 2024

Hello @chana roobinski and Welcome to the Atlassian Community!

It depends on whether you have a backup of your repository or not. If you have a backup you can restore it from the copy. If not, it can be harder. It's better to raise a ticket so that the support team can help you as if the deletion happened within the 7-day window, there is a possibility that your data can be restored. Here is a thread about it: https://community.atlassian.com/t5/Bitbucket-questions/Recover-Deleted-Repository/qaq-p/1805128

For the future, I would advise thinking of a backup strategy. There are some options, like Bitbucket Zero downtime, DIY backup scripts, or third-party backup tools. You can read more about different backup options here: https://xopero.com/blog/en/best-bitbucket-backup-tools-for-secure-data-protection/

Regards,

Daria

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events