Re: restoring database

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Theodore Petrosky <tedpet5(at)yahoo(dot)com>
Cc: Lucas Lain <lainl(at)aconectarse(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: restoring database
Date: 2003-12-22 17:53:23
Message-ID: Pine.LNX.4.33.0312221052260.30417-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, 22 Dec 2003, Theodore Petrosky wrote:

> As I am not someone with a lot of experience....
> (depending on the size of the 'dumpall') I would
> create a new database to suck up the 'all' then
> pg_dump the table I really cared about.
>
> Obviously, if the dump_all is a terabyte database this
> method is inconvenient.... (to say the least).
>
> However it will work.

In the past I've used

'cat -n filename'|grep -4 database

to find the starting points of individual databases etc... and then used
split to break it into the exact right size pieces to do this.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Dave Cramer 2003-12-22 19:32:19 Re: Insert Row to ResultSet
Previous Message Theodore Petrosky 2003-12-22 16:43:52 Re: restoring database