[SunHELP] Backup the whole system disk

Hitoshi TAKAHASHI sunhelp at sunhelp.org
Tue May 22 02:49:20 CDT 2001


Hi Peter-san,

Thank you for your advice !!
I'll try to preserve backup patitions (see below) on your advice. 

# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0    10697176  317638 10272567     3%    /
/dev/dsk/c0t0d0s6    2056211 1659502  335023    84%    /usr
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
/dev/dsk/c0t0d0s7    3099287  271374 2765928     9%    /export/home
swap                 1932552      80 1932472     1%    /tmp
/dev/dsk/c1t3d0s7    35153689 2508543 32293610     8%    /export/med/hd
/dev/md/dsk/d0       295399001 2526500 289918511     1%    /export/med/hd/0000
#

If you know about following, please give me an additinal advice.
Can I preserve the backup data of /dev/md/dsk/d0 using ufsdump ? 
/dev/md/dsk/d0 is SOFT RAID established by Solstice Disksuite 4.1.

Regard,

-Hitoshi-

>Hi
>
>Firstly use the mount or df command to establish which partitions you have
>mounted. Each one will be of the form /dev/dsk/cXtYdZsA. ignore /tmp.
>
>Then use ufsdump to dump each partition to tape eg ufsdump 0f /dev/rmt/0n
>/dev/dsk/cXtYdZsA for the first tape drive
>
>If using one tape remember to use the non rewind device entry /dev/rmt/0n
>and not the rewind device /dev/rmt/0 to store successive partitions.
>
>When you have put each partition to tape, it is a simple matter of using
>ufsrestore to restore the partition. The great thing about ufsdump is that
>it preserves all of the data including device nodes and saves only physical
>disk partitions not the whole logical tree. Great for moving/changing disks
>etc.
>
>I find it useful to also save away at the same time a copy of df -k to show
>what the parttion sizes are.
>
>Peter
>



More information about the SunHELP mailing list