pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hal Lynch <hal@sticky.usu.edu>
To: pgsql-admin@postgreSQL.org
Subject: migrating administrative pieces to new install
Date: Fri, 28 Jan 2000 14:45:42 -0700
Message-ID: <l03130302b4b7b7ea1bd9@[129.123.1.184]> (raw)

I have both a production machine and a test machine.
The production machine is running 6.5.2 and FreeBSD 3.0.
The test machine is running 6.5.3 and FreeBSD 3.4.

The idea is to migrate all databases from the prod. machine
to the test machine.  As soon as the test machine works properly
it will become the prod. machine and vice-versa.

All databases are read(select) only.  my pg_hba.conf looks like this:
    local all password passwd.

pg_dumpall fails.  I haven't found a way to supply a username
and password to the command.  The -u flag dosen't work.

pg_dump works but what databases/tables do I dump to get all my
username info.

Any hints for the hintless?

hal





view thread (2+ messages)  latest in thread

Message-ID: <l03130302b4b7b7ea1bd9@[129.123.1.184]>
Permalink:  ../l03130302b4b7b7ea1bd9@%5B129.123.1.184%5D/
Also on:    postgresql.org/message-id/l03130302b4b7b7ea1bd9@[129.123.1.184]

 · 

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: hal@sticky.usu.edu
  Subject: Re: migrating administrative pieces to new install
  In-Reply-To: <l03130302b4b7b7ea1bd9@[129.123.1.184]>
  References: <l03130302b4b7b7ea1bd9@[129.123.1.184]>

* 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