The following example shows a full backup of the root (/) file system to a QIC-150 tape (/dev/rmt/0).
# shutdown -g30 -y # ufsdump 0ucf /dev/rmt/0 / DUMP: Writing 63 Kilobyte records DUMP: Date of this level 0 dump: Tue Jun 09 10:14:54 1998 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c0t3d0s0 (pluto:/) to /dev/rmt/0. DUMP: Mapping (Pass I) [regular files] DUMP: Mapping (Pass II) [directories] DUMP: Estimated 73708 blocks (35.99MB). DUMP: Dumping (Pass III) [directories] DUMP: Dumping (Pass IV) [regular files] DUMP: Tape rewinding DUMP: 73582 blocks (35.93MB) on 1 volume at 100 KB/sec DUMP: DUMP IS DONE DUMP: Level 0 dump on Tue Jun 09 10:14:54 1998 # ufsrestore tf /dev/rmt/0 2 . 3 ./lost+found 5696 ./usr 11392 ./export 17088 ./export/home 22784 ./export/root 28480 ./export/swap 34176 ./opt 39872 ./var 45568 ./var/sadm 51264 ./var/sadm/install 56960 ./var/sadm/install/admin 57011 ./var/sadm/install/admin/default . . . # (Press Control-d to bring system to run level 3) |