Re: hdup2 and older tar versions

Miek Gieben <[email protected]> Fri, 7 Jan 2005 18:35:07 +0100
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
[On 07 Jan, @ 16:13, Boris wrote in "Re: [hdup-user] hdup2 and olde ..."]
> > The non-working tar version was 1.3.25, as I'm not sure at which
> > version gnu tar is good enough for hdup2, I'm hestitating to 
> > let hdup test this (either run-time or at compile-time),
> > [and ofcourse, this problem will fix itself in due time :)]
> 
> Perhaps we can find out from the mailing list who has the oldest working
> tar version, and put that in as the minimum?  I have GNU tar 1.14 .

sound great.

(a meant 1.13.25 in the above paragraph btw)

> files it's restoring from were written by older versions of hdup, so

if tar hasn't been upgraded, this should matter, but maybe the options
hdup gives to tar are different.

> # hdup -V -s /home/bc/.mozilla restore ant 2005-01-05 /tmp/restore
> 
> /bin/tar: home/bc/.gnome2/epiphany/mozilla/epiphany/Cache/_CACHE_003_:
> invalid sparse archive member
> /bin/tar: Skipping to next header

strange, looks like tar expects a different kind of archive (either
sparse are non-sparse).
You could play with hdup.h.in:

#define SPARSE                " --sparse "

redfine that to "", recompile and test. If that doesn't change
anything, I don't know what's wrong.

> /bin/tar: Error exit delayed from previous errors
> hdup: WARNING: Overview 'DOTEND' underflow!
> hdup: WARNING: AN ERROR OCCURED!
> hdup: WARNING: Overview 'DOTEND' underflow!
> hdup: WARNING: Overview 'DOTEND' underflow!

funny, these are underflows in the 'dot' calculation for the overview
message (how many dots to print).

I will keep this in mind for 2.0.5.

> The errors were apparently significant enough that it didn't go on and
> try to restore from the weekly and daily backups.

what does plain tar say about those archives?

grtz Miek