![Samba 使用卷影副本发布时间](https://linux22.com/image/747091/Samba%20%E4%BD%BF%E7%94%A8%E5%8D%B7%E5%BD%B1%E5%89%AF%E6%9C%AC%E5%8F%91%E5%B8%83%E6%97%B6%E9%97%B4.png)
我想知道其他人是否有过这方面的经验?当前版本:6.1 zentyal 和 Samba 版本 4.7.6-Ubuntu 在 Windows 以前的版本中,影子副本中的时间显示不正确,只要我输入 shadow:localtime = yes 并重新启动 samba 就不会显示以前的版本,因此我必须输入 shadow:localtime = no 当前使用 pyznap 对 ZFS 文件系统进行快照,看到图片上的时间不正确,但 Windows 和 zentyal 都有正确的时间,只是以前的版本是现在。小时差异大约比上次快照晚 5 个小时,zentyal 上是下午 6:10,而 Windows 上的以前版本显示下午 1:10
这是我的 samba 分享
[test]
path = /data
browseable = yes
force create mode = 0660
force directory mode = 0660
valid users = @"Domain Users"
read list =
write list = @"Domain Users"
admin users =
vfs objects = acl_xattr full_audit recycle shadow_copy2
# full_audit:failure = connect opendir disconnect unlink mkdir rmdir open rename
full_audit:prefix = %u|%I|%S
full_audit:failure = connect
full_audit:success = mkdir rename unlink rmdir pwrite pread connect disconnect
full_audit:facility = local5
full_audit:priority = notice
recycle: inherit_nt_acl = Yes
recycle: versions = Yes
recycle: excludedir = /tmp|/var/tmp
recycle: keeptree = Yes
recycle: repository = RecycleBin
recycle: directory_mode = 0700
shadow: snapdir = .zfs/snapshot
shadow: sort = desc
# Specify snapshot name: frequent, hourly, daily... as desired
shadow: format = _%Y-%m-%d_%H:%M:%S
shadow: snapprefix = ^pyznap
shadow: delimiter = _
shadow:localtime = no