---
description: To restore a policy database when not in a Docker environment:
component: pingauthorize
version: 10.1
page_id: pingauthorize:pingauthorize_server_administration_guide:paz_restore_db_not_docker
canonical_url: https://docs.pingidentity.com/pingauthorize/10.1/pingauthorize_server_administration_guide/paz_restore_db_not_docker.html
section_ids:
  restoring-a-database-when-not-using-docker: Restoring a database when not using Docker
  about-this-task: About this task
  steps: Steps
---

# Restoring a database when not using Docker

## About this task

To restore a policy database when not in a Docker environment:

## Steps

1. Ensure the Policy Editor server is no longer running by either using `bin/stop-server` or killing the process.

2. Locate the backup `.zip` archive that you want to restore.

   The default location is `SERVER_ROOT/policy-backup`. However, the location might have been changed using the `PING_H2_BACKUP_DIR` environment variable.

3. Extract the `.zip` archive 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_FILE` environment variable.

4. Start the Policy Editor server.

   ```shell
   $ bin/start-server
   ```
