backuppc tar incremental mode fails bad --newer arg
Bug #1324706 reported by
Steve Dum
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,
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.