Enable Offline Archive Creation

About this task

This topic describes how to enable offline archive creation. This is to avoid receiving an outside-active-hours error. It happens if you attempt to store data when the current archive file is set to read-only.


  1. Stop the Historian DataArchiver service.
  2. Open Command Prompt with elevated privileges or administrator privileges.
  3. Navigate to the folder in which the ihDataArchiver_x64.exe file is located. By default, it is C:\Program Files\Proficy\Proficy Historian\x64\Server.
  4. To enable the ihArchiveCreateOfflineArchive option for a data store, run the following command: ihDataArchiver_x64 OPTION.<data store name> ihArchiveCreateOfflineArchive 1
  5. To enable the ihArchiverAllowFutureDataWrites option:
    1. Run the following command: ihDataArchiver_x64 OPTION.<data store name> ihArchiverAllowFutureDataWrites 1
    2. Set the Read only After(Hrs) property :::: [specify value in number of hours)]ihDataArchiver_x64 OPTION.<data store name> ihArchiveActiveHours <number of active hours>.
  6. Start the Historian DataArchiver service.