Received: from ara.zf.jcu.cz (ara.zf.jcu.cz [160.217.161.4]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6REIlf43300 for ; Fri, 27 Jul 2001 10:18:47 -0400 (EDT) (envelope-from zakkr@zf.jcu.cz) Received: (from zakkr@localhost) by ara.zf.jcu.cz (8.9.3/8.9.3/Debian 8.9.3-21) id QAA05524; Fri, 27 Jul 2001 16:18:41 +0200 Date: Fri, 27 Jul 2001 16:18:41 +0200 From: Karel Zak To: Chris Ruprecht Cc: p-admin Subject: Re: Dump Schema? Message-ID: <20010727161841.A5504@ara.zf.jcu.cz> References: <004b01c116a3$bd7c3a00$5dd26383@corp.compucom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <004b01c116a3$bd7c3a00$5dd26383@corp.compucom.com>; from chrup999@yahoo.com on Fri, Jul 27, 2001 at 08:55:05AM -0500 X-Archive-Number: 200107/157 X-Sequence-Number: 1916 On Fri, Jul 27, 2001 at 08:55:05AM -0500, Chris Ruprecht 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? > pg_dump -s, --schema-only dump out only the schema, no data Something is bad on docs or pg_dump --help? :-) Karel -- Karel Zak http://home.zf.jcu.cz/~zakkr/ C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz