Re: Forgot to dump old data before re-installing machine

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Stefan Schwarzer" <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: Forgot to dump old data before re-installing machine
Date: 2008-01-24 21:04:06
Message-ID: dcc563d10801241304y22a03265med1d8e871f800c71@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

On Jan 24, 2008 10:41 AM, Stefan Schwarzer
<stefan(dot)schwarzer(at)grid(dot)unep(dot)ch> wrote:
> >> When I start the postmaster it seems ok. But there is no process
> >> running.
> >
> > Then it didn't really start successfully. (Unless you use the -w
> > option, "pg_ctl start" just launches the postmaster --- it doesn't
> > wait around to see what happens.) You need to look into the log
> > file to see what the problem was.
>
> Ok, it's a bit confusing for a non-admin-user to enter into the pg-
> config to find out what parameters one has to uncomment in order to
> get the log working. Succeed after some while, got the postmaster
> working:
>
> 827 p2 S 0:00.22 /usr/local/bin/postmaster -D /usr/local/
> pgsql/data TERM=xterm-color SHELL=/bin/bash USER=postgres
> __CF_USER_TEXT_ENCODING=0x1F6:0:0 P
> 829 p2 S 0:00.01 postgres: writer process
> 830 p2 S 0:00.00 postgres: stats buffer process
> 831 p2 S 0:00.00 postgres: stats collector process
>
>
> What would you recommend now in order to get the data back? I have
> postgis data in the databases too, although this is not too important
> for me...

Sounds like you're ready to run pg_dump.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Atkins 2008-01-24 21:18:38 Re: Disk configurations....
Previous Message Dave Page 2008-01-24 20:19:41 Re: Installing PostGreSQL - 2

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-01-25 18:49:54 Re: Thoughts about bug #3883
Previous Message Martijn van Oosterhout 2008-01-24 19:27:13 Re: Forgot to dump old data before re-installing machine