Synchronizing the Content Manager database with Metrics storage
In order to use the Metrics feature, you must perform an initial synchronization of the Content Manager database with Metrics storage. Depending on your installation or upgrade scenario, you may need to perform the synchronization yourself, by running a script called SynchronizeMetrics.ps1.
Before you begin
About this task
You must run a synchronization script if any of the following is true:
- You are performing a fresh installation of Tridion Docs with the Demo database.
- You are upgrading from a release older than Tridion Docs 15.1
You do not need to run a synchronization script if you are performing a fresh installation of Tridion Docs with an empty database.
Procedure
What to do next
Note the following:
- If you run into any trouble running the script, you can rerun the script with the
-filePathparameter. Use this parameter to specify a specific node folder in your repository. This folder, including any of its subfolders, is then synchronized. For example, your command might beSynchronizeMetrics.ps1 -ishSession $ishSession -folderPath "General\MyFolder" - To see a list of the folders that the script intends to synchronize, without actually creating the backgrounds to do so, add a
-WhatIfparameter to your command.