BackupPC: tar error 256

January 20th, 2008

From the BackupPC v3 source code:

# Tar 1.16 uses exit status 1 (256) when some files
# changed during archive creation. We allow this
# as a benign error and consider the archive ok

We are using v2, but the file looked nearly identical to v3. Thus, I changed line 201 in /usr/lib/BackupPC/Xfer/ to look like this:

if ( !close($t->{pipeTar}) && $? != 256 ) {

That should work, right? =)

Leave a Reply

You must be logged in to post a comment.