Provide solution for Scheduling IM Backup in the Scheduling Structure.
This article includes a procedure, that resolves an issue with setting up the Scheduler Service to perform an ongoing scheduled IM Backup due to inadequate details from IM manual.
From IM Configuration Manual (3BUF001092nnnnnn):
Schedule History Backup
Use the Report Action of the Action Aspect to schedule a History backup (the scheduler always runs as an admin user).• Creating multiple history backups in this manner will consume a significant amount of disk space. Ensure the disk where the backup files will be stored has sufficient storage capacity.
• Also, keep in mind that a new backup will be created each time the report action runs. Configure the scheduling definition aspect accordingly. Create a schedule with a reasonable interval between executions.
– Use the Report Template Path to browse to and enter hsBackupApp.exe (typically C:\Program Files\ABB Industrial IT\Inform IT\History\bin).
– Select Output Options: Report Parameters and Execute File.
– Use /CreateBackup <backup path> as parameters to hsBackupApp by using the Edit Parameter List button. The hsBackupApp will accept command line arguments from the parameter list. Be sure to create a folder where the scheduled history backup files will be stored. For example, the result shown in the Edit Parameter List could be: path = /CreateBackup \d:\SchedHistBackups
Scheduling Structure --> Job Description
Note: This procedure is suitable for SV4.1 and above.
A Scheduled backup of the IM database, (and associated Aspect System relevant properties), is done by creating a ‘Report Action’ aspect in the Scheduler. Below shows an example of how this is constructed. The directory where the backups are to reside, must be first created in Windows Explorer.
An view of the Parameter List is shown as follows.
When completed successfully, a new directory will be placed under the Path that was given in the Parameter List that includes an appended Date and Timestamp. Each time the backup is executed, a new directory will be created. Shown below is an example of these results.
Upon completion, the results of the backup activity is logged in the log file, “hsBackupApp0.log”. located in the directory %HS_LOG%, (This parameter, %HS_LOG%, should be typed into the Address bar of the Windows Explorer). Below is a typical result of a successful backup.