Re: file system level backup

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: zach cruise <zachc1980(at)gmail(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: file system level backup
Date: 2014-01-04 21:48:48
Message-ID: 52C881C0.4040201@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/04/2014 01:20 PM, zach cruise wrote:
>
> Questions:
>
> 1) Both servers are x64?
>
> > yes
>
> 2) What installation files(Graphical installer, source,etc)?
>
> > postgresql-9.3.0-1-windows-x64 from enterprisedb.com
> <http://enterprisedb.com>
>
> 3) Does the data directory have the config files?
>
> > yes
>
> however, postgresql b won't start ("not listening")?
>
> 4) How are you starting?
>
> > pgadmin -> start server
>
> 5) What is the exact error message and where are you seeing it?
>
> > "server not listening on port 5432" in cmd ('netstat -ab | find
> "5432"' also returns empty)

Have you checked what port is set up in postgresql.conf?

I am not that familiar with Windows and pgAdmin so I will resort to the
docs:

Does any of the below apply?

http://www.pgadmin.org/docs/1.8/connect.html

"If pgAdmin is running on a Windows machine, it can control the
postmaster service if you have enough access rights. Enter the name of
the service. In case of a remote server, it must be prepended by the
machine name (e.g. PSE1\pgsql-8.0). pgAdmin will automatically discover
services running on your local machine. "

>
> so i restored postgresql b's old /data/, but it still won't start?!
>
> 6) So there was an existing Postgres instance at b?
>
> > yes. two installations - a and b.

I am still not understanding. You have a 2008 server at a and one at b.
You copied the Postgres data files from 2008 server a to 2008 server b.
This did not work, so you say you restored the data directory on server
b from an old copy of the data directory at b.

So where did that old copy come from?

>
> 7) What version was it?
>
> > both are 9.3.0-1 from the same installation file (above).
>
> fyi, pg_bouncer process was running even after the server shutdown when
> i did the copy (since size is not an issue, i could copy the entire
> /postgresql/?).
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message zach cruise 2014-01-04 22:13:30 Re: file system level backup
Previous Message zach cruise 2014-01-04 21:20:51 Re: file system level backup