Re: Windows share not backing up - NT_STATUS_ACCESS_DENIED listing \System Volume Information\SRM\*
Craig Barratt via BackupPC-devel <[email protected]> Sun, 24 Dec 2017 04:21:34 -0800
| Newsgroups | gmane.comp.sysutils.backup.backuppc.devel |
|---|---|
| Message-ID | <CADSzEFixz3XuDWOb5V14PE4DDXyM_8vZ9T-rws778DOum6QyWQ@mail.gmail.com> |
--===============7504392151919414126== Content-Type: multipart/alternative; boundary="001a1140434a661c280561151863" --001a1140434a661c280561151863 Content-Type: text/plain; charset="UTF-8" What versions of BackupPC and smbclient are you using? Seeing aside the NT_STATUS_ACCESS_DENIED error, it looks like you have a sufficiently new version of smbclient, and a sufficiently old version of BackupPC that causes successful file counting to fail: tarExtract: Done: 0 errors, 4376935 filesExist, 8783933204861 sizeExist, 7077067832073 sizeExistComp, 4386347 filesTotal, 8830430446024 sizeTotal Got fatal error during xfer (No files dumped for share audio) Obviously a lot of files did get transferred (the first line above), but the output of smbclient (which unfortunately frequently changes) isn't recognized by BackupPC (the 2nd line above). The last few versions of BackupPC have fixes to lib/BackupPC/Xfer/Smb.pm to better detect the number of files smbclient says it transferred. Craig On Wed, Dec 20, 2017 at 9:40 AM, Les Mikesell <[email protected]> wrote: > On Mon, Dec 18, 2017 at 4:11 AM, Marc Gilliatt <[email protected]> > wrote: > > > > This has failed yet again. And its because it's trying to backup > \System Volume Information\ > > > > I do not know how to stop backuppc from not backing up this directory? > I've tried excluding the directory, and then only included the directories > that I want backing up. > > > > Are you using both exclude and include on the same share? Per the docs: > > "For Smb, only one of $Conf{BackupFilesExclude} and > $Conf{BackupFilesOnly} can be specified per share. If both are set for > a particular share, then $Conf{BackupFilesOnly} takes precedence and > $Conf{BackupFilesExclude} is ignored." > > -- > Les Mikesell > [email protected] > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > BackupPC-devel mailing list > [email protected] > List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > --001a1140434a661c280561151863 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">What versions of BackupPC and smbclient are you using?<br>= <br>Seeing aside the NT_STATUS_ACCESS_DENIED error, it looks like you have = a sufficiently new version of smbclient, and a sufficiently old version of = BackupPC that causes successful file counting to fail:<div><br></div><block= quote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>t= arExtract: Done: 0 errors, 4376935 filesExist, 8783933204861 sizeExist, 707= 7067832073 sizeExistComp, 4386347 filesTotal, 8830430446024 sizeTotal</div>= </div><div><div>Got fatal error during xfer (No files dumped for share audi= o)</div></div><div><br></div></blockquote>Obviously a lot of files did get = transferred (the first line above), but the output of smbclient (which unfo= rtunately frequently changes) isn't recognized by BackupPC (the 2nd lin= e above).<div><br></div><div>The last few versions of BackupPC have fixes t= o=C2=A0lib/BackupPC/Xfer/Smb.pm to better detect the number of files smbcli= ent says it transferred.<div><br></div><div>Craig</div></div></div><div cla= ss=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Dec 20, 2017 at 9= :40 AM, Les Mikesell <span dir=3D"ltr"><<a href=3D"mailto:lesmikesell@gm= ail.com" target=3D"_blank">[email protected]</a>></span> wrote:<br><= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex"><span class=3D"">On Mon, Dec 18, 2017 at 4:11= AM, Marc Gilliatt <<a href=3D"mailto:[email protected]">m.gilliatt@= live.co.uk</a>> wrote:<br> ><br> > This has failed yet again. And its because it's trying to backup= =C2=A0 \System Volume Information\<br> ><br> > I do not know how to stop backuppc from not backing up this directory?= I've tried excluding the directory, and then only included the directo= ries that I want backing up.<br> ><br> <br> </span>Are you using both exclude and include on the same share?=C2=A0 Per = the docs:<br> <span class=3D""><br> =C2=A0 "For Smb, only one of $Conf{BackupFilesExclude} and<br> </span>$Conf{BackupFilesOnly} can be specified per share. If both are set f= or<br> a particular share, then $Conf{BackupFilesOnly} takes precedence and<br> $Conf{BackupFilesExclude} is ignored."<br> <span class=3D"HOEnZb"><font color=3D"#888888"><br> --<br> =C2=A0 Les Mikesell<br> =C2=A0 =C2=A0<a href=3D"mailto:[email protected]">[email protected]= </a><br> </font></span><div class=3D"HOEnZb"><div class=3D"h5"><br> ------------------------------<wbr>------------------------------<wbr>-----= -------------<br> Check out the vibrant tech community on one of the world's most<br> engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot" rel= =3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br> ______________________________<wbr>_________________<br> BackupPC-devel mailing list<br> <a href=3D"mailto:[email protected]">BackupPC-devel@list= s.<wbr>sourceforge.net</a><br> List:=C2=A0 =C2=A0 <a href=3D"https://lists.sourceforge.net/lists/listinfo/= backuppc-devel" rel=3D"noreferrer" target=3D"_blank">https://lists.sourcefo= rge.net/<wbr>lists/listinfo/backuppc-devel</a><br> Wiki:=C2=A0 =C2=A0 <a href=3D"http://backuppc.wiki.sourceforge.net" rel=3D"= noreferrer" target=3D"_blank">http://backuppc.wiki.<wbr>sourceforge.net</a>= <br> Project: <a href=3D"http://backuppc.sourceforge.net/" rel=3D"noreferrer" ta= rget=3D"_blank">http://backuppc.sourceforge.<wbr>net/</a><br> </div></div></blockquote></div><br></div> --001a1140434a661c280561151863-- --===============7504392151919414126== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============7504392151919414126== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ BackupPC-devel mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ --===============7504392151919414126==--