Re: Help automate pg_dump

Поиск
Список
Период
Сортировка
От Tycho Fruru
Тема Re: Help automate pg_dump
Дата
Msg-id 1024482752.3368.3.camel@kungfoo.conostix.com
обсуждение исходный текст
Ответ на Re: Help automate pg_dump  (Vivek Khera <khera@kcilink.com>)
Ответы Re: Help automate pg_dump  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
On Tue, 2002-06-18 at 18:48, Vivek Khera wrote:
> >>>>> "n" == nothanks  <nothanks@nowhere.com> writes:
>
> n> If the username/password must be interactive, how can I script backup
> n> of the server?
>
> It honors the standard environment variables for user/password, so
> just set them.  And make sure your script is not readable by anyone
> else, or your security is moot.

Actually, if you're using environment variables to preset usernames and
passwords your security is moot.

Try " ps exwww " and see the environment variables of all processes

Cheers,
Tycho

--
Tycho Fruru                            tycho@fruru.com
"Prediction is extremely difficult. Especially about the future."
  - Niels Bohr

Вложения

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

Предыдущее
От: "Bjoern Metzdorf"
Дата:
Сообщение: Re: db grows and grows
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Help automate pg_dump