pg_dump -U postgres -F c -v -f BigDatabase.psql BigDatabase pg_dumpall -U postgres --globals-only > globals.pgsql pg_restore -U postgres -d BigDatabase BigDatabase.psql createdb -U postgres -l sv_SE.UTF8 -E UTF8 -O johan huntdb