34 lines
1.3 KiB
Markdown
34 lines
1.3 KiB
Markdown
# Migrating projects to a GitLab instance
|
|
|
|
1. [From Bitbucket Cloud (aka bitbucket.org)](bitbucket.md)
|
|
1. [From Bitbucket Server (aka Stash)](bitbucket_server.md)
|
|
1. [From ClearCase](clearcase.md)
|
|
1. [From CVS](cvs.md)
|
|
1. [From FogBugz](fogbugz.md)
|
|
1. [From GitHub.com or GitHub Enterprise](github.md)
|
|
1. [From GitLab.com](gitlab_com.md)
|
|
1. [From Gitea](gitea.md)
|
|
1. [From Perforce](perforce.md)
|
|
1. [From SVN](svn.md)
|
|
1. [From TFS](tfs.md)
|
|
1. [From repo by URL](repo_by_url.md)
|
|
1. [By uploading a manifest file (AOSP)](manifest.md)
|
|
|
|
In addition to the specific migration documentation above, you can import any
|
|
Git repository via HTTP from the New Project page. Be aware that if the
|
|
repository is too large the import can timeout.
|
|
|
|
## Migrating from self-hosted GitLab to GitLab.com
|
|
|
|
You can copy your repos by changing the remote and pushing to the new server,
|
|
but issues and merge requests can't be imported.
|
|
|
|
If you want to retain all metadata like issues and merge requests, you can use
|
|
the [import/export feature](../settings/import_export.md).
|
|
|
|
## Migrating between two self-hosted GitLab instances
|
|
|
|
The best method for migrating a project from one GitLab instance to another,
|
|
perhaps from an old server to a new server for example, is to
|
|
[back up the project](../../../raketasks/backup_restore.md),
|
|
then restore it on the new server.
|