Use Windows Server Backup to back up and restore Hyper-V virtual machines

Source: Internet
Author: User

Windows Server Backup is a feature built into Windows Server that uses Windows Server Backup to back up the entire server (all volumes), selected volumes, System State, or specific files or folders. And you can create a backup for bare metal recovery. You can recover volumes, folders, files, certain applications, and system state. In addition, you can perform a bare-metal recovery in the event of a disaster such as a hard disk failure. (To do this, you will need to back up the entire server or just the volume that contains the operating system files and the Windows recovery Environment, which restores the complete system to the old system or to the new hard disk.) You can use Windows Server Backup to create and manage backups of a local computer or a remote computer. You can also schedule a backup to run automatically. Windows Server Backup is for anyone who needs a basic backup solution, from small businesses to large enterprises, or even for small organizations or non-IT professionals.

In the latest Windows Server R2, the following features have been added and improved:

1. Backing up and restoring a single virtual machine from a Hyper-V host Server

2. Improvements to manage backup versions and backup retention

3. Can back up volumes larger than 2 TB with 4 K sectors

4. Support for Cluster shared volume (CSV) backups

5. Reporting System Status Components

In a Hyper-V server-based virtual machine environment, you can use Windows server backup in the same way that you use to provide backup and recovery services on a physical server. It can also be used for bare metal backup and recovery, System State backup and recovery, and file folder backup and recovery from Windows Azure virtual machines.

You need to install this feature before you use Windows Server Backup to back up Hyper-V Server and the virtual machines that are running on it.

1. Open Server Manager, click Roles and Features

2. Select the Features page and check install Windows Server Backup

650) this.width=650; "height=" 393 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/59/74/ Wkiol1ttbbdzj3q-aafr-czsjmm532.jpg "border=" 0 "/>

3. Follow the wizard prompts to wait for the installation to complete

650) this.width=650; "height=" 242 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/59/77/ Wkiom1ttbmsbomeoaacxdkahtvw542.jpg "border=" 0 "/>

4. Currently running a "bj-server-01" in the Hyper-V server

650) this.width=650; "height=" 423 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/59/74/ Wkiol1ttbbht9qccaafxotv133y415.jpg "border=" 0 "/>

5. Open Server Manager, click Functions, select Windows Server Backup, select Local backup

650) this.width=650; "height=" 348 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/59/77/ Wkiom1ttbmasjgb9aadzkv5aqzy668.jpg "border=" 0 "/>

6. Click "One-time backup" in the action on the right to start the Backup wizard

650) this.width=650; "height=" 301 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/59/77/ Wkiom1ttbmbbngxqaacwwd6k1us931.jpg "border=" 0 "/>

7. Backup Options page, because I chose to use a one-time backup, so here to use other options

650) this.width=650; "height=" 326 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/59/77/ Wkiom1ttbmaw0qzoaadwlayqrp4580.jpg "border=" 0 "/>

8. Select the Backup Configuration page, Microsoft provides "entire server (recommended)" and "Custom". If you choose to back up the entire server, WSB will back up all of the data on the computer, including the system state, application state, Hyper-V, and all of the above virtual machines and related profiles, and we recommend that you use this option to back up the entire server the first time you use WSB. In this experiment, you use a custom option to back up a virtual machine in Hyper-V.

650) this.width=650; "height=" 278 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/59/74/ Wkiol1ttbboxkyupaadc0x-0ol8217.jpg "border=" 0 "/>

9. Select the item to be backed up page, select Add Item

650) this.width=650; "height=" 499 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/59/74/ Wkiol1ttbbowd7moaaewchpmd6y475.jpg "border=" 0 "/>

10. Select the items page to find the virtual machines that need to be backed up bj-server-01

650) this.width=650; "height=" 454 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/59/77/ Wkiom1ttbmfthniqaagudenlr50057.jpg "border=" 0 "/>

11. Click OK, click Advanced Settings

12. Click VSS Settings, select VSS Full backup

650) this.width=650; "height=" 259 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/59/77/ Wkiom1ttbmezw-8xaaetuzs2mqk089.jpg "border=" 0 "/>

13. Specify the target Type page, specifying the type of storage to select for the backup. You can select a local drive or a remote shared folder. We recommend that you use dedicated storage to store the backed up data

650) this.width=650; "height=" 273 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/59/77/ Wkiom1ttbmndinpvaadocgdy6rs822.jpg "border=" 0 "/>

14. Because it is an experimental environment, select Backup to local drive

650) this.width=650; "height=" 275 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/59/77/wKiom1TTbMnz_ 6sqaadu7le3yds285.jpg "border=" 0 "/>

15. Confirm the page, confirm all the information, click Backup, start to perform backup

650) this.width=650; "height=" 291 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/59/74/ Wkiol1ttbbbsttceaadkxmorrq8448.jpg "border=" 0 "/>

16. Wait for backup to complete

650) this.width=650; "height=" 403 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/59/77/ Wkiom1ttbmqqc7k7aaeblmtubma483.jpg "border=" 0 "/>

17. Return to the WSB main interface, at which time you can see the backup to perform the completion

650) this.width=650; "height=" 361 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/59/77/ Wkiom1ttbmvize4baaed6cqf6qw880.jpg "border=" 0 "/>

18. Before restoring a virtual machine, you need to shut down the virtual machine. If the virtual machine is in a running state, you can only create a copy of the new virtual machine.

19. On the right side of the action page, select "Recover"

650) this.width=650; "height=" 312 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/59/77/ Wkiom1ttbmuiuaz4aacnpumvri8280.jpg "border=" 0 "/>

20. Start Page, select where to store the backup to be used for recovery, select Local server here

650) this.width=650; "height=" "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/59/77/wKiom1TTbMvi_ B8faacy3qi6jqq102.jpg "border=" 0 "/>

21. Select the backup date. "Recovery" defaults to the time of the last backup as a reply point, and if you have previously performed multiple backups in WSB, all available backup points will be displayed for recovery in "time"

650) this.width=650; "height=" 485 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/59/77/ Wkiom1ttbmyaofofaafbzfohlxa662.jpg "border=" 0 "/>

22. Select the Reply Type page, specify what you want to restore, select files and folders here

650) this.width=650; "height=" 346 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/59/74/wKioL1TTbbmx8_ 9paadjtrzmgd0463.jpg "border=" 0 "/>

23. Select the project you want to restore, and select the previously backed up virtual machine bj-server-01

650) this.width=650; "height=" 486 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/59/74/ Wkiol1ttbbrhkzqjaafamqejyxg664.jpg "border=" 0 "/>

24. Specify the Recovery Options page to specify the recovery target. You can choose to revert to the original location or to another location. When this wizard discovers that some of the items you want to back up are already in the recovery destination, you can choose:

1, create a copy, while retaining two versions;

2. Overwrite the existing version with the version you want to restore

3. Do not restore items that already exist on the recovery target

Security Settings page, you can choose whether to restore access control List (ACL) permissions for the files or folders that are being recovered. Here you choose to overwrite the existing version with the version you want to restore

650) this.width=650; "height=" 486 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/59/74/ Wkiol1ttbbqjri0caafa_hmgsm0338.jpg "border=" 0 "/>

25. Confirm the page, confirm all the Recovery Settings page is correct, click Restore, wait for the recovery to complete

650) this.width=650; "height=" 486 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/59/74/ Wkiol1ttbbvt4c6baaep50f9i_a479.jpg "border=" 0 "/>

650) this.width=650; "height=" 386 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/59/77/ Wkiom1ttbm-cjabpaae_vtvecpc061.jpg "border=" 0 "/>

26. Return to WSB main interface, at which time the file recovery is complete, but there are some warnings, if there is similar information in the production environment, you need to resolve it

650) this.width=650; "height=" 354 "title=" image "style=" margin:0px;border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/59/74/wKioL1TTbbyCR_ 7gaaeu0tgt3oy956.jpg "border=" 0 "/>

Use Windows Server Backup to back up and restore Hyper-V virtual machines

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.