[SOLVED]pg:dump won't work

pg_dump: [tar archiver] could not open … Permission denied.

I tried with setting the owner/group of the backupdirectory to postgres/postgres but that won’t work either. Any setting in config i could use, to get backup working?

Thx in advance

Best

create a folder for postgresbackup
chmod 775
chown postgres:postgres
And, if you backup all Databases, don’t forget to just enter the path like this…

/home/backup/postgresbackup/

That’s it.

Best