Chuck Guzis wrote:
For the life of me, I can't figure this one out
and I feel so
stupid... Maybe a kindly BSD expert can clear my poor addled brain.
1. How does one LIST the contents (i.e. the files) on a volume create
by 4.2BSD backup? I don't want to restore them, just list them.
Lengths and dates would be nice, but not absolutely necessary.
restore tvf device-file
...where device-file is the tape device file or filename containing
the dump(8) output.
2. How does one restore the contents of the said
level 0 backup
volume a local directory? That is, the original was almost certainly
backup up starting with /, but I don't want to overwrite my own file
system with restored data.
The filenames on the dump are relative to the start of their
filesystem but generally don't include the leading /. And restore
restores to the directory that is current when it is run (e.g. the
freshly newfs'd filesystem on the replacing disk). So. Make a new
directory somewhere that you've got enough room to load the whole
thing, cd to it, run "restore rf device-file" (or flags/key "rvf" if
you want something to read while it works) to restore the dump.
-Frank McConnell