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

Michael Stowe <[email protected]> Tue, 09 Jan 2018 17:34:28 +0000 (UTC)
Newsgroups gmane.comp.sysutils.backup.backuppc.devel
Message-ID <[email protected]>
--===============8036205549329702475==
Content-Type: multipart/alternative;
	boundary=Apple-Mail-935FF8DC-F39F-4F5D-B3DC-FA6B5D7FD466
Content-Transfer-Encoding: 7bit

--Apple-Mail-935FF8DC-F39F-4F5D-B3DC-FA6B5D7FD466
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable



> On Jan 9, 2018, at 8:01 AM, Marc Gilliatt <[email protected]> wrote:
>=20
> Sorry, my mistake. That was the overall config file I posted, and I apolo=
gise again, I should've just posted the section regarding smb, I've put the=
 includes in the host's config file.
>=20
> $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> [
>     ''
>   ]
> };
>=20

Ah ha!

The way the BackupFilesOnly section is written, it says, =E2=80=9Cfor the s=
hare called \Archive, backup only these files: =E2=80=98=E2=80=99, and so o=
n for shares named =E2=80=9C\IT Downloads=E2=80=9D etc.

As there are no entries matching the share =E2=80=98audio=E2=80=99 it will =
fall back to other rules.

Try
$Conf{BackupFilesOnly} =3D {
=E2=80=98audio=E2=80=99 =3D> [ =E2=80=98\\Archive=E2=80=99 ] };=

--Apple-Mail-935FF8DC-F39F-4F5D-B3DC-FA6B5D7FD466
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=
=3Dutf-8"></head><body dir=3D"auto"><div></div><div><br></div><div><br>On J=
an 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">

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii">



<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: 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;=
 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);">
<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 style=3D"display:inline-block;width:98%" tabindex=3D"-1"></blockquote><=
div><br></div>Ah ha!<div><br></div><div>The way the BackupFilesOnly section=
 is written, it says, =E2=80=9Cfor the share called \Archive, backup only t=
hese files: =E2=80=98=E2=80=99, and so on for shares named =E2=80=9C\IT Dow=
nloads=E2=80=9D etc.</div><div><br></div><div>As there are no entries match=
ing the share =E2=80=98audio=E2=80=99 it will fall back to other rules.</di=
v><div><br></div><div>Try</div><div>$Conf{BackupFilesOnly} =3D {</div><div>=
=E2=80=98audio=E2=80=99 =3D&gt; [ =E2=80=98\\Archive=E2=80=99 ] };</div>
<img src=3D"https://u2182357.ct.sendgrid.net/wf/open?upn=3DOypFYCWzG5ApGW-2=
FFpGTxc73zzje-2FkFPhXiwUUFhBdTDFF5huz7qBgIbOvLhaFsHKTYNUuOVZ3f0KbuDhuOPFhPT=
os61pM5uNAbBe32Jt0wtecruS52rppCjJ-2FaPzxTV0b2zpm-2Fsv02TqMRcNTW8Xrc0OwLQ2sg=
zvqUO-2BxEqh6ZgQljOqF0R-2BOueUk9lJSwSX8O1pNZa0LSyTKSWLCSJS6ECKHCVlfTKQXbHsi=
rRa2BfJpdLzTwiNC-2F05bgKUdayL" alt=3D"" width=3D"1" height=3D"1" border=3D"=
0" style=3D"height:1px !important;width:1px !important;border-width:0 !impo=
rtant;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !im=
portant;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 =
!important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>

--Apple-Mail-935FF8DC-F39F-4F5D-B3DC-FA6B5D7FD466--


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

--===============8036205549329702475==--