Configuring Automatic Backup for Windows XP

About this task

The Historian install program 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. To perform an automatic archive backup function on a regular basis, use the Task Scheduler supplied with Windows XP and the following procedure:

Procedure

  1. Open the Control Panel.
  2. Double-click Scheduled Tasks.
  3. Double-click Add Scheduled Task.
    The Add Scheduled Task dialog box appears.

  4. Click Next.
  5. Click Browse and browse to the ihArchiveBackup.exe file.
  6. Double-click ihArchivebackup.exe.
    The Scheduled Task Wizard window appears with the executable filename displayed.
  7. In the Scheduled Task Wizard window, add the .EXE file extension to the filename, followed by the command line parameters for your application, if any.
    This example will back up the 3 most recent archive files on server EIGER on a daily basis:
    C:\Program Files\Proficy\Historian\Server\ihArchiveBackup.exe" -s EIGER -u bsmith -p pword -t 30 -n 

    In this example:

    • The name of the executable file is ihArchiveBackup.exe
    • The -s switch specifies the server name (EIGER)
    • The -u switch specifies the user name (bsmith)
    • The -p switch the password (pword)
    • The -t switch a 30 second timeout for the ihArchiveBackup call
    • The -n switch specifies the number of files to be backed up (3)
    Note:
    • You must put a space between each switch and the associated parameter info. If you omit a space after the number of archives changes, for example, only the most recent archive is backed up.
    • All command line entries are optional. If no arguments are supplied, ihArchiveBackup.exe backs up the current Historian archive.
  8. In the same window, select the task schedule by clicking one or more options, then click Next.
  9. In the next dialog, select the time of day to perform the task, the interval in weeks, and the days of the week to run the task, then click Next.
  10. Enter the username and password the task will run under, and click Next.
  11. (Optional) Click the Advanced Properties box to review the settings for the Task Schedule and to add advanced parameters such as Security and Auditing specifications.
  12. Click Finish.