Re: "could not write to output file: Permission denied" during pg_dump

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: "could not write to output file: Permission denied" during pg_dump
Дата
Msg-id 509E6EA5.4080608@gmail.com
обсуждение исходный текст
Ответ на Re: "could not write to output file: Permission denied" during pg_dump  ("Tefft, Michael J" <Michael.J.Tefft@snapon.com>)
Список 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 по дате отправления:

Предыдущее
От: "Tefft, Michael J"
Дата:
Сообщение: Re: "could not write to output file: Permission denied" during pg_dump
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "could not write to output file: Permission denied" during pg_dump