For my own records. Dump:
pg_dump -U superuser -C -o database > database
And then the restore (postgres should be the template db):
psql postgres superuser < database
Lover of life, father, geek, sportsman, businessman, traveller, DIYer, optimistic, freethinker. We are one.
For my own records. Dump:
pg_dump -U superuser -C -o database > database
And then the restore (postgres should be the template db):
psql postgres superuser < database