Restoring a database when not using Docker
About this task
To restore a policy database when not in a Docker environment:
Steps
-
Ensure the Policy Editor server is no longer running by either using
bin/stop-serveror killing the process. -
Locate the backup
.ziparchive that you want to restore.The default location is
. However, the location might have been changed using theSERVER_ROOT/policy-backupPING_H2_BACKUP_DIRenvironment variable. -
Extract the
.ziparchive to the configured database location overwriting the previous policy database file, if present.The default location is the root of the Policy Editor server installation directory. If it’s not there, check the location specified by the
PING_H2_FILEenvironment variable. -
Start the Policy Editor server.
$ bin/start-server