1VFS_SHADOW_COPY(8) System Administration tools VFS_SHADOW_COPY(8)
2
3
4
6 vfs_shadow_copy - Make a Samba share read only for a specified time
7 period
8
10 vfs objects = shadow_copy
11
13 This VFS module is part of the samba(7) suite.
14
15 The vfs_shadow_copy VFS module functionality that is similar to
16 Microsoft Shadow Copy services. When setup properly, this module allows
17 Microsoft Shadow Copy clients to browse "shadow copies" on Samba
18 shares.
19
20 This module is stackable.
21
23 vfs_shadow_copy relies on a filesystem snapshot implementation. Many
24 common filesystems have native support for this.
25
26 Filesystem snapshots must be mounted on specially named directories in
27 order to be recognized by vfs_shadow_copy. The snapshot mount points
28 must be immediate children of a the directory being shared.
29
30 The snapshot naming convention is @GMT-YYYY.MM.DD-hh.mm.ss, where:
31
32 · YYYY is the 4 digit year
33
34 · MM is the 2 digit month
35
36 · DD is the 2 digit day
37
38 · hh is the 2 digit hour
39
40 · mm is the 2 digit minute
41
42 · ss is the 2 digit second.
43
44
45 The vfs_shadow_copy snapshot naming convention can be produced with the
46 following date(1) command:
47
48 TZ=GMT date +@GMT-%Y.%m.%d-%H.%M.%S
49
50
52 Add shadow copy support to user home directories:
53
54 [homes]
55 vfs objects = shadow_copy
56
58 This is not a backup, archival, or version control solution.
59
60 With Samba or Windows servers, vfs_shadow_copy is designed to be an
61 end-user tool only. It does not replace or enhance your backup and
62 archival solutions and should in no way be considered as such.
63 Additionally, if you need version control, implement a version control
64 system.
65
67 This man page is correct for version 3.0.25 of the Samba suite.
68
70 The original Samba software and related utilities were created by
71 Andrew Tridgell. Samba is now developed by the Samba Team as an Open
72 Source project similar to the way the Linux kernel is developed.
73
74
75
76Samba 3.6 04/11/2016 VFS_SHADOW_COPY(8)