jbuild — User Commands
NAME
jbuild − Reconstruct Jaquith disk index from tertiary storage
SYNOPSIS
jbuild [-root rootPath] [-dev device] [-v] [-clobber] [-noindex] [-save] [-first first-file] [-last last-file] [-before date] [-after date] [-matchpath path-expression] [-matchtbuf tbuf-expression]
OPTIONS
−root rootpathSpecify root of index tree.
−dev deviceThe name of the reader device.
−vTurn on verbose mode which prints status during operation.
−clobberOverwrite the disk index with the tape index.
−noindexRestore the thdr file from tape but don’t rebuild the index. This implies -save.
−saveSave the thdr file after index is restored.
−first first-fileNumber of first thdr file to restore. (0 == first file on tape).
−last last-fileNumber of last thdr file to restore. (-1 == last file on tape).
−matchPath pathname
Restore only files that match the path pathname according to Unix globbing rules.
−matchtbuf tbuf-num
Restore only files that match the tbuf number tbuf-num according to Unix globbing rules.
−before dateRestore only entries archived before date.
−after dateRestore only entries archived after date.
−bufsize bytesize
Read from tape in bytesize units.
DESCRIPTION
Jbuild is a system manager’s utility for the Jaquith system. It’s purpose is to rebuild Jaquith’s disk index from tape in the event of disk crash.
Jbuild processes a single Jaquith tape by restoring a sequence of index (thdr) file, parsing them, and rebuilding the tree structure on disk. Several arguments control the details of the restoration: The -first and -last arguments limit the range of thdr files which are read from tape. The -matchpath argument restricts restoration to user file pathnames which match pathname. The -noindex option inhibits the rebuilding of the disk index entirely; only the raw thdr files are restored.
Jbuild is not network-aware since it is not for use by clients. It assumes that it has direct access to the readers.
date is of the form DateSpec[:TimeSpec]. TimeSpec is of the form [hh[:mm[:ss]]], and DateSpec is of the form dd-month[-yyyy]. Month is the first 3 letters of the month; all others are numbers. The ’/’ character is a substitute for ’-’ and ’.’ may be used instead of ’:’.
FILES
Jbuild creates a temporary work file in the Jaquith root called rebuild.pid. The work file will be renamed arch/thdr.number after the thdr file has been restored to its archive, or thdr.pid.count, if the file appears to be bogus.
BUGS
Jbuild can restore only one volume at a time; several invocations may be necessary to restore an entire logical archive.
SEE ALSO
jaquith jmgr jls jstat jput jget jctrl jcopy jclean
KEYWORDS
jaquith archive
Sprite version 1.0 —