From: | "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk> |
---|---|
To: | Edwin Quijada <listas_quijada(at)hotmail(dot)com> |
Cc: | dev(at)archonet(dot)com, pgsql-general(at)postgresql(dot)org |
Subject: | Re: About Pgdump |
Date: | 2003-09-19 21:43:40 |
Message-ID: | Pine.LNX.4.21.0309192239540.31098-100000@ponder.fairway2k.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, 19 Sep 2003, Edwin Quijada wrote:
>
> Where can I find that file .pgpass??
> Can I create ?
> How ate the entry in this file???
Not for <7.3:
touch ~/.pgpass
chmod 0600 ~/.pgpass
echo '*:*:*:username:password' > ~/.pgpass
Note that this presumes you are logged in as the user who will be dumping the
database(s).
>
> >From: Richard Huxton <dev(at)archonet(dot)com>
> >To: Deepa K <kdeepa(at)midascomm(dot)com>, pgsql-general(at)postgresql(dot)org
> >Subject: Re: [GENERAL] About Pgdump
> >Date: Fri, 19 Sep 2003 10:13:19 +0100
> >
> >On Friday 19 September 2003 07:35, Deepa K wrote:
> > > Hi all,
> > > I want to take backup of our online system on daily basis using
> > > crontab. But actually the pg_hba.conf is configured with password
> > > security.
> > > How I can take the backup without setting password. Or is their any
> > > other
> > > way to take backup.
> >
> >Look for the .pgpass entry in the document index. You can create a private
> >file containing usernames/passwords for databases.
> >
> >--
> > Richard Huxton
> > Archonet Ltd
--
Nigel J. Andrews
From | Date | Subject | |
---|---|---|---|
Next Message | Nigel J. Andrews | 2003-09-19 21:51:08 | Re: OT: HEADS-UP: viral storm out there |
Previous Message | Tom Lane | 2003-09-19 21:41:06 | Re: Rockets (was Re: PostgreSQL versus MySQL) |