[Samba] VFS shadow_copy2 with samba 4.0.9
Philippe.Simonet at swisscom.com
Philippe.Simonet at swisscom.com
Tue Jan 14 08:53:14 MST 2014
Hi David
no success ... do you remember which patch you used ?
thanks
Philippe
> -----Original Message-----
> From: David Keegel [mailto:djk at cyber.com.au]
> Sent: Saturday, January 11, 2014 8:53 AM
> To: Simonet Philippe, ITS-OUS-OP-IFM-NW-IPE
> Cc: samba at lists.samba.org; djk-samba at cyber.com.au
> Subject: Re: [Samba] VFS shadow_copy2 with samba 4.0.9
>
> On Wed, Jan 08, 2014 at 03:21:29PM +0000, Philippe.Simonet at swisscom.com
> wrote:
> > hi Samba users
> >
> >
> > did someone have some success by using shadow_copy2 and samba 4 ?
>
> I had some success eventually.
>
> In my case, I applied a patch to samba source code and recompiled
> (applying changes in samba git repo which had not been released yet -
> I haven't checked whether those git changes have been released by now).
>
> I also needed to set per-share:
> wide links = yes
>
> In my testing I found that neither the patch without wide links,
> nor wide links without the patch, worked for me - both were
> necessary.
>
> However in my case the problem was that I couldn't see any Previous
> Versions for files/folders in Windows.
>
> In my case I could globally set
> unix extensions = no
> because unix extensions were not required.
>
> > no success by me (debian squeeze, samba 4.1.3), with :
> >
> > path = /vms/shares/in3
> >
> > vfs objects = shadow_copy2
> >
> > shadow:snapdir = ../in3s
>
> I believe snapdir is relative to the *mount point* that path is in
> (if you run "df /vms/shares/in3" the directory listed in "Mounted on").
>
> > shadow:basedir = /vms/shares
> >
> > shadow:sort = desc
> >
> >
> > I can see the snapshot list, read snapshot, but cannot restore or copy
> > it : it lands with a :
> >
> > > /usr/sbin/smbd: disk_free: sys_fsusage() failed. Error was : No such
> > file or directory
> >
> >
> > [1]https://lists.samba.org/archive/samba/2013-November/177019.html
> >
> > [2]http://comments.gmane.org/gmane.network.samba.internals/73854
> >
> > [3]https://git.samba.org/?p=obnox/samba/samba-obnox.git;a=shortlog;h=re
> > fs/heads/master-shadow_copy2-wip
> >
> >
> > thanks and regards
> >
> >
> > Philippe
> >
> > References
> >
> > 1. https://lists.samba.org/archive/samba/2013-November/177019.html
> > 2. http://comments.gmane.org/gmane.network.samba.internals/73854
> > 3. https://git.samba.org/?p=obnox/samba/samba-
> obnox.git;a=shortlog;h=refs/heads/master-shadow_copy2-wip
>
> --
> ________________________________________________________________
> ___________
> David Keegel <djk at cyber.com.au> Cyber IT Solutions Pty. Ltd.
> http://www.cyber.com.au/~djk/ Linux & Unix Systems Administration
More information about the samba
mailing list