[Samba] shadow_copy for homes share

Cory Coager ccoager at davisvision.com
Wed Aug 27 13:09:49 GMT 2008


I'm guessing this patch isn't part of binaries distributed through SLES 
which is why it isn't working for me.  Thanks for the info.

Aaron Browne wrote:
> Take a look on this page.. http://www.edplese.com/samba-with-zfs.html
> The 3-paths.patch contains a description of exactly what you are trying to
> do..
>
> >From patch :
>
> +    Below is example usage for a single large filesystem mounted
> +    at /home that contains all of the home directories.  The
> +    snapshots reside in /snapshots/home.
> +
> +    [homes]
> +       path = /home/%U
> +       public = no
> +       writable = yes
> +       printable = no
> +       vfs object = shadow_copy
> +       shadow_copy: path = /snapshots/home
> +       shadow_copy: subpath = %U
> +       shadow_copy: format = $Y.$m.$d-$H.$M.$S
> +       shadow_copy: sort = desc
> +       shadow_copy: localtime = yes
>   



------------------------------------------------------------------------
The information contained in this communication is intended
only for the use of the recipient(s) named above. It may
contain information that is privileged or confidential, and
may be protected by State and/or Federal Regulations. If
the reader of this message is not the intended recipient,
you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of
its contents, is strictly prohibited. If you have received
this communication in error, please return it to the sender
immediately and delete the original message and any copy
of it from your computer system. If you have any questions
concerning this message, please contact the sender.
------------------------------------------------------------------------



More information about the samba mailing list