Summary: information about backing up the persistence databases used by AIP Console (front-end) and all AIP Nodes.
AIP Console (front-end) and all AIP Nodes use a persistence database (h2) to store information about global and application level settings. These databases are located by default here:
By default in ≥ 1.24, these databases are backed up automatically to the following locations at 1am on a nightly basis. For AIP Nodes, the location is determined by storage folder settings - see Configure AIP Node storage folder locations - optional for more information.
Changing the automatic backup strategy
If you want to change how the automatic backup strategy functions, modify the following files:
Locate the following section and make changes as required. Save the file and restart AIP Console/AIP Node to ensure the change is taken into account.
|h2.backup.enabled||Set to true by default. Change to false to disable the automatic h2 backup.|
Defines the location of the h2 backup file. The path must conform to the following syntax:
Governs when the automatic h2 backup is run. Modify any of the six parameters that are listed in this order:
For example to change to running the job at 1am on a Sunday (weekly):
|h2.backup.cleanup.enabled||Set to false by default. Change to true to enable a backup cleanup process to run when the automatic h2 backup runs. This will remove old backups over a certain age (days) as configured with the h2.backup.cleanup.days option.|
|h2.backup.cleanup.days||Set to 30 (days) by default. If the h2.backup.cleanup.enabled option is set to true, any backups over 30 days old will be removed the next time the automatic h2 backup is run. Change the value to change the age threshold for backups before they are removed.|