home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man8 / restor.8 < prev    next >
Encoding:
Text File  |  1975-06-26  |  2.7 KB  |  128 lines

  1. .th RESTOR VIII 11/24/73
  2. .sh NAME
  3. restor \*- incremental file system restore
  4. .sh SYNOPSIS
  5. .bd restor
  6. key [ arguments ]
  7. .sh DESCRIPTION
  8. .it Restor
  9. is used to read magtapes dumped with the
  10. .it dump
  11. command.
  12. The
  13. .it key
  14. argument specifies what is to be done.
  15. .it Key
  16. is a character from the set
  17. .bd trxw.
  18. .s3
  19. .lp +5 3
  20. \fBt\fR    The date that the tape was made and the date that
  21. was specified in the
  22. .it dump
  23. command are printed.
  24. A list of all of the i-numbers on the tape
  25. is also given.
  26. .s3
  27. .lp +5 3
  28. \fBr\fR    The tape
  29. is read and loaded into the file system
  30. specified in
  31. .it arguments.
  32. This should not be done lightly (see below).
  33. .s3
  34. .lp +5 3
  35. \fBx\fR    Each file on the
  36. tape is individually extracted into
  37. a file whose name is the file's i-number.
  38. If
  39. there are
  40. .it arguments,
  41. they are interpreted as i-numbers and only they are
  42. extracted.
  43. .s3
  44. .lp +5 3
  45. \fBc\fR    If the tape overflows, increment the last character
  46. of its name and continue on that drive.
  47. (Normally it asks you to change tapes.)
  48. .s3
  49. .lp +5 3
  50. \fBf\fR    Read the dump from the next argument file
  51. instead of the tape.
  52. .s3
  53. .lp +5 3
  54. \fBi\fR    All read and checksum errors
  55. are reported, but will not
  56. cause termination.
  57. .s3
  58. .lp +5 3
  59. \fBw\fR    In conjunction with the
  60. .bd x
  61. option,
  62. before each file is extracted,
  63. its i-number is typed out.
  64. To extract this file,
  65. you must respond with
  66. .bd y.
  67. .s3
  68. .i0
  69. The
  70. .bd x
  71. option is used to retrieve individual files.
  72. If the i-number of the desired file is not known,
  73. it can be discovered by following the file system
  74. directory search algorithm.
  75. First retrieve the
  76. .it root
  77. directory whose i-number is 1.
  78. List this file with
  79. .it "ls \*-fi 1."
  80. This will give names and i-numbers of
  81. sub-directories.
  82. Iterating, any file may be retrieved.
  83. .s3
  84. The
  85. .bd r
  86. option should only be used to restore
  87. a complete dump tape onto a clear file system
  88. or to restore an incremental dump tape onto this.
  89. Thus
  90. .s3
  91.     /etc/mkfs /dev/rp0 40600
  92. .br
  93.     restor r /dev/rp0
  94. .s3
  95. is a typical sequence to restore a complete dump.
  96. Another
  97. .it restor
  98. can be done to get an incremental dump
  99. in on top of this.
  100. .s3
  101. A
  102. .it dump
  103. followed by a
  104. .it mkfs
  105. and a
  106. .it restor
  107. is used to
  108. change the size of a file system.
  109. .sh FILES
  110. /dev/mt0
  111. .sh "SEE ALSO"
  112. ls (I), dump (VIII), mkfs (VIII), clri (VIII)
  113. .sh DIAGNOSTICS
  114. There are various diagnostics
  115. involved with reading the tape and writing the disk.
  116. There are also diagnostics if the i-list or the free list
  117. of the file system is not large enough to hold the dump.
  118. .s3
  119. If the dump extends over more than one tape,
  120. it may ask you to change tapes.
  121. Reply with a new-line when the next tape has been mounted.
  122. .sh BUGS
  123. There is redundant information on the tape
  124. that could be used in case of tape reading problems.
  125. Unfortunately,
  126. .it restor's
  127. approach is to exit if anything is wrong.
  128.