- Plesk for Linux
How to import PostgreSQL database dump?
Can be performed in one of the following ways:
Click on a section to expand
Open Home > Domains > example.com > Databases and click phpPgAdmin under the name of the required database.
In phpPgAdmin interface click on database name > SQL > Browse, select file to upload and click Execute.
Connect to the server via SSH
Execute the following command:
# psql databasename < data_base_dump
Note: Imported backup should contain valid SQL commands.