[Bug]: Backup location is automatically shared !!
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] Nextcloud Server is running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
Hello
I installed Nextcloud server and the backups application. To save a backup, an external storage must be selected, so I installed the External Storage app. I configured it to use some dedicated secondary Hdd on the server, and configured Backup application to use this location.
The problem : The ENTIRE BACKUP LOCATION is now shared on Nextcloud ????? How is this possible ? Have you tested your backup solution ? The main idea for backups is simply to set a location to backup files. Is it possible to have this very basic usage ?
Steps to reproduce
- Configure External Storage app (without even configuring explicitly an active shared storage)
- Configure Backup app tu use the external storage for backups
- Your backups are now automatically sent all over the network where you are connected !
Expected behavior
The main idea for backups is simply to set a location to backup files. A location not shared, not hard to configure, just basically set a location to receive backups ! Is it possible to have this very basic usage ?
Installation method
No response
Operating system
Debian/Ubuntu
PHP engine version
No response
Web server
No response
Database engine version
No response
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
- [ ] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
No response
List of activated Apps
Enabled:
- accessibility: 1.10.0
- activity: 2.16.0
- backup: 1.1.3
- bruteforcesettings: 2.4.0
- circles: 24.0.1
- cloud_federation_api: 1.7.0
- comments: 1.14.0
- contactsinteraction: 1.5.0
- dashboard: 7.4.0
- dav: 1.22.0
- federatedfilesharing: 1.14.0
- federation: 1.14.0
- files: 1.19.0
- files_external: 1.16.1
- files_pdfviewer: 2.5.0
- files_rightclick: 1.3.0
- files_sharing: 1.16.2
- files_trashbin: 1.14.0
- files_versions: 1.17.0
- files_videoplayer: 1.13.0
- firstrunwizard: 2.13.0
- logreader: 2.9.0
- lookup_server_connector: 1.12.0
- nextcloud_announcements: 1.13.0
- notifications: 2.12.1
- oauth2: 1.12.0
- password_policy: 1.14.0
- photos: 1.6.0
- privacy: 1.8.0
- provisioning_api: 1.14.0
- recommendations: 1.3.0
- serverinfo: 1.14.0
- settings: 1.6.0
- sharebymail: 1.14.0
- support: 1.7.0
- survey_client: 1.12.0
- systemtags: 1.14.0
- text: 3.5.1
- theming: 1.15.0
- twofactor_backupcodes: 1.13.0
- updatenotification: 1.14.0
- user_status: 1.4.0
- viewer: 1.8.0
- weather_status: 1.4.0
- workflowengine: 2.6.0
Disabled:
- admin_audit
- encryption
- user_ldap
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
No response
Additional info
No response
I cannot reproduce this issue. Furthermore, by design it has nothing to do with the backup app, but only with the external storage app.
You can control who has access to your external storage in the external storage app. AFAIK the admin group is required for the backup app. So you only give access to the admins. Please clarify the issue.
high unlikely related to backup app configuration just like LeLuc4 mentioned since external storage availability is defined by certain scope.

https://github.com/nextcloud/backup?tab=readme-ov-file#upload-to-external-storages