Basha, here is an example of the process of doing a ufsdump/ufsrestore -
Code:
Making the backup...
* Find a tape and load it into your tape device. The tape device in
this exmaple is /dev/rmt/0
* You may want to bring the system down to single user to make the
system as quiet as possible.
* Keep a record of how the partitions are set up by going into format
and copying the table to a flat file or printing it out. Just put it
somewhere that you can have access to it in the event that the disk's
partitions are totally lost. Below is an example of what you want to
record. To get to this information just su to root, type format, then pick
the disk you're backup up, then type in partition, then print.
* For even more record keeping grab the /etc/vfstab file and do a df -k
to confirm what slices are being used for what. Either print this or keep it
in a file somewhere accessible for when the server in question is not
available.
o Backup each of your separate file systems. In this case we have
/var, /usr, /opt and /. Remember or write down the order in which you do
each backup.
o ufsdump 0uf /dev/rmt/0n /
o ufsdump 0uf /dev/rmt/0n /var
o ufsdump 0uf /dev/rmt/0n /opt
o ufsdump 0uf /dev/rmt/0 /usr
o That is the extent of ufsdump. After this you will have a good
backup, so keep that tape handy.
==============================================
To do the restore ...
o Get the server in question to the OK prompt
o boot cdrom -sw ( s means single user, w means no windows )
o format ... to see if partition table is the same as it used to be.
If not, re-partition.
o Time to build a new file system on each of the partitions that need it.
o newfs /dev/rdsk/c0t0d0s0
o newfs /dev/rdsk/c0t0d0s3
o newfs /dev/rdsk/c0t0d0s4
o newfs /dev/rdsk/c0t0d0s5
o Do a files check on each of the new file systems.
o fsck /dev/dsk/c0t0d0s0
o fsck /dev/dsk/c0t0d0s3
o fsck /dev/dsk/c0t0d0s4
o fsck /dev/dsk/c0t0d0s5
o Do the actual restore, restoring one file system at a time. Make
sure you remember which backup is for which partition. For instance, if
the first file system you backed up was / , then remember to restore the
first backup to the appropriate slice. See below.
o mount /dev/dsk/c0t0d0s0 /a
o cd /a
o ufsrestore rfsvy /dev/rmt/0 1
o cd /
o umount /a
o mount /dev/dsk/c0t0d0s3 /a
o cd /a
o ufsrestore rfsvy /dev/rmt/0 2
o cd /
o umount /a
o mount /dev/dsk/c0t0d0s4 /a
o cd /a
o ufsrestore rfsvy /dev/rmt/0 3
o cd /
o umount /a
o mount /dev/dsk/c0t0d0s5 /a
o cd /a
o ufsrestore rfsvy /dev/rmt/0 4
o cd /
o umount /a
o Install the boot block.
o cd /usr/platform/sun4u/lib/fs/ufs
o installboot ./bootblk /dev/rdsk/c0t0d0s0
o The restore is now finished. If this is a test to restore a server
that is still working, you would need to change the IP of this 'test' server
or disconnect the network cable. Reboot the server and it should come
up.
Hello,
Here is what I am trying to do.
We have an old Enterprise 250 which we want to phase out. So plan is to move everything running on the 250 to an unused Sun Fire V280R.
Here is what I decided to do:
1. Fresh Solaris 8 install on Sun 280R (disk0). Configure network and install... (1 Reply)
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... (4 Replies)
I have several H80 machines, all with AIX 4.3.3. On these machines I have mksysb running for rootvg backups and savevg for non-rootvg backups.
I'm trying to get a list of files on the tapes, but I can't seem to do it with tar for the mksysb images. I keep getting the directory checksum errors?... (3 Replies)
Hello!
i have a blank harddrive and a complete tape backup of the workstation.
the backup is made with F-Backup.
Now my question is:
how can i restore my workstation?
thanks for every idea!
paul tittel
hup-si (3 Replies)
Hi men,
I'm testing for my backup&restore job with ZFS.
My server have two disks. I wanna do backup&restore job like ufsdump utility:
Disk0 is rpool(root zpool) and disk1 (backup zpool) will be stored full backup replicates. When rpool zpool have problem, i can "boot cdrom -s" and use my... (5 Replies)
Hi,
Currently I have 2 servers. 1 is already installed with RHEL4(withmyapplications) and the other one is still brand new.
My question is, is it possible to use DD command to backup the whole harddrive for the RHEL4 server and restore it to the new brand server so that I do not have to... (3 Replies)
Hi experts, i got a question.
i have a production server with two Volume Group(VG) which are rootvg and datavg. Both of these VGs are 256 PP SIZE.
On Disaster Recovery Server (DR server) contains two empty hardisks for restoring rootvg and datavg from production server. This two hardisks are... (7 Replies)
Hi,
I need to back up a RH file system (96G).
The files are oracle .dbf format some of which are 5G in size.
I know that tar has got a size restriction of 2G so I cannot use this.
Can anyone recommend an alternative way of backuping up this FS?
I have been looking at dump but this... (6 Replies)
I run a backup sucessfully:
find . | backup -ivqf/dev/rmt0
I want to make sure I can restore, so I change to a test directory and try this:
restore -rvqf /dev/rmt0
However, we fail with this error:
New volume on /dev/rmt0:
Cluster size is 51200 bytes (100 blocks).
The volume number is... (3 Replies)
The problematic directory is the following:
/root/.cache/deja-dup
This directory grows until my "/" is full and then the restoring activity fails.
I already tried to create a symbolic link with origin another partition where I have more space. However during the restoring activity ... (4 Replies)
Discussion started by: puertas12
4 Replies
LEARN ABOUT MOJAVE
install-solaris
install-solaris(1M)install-solaris(1M)NAME
install-solaris - install the Solaris operating system
SYNOPSIS
install-solaris
install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation,
install-solaris invokes either a text-based installer or a graphical installer.
The following minimum requirements for physical memory dictate which features are available during installation:
For SPARC machines:
128 MB
Minimum physical memory for all installation types
128 MB
Minimum physical memory required for windowing system
384 MB
Minimum physical memory required for graphical-based installation
For x86 machines:
256 MB
Minimum physical memory for all installation types
256 MB
Minimum physical memory required for windowing system
512 MB
Minimum physical memory required for graphical-based installation
In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea-
tures available.
install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more
details.
install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the
installation media. Refer to the for disk space requirements.
Refer to the for more information on the various menus and selections.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
pkginfo(1), install(1M), pkgadd(1M), attributes(5)
It is advisable to exit install-solaris by means of the exit options in the install-solaris menus.
23 Sep 2005 install-solaris(1M)