From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Marcos Lloret <marcos(at)second(dot)ival(dot)es> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: make us of old database. |
Date: | 2000-06-07 23:35:14 |
Message-ID: | 5372.960420914@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Marcos Lloret <marcos(at)second(dot)ival(dot)es> writes:
> i want to make us of an old recovered database from a dead hard
> disk. i just copied the directory
> /usr/local/pgsl/data/base/[database-name]
> i install postgres 6..4 (as before) and i created a new database
> directory and copied all the database.
That's not going to work, at least not that way. You need to have a
pg_log file that has the same set of transaction commit and abort
records that were in your old database. Basically, you can transfer an
*entire* pgsql/data tree by copying it, but you don't get to pick and
choose parts.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-06-08 01:49:51 | Re: Column types via ODBC interface |
Previous Message | Tom Lane | 2000-06-07 23:31:20 | Re: plpgsql question... |