Hi.... everyone could help me to understand how to do a backup of my servers .. operating systems is sun solaris 8 .
I have some question about ....
1) Is better backup phisical disk or partition ???
i sow the command is ufsdump 0cfu /expbck/bcksunver/c0t0d0s5 dev/dsk/c0t0d0s5 to backup single partition is correct ?
2) How i can determinate the logical partition on the disk which is the command to display it ?
3) if i have problem with the disk how i can restore the backup of the partition or of the phisical disk ?
There is no such thing as a logical and physical partitions in Solaris. I think you may mean partitions and volumes. In that case, remember that volume management systems store volume/disk group specific data in private regions of the disk and spreads copies of it accross disks for redundancy. It is important to backup your volume configuration data and your system/applicaiton data. If you are not runing a volume manager then you can just rely on ufsdump.
If you lose your vol config data (pretty hard since it is spread across multiple disks), you will not be able to recreate your volumes on a replacement disk and you will have to recite thrm from memory.
Question 2: Commands differ with different vol managers VXvm uses vxprint Disk Suite uses metastat.