Re: SMB Windows share not backing up - NT_STATUS_ACCESS_DENIED listing \System Volume Information\SRM\*

Craig Barratt via BackupPC-devel <[email protected]> Fri, 12 Jan 2018 21:46:20 -0800
Newsgroups gmane.comp.sysutils.backup.backuppc.devel
Message-ID <CADSzEFgt6oJ_FLWANT+B57f27HEBFFr+YXPy7wna6r_aS+4GqQ@mail.gmail.com>
--===============4275301182684138757==
Content-Type: multipart/alternative; boundary="001a11462c6cc720b80562a1e71e"

--001a11462c6cc720b80562a1e71e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Marc,

What versions of BackupPC and smbclient are you using?  There have been
multiple changes to the output format from smbclient, and BackupPC has only
recently caught up.

I recall from an earlier thread that you are running 3.3.1.  Compatibility
with Samba 4.3 was added in BackuPC 3.3.2.

Craig

On Fri, Jan 12, 2018 at 7:42 AM, Marc Gilliatt <[email protected]>
wrote:

> I believe that resolved the issue, I'm no longer getting the NT_STATUS_AC=
CESS_DENIED
> listing \System Volume Information\SRM\*
>
> However, it still failed. I have posted the XferLOG Errors only for you.
>
> Contents of file /var/lib/backuppc/pc/ukaudio/XferLOG.bad.z, modified
> 2018-01-12 14:10:40 (Extracting only Errors)
>
> Running: /usr/bin/smbclient \\\\ukaudio\\audio -U backuppc -E -d 1 -c tar=
mode\ full -Tc - \\SoundsDatabase
> full backup started for share audio
> Xfer PIDs are now 15172,15170
> [ skipped 1 lines ]
> tar:316  tarmode is now full, system, hidden, noreset, quiet
> [ skipped 734106 lines ]
> tar:712  Total bytes received: 2389181924809
> [ skipped 22 lines ]
> tarExtract: Done: 0 errors, 721209 filesExist, 2347961021801 sizeExist, 1=
891391027032 sizeExistComp, 724415 filesTotal, 2389184522827 sizeTotal
> Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 u=
kaudio full ukaudio ukaudio audio smb /usr/bin/ssh DumpPostUserCmd
> Got fatal error during xfer (No files dumped for share audio)
> Backup aborted (No files dumped for share audio)
> Not saving this as a partial backup since it has fewer files than the pri=
or one (got 724415 and 0 files versus 4387717)
>
>
> ------------------------------
> *From:* Michael Stowe <[email protected]>
> *Sent:* 10 January 2018 15:33
> *To:* Marc Gilliatt
> *Cc:* Developers discussion
> *Subject:* Re: [BackupPC-devel] SMB Windows share not backing up -
> NT_STATUS_ACCESS_DENIED listing \System Volume Information\SRM\*
>
>
> On 2018-01-10 03:08, Marc Gilliatt wrote:
>
> Is the following in the correct format?
>
> $Conf{SmbShareName} =3D [
>
> 'audio'
>
> ]; $Conf{SmbSharePasswd} =3D =E2=80=98Password1=E2=80=99; $Conf{SmbShareU=
serName} =3D
> =E2=80=98backuppc=E2=80=99; $Conf{XferMethod} =3D =E2=80=98smb=E2=80=99; =
$Conf{BackupFilesOnly} =3D {
>
> =E2=80=98audio=E2=80=99 =3D> [ '\\Archive'],
>
> =E2=80=98audio=E2=80=99 =3D> [ '\\IT-Downloads'],
>
> =E2=80=98audio=E2=80=99 =3D> [ '\\NI Sample Libraries'],
>
> =E2=80=98audio=E2=80=99 =3D> [ '\\Impulse Responses'],
>
> =E2=80=98audio=E2=80=99 =3D> [ '\\Backup'],
>
> =E2=80=98audio=E2=80=99 =3D> [ '\\User Guides Installs'],
>
> =E2=80=98audio=E2=80=99 =3D> [ '\\SoundsDatabase'];
>
> }
>
> No, Sorry, I should have provided a more complete example:
>
> $Conf{BackupFilesOnly} =3D {
>
>   'audio' =3D> [ '\\Archive',
> '\\IT-Downloads',
> '\\NI Sample Libraries',
> '\\Impulse Responses',
> '\\Backup',
> '\\User Guides Installs',
> '\\SoundsDatabase' ];
>   }
>
>
> ------------------------------------------------------------
> ------------------
> 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/
>
>

--001a11462c6cc720b80562a1e71e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Marc,</div><div><br></div><div>What versions of Backu=
pPC and smbclient are you using?=C2=A0 There have been multiple changes to =
the output format from smbclient, and BackupPC has only recently caught up.=
</div><div><br></div><div>I recall from an earlier thread that you are runn=
ing 3.3.1.=C2=A0=C2=A0Compatibility with Samba 4.3 was added in BackuPC 3.3=
.2.</div><div><br></div><div>Craig</div></div><div class=3D"gmail_extra"><b=
r><div class=3D"gmail_quote">On Fri, Jan 12, 2018 at 7:42 AM, Marc Gilliatt=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex">




<div dir=3D"ltr">
<div style=3D"font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color=
:rgb(0,0,0);background-color:rgba(0,0,0,0)">
I believe that resolved the issue, I&#39;m no longer getting the=C2=A0<span=
 style=3D"font-size:13.32px;white-space:pre-wrap;background-color:rgba(0,0,=
0,0)">NT_STATUS_ACCESS_DENIED listing \System Volume Information\SRM\*
</span></div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color=
:rgb(0,0,0);background-color:rgba(0,0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color=
:rgb(0,0,0);background-color:rgba(0,0,0,0)">
However, it still failed. I have posted=C2=A0the XferLOG Errors only for yo=
u.</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color=
:rgb(0,0,0);background-color:rgba(0,0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color=
:rgb(0,0,0);background-color:rgba(0,0,0,0)">
<p style=3D"color:rgb(0,0,0);font-family:tahoma,arial,sans-serif,helvetica;=
font-size:13.3333px">
Contents of file=C2=A0<tt>/var/lib/backuppc/pc/<wbr>ukaudio/XferLOG.bad.z</=
tt>, modified 2018-01-12 14:10:40 (Extracting only Errors)</p>
<pre style=3D"color:rgb(0,0,0);font-size:13.3333px">Running: /usr/bin/smbcl=
ient \\\\ukaudio\\audio -U backuppc -E -d 1 -c tarmode\ full -Tc - \\Sounds=
Database
full backup started for share audio
Xfer PIDs are now 15172,15170
[ skipped 1 lines ]
tar:316  tarmode is now full, system, hidden, noreset, quiet
[ skipped 734106 lines ]
tar:712  Total bytes received: 2389181924809
[ skipped 22 lines ]
tarExtract: Done: 0 errors, 721209 filesExist, 2347961021801 sizeExist, 189=
1391027032 sizeExistComp, 724415 filesTotal, 2389184522827 sizeTotal
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_<wbr>notification.sh =
0 ukaudio full ukaudio ukaudio audio smb /usr/bin/ssh DumpPostUserCmd
Got fatal error during xfer (No files dumped for share audio)
Backup aborted (No files dumped for share audio)
Not saving this as a partial backup since it has fewer files than the prior=
 one (got 724415 and 0 files versus 4387717)</pre>
<br>
</div>
<hr style=3D"display:inline-block;width:98%">
<div id=3D"m_402588622211882187divRplyFwdMsg" dir=3D"ltr"><font face=3D"Cal=
ibri, sans-serif" style=3D"font-size:11pt" color=3D"#000000"><b>From:</b> M=
ichael Stowe &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected].<wbr>org</a>&gt;<br>
<b>Sent:</b> 10 January 2018 15:33<span class=3D""><br>
<b>To:</b> Marc Gilliatt<br>
<b>Cc:</b> Developers discussion<br>
<b>Subject:</b> Re: [BackupPC-devel] SMB Windows share not backing up - NT_=
STATUS_ACCESS_DENIED listing \System Volume Information\SRM\*</span></font>
<div>=C2=A0</div>
</div>
<div>
<p>On 2018-01-10 03:08, Marc Gilliatt wrote:</p><div><div class=3D"h5">
<blockquote>
<p>Is the following in the correct format?</p>
<p>$Conf{SmbShareName} =3D [</p>
<pre>&#39;audio&#39;</pre>
<p>]; $Conf{SmbSharePasswd} =3D =E2=80=98Password1=E2=80=99; $Conf{SmbShare=
UserName} =3D =E2=80=98backuppc=E2=80=99; $Conf{XferMethod} =3D =E2=80=98sm=
b=E2=80=99; $Conf{BackupFilesOnly} =3D {</p>
<p>=E2=80=98audio=E2=80=99 =3D&gt; [ &#39;\\Archive&#39;],</p>
<p>=E2=80=98audio=E2=80=99 =3D&gt; [ &#39;\\IT-Downloads&#39;],</p>
<p>=E2=80=98audio=E2=80=99 =3D&gt; [ &#39;\\NI Sample Libraries&#39;],</p>
<p>=E2=80=98audio=E2=80=99 =3D&gt; [ &#39;\\Impulse Responses&#39;],</p>
<p>=E2=80=98audio=E2=80=99 =3D&gt; [ &#39;\\Backup&#39;],</p>
<p>=E2=80=98audio=E2=80=99 =3D&gt; [ &#39;\\User Guides Installs&#39;],</p>
<p>=E2=80=98audio=E2=80=99 =3D&gt; [ &#39;\\SoundsDatabase&#39;];</p>
<p>}</p>
</blockquote>
<p>No, Sorry, I should have provided a more complete example:</p>
<p>$Conf{BackupFilesOnly} =3D {</p>
<pre>  &#39;audio&#39; =3D&gt; [ &#39;\\Archive&#39;,
&#39;\\IT-Downloads&#39;,
&#39;\\NI Sample Libraries&#39;,
&#39;\\Impulse Responses&#39;,
&#39;\\Backup&#39;,
&#39;\\User Guides Installs&#39;,
&#39;\\SoundsDatabase&#39; ];
  }</pre>
<img alt=3D"" width=3D"1" height=3D"1" border=3D"0" style=3D"height:1px!imp=
ortant;width:1px!important;border-width:0!important;margin-top:0!important;=
margin-bottom:0!important;margin-right:0!important;margin-left:0!important;=
padding-top:0!important;padding-bottom:0!important;padding-right:0!importan=
t;padding-left:0!important" src=3D"https://u2182357.ct.sendgrid.net/wf/open=
?upn=3DJkab5BJxp1HLP5rqGBa7EU9c8tS4P8102RKAhVg0h5vhbR2Lqw6Ye8i1pgRFmEScfNx-=
2BRbIsKkn-2FPLODCCkGtJ54qBs3F1n4TA7aW3F7Np-2FcWnLxp1LXikfF-2FNsbRmd9pQCzCJc=
ocupDTa-2F6a2FRV4-2B410bAiir29zMNs-2BQkYWQf0URlKu48prFWk4Fx3sfNyxEj2OgEi9w6=
5XTIOXm32zWIg8tdS2wIOH99wlJXrkU-3D">
</div></div></div>
</div>

<br>------------------------------<wbr>------------------------------<wbr>-=
-----------------<br>
Check out the vibrant tech community on one of the world&#39;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>
<br></blockquote></div><br></div>

--001a11462c6cc720b80562a1e71e--


--===============4275301182684138757==
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
--===============4275301182684138757==
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/

--===============4275301182684138757==--