# Live Project Data Migration UI

## 1. Exporting Policy Data <a href="#id-1.-exporting-policy-data" id="id-1.-exporting-policy-data"></a>

We have added button "**Export policy data**" for published policies and dry-run policies.

By clicking you will get all policy data in the **.data** file.

Then you can use this file for migrating data to another policy.

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2Fuju7wZyT4CmIubPXq5bY%2Fimage.png?alt=media&#x26;token=77d763f8-c6bd-43d3-a804-c2c309f9a465" alt=""><figcaption></figcaption></figure>

## 2. Importing/Exporting Keys for Dry Run Policies <a href="#id-2.-importing-exporting-keys-for-dry-run-policies" id="id-2.-importing-exporting-keys-for-dry-run-policies"></a>

We have added buttons "**Export/Import virtual keys**" for dry-run policies.

By clicking you will get virtual user’s keys and DID Documents.

Then you can import it in another dry-run policy, where data was migrated from current policy.

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FMpaxEDhxfaFz6GhfHAge%2Fimage.png?alt=media&#x26;token=da3c888d-d8da-40de-893d-b1fb46b88462" alt=""><figcaption></figcaption></figure>

## 3. Migrating Policy State to Destination Policy <a href="#id-3.-migrating-policy-state-to-destination-policy" id="id-3.-migrating-policy-state-to-destination-policy"></a>

We have added "**Migrate policy state**" flag to migrate data dialog.

When you enable it, you will migrate all policy state to destination policy (includes block states - steps, timers, multi-sign, split documents, aggregate documents, etc...)

To get information about different steps in the below migration process screen, please refer to [Migration Process](https://docs.hedera.com/guardian-dev-1/guardian/standard-registry/discontinuing-policy-workflow/apis-related-to-discontinuing-policy-workflow/migratepolicy-data)

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2Fz0FvFbmJRNhgiGEaVFqK%2Fimage.png?alt=media&#x26;token=174cd61a-a969-4469-a73f-878ff29c982f" alt=""><figcaption></figcaption></figure>

## 4. Change VC Document during Migration <a href="#id-4.-change-vc-document-during-migration" id="id-4.-change-vc-document-during-migration"></a>

We have added ability to change VC which will be migrated by clicking on "**Edit document**" button under operations column:

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FT0QZGLSAmZ3HIUbsVc3M%2Fimage.png?alt=media&#x26;token=864bf01e-9296-4be6-b183-6bc1e1fbce6f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FMNFnnqAqXEmgpb80tUVN%2Fimage.png?alt=media&#x26;token=53dbcb32-78d2-45bf-b6b2-96e668c9b8a6" alt=""><figcaption></figcaption></figure>
