pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Duncan McDonald <duncan@gpats.com.au>
To: pgsql-admin@postgresql.org
Subject: Backing Up Partial Databases
Date: Thu, 26 Oct 2006 13:08:42 +1000
Message-ID: <018701c6f8ac$0ad93bf0$2102a8c0@Firefly> (raw)

Hi All,

I was wondering whether there was a way to back up partial sets of data as 
INSERT statements? Pg_dump seems only to handle whole databases or tables.

I have two identical databases (primary and backup) and I need to transfer a 
small portion of missing data from one to the other. Is there an easier way 
to do this rather than SELECT-ing the interval then parsing the ouput to 
look like INSERT statements?

Regards,

       -Duncan 




view thread (3+ messages)  latest in thread

Message-ID: <018701c6f8ac$0ad93bf0$2102a8c0@Firefly>
Permalink:  ../018701c6f8ac$0ad93bf0$2102a8c0@Firefly/
Also on:    postgresql.org/message-id/018701c6f8ac$0ad93bf0$2102a8c0@Firefly

 · 

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 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: duncan@gpats.com.au
  Subject: Re: Backing Up Partial Databases
  In-Reply-To: <018701c6f8ac$0ad93bf0$2102a8c0@Firefly>
  References: <018701c6f8ac$0ad93bf0$2102a8c0@Firefly>

* 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