BackupPC-users

[BackupPC-users] smbclient tar does not store 0-byte files

2009-06-18 15:40:29
Subject: [BackupPC-users] smbclient tar does not store 0-byte files
From: "Robert Jacobson" <lhvv6x002 AT sneakemail DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 18 Jun 2009 15:34:17 -0400
While troubleshooting an issue, I found that, when using smbclient in
BackupPC, 0-byte files are not backed up.

This seems to be a problem with smbclient, not BackupPC.  One can see
the problem by executing smbclient from the command line in a similar way that 
BackupPC uses, but with debugging at level 4 or greater:

        smbclient //host/share -Aauth -d 4 -U user -E -c tarmode full -TcrX - 
\\exclude > foo.tar

If there are 0-byte files, you'll see:
        getting file \dir\zero.txt of size 0 bytes as a tar file 
zero.txtskipping \dir\zero.txt - initial read failed (file was locked ?)

I'm mainly posting this to get it in the archives, because I didn't see any 
similar posts.  Also, to see if anyone has any bright ideas.

There's a bug report on smbclient here:
https://bugzilla.samba.org/show_bug.cgi?id=4393

I love how the bug is still NEW > 2 years later...

-- 
Rob


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] smbclient tar does not store 0-byte files, Robert Jacobson <=