Re: "could not write to output file: Permission denied" during pg_dump - Mailing list pgsql-general

From Adrian Klaver
Subject Re: "could not write to output file: Permission denied" during pg_dump
Date
Msg-id 509E6EA5.4080608@gmail.com
Whole thread Raw
In response to Re: "could not write to output file: Permission denied" during pg_dump  ("Tefft, Michael J" <Michael.J.Tefft@snapon.com>)
List pgsql-general
On 11/10/2012 06:19 AM, Tefft, Michael J wrote:
> Correction, that should have been Postgres 9.0.4 not 9.4.
>

For some reason I did not get the original question. Found it in the
archives.

In that post you show the following:

The command used to invoke pg_dump is as follows:

${currentCodeDir}/thirdPartyLinks/postgres/bin/pg_dump
--file=${currentDataDir}/${db_name}.dmp --format=custom
--host=${PostgreSQLServer} --port=${db_port} --username=xxxx
--no-privileges --verbose ${db_name}


You say you are doing concurrent dumps of multiple databases.

Are talking different databases in different clusters or different
databases in a cluster?

If different databases in different clusters do they have the same name
in each cluster?


If so have you checked that:           '--file=${currentDataDir}/${db_name}.dmp'
is not writing to the same file?

--
Adrian Klaver
adrian.klaver@gmail.com


pgsql-general by date:

Previous
From: "Tefft, Michael J"
Date:
Subject: Re: "could not write to output file: Permission denied" during pg_dump
Next
From: Tom Lane
Date:
Subject: Re: "could not write to output file: Permission denied" during pg_dump