The PingDataGovernance Policy Administration GUI uses a policy database to store its Trust Framework, policies, commit history, and other data needed for proper operation. By default, the Policy Administration GUI backs up the policy database to a compressed file once a day by making an HTTP request to an admin connector. You can configure the admin port, backup schedule, and output location.
Configure or disable backup
- Set the relevant environment variables and restart the Policy Administration GUI.
- Run the Policy Administration GUI setup tool with the relevant command-line options.
For more information about using the environment variables, see Starting PingDataGovernance Policy Administration GUI.
Environment variable | Command-line option | Description |
---|---|---|
PING_ADMIN_PORT | --adminPort <port> |
Specifies the admin port, where administrative task endpoints like periodic policy database backups are handled. |
PING_BACKUP_SCHEDULE | --backupSchedule
<cron-expression> |
Specifies a cron expression to indicate when to perform backups. The default is For more information, see Quartz 2.3.0 cron format. Note:
The PAP evaluates the expression against the system timezone. For the PingDataGovernance Docker images, the default timezone is UTC. |
PING_H2_BACKUP_DIR | N / A |
Specifies the directory in which to place the policy H2 database backup files. The default is SERVER_ROOT/policy-backup. Note: If you are using a Docker image, set this value to a directory
on a volume that you mount when you start the Docker container.
|
N / A | --disablePeriodicBackups |
Turns off the periodic policy database backups. |
For information about how to use a backup, see Restore a policy database from a backup.