ufsrestore?

I'm trying to restore a server from a backup tape. I've partitioned my drive, and I've run into a problem; After extracting everything from the tape, It seems as if only the directory structure is intact. Here are my steps:

  1. booted from cdrom to single user mode boot cdrom -s
  2. used 'format' to create my partitions
  3. created my directories
  4. mounted all of my partitions
  5. cd to desired directory
  6. ufsrestore -ivh /dev/rmt/0n
  7. follow prompts
  8. boot -ar

Seemed to work fine with my first server. 2nd one, not so much.

Did I miss something? TIA

  1. booted from cdrom to single user mode boot cdrom -s
  2. used 'format' to create my partitions
    2a. newfs newly created partitions
  3. created my directories
  4. mounted all of my partitions
  5. cd to desired directory
  6. ufsrestore -ivh /dev/rmt/0n
  7. follow prompts <-- your errors must be in here
  8. boot -ar

You were missing a step (2a) but you must have done it if you mounted the new partitions. The only other part that you could have gone wrong on, as far as I can see, is in 7. Maybe you only added directories by mistake to the restore process. If you had added everything, then even if you were in the wrong slice, it should have restored everything in the wrong place. Check your backups would be the first thing (even if the same tape worked on the other server - maybe someone overwrote them). Post the OS version of both servers and hardware models.

RTM, during the ufsrestore process, I did these steps

ufsrestore -ivh /dev/rmt/0n

ufsrestore> add *
ufsrestore> del lost+found
ufsrestore> extract

Then I get the following message:

You have not read any volumes yet.
Unless you know which volume your file(s) are on you should start
with the last volume and work towards the first.
Specify next volume #: 1

set owner/mode for '.'? [yn] y

ufsrestore> exit

Tape is solaris 9, sun OS 5.9. Both servers are blade 150s.

I'll check the tape. I may have another one laying around.

changed the -ivh switch to -ivf. works like a charm.