pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jodi Kanter <jkanter@virginia.edu>
To: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: pg_restore
Date: Wed, 27 Mar 2002 11:58:47 -0500
Message-ID: <00b301c1d5b0$a9a15ed0$de138f80@virginia.edu> (raw)

I have an empty database that we recreated from scratch in order to make some column changes. I would like to restore the data that was in the original database. Will it work given that their are some new fields that did not exist before? Am I correct in that I cannot do this from pg_restore since it is a plain text file? 

The data dump was created using the following syntax: 

pg_dump genex -u -a > ./genex_data.backup (I have to use the -u switch since I have implemented forced sign on through the pg_passwd utility)

How can I get this data back in? pg_restore? psql command? and if so what is the appropriate syntax becasue I have tried this and its not working.
thanks
Jodi Kanter

_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter@virginia.edu



 

 

 

view thread (25+ messages)  latest in thread

Message-ID: <00b301c1d5b0$a9a15ed0$de138f80@virginia.edu>
Permalink:  ../00b301c1d5b0$a9a15ed0$de138f80@virginia.edu/
Also on:    postgresql.org/message-id/00b301c1d5b0$a9a15ed0$de138f80@virginia.edu

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: jkanter@virginia.edu
  Subject: Re: pg_restore
  In-Reply-To: <00b301c1d5b0$a9a15ed0$de138f80@virginia.edu>

* 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