Back Up Archives Automatically with ihArchiveBackup.exe

The Historian installation automatically installs an archive backup utility on your system at install time. The default path for this file is typically located in ..\Program Files\Proficy\Historian\Server\ihArchiveBackup.exe.

Note: Historian places backup files in the Archives folder specified during installation. By default, this is C:\Historian Data\Archives on both 32-bit and 64-bit Windows operating systems.
Example of a typical AT command for automatic backup:
AT 23:59 /EVERY:M,T,W,Th,F "ihArchiveBackup.exe [-s ServerNodeName] [-u Username] 
[-p Password][-t TimeoutSecs][-n NumberOfArchives] or [-a ArchiveName]" 

ihArchiveBackup.exe takes the following optional arguments. If no arguments are supplied, ihArchiveBackup.exe backs up the current Historian archive.

SwitchParameterDescription
-sserverNodeNameThe Historian node to access archive data on.
-uUsernameThe user name required to connect to the Historian archive.
-pPasswordThe password required to connect to the Historian archive.
-t TimeoutSecsThe time, in seconds, to wait before timing out and failing.
-nNumberOfArchivesThe number of archives to back up, counting backwards from the current archive.
-aArchiveNameThe name of a specific archive to back up.
-c noneBacks up only the Historian configuration (IHC) file .
-dDataStoreNameThe name of the data store to store your archive data.
Note: Using one instance of ihArchiveBackup.exe you can point to one data store, and by using multiple instances you can point to multiple data stores.