Using ihBackupAlarms.exe to Backup Alarms from the Command Line

The Proficy Historian install program automatically installs an alarm backup utility on your computer. The default path for this file is typically: ..\Program Files\Proficy\ProficyHistorian\Server\ihBackupAlarms.exe.

Use the ihBackupAlarms.exe command to backup alarms for a time period relative to when the program is run. For example, you can backup alarms from -1 day to now. You can only use relative times with this command.. If you need to backup a specific start and end time, use the Historian Administrator. For more information, refer to the Backing Up Alarms section.

ihBackupAlarms takes the following optional arguments. If no arguments are supplied, ihBackupAlarms.exe will not backup any alarms.

ParameterDescription
-s serverNodeNameThe Proficy Historian node containing the alarms to backup. If the -s is not specified, the program will connect to the local archiver.
-u UsernameThe user name required to connect to the Proficy Historian archiver. This is an optional parameter.
-p PasswordThe password required to connect to the Proficy Historian server. This is an optional parameter.
-b Backup File PathThe file path where you want to place the backup file. If the path is not specified, the backup will be placed in the default archive path as specified at install time.
-d Relative Number of Days from Current TimeThe relative number of days of alarms to backup, counting backwards from the current time. For example, to backup now minus 7 days to now you would use -d 7.
-h Relative Number of Hours from Current TimeThe relative number of hours of data to back up, counting backwards from the current time. For example, to backup now minus 12 hours, you would use -h 12.
-m Relative Number of Minutes from Current TimeThe relative number of minutes of data to back up, counting backwards from the current time. For example, to backup now minus 360 minutes, you would do use -m 360.
-sec Relative Number of Seconds from Current TimeThe relative number of seconds of data to back up, counting backwards from the current time. For example, to backup now minus 120 seconds, you would use -sec 120.