Windows: System Backup and Restoration

Follow these step-by-step instructions for creating a backup of the Analytics System settings and data on a Windows server. These instructions are useful for both creating a backup in case of system failure and migrating the system to another server while preserving settings and data.

Backup Process

Step 1: (Optional) Deactivate the license.

If you are migrating to a new server, navigate to the License item of the Settings section and deactivate the license on the old server. The license deactivation process is described in the Deactivate License documentation.

Skip this step if you are only creating a backup.

Step 2: Stop IncoreSoft Middleware-Core Service:

  • Open the Services application
  • Locate IncoreSoft Middleware-Core Service
  • Right-click and select Stop

Step 3: Make a copy of the Storage and Images folders:

  • The Storage folder's default location is: C:/ProgramData/Incoresoft/storage
  • The Images folder's default location is: C:/ProgramData/Incoresoft/middleware-core/images
This operation may take a significant amount of time due to the potentially large size of these folders.

Step 4: Make a backup of the database:

  • If you use the internal database, make a copy of the "videoanalytics.mv.db" database file located by default at C:/ProgramData/Incoresoft/middleware-core/
  • If you use an external database, make a backup for the "videoanalytics" database. Follow the backup/restore instructions provided by the external database vendor.
This operation may take a significant amount of time due to the potentially large size of the data.

Step 5: (Optional) Additionally, make a copy of the Qdrant folders if you use Face Recognition, Object Detection, Smart Tracking System, or Smart VA plugins:

  • Stop IncoreSoft Qdrant Service:
    • Open the Services application
    • Locate IncoreSoft Qdrant Service
    • Right-click and select Stop
  • Make a copy of the Qdrant Snapshot and Qdrant Storage folders:
    • The Snapshot folder's default location is: C:/ProgramData/Incoresoft/middleware-core/bin/qdrant/snapshot
    • The Storage folder's default location is: C:/ProgramData/Incoresoft/middleware-core/bin/qdrant/storage
This operation may take a significant amount of time due to the potentially large size of these folders.

Step 6: Restart services:

  • IncoreSoft Middleware-Core Service:
    • Open the Services application
    • Locate IncoreSoft Middleware-Core Service
    • Right-click and select Start
  • IncoreSoft Qdrant Service (if it was stopped):
    • Open the Services application
    • Locate IncoreSoft Qdrant Service
    • Right-click and select Start

Restoration Process

Step 1: Install the Analytics System.

Follow the installation guide to install the Analytics System on the new Windows server:


Step 2: Install the same database.

Make sure to install the same type of database on the new server as was used on the old server.


Step 3: Configure the database.

Open the Analytics System web interface and configure the database to match the type used on the old server. Save the settings and authorize the system.


Step 4: Update Middleware Core version.

Open the Settings section, navigate to the Updates item, and check for available Middleware Core version updates. If an update is available, update the Middleware Core to the latest version.


Step 5: Stop IncoreSoft Middleware-Core Service:

  • Open the Services application
  • Locate IncoreSoft Middleware-Core Service
  • Right-click and select Stop

Step 6: (Optional) Additionally, proceed with the following steps if you are going to use Face Recognition, Object Detection, Smart Tracking System, or Smart VA plugins:

  • Stop IncoreSoft Qdrant Service:
    • Open the Services application
    • Locate IncoreSoft Qdrant Service
    • Right-click and select Stop
  • Delete the contents of the Qdrant Snapshot and Qdrant Storage folders:
    • The Snapshot folder's default location is: C:/ProgramData/Incoresoft/middleware-core/bin/qdrant/snapshot
    • The Storage folder's default location is: C:/ProgramData/Incoresoft/middleware-core/bin/qdrant/storage
  • Copy the previously backed-up Qdrant Snapshot and Qdrant Storage folders' data to the respective folders on the new server
  • Restart IncoreSoft Qdrant Service:
    • Open the Services application
    • Locate IncoreSoft Qdrant Service
    • Right-click and select Start
This process may take a significant amount of time due to the potentially large size of these folders.

Step 7: Copy all the backed-up data from the old server to the new server:

  • The Storage folder's default location is: C:/ProgramData/Incoresoft/storage
  • The Images folder's default location is: C:/ProgramData/Incoresoft/middleware-core/images
This operation may take a significant amount of time due to the potentially large size of these folders.

Step 8: Restore database.

  • If you use the internal database, replace the "videoanalytics.mv.db" database file located by default at C:/ProgramData/Incoresoft/middleware-core/ with the backed-up file. 
  • If you use an external database, load the "videoanalytics" database dump into the new database. Follow the backup/restore instructions provided by the external database vendor.
This operation may take a significant amount of time due to the potentially large size of the data.

Step 9: Restart IncoreSoft Middleware-Core Service:

  • Open the Services application
  • Locate IncoreSoft Middleware-Core Service
  • Right-click and select Start

Step 10: (Optional) Activate the license.

If you previously deactivated the license, navigate to the License item of the Settings section and reactivate your license with an online or offline license activation method:

Contact technical support if you encounter any issues with licenses.

Step 11: Install all required plugins.

Navigate to the Plugin Marketplace item in the Settings section and install all required plugins from the Marketplace tab.