From: George Lewis <schvin@schvin.net>
To: Chris Ruprecht <chrup999@yahoo.com>
Cc: p-admin <pgsql-admin@postgresql.org>
Subject: Re: Dump Schema?
Date: Fri, 27 Jul 2001 14:10:38 +0000
Message-ID: <20010727141038.A20721@schvin.net> (raw)
In-Reply-To: <004b01c116a3$bd7c3a00$5dd26383@corp.compucom.com>
References: <004b01c116a3$bd7c3a00$5dd26383@corp.compucom.com>
pg_dump -s dbname
Chris Ruprecht (chrup999@yahoo.com) wrote:
> Hi guys,
>
> I have a database on my production machine and I want a copy of this db (9 GB) - without the data - on a development machine (notebook with about 6 GB of space).
> How can I just dump the schema without the data? Is there a simple command for that?
>
> Best regards,
> Chris
>
--
http://schvin.net/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: schvin@schvin.net, chrup999@yahoo.com
Subject: Re: Dump Schema?
In-Reply-To: <20010727141038.A20721@schvin.net>
References: <004b01c116a3$bd7c3a00$5dd26383@corp.compucom.com> <20010727141038.A20721@schvin.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox