Re: dump vs dumpall

Поиск
Список
Период
Сортировка
От Partyka Robert
Тема Re: dump vs dumpall
Дата
Msg-id Pine.LNX.4.21.0010162053390.3875-100000@saturn.alpha.pl
обсуждение исходный текст
Ответ на Re: dump vs dumpall  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
On Mon, 16 Oct 2000, Peter Eisentraut wrote:

> Darrin Ladd writes:
>
> > I am in the process of moving my postgres dbs from an Alpha to a Pentium box
> > and I can't seem to get pg_dumpall to work.  I have password authentication
> > enabled and am using the -u option on pg_dumpall, but it never actually asks
> > me for a userid or password, it just writes out that the password
> > authentication on postgres failed.
>
> pg_dumpall doesn't work very well at all with password authentication.
> You might be better off temporarily using some other mechanism.  (E.g.,
> use the Unix socket with "trust", but change the permissions on the socket
> itself.)

Try to do it this way:
$ export PGUSER=username
$ export PGPASSWORD=password
$ pg_dumpall > filename

Regards
Robert "BoBsoN" Partyka

BTW... Hello to all on the list ;)


В списке pgsql-general по дате отправления:

Предыдущее
От: Alfred Perlstein
Дата:
Сообщение: Re: [Q] createdb for existing directory
Следующее
От: "Darrin Ladd"
Дата:
Сообщение: Re: dump vs dumpall