For Orchestrator deployments with the Insights feature enabled, regular backups of your Insights database should be performed inline with the backups of your Orchestrator database.
In addition, you must also back up your configured dashboards.
Dashboard Backup
- From Windows Services Manager, stop the following services:
Sisense.Repository
.Sisense.Discovery
.
- Copy the contents of the
%ProgramData%\Sisense\PrismWeb\Repository\DB
directory to the location where your database backups are maintained.
Note: Be sure to maintain the same file structure. - Copy the contents of the
%ProgramData%\Sisense\Infra\Discovery
directory to the location where your database backups are maintained.
Note: Be sure to maintain the same file structure. - Return to Windows Services Manager and restart the stopped services:
Sisense.Repository
.Sisense.Discovery
.
Restore Dashboards
Important!
Before proceeding with restoring Insights or its attendant dashboards, your Orchestrator database must be restored to a matching backup version and the original Insights certificate needs to be installed (i.e. if this is a new machine, or if you deleted it).
- Restore the Insights database.
- Re-Install Insights.
- From Windows Services Manager, stop the following services:
Sisense.Repository
.Sisense.Discovery
.
- Replace the contents of the
%ProgramData%\Sisense\PrismWeb\Repository\DB
directory with the previously created backups. - Replace the contents of the
%ProgramData%\Sisense\Infra\Discovery
directory with the previously created backups. - Return to Windows Services Manager and restart the stopped services:
Sisense.Repository
.Sisense.Discovery
.
- Re-enable each previously Insights-enabled tenant using the
UiPath.InsightsAdminTool
:
a. Navigate to the\Orchestrator\Tools
directory.
For example:cd C:\Program Files (x86)\UiPath\Orchestrator\Tools
.
b. Run the tool using thelist
command to obtain the previously enabled tenants.
For example:c:\Program Files (x86)\UiPath\Orchestrator\Tools>UiPath.InsightsAdminTool.exe list -u admin -p ******
c. For each listed tenant, run the tool using theenable
command.
For example:c:\Program Files (x86)\UiPath\Orchestrator\Tools>UiPath.InsightsAdminTool.exe enable -u admin -p ****** -t Default
. - Restart the Insights machine.
Restore Configuration
Important!
This procedure is only necessary if, after an upgrade, a full uninstall and reinstall had to be performed.
In case of an upgrade failure that requires a full uninstall/reinstall, the previous encryption configuration must be set in order to use the database backup.
- Extract the backup
.zip
file produced by the Insights installer during upgrade. - Locate
baseConfiguration.json
file in the extracted folder. - From the
baseConfiguration.json
file, locate the following keys:
{
"encryption.IV": "value",
"encryption.aesKey": "value",
"encryption.licenseKey": "value"
}
- From your Insights machine, navigate to
http://localhost:3030
. - Click on the UiPath logo in the upper-left corner 5 times in a row.
- Navigate to the Base configuration page.
- In the Encryption section, replace all fields with the ones found in the
baseConfiguration.json
file. - Click Save Base.
Restore Server Identity
For new Insights installations the server's identity can be reset. This needs to be addressed in order for the restored metadata/configuration to function properly.
This is done via the InsightsBackupTool.
A sample execution command:
{
"codes": [
{
"code": ".\\InsightsBackupTool.exe restore -l log.txt",
"language": "powershell"
}
]
}
Updated 2 years ago