[Samba] Shadow Copy2 & zfs Snapshots

lists.samba.org at sjau.ch lists.samba.org at sjau.ch
Mon May 18 04:13:10 UTC 2020


Hi there

I'm having some troubles with Shadow Copy2 & zfs Snapshots. I have 
hourly and daily snapshots. If I use the following settings it works 
(but omits daily snapshots):

  vfs objects = shadow_copy2
  shadow:snapdir = .zfs/snapshot
  shadow:sort = desc
  shadow:localtime = yes
  shadow:format = easysnap-hourly_%Y-%m-%d-%H-%M-UTC

However when I try to use the BRE with the prefix, so that daily and 
hourly snapshots would be included, it won't work (no previous old 
versions being shown in Windows file properties):

  vfs objects = shadow_copy2
  shadow:snapdir = .zfs/snapshot
  shadow:sort = desc
  shadow:localtime = yes
  shadow:format = _%Y-%m-%d-%H-%M-UTC
  shadow:snapprefix = ^easysnap-\(hourly\)\{0,1\}\(daily\)\{0,1\}
  shadow:delimiter = _

Any suggestions why it won't work with the BRE?

sjau



More information about the samba mailing list