Retrieve file history inside dar catalogue

Thierry Pierron <[email protected]> Thu, 7 Oct 2004 17:51:09 -0400
Newsgroups gmane.comp.sysutils.backup.dar.libdar
Message-ID <[email protected]>
Hi all !

I found dar some weeks ago, and I found it quite useful. I used to play with
afbackup, but I'll be quite happy to replace it by dar.

Okay, but I just would like to have a little utility that can show me
contents of dar catalogue created by dar_manager, with history of each
files archived.

Is it possible with libdar to read and retrieve file information (at least
size, perm, date, and filename of course) and each version ?

If not is it possible to read directly (without help of libdar) the .dmd
file ? I don't see any description of that file in the archive of dar.

I try "dar_manager -u0 -B <arch>.dmd", but it shows me only last filename
information, with no additional information.

Well, actually I often got requests of users who have accidentaly damaged
one of their precious file. They usually notice that mistake just a few days
later. With afbackup I have to do ugly hack to restore the correct "version",
and I'm quite fed up with this. That's why if I can get history in a sort of
tree view, it will greatly simplify my life.

Maybe KDar can do this, but it was rather painful to use (Moreover I'm not
a KDE user).

BTW, a little advice about DAR API. Why do you bother writing library for
such tool ? It is much more simple to provide pipe-driven command, just like
aspell/ispell or "gdb --interpreter=mi". You don't have to painfully provide
bindings for every languages. Okay, maybe that "trick" does not work very
well on Windows. Well, it's just an idea, in case of one day you want to
provide another bindinds. Just think of it, because it has many advantages
over dynamic/static library.

Regards,
--
Thierry Pierron




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl