backup of nextcloud data folder

Hello all,

I have a bit of a complicated system which unfortunately must stay like this for now.

I have a Nextcloud VM on a proxmox host with the data folder mounted at /nextcloud-data

I have another LXC container on the same host running syncthing.

I mounted the nextcloud-data folder as a RO folder at /nextcloud-data the I bind mounted that to /nextcloud-data-wrapper/data. And in syncthing I went and tried to sync the /nextcloud-data-wrapper/data folder. Trouble is that nothing is being sent.

I suspect that this is because the syncthing user doesn’t have permissions to traverse the nextcloud-data-wrapper/data folder. That folder is owned by www-data (these permissions are inherited from the nfs mount)

Is there something I can do to make this work? Or this is something that syncthing was not made for?

One idea I have is to install another syncthing instance directly in the nextcloudVM and run the service as the www-data user in a send only mode. Send only is what I want anyway.

Cheers

Given the complex setup, it’d be very helpful to see a diagram with each device that’s playing a part (even if it’s not running Syncthing), clearly labeled services, and direction of data flow.

It’s currently not clear what’s providing the NFS share or even how the LXC container is getting accessing to /nextcloud-data-wrapper/data (a LXC container cannot directly mount a NFS share).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.