Skip to content

A simple script to backup all bitbucket git repositories locally

License

Notifications You must be signed in to change notification settings

hehu80/bitbackup-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitbackup

Description

This Python script will download all of your Git repositories from a Bitbucket workspace. If a repository does not exist locally, the repo will be downloaded to the target directory. If a repository already exists locally, git remote update will be executed.

Installation

pip install pybitbackup 

Usage

Download all projects from a BitBucket workspace into the current folder:

pybitbackup <workspace> --user <Username> --key <App Key>

App Key and Username a required to access the Bitbucket API. You can easily generate a new App Key at your personal settings page in Bitbucket. Workspace could be your own username to download your personal repositories or one of the team workspaces. To download only repositories of a certain project, you can specify the project name.

About

A simple script to backup all bitbucket git repositories locally

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages