From: Mitch Vincent <mvincent@cablespeed.com>
To: liz@plandepot.com
To: pgsql-general@postgresql.org
Subject: Re: restore single table
Date: Wed, 18 Jul 2001 12:02:53 -0400
Message-ID: <002501c10fa3$1a5ddf10$1251000a@Mitch> (raw)
References: <3B55AF70.F8BC939A@plandepot.com>
You could grab the entries from the backup file but it require a little
coding (Some creative use of grep/awk could probably do it)...
Or load the entire backup into a temp database then dump from the temp
database only the tables you want and import then into whichever database
you'd like...
*shrug* either way, you have to jump through a few hoops...
Good luck!
-Mitch
----- Original Message -----
From: "Liz Pelletier" <liz@plandepot.com>
To: <pgsql-general@postgresql.org>
Sent: Wednesday, July 18, 2001 11:46 AM
Subject: [GENERAL] restore single table
> If I have a dump of myDB, and I want to restore only two tables from
> this dump, is there a way to do this? Or do I have to restore the entire
> db?
>
> (BTW, using 7.1 on a Debian box.)
>
> Thanks in advance,
> Liz
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
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-general@postgresql.org
Cc: mvincent@cablespeed.com, liz@plandepot.com
Subject: Re: restore single table
In-Reply-To: <002501c10fa3$1a5ddf10$1251000a@Mitch>
References: <3B55AF70.F8BC939A@plandepot.com> <002501c10fa3$1a5ddf10$1251000a@Mitch>
* 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