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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Script to pull a local copy of all repos in a workspace

Being forced to move up to the cloud bitbucket offering, I want a script to ensure all repos from a cloud bitbucket workspace are regularly pulled to our local server where we can run a full backup.

Can anyone help provide a (windows) script to do this? Or a script we could run on our local bamboo build server to ensure a regular local copy is retained.

It would need to pull all repo's based on the workspace and I would prefer not to have to manually add a new pull each time a new project or repo is created.

Thanks!

2 answers

Thanks for the feedback.
For now, I have gone with a slightly different tool:

SCM Backup: SCM Backup (scm-backup.org)

Seems to do what I need (for now) although I am starting to realise that like most remote hosting, having to move our Bitbucket, Jira and Confluence to the hosted cloud offering is definately NOT cheaper than self-hosting!

Hi Chris! 

To run Bitbucket backups, you can do the following: 

1. Using git clone Command-line Script. To use this command, you must have Git installed on your terminal. You can read more about it here.

2. You can use bbbackup. It's used as a backup solution for cloud-to-local repository cloning. It’s written in Python, which means to use it you need to have Python installed on your machine.

3. You can use third-party automated and compliant backups like Rewind that are compatible with Atlassian's shared responsibility model

Suggest an answer

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

Atlassian Community Events