recovering fs-data from previous installation

From: Marc Lustig <ml(at)marclustig(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: recovering fs-data from previous installation
Date: 2010-02-08 15:11:28
Message-ID: D4E7C400-F0AD-4940-9BAE-729967413CA9@marclustig.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I managed to install again postgresql-8.4 from hardy-backports.
Now the installation is identical with the previous one.

With the fresh database, the server starts up fine.

Now I copied all from the backup to
/usr/lib/postgresql/8.4
/var/lib/postgresql/8.4

The the startup fails like this:

* Starting PostgreSQL 8.4 database server * Error: could not exec /usr/lib/postgresql/8.4/bin/pg_ctl /usr/lib/postgresql/8.4/bin/pg_ctl start -D /var/lib/postgresql/8.4/main -l /var/log/postgresql/postgresql-8.4-main.log -s -o -c config_file="/etc/postgresql/8.4/main/postgresql.conf" :

the log-file is empty.

Can you please help to get postgresql to start again using the previous database.
I suppose there should be no serious issues, as the version of postgresql is identical now.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2010-02-08 15:23:05 Re: weird bug in rebuilding RPMs
Previous Message Davor J. 2010-02-08 15:08:42 Creating subsets on timestamp with modulo, date_trunc and ?suggestions?