Full backup and Restore


 
Thread Tools Search this Thread
Operating Systems Solaris Full backup and Restore
# 8  
Old 12-29-2007
First : i'd like to thank every one for his care
second : forgive my language
i will list you all details to help me if you can as i hope :
as i told before that in my company i was responsible for installing NMS ( Network Management Station ) called Naviscore which needed to configure, monitor, and control a Lucent switch network so to build such station you need the following Software:

• Solaris 2.6 and Common Desktop Environment
• Sybase 11.9.2 SQL Server
• Open Client 11.1.1
• HP OpenView 5.01
• NavisCore 05

as you see that the system is too large and it takes too time to work . there is no problems till now but the problem located in what we built in such system simply we have 50 lucent device managed ,configured every thing you can imagine will be controlled via our Server also you can note from Software required >> sybase which mean that there exist huge data will be stored . simply all what others built through more than 8 years .

so there is a spare Machine which i use in my work and built a demo version of our work then backed up the full system ( with the same way the current server work ) and i'm trying to Restore it .
so we can rescue our current system easily and in fast way as possible we can .

i already tried the Restore command which is " ufsrestore xvf /dev/rmt/0n /opt " but i faced more errors as i don't know what he asked me for as example of errors messages :
read error while skipping over inode4 unless you know which volume your file are on you should start with the last volume and network to wards the first}.

If i but any number and press yes this last error is appear but if i press no and rewrites this command again this error is appear {media read error: I/O error}.


Thanks again waiting your replay
# 9  
Old 12-29-2007
If I understand properly, you want to clone an existing server to another one.
Is that spare machine the very same model as the first one ?
# 10  
Old 12-30-2007
let me clear things more i have already server running with the above mentioned SW . i backed up the system using ufsdump then i need to restore it using ufsrestore :
1- if it success and all system recovered again with all things as i hope it will be a great thing for me .
2- if it fails as not expected i need to know how to clone the server on external media then recover the system in case any disaster occur
# 11  
Old 12-30-2007
Quote:
Originally Posted by Basha
let me clear things more i have already server running with the above mentioned SW . i backed up the system using ufsdump then i need to restore it using ufsrestore :
1- if it success and all system recovered again with all things as i hope it will be a great thing for me .
As already stated, you backup is dubious. There is a risk for you to break your production platform by performing a restore from that media.
Quote:
2- if it fails as not expected i need to know how to clone the server on external media then recover the system in case any disaster occur
Then it would help if you answer my second question.
# 12  
Old 01-04-2008
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.

# 13  
Old 01-04-2008
Basha - that basic ufsdump/ufsrestore doesn't give you everything you may need for building out a naviscore server. Those are a very picky system to build out normally (requirement of Solaris 2.6, specific patches, Sybase, HP-OV (and it's patches)).

If you are doing mirroring with Disksuite (recommended), then you could drop side of a mirror and run your ufsdumps from it. This would give you a clean dump versus running it against a live system.

Also, I don't think you specified if you are looking at rebuilding the database server or the client(front-end) (I'm assuming you have separate servers for this) or both. As far as insuring you can recover a DB server, you should be dumping the database at the least, every hour.
# 14  
Old 01-07-2008
thanks a lot RTM i'm checking now and i will feed you sorry for late but i just come back
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Deja-dup make my / full. So I cannot restore my back up

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

2. AIX

Backup and restore question

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)
Discussion started by: landog
3 Replies

3. Red Hat

Backup / Restore

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)
Discussion started by: Duffs22
6 Replies

4. AIX

Backup and restore

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)
Discussion started by: polar
7 Replies

5. Emergency UNIX and Linux Support

DD command to backup and restore

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)
Discussion started by: flekzout
3 Replies

6. Solaris

Local Full Backup and Restore ZFS

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)
Discussion started by: tien86
5 Replies

7. HP-UX

F-Backup restore

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)
Discussion started by: paultittel
3 Replies

8. AIX

Backup and restore

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)
Discussion started by: uXion
3 Replies

9. Solaris

Backup / restore

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)
Discussion started by: tt155
4 Replies

10. UNIX for Dummies Questions & Answers

Full System Restore from 250 - V280R

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)
Discussion started by: mshafi
1 Replies
Login or Register to Ask a Question