pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jyoti Seth <jyotiseth2001@gmail.com>
To: pgsql-sql@postgresql.org
Subject: pg_restore
Date: Tue, 9 Jun 2009 15:02:05 +0530
Message-ID: <003101c9e8e5$2a31ee80$7e95cb80$@com> (raw)

Hi all,

 

 I have two databases db1 and db2 with no network connection. I want to take
backup of few master tables from db1 and restore it to db2 at frequent
intervals.. I do not want to delete data from the tables and restores the
fresh data as this data is getting referenced in other tables. I can do that
by creating scripts on db1 and executing the same on db2. But I want to know
if  I can use pg_restore command to overwrite existing data of these master
tables

 

Thanks,

Jyoti

 

Message-ID: <003101c9e8e5$2a31ee80$7e95cb80$@com>
Permalink:  ../003101c9e8e5$2a31ee80$7e95cb80$@com/
Also on:    postgresql.org/message-id/003101c9e8e5$2a31ee80$7e95cb80$@com

 · 

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-sql@postgresql.org
  Cc: jyotiseth2001@gmail.com
  Subject: Re: pg_restore
  In-Reply-To: <003101c9e8e5$2a31ee80$7e95cb80$@com>

* 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