Full System Backup on Solaris O/S

I make a reply on How-To-Do Full System Backup on ITTUTOR.NET forum. So for all sharing, i 'll post it here as a reference to others.

Let say our partition info is like this :

bash-2.05# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t3d0s2 - - swap - no -
/dev/dsk/c0t3d0s0 /dev/rdsk/c0t3d0s0 / ufs 1 no -
/dev/dsk/c0t4d0s0 /dev/rdsk/c0t4d0s0 /usr ufs 1 no -
/dev/dsk/c0t5d0s0 /dev/rdsk/c0t5d0s0 /var ufs 1 no -
/dev/dsk/c0t5d0s1 /dev/rdsk/c0t5d0s1 /export/home ufs 2 yes -
/dev/dsk/c0t3d0s1 /dev/rdsk/c0t3d0s1 /opt ufs 2 yes -
/dev/dsk/c0t4d0s1 /dev/rdsk/c0t4d0s1 /usr/openwin ufs 2 yes -
swap - /tmp tmpfs - yes -


In this case if you want to dump root (/) ufsdump process will only dump slice0 only (/dev/dsk/c0t3d0s0 ), because other directories is in different target,slice and controller number. So for a full system backup on Solaris we must dump slice per slice using the device path name or dump using the directory name:

# ufsdump 0ucf /dev/rmt/0 / or
# ufsdump 0ucf /dev/rmt/0 /dev/rdsk/c0t3d0s0

To see the history of dumping process:
#cat /etc/dumpdates

quotes: aqustica la biorastive


0 comments: