I have a nextcloud with an external hosting provider, and I would like to have an immutable backup on my home server. The reason is to protect myself against ransomware attack and in general to reduce my dependence on the hosting company. I want OMV to pull the data rather the Nextcloud server to push it (it is not my server), and I only care about the files (not the Nextcloud database).
What would you recommend?
I see two options: 1) A backup software on OMV that connects to the Nextcloud with WebDav and saves the updates locally. Probably Duplicati can do that but maybe also borg can be configured. 2) A native nextcloud-desktop client installed on OMV, with the local folder configured on a btrfs or zfs volume with daily snapshots kron jobs.