> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab-4/repo-sync-project/project-list/project-migration.md).

# Project Migration

The Repo Sync Projects can be migrated to the Git Hub or Git Lab.

{% hint style="warning" %}
*<mark style="color:orange;">Pre-requisite:</mark>*&#x20;

* *Make sure that the* [***Version control*** ](https://docs.bdb.ai/administrative-settings-4/admin-panel-options/configurations/version-control)*settings for the DS Lab plugin are configured by your administrator before you use this functionality.*
* *The user level token also should be configured to the target account before using the Git Migration functionality for a Repo Sync Project.*
  {% endhint %}

{% hint style="success" %}
*Check out the given illustration on how to migrate a Repo Sync project.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2Fm1JjbKAn7PfaXwFvpINj%2FGIT%20Migration_Repo%20Sync%20Project.mp4?alt=media&token=63dcba99-26ad-48e5-bf80-ec3d95bd1418>" %}
***Git Migration functionality for a Repo Sync Project***
{% endembed %}

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Make sure all the changes made in your local system to a Repo Sync Project should be committed and pushed to the selected remote Git branch before initiating the Migration process.*
{% endhint %}

## Exporting a Project

It is possible for the user to migrate or do Git export for a Repo Sync Project.

* Login to the BDB Platform using registered credentials.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2F1Aok4SWzsyCJG2LNXrAK%2Fimage.png?alt=media&amp;token=3d3cc162-18f8-4e3f-9825-9403ba7f2d96" alt=""><figcaption></figcaption></figure>

* Select a space out of the multiple spaces available for the logged in user.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FXTwUoRCUlXrfrREkBJjM%2Fimage.png?alt=media&amp;token=77e9491b-6aa0-41bf-8a59-480c1b5d5a69" alt=""><figcaption></figcaption></figure>

* Select the DS Lab module using the Apps menu.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FxTeYaPasEbHWyZkl2di9%2Fimage.png?alt=media&amp;token=c7cbcb14-776a-499e-8825-9aca9189dc23" alt=""><figcaption></figcaption></figure>

* The ***Projects*** list page opens.
* Select a Project from the displayed list.
* Click the ***Push into VCS*** icon for the Project.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2Fo3XFK9DNWcL5k09yKsSd%2Fimage.png?alt=media&amp;token=fb6904b3-cf2e-49b8-9e2d-2667fbebfe6f" alt=""><figcaption></figcaption></figure>

* The ***Push into Version Controlling System*** drawer appears.
* Select the ***Git Export/ Migration*** option using the given checkbox.
* Provide a ***Commit Message*** in the given space.
* Click the ***Push*** option.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FOOnm4AtLvqFEVKKdnpFf%2Fimage.png?alt=media&amp;token=e5613bc6-79b6-494a-8511-2b212c3a5a56" alt=""><figcaption></figcaption></figure>

* A notification message appears to ensure that the selected project is migrated.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FiWEpJ2hdU8bnglvMAcjw%2Fimage.png?alt=media&amp;token=d2839c7c-9e30-44dd-a2d8-79478704d6eb" alt=""><figcaption></figcaption></figure>

## Importing a Project

The user can import an exported repo Sync project from a different space by following the given set of steps.

* Navigate to the Login page of the BDB platform and use registered credentials to access login.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FQaUyS7pvYygmjYU1PN6s%2Fimage.png?alt=media&amp;token=735ec6cd-0951-4cd4-8c09-55e16c6dffe6" alt=""><figcaption></figcaption></figure>

* Choose a space out of the multiple spaces available to the logged in user (select a space other than the one from where you migrated the project). &#x20;

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FQeiBh65fvBbgcqrDYoOW%2Fimage.png?alt=media&amp;token=0ee30185-01e1-461a-82a9-be4008f7406e" alt=""><figcaption></figcaption></figure>

* Choose Admin module from the Apps menu.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2Fq7rFKQyljcfbNpEeaIVh%2Fimage.png?alt=media&amp;token=0246ecd2-1b7a-4886-95af-a91e8b4b7645" alt=""><figcaption></figcaption></figure>

* The user will get redirected to the ***Admin*** module.
* Select ***Git Migration*** option using the menu bar.
* Select the ***Import File*** option from the Git Migration context menu.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FoCVQbmPHgx1YC7oV9IvZ%2Fimage.png?alt=media&amp;token=a68df202-1d91-4bb5-b3dc-106076c79084" alt=""><figcaption></figcaption></figure>

* Click the ***Import*** option from the Import Document page.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FwljCmBMBDp73HdDgptE2%2Fimage.png?alt=media&amp;token=3aa2b951-cf60-4644-bd55-c10106ab4a51" alt=""><figcaption></figcaption></figure>

* The Import File page opens.
* Select the New VCS option.
* Choose ***Dslabs*** module.&#x20;
* Click the ***Project*** from the ***Migration- Document Import*** drop-down menu.&#x20;

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The **DS Lab** module appears as **Dslabs** to import document.*
{% endhint %}

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FZT4n6w0Opr17AkMjdRGM%2Fimage.png?alt=media&amp;token=d5e17835-f3b5-404d-82ec-1adaba0c89ff" alt=""><figcaption></figcaption></figure>

* Use search bar to Search for a specific Project from the displayed list.
* Click the Project from the list.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FTA4VDNKfxLMCRVBMy4Ci%2Fimage.png?alt=media&amp;token=b4568964-8938-4d24-9a15-4c3e3b02252f" alt=""><figcaption></figcaption></figure>

* Available versions of the selected Project appears on the right side of the page.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FCjJmpt7ISIrn1kscjQwB%2Fimage.png?alt=media&amp;token=0dd88b74-11ae-448b-8992-84f0bf2f4cc2" alt=""><figcaption></figcaption></figure>

* Select a version of the ***Project*** by putting a checkmark in the given checkbox.
* The ***Project name*** and ***Project URL*** will be displayed below.
* Select a branch using the Branch drop-down option.
* Click the ***Migrate*** option.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2F9sRlWJgaYN02AlYu7VP1%2Fimage.png?alt=media&amp;token=6d7210ce-c511-46e7-b9a7-c248e51720d0" alt=""><figcaption></figcaption></figure>

* A notification message appears to ensure that the file is migrated successfully.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FVZysXTNqN5RjDwhSGF9k%2Fimage.png?alt=media&amp;token=bec81362-ec6c-48ed-afa7-2f5ed233f89b" alt=""><figcaption></figcaption></figure>

* Navigate to the ***Projects*** page of the Data Science Lab module.
* The migrated Project gets added at the top of the ***Projects*** list.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FcvJZ97a7CBPXNOJpc3jS%2Fimage.png?alt=media&amp;token=345be6d2-02b8-4602-b147-f47f466797d7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Refer the* [***Data Science Lab Quick Start Flow***](https://docs.bdb.ai/data-science-lab-4/data-science-lab-quick-start-flow) *page to get an overview of the **Data Science Lab** module in nutshell.*&#x20;
{% endhint %}
