Skip to main content
Skip table of contents

Moving Indexer and Visualizer to another drive

For various reasons, you may need to move the index and its data, along with the Visualizer to another disk, this guide will walk you through that process.

Overview

This guide will walk you through copying the data from one drive to another. From a high level, you are copying the install from one drive to your destination drive, then adjusting the Windows service to point to the new location.

Instructions

Steps per machine:

  1. Stop Shinydocs Indexer and Visualizer services

  2. Copy the parent install folder of the Indexer and Visualizer (ex. C:\Shinydocs)

    1. This folder must contain:
      └ indexer
      └ utilities
      └ visualizer

  3. Paste the folder in the new drive (we recommend the root of the drive) (ex. D:\)

  4. Open Command Prompt as a local administrator

  5. In Command Prompt, navigate (cd) into the “utilities” folder in the new drive (ex. D:\Shinydocs\utilities)

  6. Run the following command:

    CODE
    nssm.exe edit shinydocs-indexer

  7. A new NSSM window will open for the service

  8. Change the “Path” and “Startup directory” to reflect the new drive and path to elasticsearch.bat

  9. Once complete, save your changes by clicking “Edit Service

  10. Repeat steps 6 - 9 with the Shinydocs Visualizer

    CODE
    nssm.exe edit shinydocs-visualizer

  11. Start “Shinydocs-Indexer” and Shinydocs-Visualizer” service

  12. Confirm both services are running and that the Indexer and Visualizer are working

  13. Remove old directory once you have confirmed the new services are working

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.