Discussion:
[BackupPC-users] NT_STATUS_ACCESS_DENIED listing \\*
arnoldlouie_cr8
2014-04-09 01:16:01 UTC
Permalink
OK I just got the software configured and ran into issues immediately trying to do a backup

Here is basically the error:
Domain=[CREATIVITY] OS=[Windows 7 Professional 7601 Service Pack 1] Server=[Windows 7 Professional 6.1]
tarmode is now full, system, hidden, noreset, verbose
NT_STATUS_ACCESS_DENIED listing \$Recycle.Bin\S-1-5-18\*
NT_STATUS_ACCESS_DENIED listing \$Recycle.Bin\*
This backup will fail because: NT_STATUS_ACCESS_DENIED listing \\*
NT_STATUS_ACCESS_DENIED listing \\*

I've tried excluding the Recycle bin files under BackupFilesExclude but it still wants to try to list it. I've also tried to do a BackupFilesOnly inclusion to purposely leave this folder out.

Not sure where to go from here.

Thanks in advance.

+----------------------------------------------------------------------
|This was sent by ***@creativityusa.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
arnoldlouie_cr8
2014-04-09 01:17:06 UTC
Permalink
I'd like to add that I am able to see and list files with the account that I'm using. Maybe not the recylcer files, which is why I'd rather exclude them.

+----------------------------------------------------------------------
|This was sent by ***@creativityusa.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
Daniel Doughty
2014-04-09 13:01:33 UTC
Permalink
You're going down the right path. In order to backup win7 my exclusion list
is about 20 lines long. Unfortunately I'm away from home until Sunday so
can't share it right now.

Dan
Post by arnoldlouie_cr8
I'd like to add that I am able to see and list files with the account that
I'm using. Maybe not the recylcer files, which is why I'd rather exclude
them.
+----------------------------------------------------------------------
+----------------------------------------------------------------------
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
BackupPC-users mailing list
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Carl Wilhelm Soderstrom
2014-04-09 13:44:09 UTC
Permalink
Post by Daniel Doughty
You're going down the right path. In order to backup win7 my exclusion list
is about 20 lines long. Unfortunately I'm away from home until Sunday so
can't share it right now.
FWIW, here's one set of exclude patterns I use:

'cDrive' => [
'/RECYCLER',
'/WINNT',
'/temp',
'/WUTemp',
'/WINDOWS/*',
'/Windows/*',
'/$Recycle.Bin/*',
'/System Volume Information',
'/Users/*/AppData/Local/Microsoft/Outlook/*',
'/Users/*/AppData/Local/Microsoft/Windows/Temporary Internet Files/*',
'/Users/*/AppData/Local/Microsoft/Internet Explorer/Recovery/*',
'/Users/*/AppData/Local/Mozilla/Firefox/*/*/Cache/*',
'/Users/*/AppData/LocalLow/Microsoft/CryptnetUrlCache/*',
'/Users/*/AppData/Local/Microsoft/BingBar/*',
'/Users/*/AppData/Local/Temp/*',
'/Users/*/AppData/Local/Microsoft/Media Player/*',
'/Documents and Settings/*/Local Settings/Application Data/Mozilla/Firefox/Profiles/*/Cache/',
'/Documents and Settings/*/Local Settings/Application Data/Microsoft/Internet Explorer/Recovery/Active/',
'/Documents and Settings/*/Application Data/*/Log/',
'/Documents and Settings/*/Local Settings/Temporary Internet Files/*',
'/Documents and Settings/*/Local Settings/History/*',
'/Documents and Settings/*/Local Settings/Temp/*',
'/Documents and Settings/*/Cookies/',
'/Documents and Settings/*/Favorites/',
'/Documents and Settings/*/IETldCache/',
'/Documents and Settings/*/IECompatCache/',
'/Documents and Settings/*/NetHood/',
'/Documents and Settings/*/PrivacIE/',
'/Documents and Settings/*/PrintHood/',
'/Documents and Settings/*/WINDOWS/',
'/Documents and Settings/*/Recent/',
'/Documents and Settings/*/Webex/',
'/Documents and Settings/*/temp/',
'/pagefile.sys',
'/hiberfil.sys',
'/Documents and Settings/*/My Documents/My Music',
'/Documents and Settings/*/My Documents/My Videos',
'/Documents and Settings/*/My Documents/My Pictures',
'/Documents and Settings/*/My Documents/Private',
'/Documents and Settings/*/avg8',
'*.avi',
'*.AVI',
'*.mp3',
'*.MP3',
'*.mpg',
'*.MPG',
'*/*.msi',
'*/NTUSER.DAT',
'*/NTUSER.DAT.LOG',
'*/ntuser.dat.LOG',
'*/UsrClass.dat',
'*/UsrClass.dat.LOG',
],
--
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com
arnoldlouie_cr8
2014-04-09 17:10:24 UTC
Permalink
So it doesn't seem to be a Windows 7 issue. I tried this on a windows xp machine with similar results. So here's what I noticed.

I can log into the machine with the simple command "/usr/bin/smbclient \\\\computer\\C\$ -U domain\\backuppc" I seem to be able to traverse through most directories listing contents of different directories. The domain account has both domain admin and backup operator membership.

However when the backup runs the full smbclient command it fails. Here is the full log:

Running: /usr/bin/smbclient \\\\computer\\C\$ -U domain\\backuppc -E -d 1 -c tarmode\ full -Tc -
full backup started for share C$
Xfer PIDs are now 9145,9144
Domain=[CREATIVITY] OS=[Windows 7 Professional 7601 Service Pack 1] Server=[Windows 7 Professional 6.1]
tarmode is now full, system, hidden, noreset, verbose
NT_STATUS_ACCESS_DENIED listing \$Recycle.Bin\S-1-5-18\*
NT_STATUS_ACCESS_DENIED listing \$Recycle.Bin\*
This backup will fail because: NT_STATUS_ACCESS_DENIED listing \\*
NT_STATUS_ACCESS_DENIED listing \\*
tar: dumped 2 files and directories
Total bytes written: 0
tarExtract: Use of qw(...) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
tarExtract: Use of qw(...) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.
create d 755 0/0 0 $Recycle.Bin
create d 755 0/0 0 $Recycle.Bin/S-1-5-18
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (NT_STATUS_ACCESS_DENIED listing \\*)
Backup aborted (NT_STATUS_ACCESS_DENIED listing \\*)
Not saving this as a partial backup since it has fewer files than the prior one (got 1 and 0 files versus 1)

+----------------------------------------------------------------------
|This was sent by ***@creativityusa.com via Backup Central.
|Forward SPAM to ***@backupcentral.com.
+----------------------------------------------------------------------
Continue reading on narkive:
Loading...