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.
- You have enabled the Operational Status from Macro Backup History to run automatic backups. For more information, see Manual HDB Backup Using a Macro.
- System Browser is in Application View.
- Select Applications > Logics > Reactions.
- The Reactions Editor tab displays.
- Select Triggers > Time & Organization Mode expander and click New.
- Click anywhere on the row.
- Additional fields to set the execution time display.
- Set the dates, days and time to execute the macro.
- From Output expander, open the Action expander.
- In System Browser, select the Manual navigation check box.
- Select Applications > Logics > Macros > Backups.
- Drag the Backup History macro to the Action expander.
- Click Save As.
- Type the name and description in their respective fields.
- 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).