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

Marc Gilliatt <[email protected]> Tue, 12 Dec 2017 09:37:57 +0000
Newsgroups gmane.comp.sysutils.backup.backuppc.devel
Message-ID <HE1P194MB0139C1F72AD76AF212F6D6A7BB340@HE1P194MB0139.EURP194.PROD.OUTLOOK.COM>
--===============1830116512003206037==
Content-Language: en-GB
Content-Type: multipart/alternative;
	boundary="_000_HE1P194MB0139C1F72AD76AF212F6D6A7BB340HE1P194MB0139EURP_"

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

I exclude \System Volume Information\ so it doesn't get backed up. But it s=
till tries to back it up.

I have full permissions on the directories, I should be able to backup the =
directories I want to back up. I'm not sure on how to test if I can access =
the directories through SMB?

How do I get SMB access to those directories?

________________________________
From: Michael Stowe <[email protected]>
Sent: 12 December 2017 06:34
To: Developers discussion
Cc: Marc Gilliatt
Subject: Re: [BackupPC-devel] Windows share not backing up - NT_STATUS_ACCE=
SS_DENIED listing \System Volume Information\SRM\*


On 2017-12-11 00:59, Marc Gilliatt wrote:

I=92m trying to backup a Windows share and I am running into issues regardi=
ng the error: NT_STATUS_ACCESS_DENIED listing \System Volume Information\SR=
M\*

I have excluded that directory (\System Volume Information\SRM\), and I hav=
e included to only backup the certain directories that I want backing up. Y=
et I still get that access_denied error. The backuppc user has full permiss=
ions, both read and write. I=92m confused to why I=92m getting the error wh=
en it has full permissions. I have tired everything I know with my limited =
knowledge of backuppc.

Errors from the Xfer.log:

Running: /usr/bin/smbclient \\\\ukaudio\\audio -U backuppc -E -d 1 -c tarmo=
de\ full -Tc =96 full backup started for share audio Xfer PIDs are now 2031=
1,20310 [ skipped 1 lines ] tar:316 tarmode is now full, system, hidden, no=
reset, quiet [ skipped 4558360 lines ] NT_STATUS_ACCESS_DENIED listing \Sys=
tem Volume Information\SRM\* [ skipped 503 lines ] tar:712 Total bytes rece=
ived: 8830420792787 [ skipped 19 lines ] tarExtract: Done: 0 errors, 437693=
5 filesExist, 8783933204861 sizeExist, 7077067832073 sizeExistComp, 4386347=
 filesTotal, 8830430446024 sizeTotal Executing DumpPostUserCmd: /var/lib/ba=
ckuppc/backuppc_notification.sh 0 ukaudio full ukaudio ukaudio audio smb /u=
sr/bin/ssh DumpPostUserCmd Got fatal error during xfer (No files dumped for=
 share audio) Backup aborted (No files dumped for share audio) Saving this =
as a partial backup

It hasn=92t completed its first full backup yet. Is there something I am do=
ing wrong?

Apparently this somehow wasn't clear before.

1) Stop trying to access directories you cannot access through SMB.

2) You cannot access \System Volume Information\



--_000_HE1P194MB0139C1F72AD76AF212F6D6A7BB340HE1P194MB0139EURP_
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">
</head>
<body>
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
<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 exclude&nbsp;<span style=3D"color: rgb(33, 33, 33); font-family: &quot;Se=
goe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, Blin=
kMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, sans-serif; font-size: =
15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps=
: normal; font-weight: 400; background-color: rgba(0, 0, 0, 0);">\System
 Volume Information\ so it doesn't get backed up. But it still tries to bac=
k it up.</span></div>
<div style=3D"background-color: rgba(0, 0, 0, 0);"><font color=3D"#212121">=
<span style=3D"font-size: 15px;"><br>
</span></font></div>
<div style=3D"background-color: rgba(0, 0, 0, 0);"><font color=3D"#212121">=
<span style=3D"font-size: 15px;">I have full permissions on the directories=
, I should&nbsp;be able to backup the directories I want to back up. I'm&nb=
sp;not sure on how to test if I can access the directories&nbsp;through&nbs=
p;SMB?&nbsp;</span></font></div>
<div style=3D"background-color: rgba(0, 0, 0, 0);"><font color=3D"#212121">=
<span style=3D"font-size: 15px;"><br>
</span></font></div>
<div style=3D"background-color: rgba(0, 0, 0, 0);"><font color=3D"#212121">=
<span style=3D"font-size: 15px;">How do I get SMB access to those directori=
es?&nbsp;<br>
</span></font><img data-imagetype=3D"External" width=3D"1" height=3D"1" bor=
der=3D"0" style=3D"font-style: normal; font-variant-ligatures: normal; font=
-variant-caps: normal; font-weight: 400; font-size: 15px; font-family: &quo=
t;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, =
BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, sans-serif; color: =
rgb(33, 33, 33);" src=3D"https://u2182357.ct.sendgrid.net/wf/open?upn=3DJka=
b5BJxp1HLP5rqGBa7EU9c8tS4P8102RKAhVg0h5tCebtM1tkXLxofQnvjW2ecM1e9ex7z9vfIgm=
skCIJrPN0ZI-2BDfSwFsHgV5W6jRTUMn3WcAD7VYltwxJCXBlD1Euq-2BVQY-2FmdL4UVqMbK8-=
2BxI-2B9kwUD5q3xtdC5k4ZWNQalfsL-2BP7lDsVrs-2BZhaq3jQl8-2BJvaKzGDLNKTMJni6bD=
DUZYw-2BcDdoeCzimUkvfs-2F5Q-3D"></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> Michael Stowe &lt;mic=
[email protected]&gt;<br>
<b>Sent:</b> 12 December 2017 06:34<br>
<b>To:</b> Developers discussion<br>
<b>Cc:</b> Marc Gilliatt<br>
<b>Subject:</b> Re: [BackupPC-devel] Windows share not backing up - NT_STAT=
US_ACCESS_DENIED listing \System Volume Information\SRM\*</font>
<div>&nbsp;</div>
</div>
<div>
<p>On 2017-12-11 00:59, Marc Gilliatt wrote:</p>
<blockquote>
<p>I=92m trying to backup a Windows share and I am running into issues rega=
rding the error: NT_STATUS_ACCESS_DENIED listing \System Volume Information=
\SRM\*</p>
<p>I have excluded that directory (\System Volume Information\SRM\), and I =
have included to only backup the certain directories that I want backing up=
. Yet I still get that access_denied error. The backuppc user has full perm=
issions, both read and write. I=92m
 confused to why I=92m getting the error when it has full permissions. I ha=
ve tired everything I know with my limited knowledge of backuppc.</p>
<p>Errors from the Xfer.log:</p>
<p>Running: /usr/bin/smbclient \\\\ukaudio\\audio -U backuppc -E -d 1 -c ta=
rmode\ full -Tc =96 full backup started for share audio Xfer PIDs are now 2=
0311,20310 [ skipped 1 lines ] tar:316 tarmode is now full, system, hidden,=
 noreset, quiet [ skipped 4558360
 lines ] NT_STATUS_ACCESS_DENIED listing \System Volume Information\SRM\* [=
 skipped 503 lines ] tar:712 Total bytes received: 8830420792787 [ skipped =
19 lines ] tarExtract: Done: 0 errors, 4376935 filesExist, 8783933204861 si=
zeExist, 7077067832073 sizeExistComp,
 4386347 filesTotal, 8830430446024 sizeTotal Executing DumpPostUserCmd: /va=
r/lib/backuppc/backuppc_notification.sh 0 ukaudio full ukaudio ukaudio audi=
o smb /usr/bin/ssh DumpPostUserCmd Got fatal error during xfer (No files du=
mped for share audio) Backup aborted
 (No files dumped for share audio) Saving this as a partial backup</p>
<p>It hasn=92t completed its first full backup yet. Is there something I am=
 doing wrong?</p>
</blockquote>
<p>Apparently this somehow wasn't clear before.</p>
<p>1) Stop trying to access directories you cannot access through SMB.</p>
<p>2) You cannot access \System Volume Information\</p>
<img alt=3D"" width=3D"1" height=3D"1" border=3D"0" style=3D"height:1px !im=
portant;width:1px !important;border-width:0 !important;margin-top:0 !import=
ant;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !imp=
ortant;padding-top:0 !important;padding-bottom:0 !important;padding-right:0=
 !important;padding-left:0 !important;" src=3D"https://u2182357.ct.sendgrid=
.net/wf/open?upn=3DJkab5BJxp1HLP5rqGBa7EU9c8tS4P8102RKAhVg0h5tCebtM1tkXLxof=
QnvjW2ecM1e9ex7z9vfIgmskCIJrPN0ZI-2BDfSwFsHgV5W6jRTUMn3WcAD7VYltwxJCXBlD1Eu=
q-2BVQY-2FmdL4UVqMbK8-2BxI-2B9kwUD5q3xtdC5k4ZWNQalfsL-2BP7lDsVrs-2BZhaq3jQl=
8-2BJvaKzGDLNKTMJni6bDDUZYw-2BcDdoeCzimUkvfs-2F5Q-3D">
</div>
</body>
</html>

--_000_HE1P194MB0139C1F72AD76AF212F6D6A7BB340HE1P194MB0139EURP_--


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

--===============1830116512003206037==--