Archive Installer - ToolsNet 8.18 installation or higher

The installer provides an assisted installation of the archive modules.

  • Archiving Services - Connects the web to the archive databases and copies results, identifiers and traces from the ToolsNet database to the archive.

Prerequisites:

  • ToolsNet 8.18 installation or higher.

  • Archive installer version .net 4.8.

Starting the Archive Installer Application

  1. Open the file explorer and go to C:\ProgramData\Atlas Copco\ToolsNetDatabase\ToolsNetDatabase scripts\Archive database.

  2. Select ArchiveInstaller.exe to open the Archive Installer dialog box.

Configuring the Archive Service

Since ToolsNet 8.24 you can archive even more data. This includes Events, Result Step and Job Results.

This feature is disabled by default. If enabled, this data will be available in the new archive reports in the Report Center.

To enable this you need to change a setting in the Archive Service config file. C:\Program Files (x86)\Atlas Copco\ArchiveService\appsettings.json

Navigate to the DefaultArchiverSettings section and update the values to true.. Restart the Archive Service after any modification to the config file.

The Bulksize setting indicates how many results to process at the same time and the DaysLimitForExport setting is the number of days to be passed before archiving.

Scheduling

Scheduling the archive process can be done via the scheduler config file located at C:\Program Files (x86)\Atlas Copco\ArchiveService\scheduler.json. You need to restart the Archive Service after modifying the config file. In this file you can see the ArchiveJob job name and a property called Cron.

For the Scheduling service to work, you must only modify the Cron property if required and not the job name.

The Cron expression is according to the 24 hour time format, and has six mandatory fields and an optional field. Each field represents a unit of time, i.e., second, minute, hour, day, month, and each field in the expression is separated by a white space.

Example:

  • 0 19 12 * *: Runs the archive service at 12:19:00 PM, every day

  • 0 0 4 ? * MON *: Runs the archive service at 04:00:00 AM, every Monday of every month

Here is an online tool to generate and explain the expressions further:https://www.freeformatter.com/cron-expression-generator-quartz.html