1
I need to perform an automatic Backup of a Postgresql server, I have a command that makes this backup but it always asks me the password and I could not find a command where I can already determine the password of the bank in the proper Script. The command I possess is:
pg_dump.exe --host 127.0.0.1 --port 5432 --username postgres --format Custom --file C: Backup Backup_data.
What I need is a command where I already set the password, so that when the command is executed I do not need to manually enter the password of the bank. If you have any ideas.