Re: Cannot get a backup using a script

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'JORGE MALDONADO *EXTERN*'" <jorgemal1960(at)gmail(dot)com>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Cannot get a backup using a script
Date: 2015-11-26 09:13:58
Message-ID: A737B7A37273E048B164557ADEF4A58B50FEB440@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

JORGE MALDONADO wrote:
> I have been trying to get automated backups of a PostgreSQL database using a script without success.
> The error I get is "fe_sendauth: no password supplied".
>
> I have a pgpass.conf in "C:\Users\Username\AppData\Roaming\postgresql\pgpass.conf" with the correct
> information: localhot:5432:dbname:postgres:mypassword

Is this "Username" literally?

What do you get for "echo %APPDATA%"?

The path should be %APPDATA%\postgresql\pgpass.conf

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message JORGE MALDONADO 2015-11-26 15:28:49 Re: Cannot get a backup using a script
Previous Message JORGE MALDONADO 2015-11-25 19:52:32 Cannot get a backup using a script