postgresql export database and restore code example Example: psql load dump psql databasename < data_base_dump