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

Marc Gilliatt <[email protected]> Tue, 16 Jan 2018 09:35:35 +0000
Newsgroups gmane.comp.sysutils.backup.backuppc.devel
Message-ID <HE1P194MB013995EBA1D09CCA0A3599F1BBEA0@HE1P194MB0139.EURP194.PROD.OUTLOOK.COM>
--===============0217734929681716036==
Content-Language: en-GB
Content-Type: multipart/alternative;
	boundary="_000_HE1P194MB013995EBA1D09CCA0A3599F1BBEA0HE1P194MB0139EURP_"

--_000_HE1P194MB013995EBA1D09CCA0A3599F1BBEA0HE1P194MB0139EURP_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

I'm using...

smbclient
Version 4.3.11-Ubuntu

BackupPC
3.3.1-2ubuntu3.3
________________________________
From: Craig Barratt via BackupPC-devel <[email protected]=
t>
Sent: 13 January 2018 05:46
To: Developers discussion
Cc: Craig Barratt
Subject: Re: [BackupPC-devel] SMB Windows share not backing up - NT_STATUS_=
ACCESS_DENIED listing \System Volume Information\SRM\*

Marc,

What versions of BackupPC and smbclient are you using?  There have been mul=
tiple changes to the output format from smbclient, and BackupPC has only re=
cently 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]<mailt=
o:[email protected]>> wrote:
I believe that resolved the issue, I'm no longer getting the NT_STATUS_ACCE=
SS_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 tarmo=
de\ 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, 189=
1391027032 sizeExistComp, 724415 filesTotal, 2389184522827 sizeTotal
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 uka=
udio 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)

________________________________
From: Michael Stowe <[email protected]<mailto:michael.stowe@me=
mber.mensa.org>>
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 =91Password1=92; $Conf{SmbShareUserName} =3D =
=91backuppc=92; $Conf{XferMethod} =3D =91smb=92; $Conf{BackupFilesOnly} =3D=
 {

=91audio=92 =3D> [ '\\Archive'],

=91audio=92 =3D> [ '\\IT-Downloads'],

=91audio=92 =3D> [ '\\NI Sample Libraries'],

=91audio=92 =3D> [ '\\Impulse Responses'],

=91audio=92 =3D> [ '\\Backup'],

=91audio=92 =3D> [ '\\User Guides Installs'],

=91audio=92 =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]<mailto:[email protected]=
e.net>
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



--_000_HE1P194MB013995EBA1D09CCA0A3599F1BBEA0HE1P194MB0139EURP_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body 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'm&nbsp;using...</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);">
smbclient<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);">
<span style=3D"background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); fon=
t-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Version 4.3.11-=
Ubuntu<br>
</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);">
<span style=3D"background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0); fon=
t-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"><br>
</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);">
BackupPC</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);">
3.3.1-2ubuntu3.3</div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> Craig Barratt via Bac=
kupPC-devel &lt;[email protected]&gt;<br>
<b>Sent:</b> 13 January 2018 05:46<br>
<b>To:</b> Developers discussion<br>
<b>Cc:</b> Craig Barratt<br>
<b>Subject:</b> Re: [BackupPC-devel] SMB Windows share not backing up - NT_=
STATUS_ACCESS_DENIED listing \System Volume Information\SRM\*</font>
<div>&nbsp;</div>
</div>
<div>
<div dir=3D"ltr">
<div>Marc,</div>
<div><br>
</div>
<div>What versions of BackupPC and smbclient are you using?&nbsp; There hav=
e been multiple changes to the output format from smbclient, and BackupPC h=
as only recently caught up.</div>
<div><br>
</div>
<div>I recall from an earlier thread that you are running 3.3.1.&nbsp;&nbsp=
;Compatibility with Samba 4.3 was added in BackuPC 3.3.2.</div>
<div><br>
</div>
<div>Craig</div>
</div>
<div class=3D"x_gmail_extra"><br>
<div class=3D"x_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">m.gilliatt@l=
ive.co.uk</a>&gt;</span> wrote:<br>
<blockquote class=3D"x_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; col=
or:rgb(0,0,0); background-color:rgba(0,0,0,0)">
I believe that resolved the issue, I'm no longer getting the&nbsp;<span sty=
le=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; col=
or: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; col=
or:rgb(0,0,0); background-color:rgba(0,0,0,0)">
However, it still failed. I have posted&nbsp;the XferLOG Errors only for yo=
u.</div>
<div style=3D"font-family:Calibri,Helvetica,sans-serif; font-size:12pt; col=
or: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; col=
or: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&nbsp;<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/smbc=
lient \\\\ukaudio\\audio -U backuppc -E -d 1 -c tarmode\ full -Tc - \\Sound=
sDatabase
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"x_m_402588622211882187divRplyFwdMsg" dir=3D"ltr"><font face=3D"C=
alibri, sans-serif" color=3D"#000000" style=3D"font-size:11pt"><b>From:</b>=
 Michael 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>&nbsp;</div>
</div>
<div>
<p>On 2018-01-10 03:08, Marc Gilliatt wrote:</p>
<div>
<div class=3D"x_h5">
<blockquote>
<p>Is the following in the correct format?</p>
<p>$Conf{SmbShareName} =3D [</p>
<pre>'audio'</pre>
<p>]; $Conf{SmbSharePasswd} =3D =91Password1=92; $Conf{SmbShareUserName} =
=3D =91backuppc=92; $Conf{XferMethod} =3D =91smb=92; $Conf{BackupFilesOnly}=
 =3D {</p>
<p>=91audio=92 =3D&gt; [ '\\Archive'],</p>
<p>=91audio=92 =3D&gt; [ '\\IT-Downloads'],</p>
<p>=91audio=92 =3D&gt; [ '\\NI Sample Libraries'],</p>
<p>=91audio=92 =3D&gt; [ '\\Impulse Responses'],</p>
<p>=91audio=92 =3D&gt; [ '\\Backup'],</p>
<p>=91audio=92 =3D&gt; [ '\\User Guides Installs'],</p>
<p>=91audio=92 =3D&gt; [ '\\SoundsDatabase'];</p>
<p>}</p>
</blockquote>
<p>No, Sorry, I should have provided a more complete example:</p>
<p>$Conf{BackupFilesOnly} =3D {</p>
<pre>  'audio' =3D&gt; [ '\\Archive',
'\\IT-Downloads',
'\\NI Sample Libraries',
'\\Impulse Responses',
'\\Backup',
'\\User Guides Installs',
'\\SoundsDatabase' ];
  }</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!importa=
nt; margin-bottom:0!important; margin-right:0!important; margin-left:0!impo=
rtant; padding-top:0!important; padding-bottom:0!important; padding-right:0=
!important; padding-left:0!important" src=3D"https://u2182357.ct.sendgrid.n=
et/wf/open?upn=3DJkab5BJxp1HLP5rqGBa7EU9c8tS4P8102RKAhVg0h5vhbR2Lqw6Ye8i1pg=
RFmEScfNx-2BRbIsKkn-2FPLODCCkGtJ54qBs3F1n4TA7aW3F7Np-2FcWnLxp1LXikfF-2FNsbR=
md9pQCzCJcocupDTa-2F6a2FRV4-2B410bAiir29zMNs-2BQkYWQf0URlKu48prFWk4Fx3sfNyx=
Ej2OgEi9w65XTIOXm32zWIg8tdS2wIOH99wlJXrkU-3D">
</div>
</div>
</div>
</div>
<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:&nbsp; &nbsp; <a href=3D"https://lists.sourceforge.net/lists/listinfo/=
backuppc-devel" rel=3D"noreferrer" target=3D"_blank">
https://lists.sourceforge.net/<wbr>lists/listinfo/backuppc-devel</a><br>
Wiki:&nbsp; &nbsp; <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>
</div>
</body>
</html>

--_000_HE1P194MB013995EBA1D09CCA0A3599F1BBEA0HE1P194MB0139EURP_--


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

--===============0217734929681716036==--