backuppc tar incremental mode fails bad --newer arg

Bug #1324706 reported by Steve Dum
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
backuppc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The TarIncrArgs config parameter, which is defined as
$Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList';
expands to --newer=2014-05-25 02:00:00 ..filelist..
resulting in tar trying to make sense of the meaningless argument 02:00:00.
This of course is a critical flaw, causing all tar incremental backups to fail.
I am not sure where the 'best' fix is, but it seems that Tar.pm controls the format of the datestring, so it should be quoting the results.
diff Tar.pm Tar.pm.orig
119c119
< incrDate => "\"$incrDate\"",
---
> incrDate => $incrDate,

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in backuppc (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.