| From: | Chris <dmagick(at)gmail(dot)com> |
|---|---|
| To: | Sumita Chatterjee <sumita(dot)chatterjee(at)cmcltd(dot)com> |
| Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Recovery in PostgreSql |
| Date: | 2006-03-28 00:35:02 |
| Message-ID: | 442884B6.8020704@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Sumita Chatterjee wrote:
> I have two questions:
>
> 1. In Postgresql, what is the name of the exact DATAFILE under the DATA
> DIRECTORY ?
It depends. The subfolders under data are the OID of the database - they
are not stored per name.
> 2. We want to prepare a backup machine (for disaster management) by
> passing only the ARCHIVEDIR directory from another online machine - both
> the machines have Postgresql installed. We have sent PGLOG and ARCHIVEDIR
> but the recovery is not successful unless we send the FULL DATA Directory.
You're out of luck.
Even this method is dangerous - differences in platforms, software
versions will cause issues.
Why not use pg_dumpall or pg_dump ?
--
Postgresql & php tutorials
http://www.designmagick.com/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Talbot-Wilson | 2006-03-28 00:40:15 | FAQ 1.1 |
| Previous Message | Chris | 2006-03-28 00:32:41 | Re: Creating serial ID on Windows. |