• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 610
  • Last Modified:

disaster recovery

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
1 Solution
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.

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.
adrianmakAuthor Commented:
yuzh, could you please sat more on this becuase I am a junior unix administrator
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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 \
     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.



adrianmakAuthor Commented:
quite complicated
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now