You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi was trying to back up repos from Bitbucket cloud. To back it up, we need to install Bitbucket server? I couldn't find the installer for bitbucket server on Windows OS (https://www.atlassian.com/software/bitbucket/download-archives) .
Community back up discussion was last 5 years ago (https://community.atlassian.com/t5/Bitbucket-questions/Best-way-to-back-up-all-BitBucket-repositories/qaq-p/833630). Couldn't find the latest discussion?
Found bitbucket up from https://gitprotect.io/ but it's a paid version. Can we backup the repos without using the third party app?
Hello @Ruby ,
Thank you for reaching out to Atlassian Community!
You don't need to install Bitbucket Server in order to backup your repositories from Bitbucket Cloud. Actually, the Bitbucket Server and Cloud are two different products with regard to where they are hosted.
Bitbucket Server is a self-hosted version of bitbucket that is setup and operates in the user's company infrastructure/servers, while Bitbucket Cloud is a cloud-based product meaning that it is hosted and operated by Atlassian itself, so you don't have to worry about managing the infrastructure behind it.
As for doing a backup of your Bitbucket Cloud repositories, given the fact that git is a distributed version control system, this means that a clone of a repository can be considered as a backup of it. So in this case, I would suggest doing a mirror clone of the repositories you want a backup, using the following command :
git clone --mirror <repository URL>
You could build a script that gets the list of all repositories within a workspace from Bitbucket Cloud API (see List repositories in a workspace), and then iterate over those repos executing a git mirror clone of each of them.
Hope that helps! Let me know in case you have any questions.
Thank you, @Ruby !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Found "bitbucket backup client" to used but the marketplace at atlassian said it will no longer support in future. (https://marketplace.atlassian.com/apps/1211500/bitbucket-server-backup-client?tab=overview&hosting=server) What should we use if so?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.