Skip to content

Utility to backup all your bitbucket repositories locally

License

Notifications You must be signed in to change notification settings

thekvs/bitbucket-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compilation

Build Status

Run make command in the repository's root, compiled binary will be located in the bin subfolder. You need Go programming language version >= 1.11 to compile this project.

Usage

$ bitbucket-backup -h
Usage:
  bitbucket-backup [OPTIONS]

Application Options:
  -u, --username=      bitbucket username
  -p, --password=      bitbucket user's password
  -l, --location=      local backup location
  -a, --attempts=      number of attempts to make before giving up (default: 1)
  -i, --ignore=        repository to ignore, may be specified several times
  -b, --bare           clone bare repository (git only)
  -w, --with-wiki      also backup wiki
  -P, --prune          prune repo on remote update (git only)
  -h, --http           clone/update via https instead of ssh
  -d, --dry-run        do nothing, just print commands
  -v, --verbose        be more verbose
  -s, --show-progress  show progress bar

Help Options:
  -h, --help           Show this help message

It is highly recommended to use separate application password (how to create one explayned here) with limited access rights instead of your normal Bitbucket password.

About

Utility to backup all your bitbucket repositories locally

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published