Re: pg_dump.. auto backup

Поиск
Список
Период
Сортировка
От A.Bhuvaneswaran
Тема Re: pg_dump.. auto backup
Дата
Msg-id Pine.LNX.4.44.0310161844320.23099-100000@Bhuvan.bksys.co.in
обсуждение исходный текст
Ответ на Re: pg_dump.. auto backup  ("Ganesan Kanavathy" <ganesh@magnusquest.com>)
Список pgsql-admin
> I don't really understand this. How to put password in ~/.pgpass. What
> changes do I need to do on the script? How do I access to the password
> to authenticate?

Follow the below steps to automate your backup process.

bash$ echo your_host:5432:your_user:your_db:your_pass > ~/.pgpass
bash$ chmod 600 ~/.pgpass

Now, run your script and it must have been automated.

regards,
bhuvaneswaran


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

Предыдущее
От: Jeff
Дата:
Сообщение: Re: [PERFORM] backup/restore - another area.
Следующее
От: Ben Kim
Дата:
Сообщение: question re double quotes