Red Hat Bugzilla – Bug 206121
Incremental backup copies too much
Last modified: 2007-11-30 17:11:42 EST
Description of problem:
When tar 1.15.90 does an incremental backup, it copies too much. If any file
has been added to (or removed from) a directory, ALL files in that directory are
copied. Depending on the directory, that could mean way too much data.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mkdir t
2. touch t/apa t/bepa
3. tar --create --listed-incremental=t.snap --verbose --file=t.tar t
(This will archive t/, t/apa, and t/bepa as expected.)
4. touch t/cepa
5. tar --create --listed-incremental=t.snap --verbose --file=t.tar t
Tar will (re)archive all files in t:
Only the new file should be archived:
In the next upstreams version, 1.15.91, this is fixed. I would suggest an upgrade.
Both FC5 and the latest test relase for FC6, 5.91, has tar 1.15.90.
Created attachment 136064 [details]
patch for the spec file
Attached is a patch to the spec file for upgrading tar in rawhide to 1.15.91.
The makeCheck patch had to be slightly modified to apply to the new source
(though lacking a s390 I can't vouch for if it's still needed) and I dropped
the permissions-patch since it had been incorporated upstreams.
Created attachment 136065 [details]
updated makeCheck patch