Re: doing backups

Поиск
Список
Период
Сортировка
От Moray McConnachie
Тема Re: doing backups
Дата
Msg-id 000201bf9d9e$5968d7a0$01c8a8c0@malthouse.private.net
обсуждение исходный текст
Ответ на Re: doing backups  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
Ответы Re: doing backups  (Jeff MacDonald <jeff@pgsql.com>)
Re: doing backups  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
Список pgsql-general
>> Now if you make pgsql user and postgresql analgous to
>> root and unix, the postgres user shouldn't need a passwd.

>My root users always have passwords. *shrug* But you're right, automated
>backup on password protected databases is next to impossible right now,
>especially when using pg_dump. If those users want to enable you to do
>backups for them perhaps they should give you (and only you) some sort of
>ident controlled access.

I missed the first half of this, but, if I have understood correctly, I
don't think this is the case: you can do automated backups by doing

echo -e 'username\npassword\n' | pg_dump -u databasename



Yours,
Moray





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

Предыдущее
От: "Cédric Prévost"
Дата:
Сообщение: word search
Следующее
От: "Moray McConnachie"
Дата:
Сообщение: Re: Re: ODBC Interface questions