Hello,
my original question:
> When doing backups with dump(8), I'm using the '-a' option
> to generate an archive file for use with restore.
> Now I want to search for a specific entry in several of
> these archive files. Does anyone know the exact format
> of these files, so that I can read and search through them?
I've got answers from:
don@mars.dgrc.doc.ca (Donald McLachlan)
leo@ai.mit.edu (Leonardo C. Topa)
feldt@phyast.nhn.uoknor.edu (Andy Feldt)
phillips@qualcomm.com (Marc Phillips)
bchivers@smiley.mitre.org (Brent Chivers)
Peter Samuel <peters@megadata.mega.oz.au>
msf@fsg.com
ups!upstage!glenn@fourx.aus.sun.com (Glenn Satchell)
Most people pointed me to the manual page dump(5),
but that not exactly what I wanted. It only explains
the contents of the _tape_ archive files, but not
the contents of the archive files, which contains
the index of such an dump.
The best solution so far was that by Leonardo C. Topa
and Glenn Satchell, who suggested
restore -ta archive | grep blah
In my C-program I now invoke this command via popen(),
which works very well.
Thanks to all people who responded and pointed me
to a working solution!
Volker
-- Volker Siebelink | email: volker@nvs-01.uni-paderborn.de Uni-GH Paderborn, FB 14 | phone: (+49) 52 51 / 60 29 90 Pohlweg 47-49 | fax: (+49) 52 51 / 60 32 38 D-4790 Paderborn |
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:24 CDT