BackupPC-users

Re: [BackupPC-users] BackupPC Errors log

2012-07-06 17:06:46
Subject: Re: [BackupPC-users] BackupPC Errors log
From: Bowie Bailey <Bowie_Bailey AT BUC DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 06 Jul 2012 17:05:20 -0400
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/