BackupPC-users

Re: [BackupPC-users] BackupPC Errors log

2012-07-06 19:54:03
Subject: Re: [BackupPC-users] BackupPC Errors log
From: "Bryan Keadle (.net)" <bkeadle AT keadle DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 6 Jul 2012 18:51:22 -0500
So now that I have a common list of ACCESS_DENIED, I want to add that to the computername.pl file, instead of manually entering through the GUI.  But when I do that, I don't see the changes I've added, but instead see the default settings.  Is there some magic to getting making changes to the config.pl for the host outside the GUI to stick?


On Fri, Jul 6, 2012 at 6:49 PM, Bryan Keadle (.net) <bkeadle AT keadle DOT net> wrote:
I use the single backslash in the GUI - it doubles it in the .pl.  I'll try the forward slash.  Seems like I've tried that too.  But case sensitivity of the share name?!  That's interesting.  I see my SmbShareName is uppercase (C$), but my ExcludeList is lowercase (c$) - Good grief.  I bet you're right, that's probably it.


On Fri, Jul 6, 2012 at 4:05 PM, Bowie Bailey <Bowie_Bailey AT buc DOT com> wrote:
On 7/6/2012 4:54 PM, Bryan Keadle (.net) wrote:
> Yes, thank you.  Now *THIS* is more like it!
>
>     Contents of file /var/lib/BackupPC/pc/bkeadle-vmw732/XferLOG.2.z,
>     modified 2012-07-06 13:01:55 (Extracting only Errors)
>
>     Running: /usr/bin/smbclient \\\\bkeadle-vmw732\\C\$ -U VOP/BackupPC -E -d 1 -c tarmode\ full -Tc -
>     full backup started for share C$
>     Xfer PIDs are now 6399,6398
>     [ skipped 2 lines ]
>     NT_STATUS_ACCESS_DENIED listing \Documents and Settings\*
>     NT_STATUS_SHARING_VIOLATION opening remote file \pagefile.sys (\)
>     [ skipped 4646 lines ]
>     File size change - truncating \Program Files\Novell\ZENworks\logs\LocalStore\zmd-messages.log to 3218892 bytes
>     [ skipped 1224 lines ]
>     NT_STATUS_ACCESS_DENIED listing \ProgramData\Application Data\*
>     NT_STATUS_ACCESS_DENIED listing \ProgramData\Desktop\*
>     NT_STATUS_ACCESS_DENIED listing \ProgramData\Documents\*
>     NT_STATUS_ACCESS_DENIED listing \ProgramData\Favorites\*
>     [ skipped 75 lines ]
>     NT_STATUS_SHARING_VIOLATION opening remote file \ProgramData\Microsoft\RAC\StateData\RacMetaData.dat (\ProgramData\Microsoft\RAC\StateData\)
>     NT_STATUS_SHARING_VIOLATION opening remote file \ProgramData\Microsoft\RAC\StateData\RacWmiEventData.dat (\ProgramData\Microsoft\RAC\StateData\)
>     [ skipped 45 lines ]
>     NT_STATUS_SHARING_VIOLATION opening remote file \ProgramData\Microsoft\Search\Data\Applications\Windows\MSS.log (\ProgramData\Microsoft\Search\Data\Applications\Windows\)
>     [ skipped 31 lines ]
>     NT_STATUS_SHARING_VIOLATION opening remote file \ProgramData\Microsoft\Search\Data\Applications\Windows\tmp.edb (\ProgramData\Microsoft\Search\Data\Applications\Windows\)
>     NT_STATUS_SHARING_VIOLATION opening remote file \ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.edb (\ProgramData\Microsoft\Search\Data\Applications\Windows\)
>     [ skipped 285 lines ]
>     NT_STATUS_SHARING_VIOLATION opening remote file \ProgramData\Microsoft\Windows Defender\IMpService925A3ACA-C353-458A-AC8D-A7E5EB378092.lock (\ProgramData\Microsoft\Windows Defender\)
>     [ skipped 60 lines ]
>     NT_STATUS_SHARING_VIOLATION opening remote file \ProgramData\Microsoft\Windows Defender\Scans\History\CacheManager\MpSfc.bin (\ProgramData\Microsoft\Windows Defender\Scans\History\CacheManager\)
>     [ skipped 81 lines ]
>
>
> So from this, I can build my Exclude list.  Most of
> the NT_STATUS_ACCESS_DENIED
> are Windows 7 Junctions, which I understand would get this error, thus
> I want to exclude them.  However, I'm having difficulty getting the
> exclude to work.  As shown above, it's trying to backup pagefile.sys
> despite my exclusions set, as shown here:
>
>     'c$' => [
>         'Temp\\*',
>         'Recycle bin\\*',
>         'Temporary Internet Files\\*',
>         '\\pagefile.sys',
>         '\\hiberfil.sys',
>         'IconCache.db',
>         '~*',
>         '\\RECYCLER',
>         '*.vmdk',
>         '*.lock',
>         'Thumbs.db',
>         'IconCache.db',
>         'Cache*',
>         'cache*',
>         '\\$Recycle.Bin\\*',
>         '\\MSOCache\\*',
>         '\\System Volume Information\\*',
>         '\\Documents and Settings\\*'
>       ]
>
> So what am I missing with my syntax?  I originally *just* had
> 'pagefile.sys'.  When that didn't work, I specified the backslash
> prefix.

Try using a forward slash rather than the double backslashes.  It's much
easier to read and Samba will translate for you.  For example:
'/pagefile.sys'

Also, the share name is probably case-sensitive.  This is most likely
your real problem.

--
Bowie

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>