On 2018-10-04 09:14, Michael Stowe wrote:
On 2018-10-03 16:17, Jaime Fenton wrote:
I thought I had a breakthrough as I found that for whatever reason,
the backuppc was using the local server account and not the service
account that has access to the smb share for the computer. I have
confirmed that  the BackupPC domain account does have access to the
files and folders that we list..

I've now cleared that up and raised the verbosity level.

However, I'm still seeing errors and having backups fail. I do need
some assistance getting to the bottom of it because there does not
appear to be a clear reason it's failing.

I've included the xfer log and the xfer error log in case that shines
some light on what's going on.

Thanks,
Jaime
-----Original Message-----
From: Michael Stowe [mailto:michael.st...@member.mensa.org]
Sent: Monday, September 17, 2018 8:49 PM
To: General list for user discussion, questions and support
<backuppc-users@lists.sourceforge.net>
Cc: Jaime Fenton <jaime.fen...@animallogic.ca>
Subject: Re: [BackupPC-users] Troubleshooting assistance for Bad Transfer

On 2018-09-17 16:26, Jaime Fenton wrote:
Here's my Error log example.

Some of the file locks are legitimate and I completely understand why
they happen, but the NT_STATUS_SHARING_VIOLATIONs and
NT_STATUS_CONNECTION_DISCONNECTEDs don't make a lot of sense to me.
The Backup aborted ( ) also happens for not reason (that I can note)
and would love if someone could explain that.

Jaime

I'll explain what I can:
NT_STATUS_ACCESS_DENIED listing \Users\<my
username>\AppData\Local\Application Data\*

In a nutshell, the "AL\backuppc" user doesn't have access to <my
username> files by default, even if it is granted administrative
privileges.

NT_STATUS_SHARING_VIOLATION opening remote file \Users\<my
username>\AppData\Local\Microsoft\Windows\UsrClass.dat

This is a registry file -- you won't be able to back it up *at all*
without using shadow copies.

Backup aborted ()

I can't really explain this one, but I do recall that certain newer
versions of backuppc and older versions of smbclient would combine so
that BackupPC would have trouble interpreting the return messages from
smbclient.  Might need to check your versions, or bump up the log
verbosity for more info.
--
Jaime Fenton
Support Engineer

T: +1 604 398 4800 (main)
D: +1 604 398 4813 (direct)
E: jaime.fen...@animallogic.ca

840 Cambie Street
Vancouver, BC V6B 2P6


I'll try to break it down:
NT_STATUS_ACCESS_DENIED listing \Users\<my
username>\AppData\Local\Application Data\*

In brief, the smbclient uses the "execute" bit to determine whether it
can traverse a directory, in addition to windows and smb permissions.
Windows doesn't have an execute bit (of course) which can lead to some
weird symptoms.  At any rate, this is typically inherited permission
issues, so start there.  This is testable by using smbclient to
navigate to the directory and typing "ls," then correcting permissions
on the Windows side, then typing "ls" in smbclient again until it
works.

NT_STATUS_SHARING_VIOLATION opening remote file \Users\<my
username>\AppData\Local\Comms\UnistoreDB\store.jfm

This is an open file.  Some files in Windows are *always* open, and
you'll have to either exclude them, or shut down the program that has
them open.

NT_STATUS_UNSUCCESSFUL listing \Users\<my
username>\AppData\Local\Google\Chrome\User
Data\Default\data_reduction_proxy_leveldb\*

This is a different level of error than NT_STATUS_ACCESS_DENIED --
basically, it means that the directory refuses to be browseable by
SMB, which generally indicates locks or transience rather than
permission errors.  Exclude this directory.

Error reading file \Users\<my
username>\AppData\Local\Google\Chrome\User
Data\Default\data_reduction_proxy_leveldb\LOCK :
NT_STATUS_FILE_LOCK_CONFLICT

This means that this file is not just open, but locked.  You'll have
to shut down whatever has it open (in this case, Chrome, obviously) or
exclude it.

NT_STATUS_DELETE_PENDING opening remote file \Users\<my
username>\AppData\Local\Microsoft\Windows\Explorer\ThumbCacheToDelete\thmC27C.tmp

This one might be obvious, but you're trying to back up files that are
in the process of being deleted.  This usually means temp, cache, or
other transient files.  Exclude the directory.

--

A lot of these look like cache files or transient files, which I can't
imagine are worth backing up.  The registry also appears, which
*cannot* be backed up without using shadow copies.  (In the interest
of full disclosure, I use shadow copies, so I usually back up the
registry, cache files and everything because a) I'm lazy and b) I
figure I'm less likely to miss something I actually want.)

Here's my list of exludes:
$Conf{BackupFilesExclude} = {
  '*' => [
      'BackupPC/diagnostic.txt',
      'BackupPC/file.out',
      'BackupPC/vss-setvar.cmd',
      'Documents and Settings/*/Application Data/Microsoft/Search/Data',
'Documents and Settings/*/Local Settings/Application Data/Google/Chrome/User Data/Default/Cache', 'Documents and Settings/*/Local Settings/Application Data/Mozilla/Firefox/Profiles/*.default/Cache',
      'Documents and Settings/*/Local Settings/Temp',
'Documents and Settings/*/Local Settings/Temporary Internet Files', 'Documents and Settings/*/Application Data/Sun/Java/Deployment/cache',
      'hiberfil.sys',
       'pagefile.sys',
      'Microsoft UAM Volume',
      'MSOCache',
      'RECYCLER',
      'System Volume Information',
      'Temp',
      'Windows/Prefetch',
      'WINDOWS/Temp',
      'WINNT/Temp',
      '$Recycle.Bin/*',
      'Users/*/AppData/Local/Temp/*',
'Users/*/AppData/Local/Microsoft/Windows/Temporary Internet Files',
      'Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/Cache',
      'Users/*/AppData/Local/Google/Chrome/User Data/Default/Cache',
      '*/Steam/appcache',
'Users/*/AppData/Local/Google/Chrome/User Data/Default/Media Cache'
]
};


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to