FreeBSD ZFS snapshots and "previous versions"

Gabor Radnai gabor.radnai at
Wed Mar 30 09:31:50 UTC 2016


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

Hope it helps.

More information about the freebsd-questions mailing list