Define the Archive Time for Historic Data

Alarm Summary, Configuration Changes Auditing, Event Journal or Historic Data is stored online for a specified duration (see Specify the Duration to Retain Historic Data Online), then the data is deleted. You can define a period of time after, which data that is stored online can be archived. When historic data is marked as eligible for archiving, it can be archived for example to CD, DVD and so on, (it has to be archived before the duration of the online data expires).

During the period that data is stored online, the data can be altered (by having new values reported for the time period) unless it is marked as eligible for archiving. When historic data is marked as eligible for archiving, it can no longer be altered on the disk—the new records for that period / time cannot be written to; it can only be read.

Historic Modified and Annotated data is not included in the archiving process as it is stored online indefinitely and always synchronized with other servers.

To enable archiving of historic data and specify the Archive after duration:

  1. Access the ClearSCADA Server Configuration Tool.
  2. Expand the Historic Configuration branch.
  3. Select the historic data type you require (Alarm Summary, Configuration Changes Auditing, Event Journal or Historic Data).
  4. Select the Archive after check box to allow the selected historic data to be archived. The Archive after n weeks field becomes available.

  5. In the Archive after n weeks field, enter the number of weeks that have to pass before the historic data is available for archiving. After the Archive after n weeks time has passed, the historic data can be written to a CD, DVD and so on. The time you define applies to both manual and automatic archiving - data can only be archived when it is older than the defined Archive after n weeks time.

    The Archive after n weeks has to be less than the Keep online number of weeks.

    The archiving process can be triggered manually (see Archive Data Manually), or can be set to a schedule (see Set up Scheduled Archiving).

    When you configure the server as part of a multi-server configuration the Keep online for period also defines the period that is synchronized between the servers and is not affected by the Archive after setting, see Synchronization Process for Multi-Server Architectures.

    We recommend that you carefully consider the requirements of your system before you define the Archive after n weeks period.

  6. Apply the changes to the server.

Example:

This example illustrates how the Archive after setting interacts with the Keep online for period. The Keep Online fornweeks period is set to 52 weeks and the Archive after n weeks is set to 30 weeks.

When the server starts to receive data, ClearSCADA creates data files (granules) to store the data online. As data is recorded and stored online it can be modified for the first 30 weeks of the Keep online for period.

After the third week the data becomes Read only and cannot be modified, but is marked as eligible for archiving.

When the historic data exceeds the specified duration period, the data is automatically deleted from disk to allow space for the latest data.


Disclaimer

ClearSCADA 2017 R3