BackupPC - Got fatal error during xfer (NT_STATUS_ACCESS_DENIED listing \\*)

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 (AMD-64-bit), I'm now getting a the error message from three of my Windows boxes (2000, XP, and 7). 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 (to version 3.6.3).

In checking with other resources on the internet it would seem, that the problem stems from an update to samba that has some incompatibilities with BackupPC:

Hopefully there is a better fix than reverting sanmba versions back to 3.5.11-71, since I'm not sure what other issues that may cause on my ubuntu based system.

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 3872012-04-27 02:05:44 incr backup started back to2012-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 3882012-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 to2012-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 -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: 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\$ -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? Hope this post at least makes you feel you may not be alone in the problem.

06/26/2012 UPDATE: Thanks to the commenter that noted other bug reports: 

The fix seems to have been committed upstream in Samba version 3.6.6 (3.6.6 release notes). Now, I just need to wait for that version of Samba to get rolled out through Ubuntu (currently at 3.6.3).

10/21/2012 UPDATE:

Ubuntu has update Samba to 3.6.6 in their latest release. Running "smbstatus" in terminal the current version of Ubuntu shows version 3.6.6.

The other good news is that my backups don't seem to be failing any longer.

Disappointed that it took Ubuntu this long to make the change. As far as I know the LTS version is still unpatched and will likely cause errors with backuppc and SMB.


  1. Not sure if you have seen this bug...

    Not to hope they fix the bug soonish.

  2. Hi David,

    I have found a workaround which might help with this problem: just add the files you want to backup to the $Conf{BackupFilesOnly} variable. This worked for me.


  3. Hi. I don't get it to work with 12.04 and samba 3.6.8. Ubuntu 12.10 with 3.6.8. is working fine.

  4. Hello

    The best solution i found was this:

    1- Create a folder on Backuppc: mkdir /windowsersvername/share or whatever you want to organize information...

    2- mount windows share with something like this: mount -t cifs //windows/share /windowsersvername/folder --verbose -o user=windows_user
    Than, the password wil be prompted

    You can mount a windows sub_share to using mount -t cifs //windows/share/subshare /windowsersvername/folder ....

    3- Configure Backuppc tp backup localhost with tar option and use the tarSharename previosly craeted, /windowsersvername/folder on Backuppc.

    With this you can backup even a thew servers at same scheduled task...

    With this method, if it got any error Backuppc wil continue the backup task ignoring those errors...

    Hope this would be usefull to anyone...

    José Cruz - Águeda Portugal


Post a Comment

Popular posts from this blog

Moen 1225 Kitchen Faucet Cartridge Repair or Replacement

Outdoor Temperature - Waiting for Update Honeywell WiFI Thermostat (RTH9580WF)

Comcast Xfinity HD uDTA Pace DC60Xu Unboxing and Setup Instructions