[Samba] vfs_shadow_copy2 with different snapshot format

Sabuj Pattanayek sabujp at gmail.com
Fri Jan 24 06:50:16 MST 2014


Hi all,

Does anyone have vfs_shadow_copy2 working with an alternate snapshot
directory format? My snapshots look like this :

drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140113_12:00
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140114_12:00
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140115_12:00
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140116_12:00
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140117_12:00

we have this in smb.conf :

vfs objects = shadow_copy2 gpfs acl_xattr fileid
shadow:snapdir = .snapshots
shadow:localtime = yes
shadow:format = "%Y%m%d_%H:%M"
shadow:fixinodes = yes
shadow:snapdirseverywhere = yes
shadow:sort = desc

..however going into the previous versions tab in the explorer properties
dialog for a directory always shows that no previous versions are available.

Thanks,
Sabuj


More information about the samba mailing list