Windows Server 2008 Offline System Recovery Using Windows Technical Notes Server Backup with Avamar
Total Page:16
File Type:pdf, Size:1020Kb
WINDOWS SERVER 2008 OFFLINE SYSTEM RECOVERY USING WINDOWS TECHNICAL NOTES SERVER BACKUP WITH AVAMAR AVAMAR 5.0 TECHNICAL NOTE P/N 300-010-190 REV A01 Table of Contents Overview. 2 Installing Windows Server Backup . 3 Creating a Windows Server Backup image for system disaster recovery.4 Backup image files produced by Windows Server Backup . 6 Backing up the WSB image to an Avamar Server . 7 System recovery for Windows 2008 from a WSB backup . 17 1 Overview Overview This document describes how to use EMC® Avamar® in combination with Microsoft® Windows® Server Backup (WSB) to perform backup and offline disaster recovery of Windows Server 2008 operating systems. This document includes the following procedures to be done in preparation for the event of a disaster: • Installing of the Windows Server Backup (WSB) feature. • Creating a backup image of WSB for system disaster recovery on Windows Server 2008. • Backing up of the WSB image to an Avamar server through the Avamar client for Windows File System Plug-In. Additionally, this document includes the following procedures in the event that a disaster has occurred: • Using Avamar to recover this WSB image to a staging area on a network share. • Recovering the new machine by booting via a Windows Server 2008 bootable DVD which is then configured to install the OS from the WSB backup image. NOTE: Windows Server 2008 R2 is not supported. WINDOWS SERVER 2008 OFFLINE SYSTEM RECOVERY USING WINDOWS SERVER BACKUP WITH AVAMAR TECHNICAL NOTE 2 Installing Windows Server Backup Installing Windows Server Backup Windows Server Backup is not a part of the default Windows operating system installation and must be installed as an optional feature. This can be done through the command line or the Windows Server Manager. Installing Windows Server Backup from command line To install Windows Server Backup from the command line: 1. Log in to the Windows 2008 server as an account with Administrators group privileges. 2. Click Start > Programs > Accessories, right-click Command Prompt, and then click Run as Administrator. 3. At the command prompt, type the following command: servermanagercmd -install Backup-Features Installing Windows Server Backup using the Windows Server Manager To install Windows Server Backup using the Windows Server Manager: 1. Log in to the Windows 2008 server as an account with Administrators group privileges. 2. Select Start > Programs > Server Manager, or right-click My Computer on the Desktop and select Manage. 3. Click Features in the left navigation pane. 4. If WSB is not listed in the Features Summary window, select Add Features. The Add Features Wizard displays. 5. In the Select Features window, select Windows Server Backup Features. Click Next. 6. Click Install. Close the window when the installation completes. WINDOWS SERVER 2008 OFFLINE SYSTEM RECOVERY USING WINDOWS SERVER BACKUP WITH AVAMAR TECHNICAL NOTE 3 Creating a Windows Server Backup image for system disaster recovery Creating a Windows Server Backup image for system disaster recovery A backup image for system disaster recovery can be created through the WSB command line tool wbadmin.exe or the WSB wizard. Creating a Windows Server Backup image from the command line You can create a backup image from the command prompt using either a local drive or a UNC format remote drive. In both cases, the volume must have enough disk space for the sum of all the space used on the critical volumes. If a remote drive is used, you must supply the username and password at the command line. Creating a backup image on a local drive from the command line To create a backup image from the command line, type the following command: wbadmin start backup -backupTarget:<drive letter> -allCritical -quiet For example: wbadmin start backup -backupTarget:E: -allCritical -quiet NOTE: <drive letter> cannot be a locally-mapped network share. -allCritical instructs the vbadmin.exe command to back up all critical volumes of the system. A critical volume is defined as any volume that has System States, or any part of them, installed, as well as any volume that has Windows services installed. -quiet is required to run in non-interac- tive mode. Creating a backup image on a remote shared folder from the command line To create a backup image from the command line, type the following command: wbadmin start backup -backupTarget:<target name> -allCritical -user:<user name> -password:<password> -quiet For example: wbadmin start backup -backupTarget:\\10.0.0.1\WSBShare -allCritical -user:administrator -password:password -quiet NOTE: <target name> cannot be a locally-mapped net- work share. -allCritical instructs the vbadmin.exe command to back up all critical volumes of the system. A critical vol- ume is defined as any volume that has System States, or any part of them, installed, as well as any volume that has Windows services installed. -quiet is required to run in non- interactive mode. WINDOWS SERVER 2008 OFFLINE SYSTEM RECOVERY USING WINDOWS SERVER BACKUP WITH AVAMAR TECHNICAL NOTE 4 Creating a Windows Server Backup image for system disaster recovery Creating a Windows Server Backup image from the Windows Server Backup wizard To create a backup image from the Windows Server Backup wizard: 1. Select Administrative Tools-> Window Server Backup from the Start Menu. 2. From the Action menu of the WSB wizard, select Backup Once to start the Backup Once Wizard. 3. Click Next at the Backup Options page. 4. Select Full server (recommended) at the Select backup configuration page and click Next. 5. At the Specify destination type page: •Check the Local drives radio button if you have a local drive that is a non-critical volume with enough disk space for the sum of all the space used on the critical volumes. •Check the Remote shared folder radio button if you have a remote shared folder that has enough disk space for the sum of all the space used on the critical volumes. 6. Depending on what was selected in step 5, do one of the following: • If Local drives was selected in step 5, at the Select backup destination page, select the local drive that meets the requirements specified in step 5 and click Next. • If Remote shared folder was selected in step 5, at the Select remote folder page, specify the path of the shared folder that meets the requirements specified in step 5, using the format \\MyFileServer\SharedFolderName. Leave other options on this screen at their default settings and click Next. 7. At the Specify advanced option page, select VSS copy backup (recommended) and click Next. 8. At the Confirmation page, click Backup. 9. When the backup is complete, click Close at the Backup progress page. WINDOWS SERVER 2008 OFFLINE SYSTEM RECOVERY USING WINDOWS SERVER BACKUP WITH AVAMAR TECHNICAL NOTE 5 Backup image files produced by Windows Server Backup Backup image files produced by Windows Server Backup All WSB backups are stored in the target drive under the folder named WindowsImageBackup. The following are the list of files that contained in a typical full backup of wbadmin: <Drive Letter>:\WindowsImageBackup -><Server Name> Catalog BackupGlobalCatalog GlobalCatalog MediaId ->Backup <yyyy-mm-dd xxxxxx> 71c87636-c2e2-4ef2-9b97-ddf0ba7c0b5f_AdditionalFilesc3b9f3c7- 5e52-4d5e-8b20-19adc95a34c7.xml 71c87636-c2e2-4ef2-9b97-ddf0ba7c0b5f_Components.xml 71c87636-c2e2-4ef2-9b97-ddf0ba7c0b5f_RegistryExcludes.xml 71c87636-c2e2-4ef2-9b97-ddf0ba7c0b5f_Writer4969d978-be47- 48b0-b100-f328f07ac1e0.xml 71c87636-c2e2-4ef2-9b97-ddf0ba7c0b5f_Writer4dc3bdd4-ab48- 4d07-adb0-3bee2926fd7f.xml 71c87636-c2e2-4ef2-9b97-ddf0ba7c0b5f_Writer542da469-d3e1- 473c-9f4f-7847f01fc64f.xml 71c87636-c2e2-4ef2-9b97-ddf0ba7c0b5f_Writera6ad56c2-b509- 4e6c-bb19-49d8f43532f0.xml 71c87636-c2e2-4ef2-9b97-ddf0ba7c0b5f_Writerafbab4a2-367d- 4d15-a586-71dbb18f8485.xml 71c87636-c2e2-4ef2-9b97-ddf0ba7c0b5f_Writerbe000cbe-11fe- 4426-9c58-531aa6355fc4.xml 71c87636-c2e2-4ef2-9b97-ddf0ba7c0b5f_Writere8132975-6f93- 4464-a53e-1050253ae220.xml f9208a0c-f7c3-11dd-bee7-806e6f6e6963.vhd WINDOWS SERVER 2008 OFFLINE SYSTEM RECOVERY USING WINDOWS SERVER BACKUP WITH AVAMAR TECHNICAL NOTE 6 Backing up the WSB image to an Avamar Server Backing up the WSB image to an Avamar Server This section describes three different options for backing up a WSB image to an Avamar server: • Manually backing up the WSB backup image to an Avamar server. • Scheduling a backup of the WSB backup image to an Avamar server. • Automating the WSB image creation and backup to an Avamar server. Only the third option has a specific machine configuration that must be observed. Manually backing up the WSB backup image to an Avamar server To manually back up the WSB backup image to an Avamar server: 1. Install the Avamar client on the host machine where the WSB image is located. 2. Activate the client with an Avamar server. 3. Start the Avamar Administrator and click on Backup and Restore to start the console. WINDOWS SERVER 2008 OFFLINE SYSTEM RECOVERY USING WINDOWS SERVER BACKUP WITH AVAMAR TECHNICAL NOTE 7 Backing up the WSB image to an Avamar Server 4. In the Backup and Restore window, select the appropriate client and check the WindowsImageBackup folder in the file system tree view. 5. Select Backup Now from the Actions menu. 6. Click OK in the Options dialog to accept the default settings. Scheduling a backup of the WSB backup image to an Avamar server 1. Install the Avamar client on the host machine where the WSB image is located. 2. Activate the client with an Avamar server. 3. Start the Avamar Administrator and click on Backup and Restore to start the console. WINDOWS SERVER 2008 OFFLINE SYSTEM RECOVERY USING WINDOWS SERVER BACKUP WITH AVAMAR TECHNICAL NOTE 8 Backing up the WSB image to an Avamar Server 4. Select Manage Datasets from the Tools menu to begin creating a dataset that includes the WindowsImageBackup folder on the client machine. 5. Select the client and click New. The New Dataset dialog will open.