I’m getting a backup error with
[2020-10-17 23:40:29] EXCEPTION: lib/discourse.rb:92:in `exec': tar: /var/www/discourse/public/backups/default/bringing-data-to-life-2020-10-17-234010-v20200916085541.tar: Cannot open: Permission denied tar: Error is not recoverable: exiting now
I’ve logged into the container, went to the directory and confirmed the root user can create files.
I changed the permissions to 777 and the backup worked. Even though this is private site I’m not keen on leaving 777 permissions on a possibly public link.
Does the backup process run with a different user from root?