I've been successfully backing up several machines on my network
with BackupPC ( Version 3.2.1).
After a recent update to Kubuntu from 11.10 to 12.04, I'm now
getting a the error message from three of my Windows boxes (one
XP, one 7, and one 2000 -don't ask). Googling the error message
did not give me any clues to why the error all of a sudden started
showing up. I'm pretty sure there was an update to Samba moving
from Ubuntu 11.10 to 12.04, that may be causing this.
Here are a couple excerpts from the logs that show how it was
working, but has now stopped. Suggestions to better
troubleshooting appreciated:
2012-04-26
02:03:52 incr backup started back to 2012-04-21 00:00:05
(backup #389) for share C$ 2012-04-26 02:08:10 incr backup 394
complete, 1774 files, 617760890 bytes, 101 xferErrs (0 bad
files, 0 bad shares, 101 other) 2012-04-26 02:08:10 removing
incr backup 387 2012-04-27 02:05:44 incr backup started back
to 2012-04-21 00:00:05 (backup #389) for share C$ 2012-04-27
02:10:18 incr backup 395 complete, 2560 files, 651479431
bytes, 101 xferErrs (0 bad files, 0 bad shares, 101 other)
2012-04-27 02:10:18 removing incr backup 388 2012-04-27
02:10:18 removing full backup 382 2012-04-28 02:35:48 full
backup started for share C$ 2012-04-28 04:19:08 full backup
396 complete, 70360 files, 29012306001 bytes, 1298 xferErrs (0
bad files, 0 bad shares, 1298 other) 2012-04-29 23:07:26 incr
backup started back to 2012-04-28 01:35:48 (backup #396) for
share C$ 2012-04-29 23:07:28 Got fatal error during xfer
(NT_STATUS_ACCESS_DENIED listing \\*) 2012-04-29 23:07:33
Backup aborted (NT_STATUS_ACCESS_DENIED listing \\*)
Every attempt to backup full or partial has failed since. Detail
on the failed backup is:
Contents of
file /var/lib/backuppc/pc/corte-gx-260/XferLOG.bad.z,
modified 2012-05-05 06:00:09
Running:
/usr/bin/smbclient \\\\corte-gx-260\\C\$ -I 192.168.0.197 -U
backuppc -E -d 1 -c tarmode\ full -TcrX - pagefile.sys
hiberfil.sys /System\ Volume\ Information /RECYCLER
/\$Recycle.bin /\$RECYCLE.BIN /proc Temporary\* /Program\
Files full backup started for share C$ Xfer PIDs are now
15028,15027 tar_re_search set Domain=[CORTE-GX-260]
OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] tarmode
is now full, system, hidden, noreset, verbose 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.
NT_STATUS_ACCESS_DENIED listing \b2cd959604e7e76e27cf83\*
This backup will fail because: NT_STATUS_ACCESS_DENIED
listing \\* NT_STATUS_ACCESS_DENIED listing \\*
Several files do get backed up in this part of the log. Then the
last commands end here:
create d 755 0/0 0
b2cd959604e7e76e27cf83 tarExtract: Done: 0 errors, 111
filesExist, 15395741 sizeExist, 8380253 sizeExistComp, 111
filesTotal, 15395741 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 111 and 111 files versus 111)
I tried excluding the directory b2cd959604e7e76e27cf83 in the
config:
Running: /usr/bin/smbclient \\\\corte-gx-260\\C\$ -I
192.168.0.197 -U backuppc -E -d 1 -c tarmode\ full -TcNrX
/var/lib/backuppc/pc/corte-gx-260/timeStamp.level0 -
pagefile.sys hiberfil.sys /System\ Volume\ Information
/RECYCLER /\$Recycle.bin /\$RECYCLE.BIN /proc Temporary\*
/Program\ Files /b2cd959604e7e76e27cf83/
Any direction on what the why the error is being
generated just now and what I can do to prevent it?
I can log into
the windows boxes using smbclient on the machine that runs
backuppc and ls to see the shared files, so I think that rules
out general permissions issues. I increased the logging level on
smb to 3 and really got more more information than is in the
logs above.