I\'m trying to create a cronjob to back up my database every night before something catastrophic happens. It looks like this command should meet my needs:
0
Note that, in windows, the pgpass.conf file must be in the following folder:
pgpass.conf
%APPDATA%\postgresql\pgpass.conf
if there's no postgresql folder inside the %APPDATA% folder, create it.
postgresql
%APPDATA%
the pgpass.conf file content is something like:
localhost:5432:dbname:dbusername:dbpassword
cheers