Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
Can anybody tell me how to take the backup of a Solaris machine and restore it on another Solaris machine without
re-installing the OS. Commands for doing the same will be appreciated.Thanks,
Anurag Tangri

Here it goes
edit the /etc/vfstab file and not all partitions to backup. The ones that start with /dev/rdsk...
For each partion do a
ufsdump 0ufc /dev/rmt/0un /dev/rdsk...
Each time you run the ufsdump the next partition is appended to the tape so you will have partition 1,2,3 ... on the tapeNote: /dev/rmt/oun is your tape drive
0ufc is for a full backupThis shoould put everything on the tape.
To restore it do a
cd /partition_to_restore
ufsrestore rvfs /dev/rmt/0 <number>
<number> is the partition number mentionned above "1,2,3.."
Do this for all partitionsIf you need to do a restore of / because it it broken the do the following
Boot from the cdrom (boot cdrom)
newfs /dev/rdsk/c0t0d0s0 (root partion)
fsck /dev/rdsk/c0t0d0s0
mount /dev/dsk/c0t0d0s0 /a
cd /a
ufsrestore rvfs /dev/rmt/0 <number>
<number> is the location of / on the tape)
rm restoresymtableType uname -i copy the result of this command in the XXXX bellow.
cd /usr/platform/XXXX/lib/fs/ufs
installboot bootblk /dev/rdsk/c0t0d0s0
cd /
umount /a
fsck /dev/rdsk/c0t0d0s0
init 6 or reboot
HOPE this helps let me know how it goes

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |