The ufsdump command copies a file system or directory from a hard disk to a tape. It is specifically designed as a backup utility. It supports multiple volumes, and incremental backups. For more information about incremental dump levels and schedules, see the System Administration Guide.
All files must be part of one file system or one partition and you must be superuser.
Example:
The following example shows how to copy all files that are located on a disk drive in partition /dev/rdsk/c0t3d0s0 to a dump file (that represents the tape drive in this case) called /dev/rmt/1.
example# ufsdump 0ubf 96 /dev/rmt/1 /dev/rdsk/c0t1d0s0
The 0 (zero) option represents the dump level. A level 0 dump copies the entire file system to a dump file (tape drive). Valid integers are 0 through 9, where 1 through 9 perform various levels of incremental dumps and would only copy files that have changed from a certain time.
The u option updates the dump record by adding a time-stamped entry to the /etc/dumpdates file for each file system that is successfully copied.
The b option specifies the blocking factor that is used when the files are copied to the tape. The b option must be followed by a number (96 in this case) that represents your desired blocking factor. The default blocking factor varies depending on the type of tape drive that you use. If you don't know what blocking factor to use, do not specify one and the default value for your tape drive will work.
The f option specifies the dump file (logical device name of the tape drive). The f option must be followed by a file name, which is /dev/rmt/1 in this example.
/dev/rdsk/c0t1d0s0 is the name of the source that contains the files that you want to write to tape. In this example, all the files will be copied from the first partition (s0) of the second disk drive (t1).