FreeBSD ZFS snapshots and "previous versions"
    Gabor Radnai 
    gabor.radnai at gmail.com
       
    Wed Mar 30 09:31:50 UTC 2016
    
    
  
Hi,
If I understand correctly OP wants to use Windows feature called 'Previous
Version' off from BSD filer.
This can be done on FreeBSD + Samba4 adding followings to smb4.conf:
        vfs objects = shadow_copy2
        shadow:format       = %Y-%m-%d_%H.%M.%S--1h
        shadow:sort         = desc
        shadow:mountpoint   = <path-to-share>
        shadow:snapdir      = .zfs/snapshot
        shadow:localtime    = yes
format is customizable and zfs snapshot should be aligned accordingly
obviously.
Hope it helps.
    
    
More information about the freebsd-questions
mailing list