[SunHELP] Backup the whole system disk
Will Mc Donald
sunhelp at sunhelp.org
Wed May 23 03:39:51 CDT 2001
The best backup method for the software RAID device depends on the sort of
RAID used and what's on that volume.
If it's just "normal" data (not a databse), and the metadevice is just a
mirror (or a striped mirror) then you can offline one half of the software
mirror, back that up then online it again and it will sync with the live
disk.
If the device is only striped then I'm not sure what you'd do, you would
probably have to take the machine into single user mode to back that up
safely.
And if there's a database on it, well I'll leave that one to the more
knowledgable. :)
Will.
----- Original Message -----
From: "Peter Stokes" <peter at ashlyn.co.uk>
To: <sunhelp at sunhelp.org>
Sent: Tuesday, May 22, 2001 9:26 AM
Subject: RE: [SunHELP] Backup the whole system disk
> Hi Hitoshi
>
> Never used it with disksuite, but in principle it should work assuming
that
> the partition appears to the os as a ufs partition.
>
> Peter
>
> -----Original Message-----
> From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
> Behalf Of Hitoshi TAKAHASHI
> Sent: 22 May 2001 08:49
> To: sunhelp at sunhelp.org
> Subject: Re: [SunHELP] Backup the whole system disk
>
>
> 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