From: Sai Hertz And Control Systems <sank89@sancharnet.in>
To: Jim Cochrane <jtc@dim.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postrgres data restoration problem
Date: Fri, 05 Dec 2003 17:16:00 +0530
Message-ID: <3FD06FF8.1010107@sancharnet.in> (raw)
In-Reply-To: <200312050714.hB57EXF29373@jupiter.milkyway.org>
References: <200312050714.hB57EXF29373@jupiter.milkyway.org>
Dear Jim Cochrane,
>I'm looking for help restoring old postgres databases on a linux system
>after a reinstall of Redhat (including posgresql). It's the same version
>of redhat and of postgres I was using before the resinstall, but I've not
>been able to get the database server to see the old databases.
>
>
>
Here we are trying to help
>The old data is stored in the standard postgres format. (No,
>unfortunately, I did not have a backup.) The postgres data is located
>on my system under /var/lib/pgsql. So I tried both creating a
>symbolic link - setting up /var/lib/pgsql/data as a symbolic link to
>/oldpgsqlpath/data, and, when that didn't work, I just copied the old data
>directory to /var/lib/pgsql (that is, it ended up residing in
>/var/lib/pgsql/data), which didn't work either:
>
>
I presume while you were doing the all above said
1. PostgreSQL was stoped while cp etc
2. The new cluster has been initialise initdb i..e the original
database and not the copied direcrory namely /var/lib/pgsql
If this help kindly shoot back for more
For next time keep a backup
Regards,
V Kashyap
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-admin@postgresql.org
Cc: sank89@sancharnet.in, jtc@dim.com
Subject: Re: Postrgres data restoration problem
In-Reply-To: <3FD06FF8.1010107@sancharnet.in>
References: <200312050714.hB57EXF29373@jupiter.milkyway.org> <3FD06FF8.1010107@sancharnet.in>
* 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