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:
$ tar -xvf backup.tarFor more information, the PostgreSQL website is a useful resource.