| From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
|---|---|
| To: | Rich Shepard <rshepard(at)appl-ecosys(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Restore 1 Table from pg_dumpall? [RESOLVED] |
| Date: | 2013-01-22 18:17:06 |
| Message-ID: | 50FED7A2.9060201@commandprompt.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 01/22/2013 10:07 AM, Rich Shepard wrote:
>
> On Tue, 22 Jan 2013, Rich Shepard wrote:
>
>> Is there a way I can extract a single table's schema and data from the
>> full backup? If so, I can then drop the fubar'd table and do it correctly
>> this time.
>
> My solution: view the file in the pager I use (less), then copy relevant
> lines to another file opened in a text editor (joe).
Rich, the main problem is using pg_dumpall. Unfortunately pg_dumpall has
not kept up with all the other advances Postgres has had in the last
decade. To set up dump based backups properly I suggest reviewing:
Sincerely,
Joshua D. Drake
>
> Rich
>
>
>
--
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, Postgres-XC
@cmdpromptinc - 509-416-6579
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rich Shepard | 2013-01-22 18:32:42 | Re: Restore 1 Table from pg_dumpall? [RESOLVED] |
| Previous Message | Rich Shepard | 2013-01-22 18:07:44 | Re: Restore 1 Table from pg_dumpall? [RESOLVED] |