1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
|
'\" te
.\" Copyright (c) 2002 Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright 1989 AT&T
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH UFSRESTORE 1M "Sep 24, 2002"
.SH NAME
ufsrestore \- incremental file system restore
.SH SYNOPSIS
.LP
.nf
\fB/usr/sbin/ufsrestore\fR i | r | R | t | x [abcdfhlmostvyLT]
[\fIarchive_file\fR] [\fIfactor\fR] [\fIdumpfile\fR] [\fIn\fR] [\fIlabel\fR]
[\fItimeout\fR] [\fIfilename\fR]...
.fi
.SH DESCRIPTION
.sp
.LP
The \fBufsrestore\fR utility restores files from backup media created with the
\fBufsdump\fR command. \fBufsrestores\fR's actions are controlled by the
\fIkey\fR argument. The \fIkey\fR is exactly one \fBfunction\fR \fIletter\fR
(\fBi\fR, \fBr\fR, \fBR\fR , \fBt\fR, or \fBx\fR) and zero or more \fIfunction
modifier\fRs (letters). The \fIkey\fR string contains no \fBSPACE\fR
characters. Function modifier arguments are listed on the command line in the
same order as their corresponding function modifiers appear in the \fIkey\fR
string.
.sp
.LP
\fIfilename\fR arguments which appear on the command line, or as arguments to
an interactive command, are treated as shell \fBglob\fR patterns by the \fBx\fR
and \fBt\fR functions; any files or directories matching the patterns are
selected. The metacharacters \fB*\fR, \fB?\fR, and \fB[ ]\fR must be protected
from the shell if they appear on the command line. There is no way to quote
these metacharacters to explicitly match them in a filename.
.sp
.LP
The temporary files \fBrstdir*\fR and \fBrstmode*\fR are placed in \fB/tmp\fR
by default. If the environment variable \fBTMPDIR\fR is defined with a
non-empty value, that location is used instead of \fB/tmp\fR.
.SH OPTIONS
.SS "Function Letters"
.sp
.LP
You must specify one (and only one) of the function letters listed below. Note
that \fBi\fR, \fBx\fR, and \fBr\fR are intended to restore files into an empty
directory. The \fBR\fR function is intended for restoring into a populated
directory.
.sp
.ne 2
.na
\fB\fBi\fR\fR
.ad
.RS 5n
Interactive. After reading in the directory information from the media,
\fBufsrestore\fR invokes a shell-like interface that allows you to browse
through the dump file's directory hierarchy and select individual files to be
extracted. Restoration has the same semantics as \fBx\fR (see below). See
\fBInteractive Commands\fR, below, for a description of available commands.
.RE
.sp
.ne 2
.na
\fBr\fR
.ad
.RS 5n
Recursive. Starting with an empty directory and a level 0 dump, the \fBr\fR
function recreates the filesystem relative to the current working directory,
exactly as it appeared when the dump was made. Information used to restore
incremental dumps on top of the full dump (for example, \fBrestoresymtable\fR)
is also included. Several \fBufsrestore\fR runs are typical, one for each
higher level of dump (0, 1, ..., 9). Files that were deleted between the level
0 and a subsequent incremental dump will not exist after the final restore. To
completely restore a file system, use the \fBr\fR function restore the level 0
dump, and again for each incremental dump. Although this function letter is
intended for a complete restore onto a new file system (one just created with
\fBnewfs\fR(1M)), if the file system contains files not on the backup media,
they are preserved.
.RE
.sp
.ne 2
.na
\fBR\fR
.ad
.RS 5n
Resume restoring. If an \fBr\fR-mode \fBufsrestore\fR was interrupted, this
function prompts for the volume from which to resume restoring and continues
the restoration from where it was left off. Otherwise identical to \fBr\fR.
.RE
.sp
.ne 2
.na
\fBt\fR
.ad
.RS 5n
Table of contents. List each \fIfilename\fR that appears on the media. If no
\fIfilename\fR argument is given, the root directory is listed. This results in
a list of all files on the media, unless the \fBh\fR function modifier is in
effect. The table of contents is taken from the media or from the specified
archive file, when the \fBa\fR function modifier is used. The \fBa\fR function
modifier is mutually exclusive with the \fBx\fR and \fBr\fR function letters.
.RE
.sp
.ne 2
.na
\fBx\fR
.ad
.RS 5n
Extract the named files from the media. Files are restored to the same relative
locations that they had in the original file system.
.sp
If the \fIfilename\fR argument matches a directory whose contents were written
onto the media, and the \fBh\fR modifier is not in effect, the directory is
recursively extracted, relative to the current directory, which is expected to
be empty. For each file, the owner, modification time, and mode are restored
(if possible).
.sp
If you omit the \fIfilename\fR argument or specify \fB\&.\fR, the root
directory is extracted. This results in the entire tape being extracted, unless
the \fBh\fR modifier is in effect. . With the \fBx\fR function, existing files
are overwritten and \fBufsrestore\fR displays the names of the overwritten
files. Overwriting a currently-running executable can have unfortunate
consequences.
.sp
Use the \fBx\fR option to restore partial file system dumps, as they are (by
definition) not entire file systems.
.RE
.SS "Function Modifiers"
.sp
.ne 2
.na
\fBa \fIarchive_file\fR\fR
.ad
.RS 19n
Read the table of contents from \fIarchive_file\fR instead of the media. This
function modifier can be used in combination with the \fBt\fR, \fBi\fR, or
\fBx\fR function letters, making it possible to check whether files are on the
media without having to mount the media. When used with the \fBx\fR and
interactive (\fBi\fR) function letters, it prompts for the volume containing
the file(s) before extracting them.
.RE
.sp
.ne 2
.na
\fBb \fIfactor\fR\fR
.ad
.RS 19n
Blocking factor. Specify the blocking factor for tape reads. For variable
length \fBSCSI\fR tape devices, unless the data was written with the default
blocking factor, a blocking factor at least as great as that used to write the
tape must be used; otherwise, an error will be generated. Note that a tape
block is 512 bytes. Refer to the man page for your specific tape driver for the
maximum blocking factor.
.RE
.sp
.ne 2
.na
\fBc\fR
.ad
.RS 19n
Convert the contents of the media in 4.1BSD format to the new \fBufs\fR file
system format.
.RE
.sp
.ne 2
.na
\fBd\fR
.ad
.RS 19n
Debug. Turn on debugging output.
.RE
.sp
.ne 2
.na
\fBf \fIdump_file\fR\fR
.ad
.RS 19n
Use \fIdump_file\fR instead of \fB/dev/rmt/0\fR as the file to restore from.
Typically \fIdump_file\fR specifies a tape or diskette drive. If
\fIdump_file\fR is specified as `\fB\(mi\fR\&', \fBufsrestore\fR reads from the
standard input. This allows \fBufsdump\fR(1M) and \fBufsrestore\fR to be used
in a pipeline to copy a file system:
.sp
.in +2
.nf
example# ufsdump 0f \(mi /dev/rdsk/c0t0d0s7 \e
| (cd /home;ufsrestore xf \(mi)
.fi
.in -2
.sp
If the name of the file is of the form \fImachine\fR\fB:\fR\fIdevice\fR, the
restore is done from the specified machine over the network using
\fBrmt\fR(1M). Since \fBufsrestore\fR is normally run by root, the name of the
local machine must appear in the \fB/.rhosts\fR file of the remote machine. If
the file is specified as \fIuser\fR\fB@\fR\fImachine\fR\fB:\fR\fIdevice\fR,
\fBufsrestore\fR will attempt to execute as the specified user on the remote
machine. The specified user must have a \fB\&.rhosts\fR file on the remote
machine that allows the user invoking the command from the local machine to
access the remote machine.
.RE
.sp
.ne 2
.na
\fBh\fR
.ad
.RS 19n
Extract or list the actual directory, rather than the files that it references.
This prevents hierarchical restoration of complete subtrees from the tape.
.RE
.sp
.ne 2
.na
\fBl\fR
.ad
.RS 19n
Autoload. When the end-of-tape is reached before the restore is complete, take
the drive off-line and wait up to two minutes (the default, see the \fBT\fR
function modifier) for the tape drive to be ready again. This gives autoloading
(stackloader) tape drives a chance to load a new tape. If the drive is ready
within two minutes, continue. If it is not, prompt for another tape and wait.
.RE
.sp
.ne 2
.na
\fBL \fIlabel\fR\fR
.ad
.RS 19n
The label that should appear in the header of the dump file. If the labels do
not match, \fBufsrestore\fR issues a diagnostic and exits. The tape label is
specific to the \fBufsdump\fR tape format, and bears no resemblance to
\fBIBM\fR or \fBANSI\fR-standard tape labels.
.RE
.sp
.ne 2
.na
\fBm\fR
.ad
.RS 19n
Extract by inode numbers rather than by filename to avoid regenerating complete
pathnames. Regardless of where the files are located in the dump hierarchy,
they are restored into the current directory and renamed with their inode
number. This is useful if only a few files are being extracted.
.RE
.sp
.ne 2
.na
\fBo\fR
.ad
.RS 19n
Offline. Take the drive off-line when the restore is complete or the
end-of-media is reached and rewind the tape, or eject the diskette. In the case
of some autoloading 8mm drives, the tape is removed from the drive
automatically.
.RE
.sp
.ne 2
.na
\fBs \fIn\fR\fR
.ad
.RS 19n
Skip to the \fIn\fRth file when there are multiple dump files on the same tape.
For example, the command:
.sp
.in +2
.nf
example# ufsrestore xfs /dev/rmt/0hn 5
.fi
.in -2
.sp
would position you to the fifth file on the tape when reading volume 1 of the
dump. If a dump extends over more than one volume, all volumes except the first
are assumed to start at position 0, no matter what "\fBs\fR \fIn\fR" value is
specified.
.sp
If "\fBs\fR \fIn\fR" is specified, the backup media must be at \fBBOT\fR
(beginning of tape). Otherwise, the initial positioning to read the table of
contents will fail, as it is performed by skipping the tape forward
\fIn\fR\fB-1\fR files rather than by using absolute positioning. This is
because on some devices absolute positioning is very time consuming.
.RE
.sp
.ne 2
.na
\fBT timeout [hms]\fR
.ad
.RS 19n
Sets the amount of time to wait for an autoload command to complete. This
function modifier is ignored unless the \fBl\fR function modifier has also been
specified. The default timeout period is two minutes. The time units may be
specified as a trailing \fBh\fR (hours), \fBm\fR (minutes), or \fBs\fR
(seconds). The default unit is minutes.
.RE
.sp
.ne 2
.na
\fBv\fR
.ad
.RS 19n
Verbose. \fBufsrestore\fR displays the name and inode number of each file it
restores, preceded by its file type.
.RE
.sp
.ne 2
.na
\fBy\fR
.ad
.RS 19n
Do not ask whether to abort the restore in the event of tape errors.
\fBufsrestore\fR tries to skip over the bad tape block(s) and continue as best
it can.
.RE
.SS "Interactive Commands"
.sp
.LP
\fBufsrestore\fR enters interactive mode when invoked with the \fBi\fR function
letters. Interactive commands are reminiscent of the shell. For those commands
that accept an argument, the default is the current directory. The interactive
options are:
.sp
.ne 2
.na
\fBadd [\fIfilename\fR]\fR
.ad
.RS 22n
Add the named file or directory to the list of files to extract. If a directory
is specified, add that directory and its files (recursively) to the extraction
list (unless the \fBh\fR modifier is in effect).
.RE
.sp
.ne 2
.na
\fBcd \fIdirectory\fR\fR
.ad
.RS 22n
Change to \fIdirectory\fR (within the dump file).
.RE
.sp
.ne 2
.na
\fBdelete [\fIfilename\fR]\fR
.ad
.RS 22n
Delete the current directory, or the named file or directory from the list of
files to extract. If a directory is specified, delete that directory and all
its descendents from the extraction list (unless the \fBh\fR modifier is in
effect). The most expedient way to extract a majority of files from a directory
is to add that directory to the extraction list, and then delete specific files
to omit.
.RE
.sp
.ne 2
.na
\fBextract\fR
.ad
.RS 22n
Extract all files on the extraction list from the dump media. \fBufsrestore\fR
asks which volume the user wishes to mount. The fastest way to extract a small
number of files is to start with the last volume and work toward the first. If
"\fBs\fR \fIn\fR" is given on the command line, volume 1 will automatically be
positioned to file \fIn\fR when it is read.
.RE
.sp
.ne 2
.na
\fBhelp\fR
.ad
.RS 22n
Display a summary of the available commands.
.RE
.sp
.ne 2
.na
\fBls [\fIdirectory\fR]\fR
.ad
.RS 22n
List files in \fIdirectory\fR or the current directory, represented by a
`\fB\&.\fR' (period). Directories are appended with a `\fB/\fR' (slash).
Entries marked for extraction are prefixed with a `\fB*\fR' (asterisk). If the
verbose option is in effect, inode numbers are also listed.
.RE
.sp
.ne 2
.na
\fBmarked [\fIdirectory\fR]\fR
.ad
.RS 22n
Like \fBls\fR, except only files marked for extraction are listed.
.RE
.sp
.ne 2
.na
\fBpager\fR
.ad
.RS 22n
Toggle the pagination of the output from the \fBls\fR and \fBmarked\fR
commands. The pager used is that defined by the \fBPAGER\fR environment
variable, or more(1) if that envar is not defined. The \fBPAGER\fR envar may
include white-space-separated arguments for the pagination program.
.RE
.sp
.ne 2
.na
\fBpwd\fR
.ad
.RS 22n
Print the full pathname of the current working directory.
.RE
.sp
.ne 2
.na
\fBquit\fR
.ad
.RS 22n
\fBufsrestore\fR exits immediately, even if the extraction list is not empty.
.RE
.sp
.ne 2
.na
\fBsetmodes\fR
.ad
.RS 22n
Prompts: \fBset owner/mode for\fR `\fB\&.\fR' (period). Type \fBy\fR for yes to
set the mode (permissions, owner, times) of the current directory `\fB\&.\fR'
(period) into which files are being restored equal to the mode of the root
directory of the file system from which they were dumped. Normally, this is
what you want when restoring a whole file system, or restoring individual files
into the same locations from which they were dumped. Type \fBn\fR for no, to
leave the mode of the current directory unchanged. Normally, this is what you
want when restoring part of a dump to a directory other than the one from which
the files were dumped.
.RE
.sp
.ne 2
.na
\fBsetpager \fIcommand\fR\fR
.ad
.RS 22n
Sets the command to use for paginating output instead of the default or that
inherited from the environment. The \fIcommand\fR string may include arguments
in addition to the command itself.
.RE
.sp
.ne 2
.na
\fBverbose\fR
.ad
.RS 22n
Toggle the status of the \fBv\fR modifier. While \fBv\fR is in effect, the
\fBls\fR command lists the inode numbers of all entries, and \fBufsrestore\fR
displays information about each file as it is extracted.
.RE
.sp
.ne 2
.na
\fBwhat\fR
.ad
.RS 22n
Display the dump header on the media.
.RE
.SH OPERANDS
.sp
.LP
The following operands are supported.
.sp
.ne 2
.na
\fB\fIfilename\fR\fR
.ad
.RS 12n
Specifies the pathname of files (or directories) to be restored to disk. Unless
the \fBh\fR function modifier is also used, a directory name refers to the
files it contains, and (recursively) its subdirectories and the files they
contain. \fIfilename\fR is associated with either the \fBx\fR or \fBt\fR
function letters, and must come last.
.RE
.SH USAGE
.sp
.LP
See \fBlargefile\fR(5) for the description of the behavior of \fBufsrestore\fR
when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
.SH EXIT STATUS
.sp
.LP
The following exit values are returned:
.sp
.ne 2
.na
\fB\fB0\fR\fR
.ad
.RS 5n
Successful completion.
.RE
.sp
.ne 2
.na
\fB\fB1\fR\fR
.ad
.RS 5n
An error occurred. Verbose messages are displayed.
.RE
.SH ENVIRONMENT VARIABLES
.sp
.ne 2
.na
\fBPAGER\fR
.ad
.RS 10n
The command to use as a filter for paginating output. This can also be used to
specify the options to be used. Default is \fBmore\fR(1).
.RE
.sp
.ne 2
.na
\fBTMPDIR\fR
.ad
.RS 10n
Selects the directory for temporary files. Defaults to \fB/tmp\fR if not
defined in the environment.
.RE
.SH FILES
.sp
.ne 2
.na
\fB\fB/dev/rmt/0\fR\fR
.ad
.RS 23n
the default tape drive
.RE
.sp
.ne 2
.na
\fB\fB$TMPDIR/rstdir*\fR\fR
.ad
.RS 23n
file containing directories on the tape
.RE
.sp
.ne 2
.na
\fB\fB$TMPDIR/rstmode*\fR\fR
.ad
.RS 23n
owner, mode, and timestamps for directories
.RE
.sp
.ne 2
.na
\fB\fB\&./restoresymtable\fR\fR
.ad
.RS 23n
information passed between incremental restores
.RE
.SH SEE ALSO
.sp
.LP
\fBmore\fR(1), \fBmkfs\fR(1M), \fBmount\fR(1M), \fBrmt\fR(1M),
\fBufsdump\fR(1M), \fBufsdump\fR(4), \fBattributes\fR(5), \fBlargefile\fR(5)
.SH DIAGNOSTICS
.sp
.LP
\fBufsrestore\fR complains about bad option characters.
.sp
.LP
Read errors result in complaints. If \fBy\fR has been specified, or the user
responds \fBy\fR, \fBufsrestore\fR will attempt to continue.
.sp
.LP
If the dump extends over more than one tape, \fBufsrestore\fR asks the user to
change tapes. If the \fBx\fR or \fBi\fR function letter has been specified,
\fBufsrestore\fR also asks which volume the user wishes to mount. If the
\fBs\fR modifier has been specified, and volume 1 is mounted, it is
automatically positioned to the indicated file.
.sp
.LP
There are numerous consistency checks that can be listed by \fBufsrestore\fR.
Most checks are self-explanatory or can "never happen". Common errors are given
below.
.sp
.ne 2
.na
\fB\fBConverting to new file system format\fR\fR
.ad
.sp .6
.RS 4n
A dump tape created from the old file system has been loaded. It is
automatically converted to the new file system format.
.RE
.sp
.ne 2
.na
\fB\fIfilename\fR\fB: not found on tape\fR\fR
.ad
.sp .6
.RS 4n
The specified file name was listed in the tape directory, but was not found on
the tape. This is caused by tape read errors while looking for the file, using
a dump tape created on an active file system, or restoring a partial dump with
the \fBr\fR function.
.RE
.sp
.ne 2
.na
\fB\fBexpected next file\fR \fIinumber\fR\fB, got\fR \fIinumber\fR\fR
.ad
.sp .6
.RS 4n
A file that was not listed in the directory showed up. This can occur when
using a dump tape created on an active file system.
.RE
.sp
.ne 2
.na
\fB\fBIncremental tape too low\fR\fR
.ad
.sp .6
.RS 4n
When doing an incremental restore, a tape that was written before the previous
incremental tape, or that has too low an incremental level has been loaded.
.RE
.sp
.ne 2
.na
\fB\fBIncremental tape too high\fR\fR
.ad
.sp .6
.RS 4n
When doing incremental restore, a tape that does not begin its coverage where
the previous incremental tape left off, or one that has too high an incremental
level has been loaded.
.RE
.sp
.ne 2
.na
\fB\fBmedia\fR \fBread\fR \fBerror:\fR \fBinvalid\fR \fBargument\fR\fR
.ad
.sp .6
.RS 4n
Blocking factor specified for read is smaller than the blocking factor used to
write data.
.RE
.sp
.ne 2
.na
\fB\fBTape read error while restoring\fR\fR
.ad
.br
.na
\fB\fBTape read error while skipping over inode inumber\fR\fR
.ad
.br
.na
\fB\fBTape read error while trying to resynchronize\fR\fR
.ad
.br
.na
\fB\fBA tape read error has\ occurred\fR\fR
.ad
.sp .6
.RS 4n
If a file name is specified, then its contents are probably partially wrong. If
an inode is being skipped or the tape is trying to resynchronize, then no
extracted files have been corrupted, though files may not be found on the tape.
.RE
.sp
.ne 2
.na
\fB\fBresync ufsrestore, skipped\fR \fInum\fR\fR
.ad
.sp .6
.RS 4n
After a tape read error, \fBufsrestore\fR may have to resynchronize itself.
This message lists the number of blocks that were skipped over.
.RE
.sp
.ne 2
.na
\fB\fBIncorrect tape label. Expected `foo', got `bar'.\fR\fR
.ad
.sp .6
.RS 4n
The \fBL\fR option was specified, and its value did not match what was recorded
in the header of the dump file.
.RE
.SH NOTES
.sp
.LP
\fBufsrestore\fR can get confused when doing incremental restores from dump
tapes that were made on active file systems.
.sp
.LP
A \fBlevel 0\fR dump must be done after a full restore. Because
\fBufsrestore\fR runs in user mode, it has no control over inode allocation.
This means that \fBufsrestore\fR repositions the files, although it does not
change their contents. Thus, a full dump must be done to get a new set of
directories reflecting the new file positions, so that later incremental dumps
will be correct.
|