Back up Alarms at a Command Prompt

About this task

When you back up alarms, a copy of the alarm data is created on your machine, which you can restore later.

Procedure

  1. Run the ihBackupAlarms.exe file. By default, it is located at C:\Program Files\Proficy\ProficyHistorian\Server\ihBackupAlarms.exe
  2. Use the following parameters to back up alarms data:
    Parameter Description
    -s <Historian server> The Historian server containing the alarm data that you want to back up. If you do not provide this parameter, the local machine is considered.
    -u <username> The username to connect to the archiver.
    -p <password> The password to connect to the archiver.
    -b "<file path>" The file path where you want to place the backup file. If the path is not specified, the default backup path of the archive is considered.
    Note: You must enter the file path in double quotes (for example, "C:\\backup\\").
    -d <number of Days prior to the current time> Indicates the time in days till the current date for which you want to back up alarms. For example, to back up alarms of the past seven days, enter:
    -d 7
    -h <number of hours prior to the current time> Indicates the time in hours till the current time for which you want to back up alarms. For example, to back up alarms of the past two and half days, enter:
    -d 2 -h 12
    -m <number of minutes prior to the current time> Indicates the time in minutes till the current time for which you want to back up alarms. For example, to back up alarms of the past 3 hours 15 minutes, enter:
    -h 3 -m 15
    -sec <number of seconds prior to the current time> Indicates the time in seconds till the current time for which you want to back up alarms. For example, to back up alarms of the past 30 seconds, enter:
    -sec 30
    The alarm data is backed up.