Bug 206121 - Incremental backup copies too much
Summary: Incremental backup copies too much
Alias: None
Product: Fedora
Classification: Fedora
Component: tar   
(Show other bugs)
Version: 5
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Ben Levenson
URL: http://lists.gnu.org/archive/html/bug...
Keywords: Reopened
Depends On:
TreeView+ depends on / blocked
Reported: 2006-09-12 08:54 UTC by Göran Uddeborg
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: FC5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-15 13:58:54 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch for the spec file (508 bytes, patch)
2006-09-12 10:20 UTC, David Juran
no flags Details | Diff
updated makeCheck patch (381 bytes, patch)
2006-09-12 10:21 UTC, David Juran
no flags Details | Diff

Description Göran Uddeborg 2006-09-12 08:54:26 UTC
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):
tar 1.15.90

How reproducible:
Every time

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
Actual results:
Tar will (re)archive all files in t:


Expected results:
Only the new file should be archived:


Additional info:
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.

Comment 1 David Juran 2006-09-12 10:20:30 UTC
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.

Comment 2 David Juran 2006-09-12 10:21:29 UTC
Created attachment 136065 [details]
updated makeCheck patch

Note You need to log in before you can comment on or make changes to this bug.