Bare metal Backup Recovery in windows

Source: Internet
Author: User
Tags apc

Preface:

It has been four months since I did not write a pen. I am so ashamed to say that some people have BS today. Well, I will try my best to share some cases! I hope you can learn and make progress together!

In addition to being conscientious, careful, and responsible during O & M, I think we always have problems or other unavoidable accidents. At this time, what tests us is the response time, every enterprise requires different requirements at this time, but for us, we all need to restore services as soon as possible. This is our mission and a fast response mechanism, I believe everyone will have their own mechanisms. If you want to, please share them!

I believe that you have some understanding and familiarity with SSR. Here we will not share the case as the main character. Of course, we will share a symantec BE case later, this time, we mainly consider using the backup tool that comes with Microsoft. Some people may not agree with it. What features does Microsoft bring with it? To be honest, the ntbackup in the 2003 era is not Microsoft's own tool, he is a tool developed by symantec to help Microsoft. In the Microsoft system, another tool is not developed by Microsoft, that is, power management.) ntbackup is developed by Veritas!

650) this. width = 650; "title =" clip_image001 [4] "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image001 [4] "src =" http://www.bkjia.com/uploads/allimg/131227/1R93514J-0.png "height =" 255 "/>

Power Management is developed by APC, and we believe that UPS users will not be unfamiliar with APC.

650) this. width = 650; "title =" clip_image002 [4] "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image002 [4] "src =" http://www.bkjia.com/uploads/allimg/131227/1R9356352-1.png "height =" 439 "/>

However, after 2008, Microsoft developed its own backup and recovery tool, namely windows server backup. In 2008, the feature is indeed very weak, but it has been enhanced by 08R2, in terms of practicality, it can indeed be compared with some SSR. This time we will introduce the use of WSB to quickly respond to our services!

Topology:

650) this. width = 650; "title =" clip_image004 [4] "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image004 [4] "src =" http://www.bkjia.com/uploads/allimg/131227/1R9352157-2.jpg "height =" 375 "/>

Process description:

1. Install the Active Directory

2. Install WSB for the File server

3. Create a backup shared folder on 2012dc and grant the modification permission

4. Back up data on the File server and put the backup in the shared folder.

V. Restoration mode of the computer when the CD is started


Scenario Description:

File has been added to the contoso domain, and the role that provides the File service, we have backed up WSB while providing the service normally, and properly conducted the recovery test to confirm that the backup is correct, then, due to the irresistible reason, the server was stolen, and the company immediately replaced the servers of other brands. Due to the different hardware, the O & M personnel were troubled, ghost alone cannot be used to restore different hardware. authorization is required to use SSR, so he thought of WSB and prepared to use WSB to prepare a path for himself!

The system version used this time is windows server 2012, and the operation of 08R2 is the same as that of 2012.

Setup

1. Create a contoso.com domain, upgrade the 2012dc server to control the domain, and add the file to the domain as a member server to provide the file service process)

2. log on to the File server, open the Server Manager, select Add role and function, and select our WSB,

650) this. width = 650; "title =" clip_image006 [4] "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image006 [4] "src =" http://www.bkjia.com/uploads/allimg/131227/1R9353E2-3.jpg "height =" 366 "/>

3. Click Next until the installation is complete.

650) this. width = 650; "title =" clip_image008 [4] "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image008 [4] "src =" http://www.bkjia.com/uploads/allimg/131227/1R9352343-4.jpg "height =" 397 "/>

4. After the installation is complete, log on to the 2012dc domain controller, create a new hidden Shared Folder system on disk D, and share the permissions granted to everyone for modification, this is mainly used to store the data backed up by other servers, so that we can quickly respond when recovering!

650) this. width = 650; "title =" clip_image010 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image010 "src =" http://www.bkjia.com/uploads/allimg/131227/1R93521N-5.jpg "height =" 407 "/>

5. log on to the File Server, Open Windows Server Backup, and select one-time Backup. Of course, you can schedule the task)

650) this. width = 650; "title =" clip_image012 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image012 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9352104-6.jpg "height =" 176 "/>

6. Use the following method to create a backup: other options

650) this. width = 650; "title =" clip_image014 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image014 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9354960-7.jpg "height =" 458 "/>

7. What type of configuration should be scheduled: custom

650) this. width = 650; "title =" clip_image016 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image016 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9354125-8.jpg "height =" 453 "/>

8. Select the project to be backed up and click Add project. In the displayed dialog box, after bare metal recovery is selected, the system status, system retained, and local disk C are automatically selected) that is to say, four

Bare metal recovery: A backup interface for bare metal recovery

System status: including Boot Files, COM + Class Registration Database, Redistry, etc. If it is a domain control, it will also contain sysvol, AD Database, etc.

System reservation: This is the MB space that we will retain when installing the system.

Local disk C: No need to explain this.

650) this. width = 650; "title =" clip_image018 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image018 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9355G8-9.jpg "height =" 304 "/>

9. Click Next after confirmation.

650) this. width = 650; "title =" clip_image020 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image020 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9356360-10.jpg "height =" 451 "/>

10. Select the storage type for the backup: Remote shared folder

650) this. width = 650; "title =" clip_image022 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image022 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9354B1-11.jpg "height =" 460 "/>

11. Specify the sharing location, specify the UNC path of the shared folder on 2012dc, and set the access control ACL. This can be inherited.

650) this. width = 650; "title =" clip_image024 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image024 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9352437-12.jpg "height =" 457 "/>

12. The system starts backing up. Let's have a cup of coffee and wait until the backup is complete!

650) this. width = 650; "title =" clip_image026 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image026 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9355G5-13.jpg "height =" 462 "/>

13. After the backup is complete, we will see the backup in the shared folder. We find that the backup file ends with VHD and is made by Microsoft. We believe that we all know the advantages of backing up to VHD format, you can directly load and read the data in the VM!

650) this. width = 650; "title =" clip_image028 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image028 "src =" http://www.bkjia.com/uploads/allimg/131227/1R935D42-14.jpg "height =" 373 "/>

14. The backup operation has been completed. Next we will create a new virtual machine to simulate the loss of the original server. We will put the boot CD of windows server 2012, which is the same as the CD of the SSR .)

650) this. width = 650; "title =" clip_image030 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image030 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9355514-15.jpg "height =" 484 "/>

15. Windows Installer, next step

650) this. width = 650; "title =" clip_image032 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image032 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9354258-16.jpg "height =" 471 "/>

16. Here, we do not choose to install it now, but to repair the computer. This is a feature unique to the boot disc and is not available in other PES!

650) this. width = 650; "title =" clip_image034 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image034 "src =" http://www.bkjia.com/uploads/allimg/131227/1R93534V-17.jpg "height =" 414 "/>

17. Select recover or initialize the computer.

650) this. width = 650; "title =" clip_image036 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image036 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9353B8-18.jpg "height =" 351 "/>

18. Advanced options: Use a dedicated system image file to restore Windows

650) this. width = 650; "title =" clip_image038 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image038 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9355427-19.jpg "height =" 312 "/>

19. Select the target operating system: Windows Server 2012

650) this. width = 650; "title =" clip_image040 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image040 "src =" http://www.bkjia.com/uploads/allimg/131227/1R935M52-20.jpg "height =" 279 "/>

20. We will be prompted that we cannot find the system image on this computer. This is for sure, because we have taken another server for recovery, a brand new hard disk! Cancel

650) this. width = 650; "title =" clip_image041 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image041 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9355539-21.jpg "height =" 452 "/>

21. Select the backup location of the computer you want to restore. We cannot find the backup location here, because our recovery file is in the remote shared file. Select advanced for all files, and then search for the system image on the network.

650) this. width = 650; "title =" clip_image043 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image043 "src =" http://www.bkjia.com/uploads/allimg/131227/1R935Mb-22.jpg "height =" 428 "/>

22. Are you sure you want to connect to the network? Here we need to explain that it is best to have DHCP in the environment. It will automatically enable network support and obtain IP addresses, so that we can enable the network and search for images, of course, if there is no DHCP and it is not easy to install, you can also manually configure it. We press Shift + F10 on this interface and a cmd will pop up, we can use netsh in cmd to specify the IP address,

650) this. width = 650; "title =" clip_image045 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image045 "src =" http://www.bkjia.com/uploads/allimg/131227/1R935E10-23.jpg "height =" 422 "/>

23. After the network is enabled and the ip address is obtained, enter the original backup directory in the system image location.

650) this. width = 650; "title =" clip_image047 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image047 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9351319-24.jpg "height =" 464 "/>

24. In the pop-up window, enter the authorized domain account and password:

650) this. width = 650; "title =" clip_image049 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image049 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9356160-25.jpg "height =" 426 "/>

25. After the authentication is passed, an existing system image is displayed.

650) this. width = 650; "title =" clip_image050 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image050 "src =" http://www.bkjia.com/uploads/allimg/131227/1R935LR-26.jpg "height =" 446 "/>

26. After selecting the backup image, the next step will show you the number of backups in the image. If you have made a task plan, the images at many time points will be displayed here, you only need to select a time point for recovery. Here we have a backup, so there is only one recovery point!

650) this. width = 650; "title =" clip_image051 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image051 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9355630-27.jpg "height =" 450 "/>

27. Select the Restore Mode. If the default mode is used, the system will automatically match the partitions and other settings before the backup. If the disk is a brand new hard disk, you can choose to format and repartition the disk, if data on an existing disk is only restored to the system, do not select this option. If the hard disk cannot be identified, install the driver here.

650) this. width = 650; "title =" clip_image053 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image053 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9351c9-28.jpg "height =" 425 "/>

28. A message is displayed, indicating that the computer will be restored from the following system image. Click Finish after confirmation.

650) this. width = 650; "title =" clip_image055 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image055 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9352E6-29.jpg "height =" 428 "/>

29, prompting that all data on the drive to be restored will be replaced with the data in the system image

650) this. width = 650; "title =" clip_image056 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; margin: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image056 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9355V0-30.jpg "height =" 447 "/>

30. Restoration usually takes some time. The length depends on the backup data size, server performance, and network bandwidth!

650) this. width = 650; "title =" clip_image057 "style =" border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; border-left: 0px; padding-top: 0px; padding-left: 0px; padding-right: 0px; "border =" 0 "alt =" clip_image057 "src =" http://www.bkjia.com/uploads/allimg/131227/1R9352008-31.jpg "height =" 244 "/>

Summary:

In WSB, this feature is a highlight. in enterprises, we can obtain the maximum amount of results with a minimum investment. Of course, WSB also has shortcomings in other third-party solutions. We will make a comparison later, we will not discuss it this time!

For O & M, we all need to strategize and develop a sound backup and recovery mechanism for our IT structure. when the budget is high, there will be a case with a high budget, there are few or fewer solutions, but we cannot leave such a mechanism out of budget. Our value lies in the ability to maximize performance when resources are sufficient, it is also because we can ensure a minimum recovery mechanism when there is no resource!

Appendix:

Some may ask why bare metal recovery should be selected for the backup type, so simply selecting disk C as the backup cannot be restored to other servers?

In fact, the backup of disk C does not mean that it cannot be restored to other servers, but we all know that the system is running during Backup, when you back up the C drive, some files are being occupied and you are not allowed to lock it and stop the backup. However, bare metal backup is different. After the bare metal is restored, the background will use a shadow copy for backup. Some files in use will be copied for backup to ensure the integrity of the backup, therefore, we can consider bare metal recovery as an interface for providing complete backup!

IT dream --- you --- I --- he

Wednesday, May 8, 2013

This article from "IT ---- you --- I --- he ---" blog, please be sure to keep this source http://itmydream.blog.51cto.com/961933/1195859

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.