Source

Bitbucket Backup /

Filename Size Date modified Message
lib
src
60 B
1.1 KB
23 B
1.6 KB
252 B
1.7 KB

Bitbucket Backup

Bitbucket Backup is a backup tool which backups all your Bitbucket repositories to your local machine.

How does it work?

Bitbucket Backup uses the Bitbucket API to get a list of all your repositories.
Then, it uses Mercurial (which needs to be installed on your machine) to clone every repository into your local backup folder (or just pull the newest changes if it already is in your local backup folder).
It also checks for each repository, whether it has a wiki (which is a Mercurial repository itself). If yes, that will be automatically cloned/pulled as well.

How to build

Just run build.bat in the main folder. This will create a new folder named release with the compiled exe.

Setup

Bitbucket Backup loads all important values (your Bitbucket username and password, and the backup folder on your local machine) from a config file.
Before you run Bitbucket Backup the first time, you need to edit BitbucketBackup.exe.config and provide your data.

Acknowledgements

Bitbucket Backup makes use of the following open source projects:

License

Bitbucket Backup is licensed under the MIT License. See License.txt for details.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.