ufsdump

Hi,

I want to how to take backup of File system From Disk to Disk using ufsdump?

Wheather we can take the backup of root file system from one disk to another if tape drive is not available? wheather it is reliable to restore root file system?

There are examples of this in the ufsdump man pages.

1first put to the first hard disk to dump and then the target disk
2boot on the hard disk to you want to dump
3 format and partition the the target hardisk partition size same as harddisc to dump
4enter this command

 ufsdump  0f  -  /             | \( cd /cop/0  ; ufsrestore -rf - \)
 ufsdump  0f  -  /export/home  | \( cd /cop/7  ; ufsrestore -rf - \)

this two command will dump the root and home partition

installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t3d0s0

this command install the bootblk to your target disk

c0t3d0s0 is the target disk

more detail command in man pages