---
title: Restoring a DBMS backup
description: Fully restore a DBMS backup to a new database.
component: pingdirectory
version: 9.3
page_id: pingdirectory:pingdatametrics_server_administration_guide:pd_met_restore_dbms_backup
canonical_url: https://docs.pingidentity.com/pingdirectory/9.3/pingdatametrics_server_administration_guide/pd_met_restore_dbms_backup.html
revdate: September 13, 2023
section_ids:
  steps: Steps
---

# Restoring a DBMS backup

Fully restore a DBMS backup to a new database.

## Steps

* To restore the full backup to a new database, run the command from the base directory of the PostgreSQL data directory:

  ```shell
  $ tar -xvf backup.tar
  ```

  For more information, the PostgreSQL website is a useful resource.
