Migrations
Last updated
Last updated
One of the benefits of Git is that it is quick and easy to migrate to. Onboarding your existing files into a Copia Git repository is just as streamlined.
If your source repository is Git-LFS enabled, please contact Copia for guidance at support@copia.io.
When Git-LFS is involved, migration involves either of the following processes:
migrating a repository which is not previously Git-LFS enabled
migrating a repository from another vendor to Copia that is already configured for Git-LFS
We recommend you contact Copia for assistance while we continue to add additional documentation, guidance, and features surrounding these use-cases.
If Git-LFS is not involved, you must use the Copia Web App to migrate an existing Git repository.
Click the + button in the upper right-hand corner and choose the New Migration option.
Next, select your Git provider. Git, GitHub, and GitLab are currently supported.
If you intend to migrate from GitHub, you must select GitHub rather than the vanilla Git migration option. This is because GitHub no longer supports the Username/Password authentication used by the vanilla Git migration option.
Provide a Migration URL and choose an Organization you'd like to migrate your contents into. After filling out the Repository Name field, click the Migrate Repository button.
The Copia migration option allows users to create an identical copy of an existing Copia repository or migrate repos from a self-hosted Copia instance. If you'd like to migrate additional items such as the Wiki, Issues, Pull Request, and Releases, check the boxes in the "Migration Items" section. If you want to migrate any of these additional items, you'll need an Access Token in place of your password.
Access Tokens are strings of characters that can be used to authenticate Copia users without using their typical username and password. These tokens should not be shared with anyone and should be stored in a secure location. You can generate your access token by following these steps:
When logged into app.copia.io, click on your user icon in the upper right corner and select "Settings" from the dropdown menu
Select "Applications" from the left menu
In the "Manage Access Tokens" section, enter a value in the "Token Name" field and click "Generate Token"
The generated token string will be available at the top of the page. Copy and store it somewhere safe.
Some Git users might already have their files in a directory structure. If this is the case, follow the steps below:
Create a repository in the Web App
Clone your repository in the Desktop App
Add your files locally to the cloned repository using your file manager.
Using the Desktop App, commit and push your files to the remote Copia repository.
If you follow this process, your files will be tracked under Git and be discoverable in the Copia Web App.