Hi all, Some time ago I created a backup of root filesystem with dump. Then my hard drive broke out, but I decided to do a full reinstall with update. All I want now is to read just one or two files in the old files created with dump. How is it possible?? Praise
On Thu, Feb 28, 2002 at 10:26:20PM +0100, Praise wrote:
Hi all,
Some time ago I created a backup of root filesystem with dump. Then my hard drive broke out, but I decided to do a full reinstall with update. All I want now is to read just one or two files in the old files created with dump. How is it possible??
restore tvf /dev/st0 > contents.txt One possible complication is not knowing the block size used to dump the tape. There are two solutions: 1. use the -b option and specify a blocksize of zero: restore tvf /dev/st0 -b 0 I am not sure if this works! If it doesn't, try number 2... 2. Figure out the block size: dd if=/dev/st0 of=xxx bs=128k count=1 ls -l xxx The file size of xxx is the block size, so use it with the restore command. For example, if the size was 32768 this is 64k so use: restore tvf /dev/st0 -b 32 > contents.txt -- ____________________________________________________________________ Robert Paulsen robert@paulsenonline.net My old email address (paulsen@texas.net) will soon be discontinued.
participants (2)
-
Praise
-
Robert C. Paulsen Jr.