Moving group folder to another disk

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 26.0.7
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.3 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.52 (Ubuntu)
PHP version (eg, 7.4): PHP 8.2.8
Nextcloud installation type:

Official Docker container (not AIO)
Docker 24.0.5
Docker Compose version v2.20.2

The issue you are facing:

I have a group folder that has grown quite large, and I need to move it to a new disk I’m adding to the system. I’ve thought of a couple ways I might do this such as symlinking the group folder or replacing it with a rebind mount. Before I take a stab at it, I was wondering if anyone has attempted this and happens to know if Nextcloud will have a problem with me doing it one way or the other?

If necessary I could also mount it as external storage, but I’m trying not to rock the boat too much because I have other computers that access this group folder via WebDAV.

This is assuming I maintain the file timestamps, the path under the NC data folder does not change, and correct permissions are maintained on the new location.


Those links weren’t related to what I needed to do. I think I’ve got it figured out. I used rsync to make a mirror copy of the group folder on the new disk and then substituted it for the original by mounting it to data/__groupfolders/5 in docker-compose.yml. That appears to have worked. I’ll post again if I find out in the next couple days something had gone awry.

I did notice under Settings > Administration > System, it’s reporting the storage of this secondary mount instead of the original, which is a little bit strange. That subfolder mount should be transparent to Nextcloud.