Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

1 vote

Using pgdump_all and cron

".pgpass" is typically a hidden file in your user's home directory (not in the root as your notation suggests--if you refer to the fact that crontab is for the root user and runs the script ...
jjanes's user avatar
  • 40k
2 votes
Accepted

Using pgdump_all and cron

The pg_hba.conf line local all all trust allows local connections with trust authentication, that is, without a password. That is why your backup script is working ...
Laurenz Albe's user avatar
  • 52.9k

Top 50 recent answers are included