Re: pg_dump.. auto backup - Mailing list pgsql-admin

From A.Bhuvaneswaran
Subject Re: pg_dump.. auto backup
Date
Msg-id Pine.LNX.4.44.0310161844320.23099-100000@Bhuvan.bksys.co.in
Whole thread Raw
In response to Re: pg_dump.. auto backup  ("Ganesan Kanavathy" <ganesh@magnusquest.com>)
List 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 by date:

Previous
From: Jeff
Date:
Subject: Re: [PERFORM] backup/restore - another area.
Next
From: Ben Kim
Date:
Subject: question re double quotes