Hi @masorrell.
I am not using NextCloud on FB myself, but I had a similar requirement when I wanted to move my syncthing data directory to an external SSD.
As far as I understand, FB is simply running the official NextCloud docker image as a container. The container uses a local data directory /var/lib/nextcloud
(cf. here). So moving & linking this elsewhere might be sufficient.
Here’s what I did for my syncthing folder:
- Stop the service (from plinth or CLI)
- Move all files from
/var/lib/syncthing
to a new folder on my external SSD - Make sure file and folder permissions are still correct
- Create a symlink as
/var/lib/synthing
pointing to that new folder - Start the service again
That worked perfectly fine for me. Maybe it does for your scenario, too.
Cheers & HTH,
Axel