The following example shows how to restore the /export/home file system.
# umount /export/home # newfs /dev/rdsk/c0t0d0s7 newfs: /dev/rdsk/c0t0d0s7 last mounted as /export/home newfs: construct a new file system /dev/rdsk/c0t0d0s7: (y/n)? y 819314 sectors in 867 cylinders of 15 tracks, 63 sectors 400.1MB in 55 cyl groups (16 c/g, 7.38MB/g, 3584 i/g) super-block backups (for fsck -F ufs -o b=#) at: 32, 15216, 30400, 45584, 60768, 75952, 91136, 106320, 121504, 136688, 681264, 696448, 711632, 725792, 740976, 756160, 771344, 786528, 801712, 816896, Verify volume and initialize maps Media block size is 126 Dump date: Tue Oct 07 08:41:41 2003 Dumped from: the epoch Level 0 dump of a partial file system on starbug:/export/home/kryten Label: none Begin level 0 restore Initialize symbol table. Extract directories from tape Calculate extraction list. Extract new leaves. Check pointing the restore extract file ./export/home/kryten/filea extract file ./export/home/kryten/fileb extract file ./export/home/kryten/filec extract file ./export/home/kryten/letters/letter1 extract file ./export/home/kryten/letters/letter2 extract file ./export/home/kryten/letters/letter3 extract file ./export/home/kryten/reports/reportA extract file ./export/home/kryten/reports/reportB extract file ./export/home/kryten/reports/reportC Add links Set directory mode, owner, and times. Check the symbol table. Check pointing the restore # mount /dev/dsk/c0t0d0s7 /mnt # cd /mnt # ufsrestore rvf /dev/rmt/0 # ls # rm restoresymtable # cd / # umount /mnt # ufsdump 0ucf /dev/rmt/0 /export/home . . . # mount /dev/dsk/c0t3d0s7 /export/home # ls /export/home |