Git Product home page Git Product logo

migrate_bitbucket_server_to_bitbucket_cloud's Introduction

Migrate Atlassian Bitbucket Server to Bitbucket Cloud

Migrate Atlassian Bitbucket Server to Bitbucket Cloud

Build Status

https://github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud

Requirements:
It is recommended to run this script as root directly on your Bitbucket Server (Linux only)
Requires curl, git, jq, bc, openssl
Run install_requirements.sh to install these packages
The migration script may work on Mac OS but this has not been tested so run at your own risk!

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION:

YOU MUST AGREE TO ALL TERMS IN APACHE LICENSE 2.0
THIS WORK IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND
YOU AGREE TO ACCEPT ALL LIABILITY IN USING THIS WORK AND ASSUME ANY AND ALL RISKS ASSOCIATED WITH RUNNING THIS WORK

Steps for use:

  1. Create Bitbucket Cloud Account and Setup Team
  2. Create OAuth Consumer in Bitbucket Cloud with Full Permisions to Team Account
  3. Create Admin or System Admin level user for migration on your Bitbucket Server
  4. Set all required variables in the script migrate.sh then run ./migrate.sh

Migration process works in the following way:

  1. Get list of all Projects and Repos from Bitbucket Server
  2. Create new Project in Bitbucket Cloud
  3. Create new Repo in Cloud
  4. Backup each Project Repo and all branches locally using git
  5. Add new git remote cloud, push all branches to cloud
  6. Send email to git committers when each repo is migrated (optional)

Or migration can be done in phases with specific projects and repos (see notes in script)

Post migration:

  1. Update many local machine git repo URLs to Bitbucket Cloud URLs by running update-git-repo-urls.sh

Bugs and feature requests

Have a bug or a feature request? The issue tracker is the preferred channel for bug reports, feature requests and submitting pull requests. If your problem or idea is not addressed yet, please open a new issue.

Creator

Shawn Woodford

Copyright and License

Code and Documentation Copyright 2018 Shawn Woodford. Code released under the Apache License 2.0.

migrate_bitbucket_server_to_bitbucket_cloud's People

Contributors

francolucas avatar swoodford avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.