Research V4 release
[unix-history] / man / man8 / restor.8
CommitLineData
37c22d79
KT
1.th RESTOR VIII 11/24/73
2.sh NAME
3restor \*- incremental file system restore
4.sh SYNOPSIS
5.bd restor
6key [ arguments ]
7.sh DESCRIPTION
8.it Restor
9is used to read magtapes dumped with the
10.it dump
11command.
12The
13.it key
14argument specifies what is to be done.
15.it Key
16is 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
21was specified in the
22.it dump
23command are printed.
24A list of all of the i-numbers on the tape
25are also given.
26.s3
27.lp +5 3
28\fBr\fR The tape
29is read and loaded into the file system
30specified in
31.it arguments.
32This should not be done lightly (see below).
33.s3
34.lp +5 3
35\fBx\fR Each file on the
36tape is individually extracted into
37a file whose name is the file's i-number.
38If
39there are
40.it arguments,
41they are interpreted as i-numbers and only they are
42extracted.
43.s3
44.lp +5 3
45\fBw\fR In conjunction with the
46.bd x
47option,
48before each file is extracted,
49its i-number is typed out.
50To extract this file,
51you must respond with
52.bd y.
53.s3
54.i0
55The
56.bd r
57option should only be used to restore
58a complete dump tape onto a clear file system
59or to restore an incremental dump tape onto this.
60Thus
61.s3
62 /etc/mkfs /dev/rp0 40600
63.br
64 restor r /dev/rp0
65.s3
66is a typical sequence to restore a complete dump.
67Another
68.it restor
69can be done to get an incremental dump
70in on top of this.
71.s3
72A
73.it dump
74followed by a
75.it mkfs
76and a
77.it restor
78is used to
79change the size of a file system.
80.sh FILES
81/dev/mt0
82.sh "SEE ALSO"
83dump, mkfs, check, clri (VIII)
84.sh DIAGNOSTICS
85There are various diagnostics
86involved with reading the tape and writing the disk.
87There are also diagnostics if the i-list or the free list
88of the file system is not large enough to hold the dump.
89.sh BUGS
90There is redundant information on the tape
91that could be used in case of tape reading problems.
92Unfortunately,
93.it restor's
94approach is to exit if anything is wrong.
95.s3
96Files that have been deleted are
97not removed when incremental tapes are loaded.
98It will be necessary to
99.it check
100the restored file system and
101.it clri
102any files that show up with
103a 201 delta diagnostic.
104.s3
105The current version of
106.it restor
107does not free space occupied
108by files that are overwritten.
109Thus a
110.it check
111will have to be performed to reclain the missing
112space.