Re: Cannot get a backup using a script - Mailing list pgsql-novice

From Albe Laurenz
Subject Re: Cannot get a backup using a script
Date
Msg-id A737B7A37273E048B164557ADEF4A58B50FEB440@ntex2010i.host.magwien.gv.at
Whole thread Raw
In response to Cannot get a backup using a script  (JORGE MALDONADO <jorgemal1960@gmail.com>)
Responses Re: Cannot get a backup using a script
List 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

pgsql-novice by date:

Previous
From: JORGE MALDONADO
Date:
Subject: Cannot get a backup using a script
Next
From: JORGE MALDONADO
Date:
Subject: Re: Cannot get a backup using a script