Skip to main content
Version: 6.11.0

Restore PostgreSQL database

info

Before starting the database data restore process, ensure the supported database for the Portal Dedicated server is installed and configured on the destination server.

Ensure the database backup file has been copied to the destination server.

To restore the database, run the following command, replacing the username as required, and entering the associated password when prompted:

psql -h localhost -U portal_db_user -d portal -p 5432 < dbexport.sql
Done

The PostgreSQL database has been successfully restored from the backup

Please go back to page Migrating data from Portal Dedicated server and complete steps 5 and 6.