ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How to Recover a Linux Server Using 1-Touch

How to Recover a Linux Server Using 1-Touch

原创 Linux操作系统 作者:lhl1212 时间:2011-01-28 23:03:53 0 删除 编辑

How to Recover a Linux Server Using 1-Touch

Published 12/10/2009 11:31 AM   |    Updated 12/10/2009 01:19 PM


This document will cover the process to recover a Linux server by using 1-TOUCH for Linux with CommVault Software Version 8.0.  This document should in no way be treated as the “End All” procedure.  It is merely provided as a template on how this process can be accomplished.


The client that will be recovered in this example is:


mysqllnx.commvault.net running Red Hat Enterprise Linux Server release 5.4 (Tikanga) i386


hplnx01.commvault.net 1-Touch Server where the boot.iso will be restore to

 

Resolution:

To recover a system using 1-Touch


Caveats


1-Touch for Linux cannot restore to a different computer whose hardware configuration is dissimilar to that of the original computer.  If you are restoring to a different computer that has the same hardware configuration as the original computer, you must manually configure the network interface card (NIC) when the computer comes up after the first reboot.  Once the NIC is configured, you should reboot to allow the second phase of the 1-Touch recovery to complete successfully.


1-Touch for AIX, 1-Touch for Linux, 1-Touch for Solaris, and 1-Touch for Windows do not support Single Sign On.  So please ensure that you have an account configured in you CommCell that does not use SSO

  1. In the CommCell Browser, right click on the backup set, which contains the 1-Touch Recovery enabled subclient, and select 1-Touch Recovery.


  1. This will bring up the submit 1-Touch Recovery Request and you need to select a backup job that is used to create the boot.iso to rebuild the operating system.  After picking a backup job click next.


  1. In the select Recovery jobs, select restore data from latest backup or restore data from backup that occurred before this date.  In this scenario we will restore data that was backed up before 10/08/2009 11:45 PM


  1. The following files reside on the client belonging to user01:


-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:44 file_001-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:44 file_002-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:44 file_003-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:44 file_004-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:44 file_005-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:45 file_006-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:45 file_007-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:45 file_008-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:45 file_009-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:45 file_010-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:21 file_001-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:21 file_002-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:21 file_003-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:21 file_004-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:21 file_005-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:22 file_006-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:22 file_007-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:22 file_008-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:22 file_009-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:22 file_010-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01  8388608 Oct  9 12:59 file_001-2009-10-09.dbf
-rw-rw-r-- 1 user01 user01  8388608 Oct  9 12:59 file_002-2009-10-09.dbf
-rw-rw-r-- 1 user01 user01  8388608 Oct  9 12:59 file_003-2009-10-09.dbf
-rw-rw-r-- 1 user01 user01  8388608 Oct  9 12:59 file_004-2009-10-09.dbf
-rw-rw-r-- 1 user01 user01  8388608 Oct  9 12:59 file_005-2009-10-09.dbf
-rw-rw-r-- 1 user01 user01  8388608 Oct  9 12:59 file_006-2009-10-09.dbf
-rw-rw-r-- 1 user01 user01  8388608 Oct  9 12:59 file_007-2009-10-09.dbf
-rw-rw-r-- 1 user01 user01  8388608 Oct  9 12:59 file_008-2009-10-09.dbf
-rw-rw-r-- 1 user01 user01  8388608 Oct  9 12:59 file_009-2009-10-09.dbf
-rw-rw-r-- 1 user01 user01  8388608 Oct  9 12:59 file_010-2009-10-09.dbf 

  1. Click on Finish to submit the 1-Rouch Recovery Request.


In the CommCell Console you will see a 1 Touch Restore job that will create the boot.iso on the 1-Touch server configured for this subclient.
 

  1. Burn the Linux boot CD using the bootable ISO image that was restored to the 1-Touch Server.  The boot.iso in this case is restored to:  /export/1touch/mysqllnx/bootcd.iso
     
  2.  Boot the client using the Linux boot CD.
     
  3. Decide whether you want to interactively administer disk and file system restores and therefore provide more flexibility for the recovery.  If so, type or accept the y default, press Enter and go to the next section in this procedure.  If not, type n, press Enter and exit this procedure.


For each of the following interactive tasks that you choose to complete, 1-Touch performs the task per the details saved during the 1-Touch backup. For each of the following tasks that you choose not to complete, an automated recovery of the affected component will occur.


Partition Disks

  1. If you want to partition specified disks, accept the y default, press Enter and go to the next step; if not, type n, press Enter and go to the next section in this procedure.
     
  2. The path for a disk is displayed.  If you want to partition this specific disk, accept the y default and press Enter; if not, type n and press Enter.  If you choose to partition the disk, the appropriate messages are displayed.
     
  3. Repeat the previous step for each disk until all disks are accounted for.  Then go to the next section in this procedure.


Restore Physical Volumes

  1. If you want to restore specified physical volumes, accept the y default, press Enter and go to the next step; if not, type n, press Enter and go to the next section in this procedure.  Note that the physical volumes on any disk that you chose not to partition in the previous section will not be eligible for restore.
     
  2. The path for a physical volume on a disk is displayed.  If you want to restore this physical volume, accept the y default and press Enter; if not, type n and press Enter.  If you choose to restore the physical volume, the appropriate messages are displayed.
     
  3. Repeat the previous step for each physical volume per disk until all the volumes are accounted for.  Then go to the next section in this procedure.


Restore Volume Groups

  1. If you want to restore specified volume groups, accept the y default, press Enter and go to the next step; if not, type n, press Enter and go to the next section in this procedure.
     
  2. A volume group is displayed.  If you want to restore this volume group, accept the y default and press Enter; if not, type n and press Enter.  If you choose to restore the volume group, the appropriate messages are displayed.
     
  3. Repeat the previous step for each physical volume group until all the volume groups are accounted for.  Then go to the next section in this procedure.


Restore File Systems

  1. If you want to restore file systems, accept the y default, press Enter and go to the next step; if not, type n, press Enter and exit this procedure.
     
  2. A file system is displayed.  To restore file systems interactively, you must restore at least the "/" file system as a matter of course.  Therefore, if the "/" file system is displayed, accept the y default and press Enter.  If another file system is displayed and you want to restore it, accept the y default and press Enter; if not, type n and press Enter.  If you choose to restore the file system, the appropriate messages are displayed.
     
  3. Repeat the previous step for each file system until all the file systems are accounted for.


Once you complete this procedure, the appropriate actions leading to a system reboot are completed.  Once the reboot takes place, the services should be up in the system, and the product software should start a full data command line restore.  Once this restore is completed, the system should be completely recovered.


Checking the files that have been restored for user01; 


-bash-3.2# ls -l /home/user01/ | sort
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:44 file_001-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:44 file_002-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:44 file_003-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:44 file_004-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:44 file_005-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:45 file_006-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:45 file_007-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:45 file_008-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:45 file_009-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 16777216 Oct  8 12:45 file_010-2009-10-08.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:21 file_001-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:21 file_002-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:21 file_003-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:21 file_004-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:21 file_005-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:22 file_006-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:22 file_007-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:22 file_008-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:22 file_009-2009-10-07.dbf
-rw-rw-r-- 1 user01 user01 25165824 Oct  7 17:22 file_010-2009-10-07.dbf
-rwxr-xr-x 1 user01 user01      730 Oct  8 12:49 create_files.sh 


Verifies that the data was restored to the correct point in time. 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/611609/viewspace-686475/,如需转载,请注明出处,否则将追究法律责任。

上一篇: informix on aix手册
请登录后发表评论 登录
全部评论

注册时间:2008-12-08

  • 博文量
    252
  • 访问量
    497705