Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2016 16:09:17 +0300
From:      Alexander Moisseev <moiseev@mezonplus.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD ZFS snapshots and "previous versions"
Message-ID:  <164c1dc9-3474-8560-6e7d-a69fc184f2b6@mezonplus.ru>
In-Reply-To: <CABnVG=eYEzGamSMN6CZYJhRLfjry6cQVq=MsJaPShO_WeFwttA@mail.gmail.com>
References:  <CABnVG=eYEzGamSMN6CZYJhRLfjry6cQVq=MsJaPShO_WeFwttA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30.03.2016 12:31, Gabor Radnai wrote:
> 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.
> _______________________________________________

FYI It's broken in Samba 4.1 and newer:
https://bugzilla.samba.org/show_bug.cgi?id=11658




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?164c1dc9-3474-8560-6e7d-a69fc184f2b6>