Running metadata migration

Summary

This page contains information how to run metadata migration manually

Running metadata migration manually

  1. Remove tenant property Valo:TeamworkMetadataMigratedToCosmosDB (if it exists). It can be done via SP editor Chrome extension or PnP.PowerShell Remove-PnPStorageEntity

Remove tenant property

  1. Go to Azure tenant > Azure portal > TW resource group > {tenant}-valo-appservice > Web jobs

Add new web job:

Param Value
Name ValoTeamworkMetadataMigration
File upload ~\Teamwork\Files\teamwork-webjob-cosmosDBMetadataMigrationTool.zip
Type Triggered
Triggers Manual
1
![new web job](../assets/metadata-migration-job.png)
  1. Run ValoTeamworkCosmosDBMetadataMigration web job

    Run

    Wait until it will be finished

  2. Save migration log.

  3. Remove ValoTeamworkCosmosDBMetadataMigration web job so it won't be ran twice accidentally (otherwise it may override metadata set by end users after update to TW6).