dumping the schema ?

Started by raptor@tvskat.netabout 21 years ago2 messagesgeneral
Jump to latest
#1raptor@tvskat.net
raptor@tvskat.net

hi,
how can I dump the db schema so that I can recrate the DB later ?

tia

#2Lonni J Friedman
netllama@gmail.com
In reply to: raptor@tvskat.net (#1)
Re: dumping the schema ?

On Sat, 29 Jan 2005 21:55:23 +0200, raptor <raptor@tvskat.net> wrote:

hi,
how can I dump the db schema so that I can recrate the DB later ?

From 'man pg_dump':
-s

--schema-only
Dump only the schema (data definitions), no data.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama@gmail.com
LlamaLand http://netllama.linux-sxs.org