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

Marc Gilliatt <[email protected]> Wed, 10 Jan 2018 11:08:21 +0000
Newsgroups gmane.comp.sysutils.backup.backuppc.devel
Message-ID <HE1P194MB0139E2FA64075A68AAFDE29BBB110@HE1P194MB0139.EURP194.PROD.OUTLOOK.COM>
--===============5699969642990840195==
Content-Language: en-GB
Content-Type: multipart/alternative;
	boundary="_000_HE1P194MB0139E2FA64075A68AAFDE29BBB110HE1P194MB0139EURP_"

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

Is the following in the correct format?

$Conf{SmbShareName} =3D [
  'audio'
];
$Conf{SmbSharePasswd} =3D 'Password1';
$Conf{SmbShareUserName} =3D 'backuppc';
$Conf{XferMethod} =3D 'smb';
$Conf{BackupFilesOnly} =3D {

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

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

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

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

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

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

'audio' =3D> [ '\\SoundsDatabase'];

}


________________________________
From: Michael Stowe <[email protected]>
Sent: 09 January 2018 17:34
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 Jan 9, 2018, at 8:01 AM, Marc Gilliatt <[email protected]<mailto:m.g=
[email protected]>> wrote:

Sorry, my mistake. That was the overall config file I posted, and I apologi=
se again, I should've just posted the section regarding smb, I've put the i=
ncludes in the host's config file.

$Conf{SmbShareName} =3D [
  'audio'
];
$Conf{SmbSharePasswd} =3D 'Password1';
$Conf{SmbShareUserName} =3D 'backuppc';
$Conf{XferMethod} =3D 'smb';
$Conf{BackupFilesOnly} =3D {
  '\\Archive' =3D> [
    ''
  ],
  '\\IT-Downloads' =3D> [
    ''
  ],
  '\\NI Sample Libraries' =3D> [
    ''
  ],
  '\\Impulse Responses' =3D> [
    ''
  ],
  '\\Backup' =3D> [
    ''
  ],
  '\\User Guides Installs' =3D> [
    ''
  ],
  '\\SoundsDatabase' =3D> [
    ''
  ]
};

________________________________

Ah ha!

The way the BackupFilesOnly section is written, it says, =93for the share c=
alled \Archive, backup only these files: =91=92, and so on for shares named=
 =93\IT Downloads=94 etc.

As there are no entries matching the share =91audio=92 it will fall back to=
 other rules.

Try
$Conf{BackupFilesOnly} =3D {
=91audio=92 =3D> [ =91\\Archive=92 ] };


--_000_HE1P194MB0139E2FA64075A68AAFDE29BBB110HE1P194MB0139EURP_
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);">
<div>Is the following&nbsp;in the correct format?</div>
<div><br>
</div>
<div>$Conf{SmbShareName} =3D [</div>
<div>&nbsp; 'audio'</div>
<div>];</div>
<div>$Conf{SmbSharePasswd} =3D 'Password1';</div>
<div>$Conf{SmbShareUserName} =3D 'backuppc';</div>
<div>$Conf{XferMethod} =3D 'smb';</div>
<div>$Conf{BackupFilesOnly} =3D {</div>
<div><br>
</div>
<div>'audio' =3D&gt; [ '\\Archive'],</div>
<div><br>
</div>
<div>'audio' =3D&gt; [ '\\IT-Downloads'],</div>
<div><br>
</div>
<div>'audio' =3D&gt; [ '\\NI Sample Libraries'],</div>
<div><br>
</div>
<div>'audio' =3D&gt; [ '\\Impulse Responses'],</div>
<div><br>
</div>
<div>'audio' =3D&gt; [ '\\Backup'],</div>
<div><br>
</div>
<div>'audio' =3D&gt; [ '\\User Guides Installs'],</div>
<div><br>
</div>
<div>'audio' =3D&gt; [ '\\SoundsDatabase'];</div>
<div><br>
</div>
<div>}</div>
<div><br>
</div>
<br>
</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> 09 January 2018 17:34<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\*</font>
<div>&nbsp;</div>
</div>
<div dir=3D"auto">
<div></div>
<div><br>
</div>
<div><br>
On Jan 9, 2018, at 8:01 AM, Marc Gilliatt &lt;<a href=3D"mailto:m.gilliatt@=
live.co.uk">[email protected]</a>&gt; wrote:<br>
<br>
</div>
<blockquote type=3D"cite">
<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)">
Sorry, my mistake. That was the overall config file I posted, and I apologi=
se again, I should've just posted the section regarding smb, I've&nbsp;put =
the includes in the host's config file.</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)">
<div>$Conf{SmbShareName} =3D [</div>
<div>&nbsp; 'audio'</div>
<div>];</div>
<div>$Conf{SmbSharePasswd} =3D 'Password1';</div>
<div>$Conf{SmbShareUserName} =3D 'backuppc';</div>
<div>$Conf{XferMethod} =3D 'smb';</div>
<div>$Conf{BackupFilesOnly} =3D {</div>
<div>&nbsp; '\\Archive' =3D&gt; [</div>
<div>&nbsp; &nbsp; ''</div>
<div>&nbsp; ],</div>
<div>&nbsp; '\\IT-Downloads' =3D&gt; [</div>
<div>&nbsp; &nbsp; ''</div>
<div>&nbsp; ],</div>
<div>&nbsp; '\\NI Sample Libraries' =3D&gt; [</div>
<div>&nbsp; &nbsp; ''</div>
<div>&nbsp; ],</div>
<div>&nbsp; '\\Impulse Responses' =3D&gt; [</div>
<div>&nbsp; &nbsp; ''</div>
<div>&nbsp; ],</div>
<div>&nbsp; '\\Backup' =3D&gt; [</div>
<div>&nbsp; &nbsp; ''</div>
<div>&nbsp; ],</div>
<div>&nbsp; '\\User Guides Installs' =3D&gt; [</div>
<div>&nbsp; &nbsp; ''</div>
<div>&nbsp; ],</div>
<div>&nbsp; '\\SoundsDatabase' =3D&gt; [</div>
<div>&nbsp; &nbsp; ''</div>
<div>&nbsp; ]</div>
<div>};</div>
<div><br>
</div>
</div>
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
</blockquote>
<div><br>
</div>
Ah ha!
<div><br>
</div>
<div>The way the BackupFilesOnly section is written, it says, =93for the sh=
are called \Archive, backup only these files: =91=92, and so on for shares =
named =93\IT Downloads=94 etc.</div>
<div><br>
</div>
<div>As there are no entries matching the share =91audio=92 it will fall ba=
ck to other rules.</div>
<div><br>
</div>
<div>Try</div>
<div>$Conf{BackupFilesOnly} =3D {</div>
<div>=91audio=92 =3D&gt; [ =91\\Archive=92 ] };</div>
<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=3DJkab5BJxp1HLP5rqGBa7EU9c8tS4P8102RKAhVg0h5vi2ozBc46csd7Q4i=
k63utMzunWY-2F7Fy9uTo5RFvP2iTDC-2BJhmIw8LUkl0FSlq6N9H51sFGsSp8-2B0MA1ihf2wq=
w8OaeMpln1q6Ji70s0rt8OMGEa-2FDhSxZtVLWfn0dib602GzLAKCoBFy0epczx-2F8q9Fwb9VN=
fFRXYFXcJCMC3AMK6scYxW0dFg-2FidW-2FCikseo-3D">
</div>
</body>
</html>

--_000_HE1P194MB0139E2FA64075A68AAFDE29BBB110HE1P194MB0139EURP_--


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

--===============5699969642990840195==--