📄 restor.1m
字号:
.TH RESTOR 1M .SH NAMErestor \- incremental file system restore.SH SYNOPSIS.I restorkey [ argument ... ].SH DESCRIPTION.I Restoris used to read magtapes dumped with the.I dumpcommand.The.I keyspecifies what is to be done..I Keyis one of the characters.B rRxtoptionally combined with.BR f ..TP.B fUse the first.I argumentas the name of the tape insteadof the default..TP.B r or RThe tapeis read and loaded into the file systemspecified in.I argument.This should not be done lightly (see below).If the key is.B R.I restorasks which tape of a multi volume set to start on.This allows restor to be interrupted and thenrestarted (an.I icheck \-s must be done before restart)..TP.B xEach file on thetape named by an .I argumentis extracted.The file name has all `mount' prefixes removed;for example, /usr/bin/lpr is named /bin/lpr on the tape.The file extracted is placed in a file with a numeric namesupplied by.I restor(actually the inode number).In order to keep the amount of tape read to a minimum,the following procedure is recommended:.spMount volume 1 of the set of dump tapes..spType the.I restorcommand..sp.I Restorwill announce whether or not it found the files,give the number it will name the file, and rewind the tape..spIt thenasks you to `mount the desired tape volume'.Type the number of the volume you choose.On amultivolume dump the recommended procedure is to mount thelast through the first volume in that order..I Restorchecks to see if any of the files requested are on themounted tape (or a later tape, thus the reverse order) and doesn'tread through the tape if no files are.If you are working with a single volume dump or the number of filesbeing restored is large, respond to the query with `1' and.I restorwill read the tapes in sequential order..spIf you have a hierarchy to restore you can use dumpdir(1)to produce the list of names and a shell script to movethe resulting files to their homes..TP.B tPrint the date the tape was written and the datethe filesystem was dumped from..PPThe.B roption should only be used to restorea complete dump tape onto a clear file systemor to restore an incremental dump tape onto this.Thus.PP /etc/mkfs /dev/rp0 40600.br restor r /dev/rp0.PPis a typical sequence to restore a complete dump.Another.I restorcan be done to get an incremental dumpin on top of this..PPA.I dumpfollowed by a.I mkfsand a.I restoris used tochange the size of a file system..SH FILESdefault tape unit varies with installation.brrst*.SH "SEE ALSO"dump(1), mkfs(1), dumpdir(1).SH DIAGNOSTICSThere are various diagnosticsinvolved with reading the tape and writing the disk.There are also diagnostics if the i-list or the free listof the file system is not large enough to hold the dump..PPIf the dump extends over more than one tape,it may ask you to change tapes.Reply with a new-line when the next tape has been mounted..SH BUGSThere is redundant information on the tapethat could be used in case of tape reading problems.Unfortunately,.I restordoesn't use it.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -