Automatic Backup of HDB Data

Scenario: You want to make an automated backup of historical data using the using the Macro and Reaction Editor functions.

For specific example, see Creating a Reaction to Automatically Back Up the Project and History Database on Sunday Nights.

  • A backup folder is available.
  • System Browser is in Application View.
  1. Select Applications > Logics > Reactions.
  • The Reactions Editor tab displays.
  1. Select Triggers > Time & Organization Mode expander and click New.
  1. Click anywhere on the row.
  • Additional fields to set the execution time display.
  1. Set the dates, days and time to execute the macro.
  1. From Output expander, open the Action expander.
  1. In System Browser, select the Manual navigation check box.
  1. Select Applications > Logics > Macros > Backups.
  1. Drag the Backup History macro to the Action expander.
  1. Click Save As.
  1. Type the name and description in their respective fields.
  1. Click OK.

NOTE 1:
Since the older version is overwritten when creating the backup file, you must rename the backup file after creating it in order to retain multiple backup versions.
NOTE 2:
It is recommended to save history data on a daily basis.
NOTE 3:
Deleting data backup and history data must be coordinated. For example, if a deletion interval of one day is defined, data must be backed up each day prior to deleting history data (see Deletion After Custom Retention Period).