https://github.com/arciisine/bitbucketimporter
Bitbucket Server to Bitbucket Cloud Migration Tool
https://github.com/arciisine/bitbucketimporter
bitbucket bitbucket-server git migration
Last synced: about 2 months ago
JSON representation
Bitbucket Server to Bitbucket Cloud Migration Tool
- Host: GitHub
- URL: https://github.com/arciisine/bitbucketimporter
- Owner: arciisine
- Created: 2018-01-23T05:44:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-29T03:09:47.000Z (over 8 years ago)
- Last Synced: 2025-04-03T18:36:12.062Z (about 1 year ago)
- Topics: bitbucket, bitbucket-server, git, migration
- Language: TypeScript
- Homepage:
- Size: 92.8 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BitbucketImporter
This is a tool to migrate from a Bitbucket Server installation to Bitbucket.org.
The tool provides the following features:
* Set server to read only (by removing all user permissions as this seems to be the only way)
* _WARNING_: All users will lose specific permissions and be given read only access to entire code base
* Migrate code to Bitbucket.org
* _WARNING_: Will delete everything in Bitbucket.org under the team and do a fresh import
* Migrate all projects to Bitbucket.org
* Migrate all repositories to Bitbucket.org
* Bitbucket.org handles the hierarchy of project/repo a little differently
* Repositories cannot have the same name as all repositories live at the same level (vs under a project in Server)
* All repository slugs will be renamed to be prefixed with the project key
* Produces a user migration script
* Handles SSH keys
* Handles Personal Repositories
* Will rewrite local .git/config files to point to new urls in Bitbucket.org
What is needed:
* A Bitbucket Server admin account, username and password
* A Bitbucket.org Team Administrator account, for whatever team you want to migrate to
How to run:
* npm install (first time only)
* `[USAGE] ./importer.sh --sh|--server-host --su|--server-user --sp|--server-pass --ct|--cloud-team --cu|--cloud-user --cp|--cloud-pass [archive|import|userscript]`