pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David De Graff <postgresql@awarehouse.com>
To: pgsql-admin@postgresql.org
Subject: Opening a PG filesystem db backup on a new server
Date: Tue, 11 Feb 2003 01:58:01 -0800
Message-ID: <017e01c2d1b4$15ae7b30$5300000a@bsr.org> (raw)

I'm setting up a staging / test installation of a running application, and
have copied the PG data directory (/var/pgsql/data) to the new machine via a
tarball and replaced the data directory created with the initdb run when PG
was installed on the new server.

Is anything special required to get a new installation of Postgres to open a
database created on another server? The postmaster seems to start OK, but my
OpenACS-based application is not starting as it should. The problem could be
with AOLserver or other factors, but I want to check that I'm doing the
right thing with the database startup.

I'm starting postgres by running the following command as user postgres:

/usr/local/pgsql/bin/pg_ctl -D /var/pgsql/data -l server.log start

Postgres version on the original server is 7.2.1, the new server has 7.2.4
installed. Both machines are running Debian 3.0, with the 2.4.18 kernel.

Thanks for any insight,

Dave De Graff





Message-ID: <017e01c2d1b4$15ae7b30$5300000a@bsr.org>
Permalink:  ../017e01c2d1b4$15ae7b30$5300000a@bsr.org/
Also on:    postgresql.org/message-id/017e01c2d1b4$15ae7b30$5300000a@bsr.org

 · 

reply

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: postgresql@awarehouse.com
  Subject: Re: Opening a PG filesystem db backup on a new server
  In-Reply-To: <017e01c2d1b4$15ae7b30$5300000a@bsr.org>
  References: <017e01c2d1b4$15ae7b30$5300000a@bsr.org>

* 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