Postgres tworzy zrzut SQL
pg_dump -U username dbname > dbexport.pgsql
Bored Bison
pg_dump -U username dbname > dbexport.pgsql
psql databasename < data_base_dump
pg_restore -U sam -d SamDataBase -1 SamDataBaseBackup.sql
psql dbname < infile
# First create DATABASE
sudo su postgres
# enter password
createdb testdb
psql db_name < dump.sql