Create an Archive Automatically

About this task

When the current archive reaches a specified size or duration, you can configure Historian to create a new archive automatically. You can also create an archive manually. When the current archive is full, the new one is used.

You can allocate maximum 256 GB for an archive.

Procedure

  1. Access Historian Administrator.
  2. Select DataStores.
  3. Select Data Store Options.
  4. Enter values as described in the following table.
    Field Description
    Automatically Create Archives Select Enabled.
    Important:
    • If the option to automatically create an archive is not enabled and you do not create a new archive manually, or if the available disk space is less than the required amount of free disk space, a new archive file will not be created.
    • Ensure that the number of archive files does not exceed 1024. Otherwise, the archiver will crash. This is because 1024 is the default number of file descriptors a process can open on Linux. We recommend that you create archive files daily or by size so that you can monitor the number of archive files created.
    Overwrite Old Archives Specify whether you want to overwrite old archives with new ones. Exercise caution in enabling this option. We recommend that youback up archives if you want to enable this option.
    Default Size Enter the size of the current archive after which you want to create a new archive. This field is available only if you have selected By Size in the adjacent drop-down list box.

    If, however, you want to create archives after a duration, select Days or Hours, and then enter the value in the Archive Duration field.

    Archive Duration Enter the duration after which you want to create a new archive. This field is available only if you select Days or Hours in the adjacent drop-down list box.

    If, however, you want to create an archive when the current one reaches a particular size, select By Size, and then enter the value in the Default Size field.

    Default Archive Path Enter the path to the folder in which you want to store the archive files.
    Default Backup Path Not applicable. Use AFS to back up and restore archives.
    Base Archive Name Not applicable. Use AFS to back up and restore archives.
    Free Space Required Enter the free space that is required to create the archives.
    Store OPC Quality Specify whether you want to store OPC quality in the archive.
    Use Caching Specify whether you want to use caching in the archive.
    Data is Read-Only After (Hours) Specify the duration, in hours, after which you want to archive to be read-only.
    Generate Message on Data Update Specify whether you want to generate a message when data is updated in the archive.
  5. Select Update.
    Archives will be created automatically when the current one reaches the size (or after the duration) that you have specified.