NFS server with continuous backup via ZFS send: VM or CT?

Tony

Renowned Member
Nov 4, 2010
113
11
83
I want to setup a NFS server that would serve as shared home user dirs for a company. One requirement is that the data should be backed up continuously, similarly to dropbox (e.g. backup every 10min). I think it could be done with ZFS send/receive. I am considering 2 choices:

(1) setup a CT with bind mount to a ZFS dataset, which would be backed up on node using ZFS send/receive. If I choose this route, perhaps a user-space NFS server like ganesha is preferred.

(2) setup a VM, and setup ZFS inside this VM, so that I can use ZFS send inside the VM. This sounds a bit over-complicated to me, not sure how it would work.

any hint much appreciated.
 
in the past I used to run unfs3 on openvz CT and it worked ok, but now it seems unfs is not available from apt.