Schema backup - Mailing list pgsql-general

From Claudio Lapidus
Subject Schema backup
Date
Msg-id BAY7-F891pN0sLKDAOt0001f599@hotmail.com
Whole thread Raw
Responses Re: Schema backup  (Jeremiah Elliott <jelliott@artcobell.com>)
Re: Schema backup  (Peter Eisentraut <peter_e@gmx.net>)
Re: Schema backup  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello all

I need to transfer a database installation from one host to another. I need
to dump all users, databases, schemas, stored procedures, triggers, etc. but
no actual data at all. What I try to achieve is a fresh clone ready to run.
I tried pg_dump -s and pg_dumpall, but somewhere I'm missing something, so:
what is the procedure to dump all database structure alone, and what is the
proper reload procedure?

TIA
cl.

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [ADMIN] Conditional row grained replication with DBMirror
Next
From: Jeremiah Elliott
Date:
Subject: Re: Schema backup