Skip to content

BackupPC - binary garbage in XferLog.z / XferLog.z getting huge

I run a BackupPC instance that is still on Debian 10 / buster. The latest rsync package for Debian 10 has version number 3.1.3-6.

I recently noticed infrequent issues when backing up hosts that are either on Debian 11 / bullseye, or on Ubuntu 22.04 (which both ship rsync 3.2.3). The symptoms are as follows:

- backups take much longer than usual
- XferLog.z starts "normally", but after a certain point contains a lot of binary garbage, and gets much bigger than usual (hundreds of MB, or even in one case up to 12 GB)

After investigating and looking for information online, I came across these bug reports, which contain the explanation as well as a workaround: Debian Bug report #969463 and BackupPC issue #369.

=> The issue is caused by a combination of a change of default behaviour introduced with rsync 3.2.3, and a bug in File::RsyncP.

The solution that works for me (pending an update to Debian 11 and BackupPC 4) is to add the following line in the individual server config for each of the affected hosts:
$Conf{RsyncArgsExtra} = ['--no-msgs2stderr'];


  • Twitter
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg BackupPC - binary garbage in XferLog.z / XferLog.z getting huge
  • Mixx BackupPC - binary garbage in XferLog.z / XferLog.z getting huge
  • Bloglines BackupPC - binary garbage in XferLog.z / XferLog.z getting huge
  • Technorati BackupPC - binary garbage in XferLog.z / XferLog.z getting huge
  • Fark this: BackupPC - binary garbage in XferLog.z / XferLog.z getting huge
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at YahooMyWeb
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at Furl.net
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at reddit.com
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at blinklist.com
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at Spurl.net
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at NewsVine
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at Simpy.com
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at blogmarks
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options