test

766 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
766
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
17
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

test

  1. 1. 70-270, 70-290 MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Fifteen Implementing and Managing Backups and Disaster Recovery
  2. 2. Objectives <ul><li>Back up and restore data </li></ul><ul><li>Describe operating system backup and recovery </li></ul><ul><li>Configure the Shadow Copies of Shared Folders feature </li></ul>
  3. 3. Objectives (continued) <ul><li>Explain the purpose of the Automated System Recovery feature </li></ul><ul><li>Describe the Windows Server 2003 advanced startup options </li></ul><ul><li>Install and use the Recovery Console </li></ul>
  4. 4. Backing Up and Restoring Data <ul><li>Must be prepared if disaster strikes </li></ul><ul><li>To assist in disaster recovery, Windows provides a number of tools: </li></ul><ul><ul><li>Backup utility </li></ul></ul><ul><ul><li>Shadow Copies of Shared Volumes </li></ul></ul><ul><ul><li>Automated System Recovery (ASR) </li></ul></ul><ul><ul><li>Advanced startup options </li></ul></ul><ul><ul><li>Recovery console </li></ul></ul>
  5. 5. Backing Up and Restoring Data (continued) <ul><li>Backup utility: Used for restoring an OS or data in case of total hardware or storage media failure </li></ul><ul><ul><li>Back up and restore files and folders </li></ul></ul><ul><ul><li>Schedule a backup </li></ul></ul><ul><ul><li>Back up Windows System State data </li></ul></ul><ul><ul><li>Restore all or a portion of the Active Directory database </li></ul></ul><ul><ul><li>Create an Automated System Recovery (ASR) backup </li></ul></ul>
  6. 6. Backup and Restore Concepts <ul><li>One primary duty of administrator is to ensure availability of data </li></ul><ul><ul><li>Backups must be made regularly </li></ul></ul><ul><li>Amount of data that must be backed up varies by organization </li></ul><ul><ul><li>Biggest factor determining backup hardware and software needed is usually the amount of user and application data on network systems </li></ul></ul>
  7. 7. Backup and Restore Concepts (continued) <ul><li>Members of following local groups can back up any files and folders Windows Server 2003 or XP Professional system: </li></ul><ul><ul><li>Administrators </li></ul></ul><ul><ul><li>Backup Operators </li></ul></ul><ul><ul><li>Server Operators </li></ul></ul><ul><li>Otherwise, users must own file or have Read, Read & Execute, Modify, or Full Control permissions to it in order to back it up </li></ul>
  8. 8. Backup and Restore Concepts (continued) <ul><li>Two main rights that affect being able to back up and restore files: </li></ul><ul><ul><li>Back up files and directories </li></ul></ul><ul><ul><li>Restore files and directories </li></ul></ul><ul><ul><li>If granted in a GPO applied to the Domain Controller’s OU, apply to all domain systems </li></ul></ul><ul><ul><ul><li>Can also apply locally or in a GPO </li></ul></ul></ul><ul><li>Archive attribute set on files to determine whether contents have changed since last backup </li></ul>
  9. 9. Backup and Restore Concepts (continued) Figure 15-2: The Back up files and directories Properties dialog box
  10. 10. Backup and Restore Concepts (continued) Figure 15-3: The Backup Job Information dialog box
  11. 11. Backup Types <ul><li>Normal backup: Backs up all selected files and folders and clears the archive attribute on these files and folders </li></ul><ul><ul><li>Most common and default backup type </li></ul></ul><ul><ul><li>Can be inefficient </li></ul></ul><ul><li>Incremental backup: Backs up files that have changed since last normal or incremental backup </li></ul><ul><ul><li>Clears archive attribute </li></ul></ul><ul><ul><li>Reduce size of backup jobs </li></ul></ul><ul><ul><li>More involved restore process </li></ul></ul>
  12. 12. Backup Types (continued) Figure 15-4: Incremental backup and restore operations
  13. 13. Backup Types (continued) <ul><li>Differential backup: Similar to incremental backup, but does not clear archive bit </li></ul><ul><ul><li>Reduces backup size </li></ul></ul><ul><ul><ul><li>Larger than incremental backup </li></ul></ul></ul><ul><ul><li>Less involved restore process than incremental </li></ul></ul><ul><li>Daily backup: Backs up selected files or folders created or changed on day the backup takes place </li></ul><ul><li>Copy backup: Same as normal backup, but does not clear archive bits </li></ul>
  14. 14. Backup Types (continued) Figure 15-5: Differential backup and restore operations
  15. 15. Using the Backup Utility <ul><li>Backs up critical data and OS file </li></ul><ul><li>Two modes: Wizard and Advanced </li></ul><ul><li>Activity 15-1: Backing Up Files and Folders with the Backup Utility </li></ul><ul><ul><li>Objective: Back up files and folders using the Windows Backup utility </li></ul></ul><ul><li>Activity 15-2: Restoring Files and Folders with the Backup Utility </li></ul><ul><ul><li>Objective: Restore files and folders using the Backup utility </li></ul></ul>
  16. 16. Using the Backup Utility (continued) Figure 15-7: The Backup utility in Advanced mode
  17. 17. Using the Backup Utility (continued) Figure 15-11: The Restore and Manage Media tab
  18. 18. Scheduling Backups Figure 15-12: Scheduling backups
  19. 19. Scheduling Backups (continued) <ul><li>Activity 15-3: Scheduling Backup Operations with the Backup Utility </li></ul><ul><ul><li>Objective: Schedule a backup with the Backup utility </li></ul></ul>
  20. 20. Operating System Backup and Recovery: Registry Fault Tolerance <ul><li>Registry’s fault tolerance sustained by its structure, memory residence, and transaction logs </li></ul><ul><ul><li>Ensures all changes or operations performed on Registry either succeed or fail </li></ul></ul><ul><li>Changes to Registry made permanent only when the files containing the Registry keys copied back to hard drive </li></ul><ul><ul><li>Flush </li></ul></ul><ul><li>Transaction logs: Files in which system records edits, changes, and alterations to the Registry </li></ul>
  21. 21. Operating System Backup and Recovery: Registry Fault Tolerance (continued) <ul><li>Steps in a flush: </li></ul><ul><ul><li>Alterations to a key appended to key’s transaction log file </li></ul></ul><ul><ul><li>Key file marked as being in transition </li></ul></ul><ul><ul><li>Key file updated with new data from memory </li></ul></ul><ul><ul><li>Key file marked as complete </li></ul></ul><ul><li>Windows updates SYSTEM subkey and System.alt file separately from the flush </li></ul>
  22. 22. Operating System Backup and Recovery: Registry Fault Tolerance (continued) <ul><li>Several ways to create reliable Registry backups: </li></ul><ul><ul><li>Windows backup applications </li></ul></ul><ul><ul><li>Regedit </li></ul></ul><ul><ul><li>Manually copy % systemroot %System32Config and % systemroot %Repair directories </li></ul></ul><ul><ul><li>Microsoft Windows XP Professional or Windows Server 2003 Resource Kit tools </li></ul></ul><ul><li>Activity 15-4: Backing Up the Registry </li></ul><ul><ul><li>Objective: Use the Regedit application to back up a portion of the Registry </li></ul></ul>
  23. 23. Operating System Backup and Recovery: Registry Fault Tolerance (continued) <ul><li>Several options for restoring Registry, depending on backup method: </li></ul><ul><ul><li>Last Known Good Configuration: State of Registry at last successful user logon </li></ul></ul><ul><ul><li>Restore Registry in part or whole from backup </li></ul></ul><ul><ul><li>Restart system after restoration </li></ul></ul><ul><li>Activity 15-5: Restoring the Registry </li></ul><ul><ul><li>Objective: Use Regedit to restore all or a portion of the Registry </li></ul></ul>
  24. 24. Backing Up and Restoring System State Data <ul><li>System State: Data the Windows OS uses to store its current configuration </li></ul><ul><ul><li>Can use Backup utility to back up System State </li></ul></ul><ul><li>System State backup includes: </li></ul><ul><ul><li>Registry </li></ul></ul><ul><ul><li>COM+ Class Registration database </li></ul></ul><ul><ul><li>Boot files </li></ul></ul><ul><ul><li>System files </li></ul></ul><ul><ul><li>Certificate Services database </li></ul></ul><ul><ul><li>Active Directory </li></ul></ul>
  25. 25. Backing Up and Restoring System State Data (continued) <ul><li>System State backup includes (continued): </li></ul><ul><ul><li>Sysvol directory </li></ul></ul><ul><ul><li>Cluster Service </li></ul></ul><ul><ul><li>IIS metabase </li></ul></ul><ul><li>Restoring a portion of the AD tree requires special steps </li></ul><ul><ul><li>Performing an authoritative restore </li></ul></ul><ul><li>Activity 15-6: Backing Up System State Data </li></ul><ul><ul><li>Objective: Back up the System State data on a Windows Server 2003 domain controller </li></ul></ul>
  26. 26. Shadow Copies of Shared Folders <ul><li>Feature designed to make it simple for users to recover previous versions of files stored in shared folders </li></ul><ul><ul><li>Without need for intervention from administrator </li></ul></ul><ul><ul><li>Not available on Windows XP Professional </li></ul></ul><ul><li>Enabling on Windows Server 2003 allows you to: </li></ul><ul><ul><li>Restore files they accidentally delete </li></ul></ul><ul><ul><li>Recover previous versions of files when necessary </li></ul></ul><ul><ul><li>Compare current version of a file to a previous version </li></ul></ul>
  27. 27. Shadow Copies of Shared Folders (continued) Figure 15-14: The Shadow Copies tab
  28. 28. Shadow Copies of Shared Folders (continued) <ul><li>Periodically creates shadow copies of all files stored in shared folders on a volume </li></ul><ul><ul><li>By default, uses 10% of available disk space on a volume for storing shadow copies </li></ul></ul><ul><li>Activity 15-7: Enabling and Configuring Shadow Copies of Shared Folders </li></ul><ul><ul><li>Objective: Enable and configure the Shadow Copies of Shared Folders feature for a selected volume </li></ul></ul>
  29. 29. Previous Versions Client <ul><li>Required software for network users to access previous versions of files via the Shadow Copies of Shared Folders feature </li></ul><ul><li>Activity 15-8: Installing and Using the Previous Versions Client </li></ul><ul><ul><li>Objective: Install and use the Previous Versions Client, and then view and restore a previous copy of a file </li></ul></ul>
  30. 30. Previous Versions Client (continued) Figure 15-16: The Previous Versions tab
  31. 31. Automated System Recovery <ul><li>Used to restore system configuration settings </li></ul><ul><ul><li>If system cannot be repaired with safe-mode startup options or Last Known Good Configuration </li></ul></ul><ul><li>Consists of two elements: </li></ul><ul><ul><li>ASR backup </li></ul></ul><ul><ul><ul><li>Accessed via Backup utility </li></ul></ul></ul><ul><ul><li>Disk containing information about backup, disk configuration, and restore method </li></ul></ul><ul><li>Only used to back up and restore system configuration files </li></ul>
  32. 32. Automated System Recovery (continued) Figure 15-17: The Backup Destination window
  33. 33. Advanced Startup Options Table 15-1: Advanced startup options
  34. 34. Advanced Startup Options (continued) <ul><li>Activity 15-9: Viewing and Testing Advanced Startup Options </li></ul><ul><ul><li>Objective: View and test Windows Server 2003 advanced startup options </li></ul></ul>Table 15-1 (continued): Advanced startup options
  35. 35. Last Known Good Configuration <ul><li>Last Known Good Configuration (LKGC): Enables you to recover system from failed driver and Registry changes </li></ul><ul><ul><li>Stored in Registry </li></ul></ul><ul><li>If LKGC fails to restore system, two options: </li></ul><ul><ul><li>Use backup software to restore Registry files </li></ul></ul><ul><ul><li>Reinstall Windows </li></ul></ul><ul><li>Activity 15-10: Testing the Last Known Good Configuration </li></ul><ul><ul><li>Objective: Test the Last Known Good Configuration advanced startup option </li></ul></ul>
  36. 36. The Recovery Console <ul><li>Advanced tool that can be used to access hard drive </li></ul><ul><ul><li>Start and stop services </li></ul></ul><ul><ul><li>Format drives </li></ul></ul><ul><ul><li>Read and write data on a local hard drive </li></ul></ul><ul><ul><li>Copy files from floppy disk or CD to local hard drive </li></ul></ul><ul><ul><li>Perform administrative tasks </li></ul></ul>
  37. 37. Installing the Recovery Console <ul><li>Two ways to start Recovery Console </li></ul><ul><ul><li>Run from Windows CD </li></ul></ul><ul><ul><li>Install on computer permanently </li></ul></ul><ul><ul><ul><li>Issue the Winnt32.exe /cmdcons command from I386 folder of Windows CD </li></ul></ul></ul><ul><li>After installed, displayed as option in list of available OSs during initial boot process </li></ul><ul><li>Recovery Console commands: </li></ul><ul><ul><li>Copy </li></ul></ul><ul><ul><li>Disable </li></ul></ul>
  38. 38. Installing the Recovery Console (continued) <ul><li>Recovery Console commands (continued): </li></ul><ul><ul><li>Enable </li></ul></ul><ul><ul><li>Exit </li></ul></ul><ul><ul><li>Fixboot </li></ul></ul><ul><ul><li>Fixmbr </li></ul></ul><ul><ul><li>Listsvc </li></ul></ul><ul><li>Activity 15-11: Installing and Using the Recovery Console </li></ul><ul><ul><li>Objective: Install and use the Recovery Console </li></ul></ul>
  39. 39. Installing the Recovery Console (continued) Figure 15-21: Viewing the results of the Listsvc command
  40. 40. Summary <ul><li>Windows Server 2003 and XP include a variety of tools and utilities to restore a server or desktop computer to a previous configuration, undo configuration changes that cause problems, and back up and restore OS, application, and user data files </li></ul><ul><li>To ensure that OS, application, and user data files are not lost in a server failure or an accidental deletion, critical files and folders can be backed up and restored with the Backup utility </li></ul>
  41. 41. Summary (continued) <ul><li>The Backup utility supports five different types of backups: normal, incremental, differential, copy, and daily backups </li></ul><ul><li>The Backup utility enables you to back up this information as a single element known as System State data </li></ul><ul><li>Shadow Copies of Shared Folders is a new feature in Windows Server 2003 that allows an administrator to make previous versions of files available to users for the purpose of restoring a previous version, restoring a file that has been accidentally deleted, or comparing versions of files </li></ul>
  42. 42. Summary (continued) <ul><li>Registry backups can be made with the Windows Backup or Restore Wizard, the Regedit program, or the Regbackup.exe program from the Windows Resource Kit </li></ul><ul><li>Automated System Recovery (ASR) allows an administrator to quickly recover from a server failure by storing server configuration information on floppy disks </li></ul>
  43. 43. Summary (continued) <ul><li>Windows supports a variety of advanced startup options, such as Safe Mode and Last Known Good Configuration, for attempting to boot a server if the normal boot process doesn’t function correctly </li></ul><ul><li>The Windows Recovery Console gives administrators an alternate environment into which a system can be booted to make configuration changes if necessary </li></ul>

×