Date: Wed, 30 Mar 2016 11:31:29 +0200 From: Gabor Radnai <gabor.radnai@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD ZFS snapshots and "previous versions" Message-ID: <CABnVG=eYEzGamSMN6CZYJhRLfjry6cQVq=MsJaPShO_WeFwttA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABnVG=eYEzGamSMN6CZYJhRLfjry6cQVq=MsJaPShO_WeFwttA>
