vfs_shadow_copy2: documentation for snapsharepath master-shadow_copy2
authorUri Simchoni <uri@samba.org>
Tue, 3 Nov 2015 11:21:58 +0000 (13:21 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 21 Jan 2016 10:19:02 +0000 (11:19 +0100)
Signed-off-by: Uri Simchoni <uri@samba.org>
docs-xml/manpages/vfs_shadow_copy2.8.xml

index 0bb95af20889518364287df7bc748921fe0b9028..fbc06514538f9538648c149c89f813eba22ee16b 100644 (file)
                 </listitem>
                 </varlistentry>
 
+               <varlistentry>
+               <term>shadow:snapsharepath = SNAPSHAREPATH
+               </term>
+               <listitem>
+               <para>
+               With this parameter, one can specify the path of the share's
+               root directory in snapshots, relative to the snapshot's
+               root directory. It is an alternative method to
+               <command>shadow:basedir</command>, allowing greater control.
+               </para>
+               <para>
+               For example, if within each
+               snapshot the files of the share have a
+               <command>path/to/share/</command> prefix, then
+               <command>shadow:snapsharepath</command> can be
+               set to <command>path/to/share</command>.
+               </para>
+               <para>
+               With this parameter, it is no longer assumed that a
+               snapshot represents an image of the original file system or
+               a portion of it. For example, a system could perform
+               backups of only files contained in shares, and then
+               expose the backup files in a logical structure:
+               </para>
+               <itemizedlist>
+               <listitem><para>share1/</para></listitem>
+               <listitem><para>share2/</para></listitem>
+               <listitem><para>.../</para></listitem>
+               </itemizedlist>
+               <para>
+               Note that the <command>shadow:snapdirseverywhere</command>
+               and the <command>shadow:basedir</command> options
+               are incompatible with <command>shadow:snapsharepath</command>
+               and disable <command>shadow:snapsharepath</command> setting.
+               </para>
+               <para>Example: shadow:snapsharepath = path/to/share</para>
+               <para>Default: shadow:snapsharepath = NOT SPECIFIED</para>
+                </listitem>
+               </varlistentry>
+
                <varlistentry>
                 <term>shadow:sort = asc/desc
                 </term>