[Samba] vfs_shadow_copy2 not working

Rowland penny rpenny at samba.org
Wed Sep 4 06:57:22 UTC 2019


On 01/09/2019 20:20, douxevip via samba wrote:
> Hi Jeremy,
>
> Here's the log with log level 10: https://pastebin.com/0EAuz2B8
>
> The location of the shared folder: /pool/shadowtest
> The location of the snapshots: /pool/shadowtest/.zfs/snapshot
> Here are how snapshots are named:
>
> autosnap_2019-09-01_13:29:01_daily
> autosnap_2019-09-01_13:29:01_hourly
> autosnap_2019-09-01_13:44:09_frequently
>
>
> And this is currently in my smb.conf file:
>
>
> [shadowtest]
> path = /pool/shadowtest
> valid users = user1
> read only = no
> writeable = yes
> guest ok = no
> create mode = 770
> directory mode = 770
> vfs objects = shadow_copy2
> shadow:snapdir = /skyhawk2x4tb/shadowtest/.zfs/snapshot
> shadow:snapprefix = ^autosnap_
> shadow:format = %Y-%m-%d_%H:%M:%S_\(frequently\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\}
> shadow:delimiter = _
> shadow:sort = desc
> shadow:localtime = no

I know you have posted the share from smb.conf, but what is in the 
[global] portion ?

Rowland





More information about the samba mailing list