Error during Backup - Getting "Permission Denied" for pg dump outputfile.
I tried to do some automated backups from my loomio instance.
It seems, that the backup script is packaging some stuff into a .tgz file.
But I get a "Permission denied" message at the beginning of the command execution ...
Is this a problem? Why it is giving me "permission denied?"
gmt@bogus:~/loomio-deploy$ sudo scripts/create_backup . writing database dump: /pgdumps/loomio_production.dump pgdump: [custom archiver] could not open output file "/pgdumps/loomioproduction.dump": Permission denied writing backup file: ./backups/bogus-0.tgz././import/ ./env ./.backup-ignore ./SLACK.md ./README.md ./plugins/ ./uploads/ ./uploads/users/ ...