Solved

disaster recovery

Posted on 2001-09-05
6
594 Views
Last Modified: 2010-04-22
In Windows platform e.g. win2000 server, NT server many backup software e.g. arcserve has option to provide disaster backup and recovery but how about how to do disaster backup and recovery on unix system e.g. Linux, Sun Solaris

I found most backup software running on windows platform just able to backup user data remotely from a unix machine
but lack of disaster backup
0
Comment
Question by:adrianmak
6 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 6456214
In UNIX we can write scripts to do the Full system backup (to tape or other harddisk), if something happen, we restore from the backup. All the UNIX systems administrator should know how to do it.

0
 
LVL 40

Accepted Solution

by:
jlevie earned 30 total points
ID: 6456985
yuzh is quite correct. Disaster recovery planning for a Unix box means having good backups, made with dump or cpio... not tar, and in knowing how to boot your Unix from alternate media, partition a disk and make file systems, and how to make the result (after re-loading from backup) bootable. Each Unix has a silghtly different method of accomplishing that task and you'd be well advised to investigate the processes for your variant and to try it on some other machine before disaster strikes. If I knew what Unix you are using I mght be able to give more of a step-by-step procedure.
0
 

Author Comment

by:adrianmak
ID: 6457105
yuzh, could you please sat more on this becuase I am a junior unix administrator
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 38

Expert Comment

by:yuzh
ID: 6459315
Hi  adrianmak,

    As you are using Solaris UNIX. I give you an Solaris example. In Solaris you can use ufsdump and ufsretore to do your Full systems backup and restore. (I assum that you are using Sun box, not Intel PC).

    After you install and configured a Solaris server, you should do a Full systems backup, use ufsdump to dump all partions one by one to a tape, or if you have an identical HD, install it to the machine, and use "dd" command to clone disk.  you should also do regular backup for the operational data, in this case, you can use ufsdump, cpio, or tar to do it,
you can write a script for this backup. (Note: the cpio command can be used for Full System backup). If you are use tape drive as yout backup media, you need to remember the format of the backup so  you can use the RIGHT commant to restore it from backup. eg:

         backup command                    restore
=========================================================
       ufsdump                                  ufsrestore
       cpio                                        cpio
       tar                                           tar
     
     Please use man to find out the usage of the abovt commands, man is our good friend.

     In case you need to do full systems restore, you need to boot up the systems in single user modem from CDROM, or a boot server, this depents on your network setup.  After you boot up the system, you can then restore you system from tape to the hd partions one by one. then use:
     installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk \
           /dev/rdsk/c0t0d0s0
     to make the HD bootable.

     Please read you manual to find all the details.

     Soemtime you have only one tape drive install on your backup server, in this case you need to set it to remote access to the tape drive.

     I hope that this information can help.



     

   

   
0
 

Author Comment

by:adrianmak
ID: 6459482
quite complicated
0
 
LVL 3

Expert Comment

by:mrn060900
ID: 6460282
First, get hold of a copy of the O'Reilly book Unix Backup & recovery ISBN 1-56592-642-0

then have a look at http://www.backupcentral.com

I would recommend Amanda backup, if you've got time to set it up.

otherwise it's a case of writting your own scripts using vendor specific tools E.G

Tru64 vdump
AIX mksysb

The list is endless.

Regards mike
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now