Re: pg_dump question

From: Bhuvan A <bhuvansql(at)myrealbox(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump question
Date: 2002-10-29 04:35:27
Message-ID: Pine.LNX.4.44.0210291003310.1252-100000@Bhuvan.bksys.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> I need to set up a daily cron job that performs a pg_dump on a remote
> database. I can't figure out how to pass a password to it. How do I do
> this. Everything I've tried still comes up with asking me for a password
> when I test it.
>

$ export PGPASSWORD=user_pass
$ echo -e "Would do the trick. Yes, it will not ask for the password
again";

regards,
bhuvaneswaran

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Elizabeth O'Neill's Office Mail 2002-10-29 09:36:19 PostgreSQL Administration Training
Previous Message Bruce Momjian 2002-10-29 03:25:26 Re: views across databases