Re: Correct pg_dumpall Syntax

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Correct pg_dumpall Syntax
Date: 2008-06-18 14:20:17
Message-ID: 485919A1.3040805@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 18/06/2008 15:16, Rich Shepard wrote:

> I do not see an option on the man page for pg_dumpall that directs it to
> the data of a different version on a different filesystem. I would greatly
> appreciate learning the correct syntax that will allow me to use the
> pg_dumpall from 8.3.3 to extract all data from the 8.1.4 version
> residing in
> /usr4/pgsql_old/data/ and write it to a file (with the -f option) in
> /usr4/postgres-backups.
>
> There are no postmaster or postgres processes running.

As I understand it, pg_dump (and therefore pg_dumpall also) needs a
server process running: you direct it to the correct host with the -h
option.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2008-06-18 14:23:56 Re: Correct pg_dumpall Syntax
Previous Message Rich Shepard 2008-06-18 14:16:11 Correct pg_dumpall Syntax