I am using FreeBSD 9.0 and have Samba 3.6 installed with a patch from http://www.en.sysadmin-cookbook.net/samba/#toc-gen-6 included in /usr/ports/net/samba36/files before the compilation.
In my smb.conf I have following entry to enable shadow copy/ Previous versions for Windows clients
I use a rolling ZFS backup script, and my snapshots fit the format I have given in the smb.conf:
It all works fine in Windows, I can got into the properties of items on the network share and find "Previous Versions" as a selectable tab there. Now the problem: it only seems to detect folder versions, but nothing is displayed for files. I can copy and restore directories, but nothing with files.
The working tab looks like in this screenshot
Resources on the use of Volume Shadow Copy and Previous versions in conjunction with samba are scarce and date quite some time back (as well as being mostly about Solaris). The screenshot shown is from Windows XP SP3 and I have tested the same share on a Windows 7 setup, so my guess is that it seems like a server/samba/smb.conf issue?
I would be glad for any input someone could offer on this topic
In my smb.conf I have following entry to enable shadow copy/ Previous versions for Windows clients
Code:
[Shared]
comment = Public Stuff
path = /pool/shared
public = yes
writable = yes
vfs objects = shadow_copy2
shadow: snapdir = .zfs/snapshot
shadow: sort = desc
shadow: format = AutoH-%Y-%m-%dT%H:%M
I use a rolling ZFS backup script, and my snapshots fit the format I have given in the smb.conf:
Code:
pool/shared@AutoH-2012-05-24T10:00
pool/shared@AutoH-2012-05-24T11:00
pool/shared@AutoH-2012-05-24T12:00
pool/shared@AutoH-2012-05-24T13:00
pool/shared@AutoH-2012-05-24T14:00
pool/shared@AutoH-2012-05-24T15:00
pool/shared@AutoH-2012-05-24T16:00
pool/shared@AutoH-2012-05-24T17:00
pool/shared@AutoH-2012-05-24T18:00
pool/shared@AutoH-2012-05-24T19:00
pool/shared@AutoH-2012-05-24T20:00
pool/shared@AutoH-2012-05-24T21:00
pool/shared@AutoH-2012-05-24T22:00
It all works fine in Windows, I can got into the properties of items on the network share and find "Previous Versions" as a selectable tab there. Now the problem: it only seems to detect folder versions, but nothing is displayed for files. I can copy and restore directories, but nothing with files.
The working tab looks like in this screenshot
Resources on the use of Volume Shadow Copy and Previous versions in conjunction with samba are scarce and date quite some time back (as well as being mostly about Solaris). The screenshot shown is from Windows XP SP3 and I have tested the same share on a Windows 7 setup, so my guess is that it seems like a server/samba/smb.conf issue?
I would be glad for any input someone could offer on this topic