Summary
You need to back up and restore your DevOps Insight Server data. This need may arise if you are migrating or reinstalling your DevOps Insight Server.
Solution
Back up data
-
Stop the 'commanderElasticsearch' and 'commanderLogstash' (Linux) or 'CloudBees CD Elasticsearch Service' and 'CloudBees CD Logstash Service' (Windows) services
-
Linux: Run
sudo /etc/init.d/commanderElasticsearch stop sudo /etc/init.d/commanderLogstash stop
-
Windows: Use Services window to stop services
-
-
Back-up the data directory
-
Linux: Run
mv /path/to/datadirectory/ /otherpath/to/datadirectory-old/
-
Windows: Use file explorer to relocate
datadirectory
folder (Located inC:\ProgramData\Electric Cloud\ElectricCommander
by default)
-
-
Uninstall DevOps Insight (For re-install)
Restore data
-
Re-install DevOps Insight and use the same data directory path (For re-install)
-
Stop the 'commanderElasticsearch' and 'commanderLogstash' (Linux) or 'CloudBees CD Elasticsearch Service' and 'CloudBees CD Logstash Service' (Windows) services
-
Replace the existing data directory with the backup
-
Linux: Run
mv /path/to/datadirectory/ /path/to/datadirectory-old2/ mv /otherpath/to/datadirectory-old/ /path/to/datadirectory/
-
Windows: Use file explorer to restore
datadirectory
folder
-
-
Start the 'commanderElasticsearch' and 'commanderLogstash' (Linux) or 'CloudBees CD Elasticsearch Service' and 'CloudBees CD Logstash Service' (Windows) services
-
Linux: Run
sudo /etc/init.d/commanderElasticsearch start sudo /etc/init.d/commanderLogstash start
-
Windows: Use Services window to start services
-