I just tested it in a Docker container and everything seems to be fine:
root@gerhard-test-app:/shared/backups/default# ls -la
total 29068
drwxr-xr-x 2 discourse www-data 4096 Oct 18 09:51 .
drwxr-xr-x 3 discourse www-data 4096 Sep 18 15:31 ..
-rw-r--r-- 1 discourse www-data 7606150 Oct 18 09:48 discourse-test-site-2020-10-18-094806-v20201009190955.tar.gz
-rw-r--r-- 1 discourse discourse 7627995 Oct 18 09:51 discourse-test-site-2020-10-18-095138-v20201009190955.tar.gz
The first backup was created in the web interface. The second one was created with discourse backup command.
/var/www/discourse/public/backups is a symlink:
root@gerhard-test-app:/var/www/discourse/public# ls -la backups
lrwxrwxrwx 1 root root 15 Oct 18 09:42 backups -> /shared/backups