All Projects → swoodford → migrate_bitbucket_server_to_bitbucket_cloud

swoodford / migrate_bitbucket_server_to_bitbucket_cloud

Licence: Apache-2.0 license
Migrate Atlassian Bitbucket Server to Bitbucket Cloud

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to migrate bitbucket server to bitbucket cloud

go-bitbucket-v1
Bitbucket-server API (v1.0) library for Golang.
Stars: ✭ 45 (+246.15%)
Mutual labels:  bitbucket, bitbucket-server, stash, bitbucket-api
bitbucket-asciidoc-plugin
An add-on for Atlassian Bitbucket Server to render AsciiDoc files.
Stars: ✭ 20 (+53.85%)
Mutual labels:  bitbucket, atlassian, atlassian-bitbucket
froggit-go
Froggit-Go is a universal Go library, allowing to perform actions on VCS providers.
Stars: ✭ 19 (+46.15%)
Mutual labels:  bitbucket, bitbucket-server, bitbucket-cloud
go-scm
Package scm provides a unified interface to multiple source code management systems.
Stars: ✭ 117 (+800%)
Mutual labels:  bitbucket, bitbucket-server
bitbucket-push-and-pull-request-plugin
Plugin for Jenkins v2.138.2 or later, that triggers job builds on Bitbucket's push and pull request events.
Stars: ✭ 47 (+261.54%)
Mutual labels:  bitbucket-server, bitbucket-cloud
data-center-helm-charts
Helm charts for Atlassian's Data Center products
Stars: ✭ 77 (+492.31%)
Mutual labels:  bitbucket, atlassian
Bitbucket.Net
C# client for Atlassian Bitbucket Server
Stars: ✭ 29 (+123.08%)
Mutual labels:  bitbucket, bitbucket-server
GitWebLinks
Copy links to files in their online Git repositories from inside Visual Studio Code and Visual Studio 2022.
Stars: ✭ 28 (+115.38%)
Mutual labels:  bitbucket, bitbucket-server
r2dbc-migrate
R2DBC database migration tool & library
Stars: ✭ 83 (+538.46%)
Mutual labels:  migration, migrate
Client
Bitbucket API 2.0 client for PHP
Stars: ✭ 85 (+553.85%)
Mutual labels:  bitbucket, bitbucket-api
migrana
Migrana is a Datomic migration tool that gives you the control over how your Datomic database evolves.
Stars: ✭ 22 (+69.23%)
Mutual labels:  migration
pg-migrate
PostgreSQL migration tool
Stars: ✭ 39 (+200%)
Mutual labels:  migration
ProcessMigrator
ProcessWire module that facilitates automated migration and sharing of page trees along with their templates and fields.
Stars: ✭ 29 (+123.08%)
Mutual labels:  migration
solidbase
Generic migration tool for RDBMS and other resources based on Liquibase
Stars: ✭ 32 (+146.15%)
Mutual labels:  migration
tracboat
Trac to GitLab migration toolbox
Stars: ✭ 32 (+146.15%)
Mutual labels:  migration
Remove-DuplicateItems
Script to remove duplicate items from Exchange mailboxes.
Stars: ✭ 32 (+146.15%)
Mutual labels:  migration
toggl2clockify
Migrate data from toggl to clockify
Stars: ✭ 21 (+61.54%)
Mutual labels:  migration
pgcapture
A scalable Netflix DBLog implementation for PostgreSQL
Stars: ✭ 94 (+623.08%)
Mutual labels:  migration
bitbucket-sync
Mirror of BitBucket Sync project hosted on BitBucket
Stars: ✭ 18 (+38.46%)
Mutual labels:  bitbucket
violation-comments-to-stash-plugin
Comments Bitbucket Server (or Stash) pull requests with static code analyzer findings.
Stars: ✭ 41 (+215.38%)
Mutual labels:  bitbucket-server

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].