2275b_07 [Compatibility Mode]

Embed Size (px)

Citation preview

  • 7/29/2019 2275b_07 [Compatibility Mode]

    1/53

    Module 7: ManagingDisaster Recovery

  • 7/29/2019 2275b_07 [Compatibility Mode]

    2/53

    Overview

    Preparing for Disaster Recovery

    Backing Up Data

    Scheduling Backup Jobs

    Restoring Data

    Configuring Shadow CopiesRecovering from Server Failure

    Selecting Disaster Recovery Methods

  • 7/29/2019 2275b_07 [Compatibility Mode]

    3/53

    Lesson: Preparing for Disaster Recovery

    What Is Disaster Recovery?

    Guidelines for Preparing for Disaster Recovery

  • 7/29/2019 2275b_07 [Compatibility Mode]

    4/53

    What Is Disaster Recovery?

    A disaster is a sudden catastrophic loss of data

    Disaster recovery is the process of resuming normalbusiness operations as quickly as possible after thedisaster is over

    Disaster recovery process includes:

    Executing a written disaster recovery plan

    Replacing any damaged hardware

    Restoring data

    Testing all hardware and software before resuming

    operations

  • 7/29/2019 2275b_07 [Compatibility Mode]

    5/53

    Guidelines for Preparing for Disaster Recovery

    Create a disaster recovery plan for performing regularbackup operations

    Test your backup files and your backup plan

    Keep two sets of backed-up files: one on-site, for

    accessibility, and one off-site, for security

    Create a redundant copy of System State data

    Install the Recovery Console as a startup option

    Keep the installation CD where you can easily find it

  • 7/29/2019 2275b_07 [Compatibility Mode]

    6/53

    Lesson: Backing Up Data

    Overview of Backing Up Data

    Who Can Back Up Data?

    What Is System State Data?

    What Is the Backup Utility?

    Types of BackupWhat Is ntbackup?

    What Is an Automated System Recovery Set?

    How to Back Up Data

  • 7/29/2019 2275b_07 [Compatibility Mode]

    7/53

    Overview of Backing Up Data

    Backing up produces copies of data files and folders,stored on alternate media

    Backing up the data on server and client computer harddisks prevents data loss

    Before backing up, decide:

    Which files to back up if you cannot get along without it,back it up

    How frequently to back up

    Whether to perform a network backup weigh the advantages and

    disadvantages of a network backup

    Back Up Data

  • 7/29/2019 2275b_07 [Compatibility Mode]

    8/53

    Who Can Back Up Data?

    You must have certain permissions or user rights

    Only administrators, backup operators, and server operatorgroups are allowed to back up data by default on local servers

    Or you must be the owner of the files and folders you want to

    back up

    Or you must have one or more of these permissions:

    Read, Read and execute, Modify, or Full Control

    You cannot back up your files if there are disk quota restrictions

    Access to backup files can also be restricted

    For security, backup and restore rights can be segregated intotwo groups

    Backup files and directories GPO located in ComputerConfiguration

  • 7/29/2019 2275b_07 [Compatibility Mode]

    9/53

    What Is System State Data?

    The computer uses System State data files to load, configure,and run the operating system

    All System State data relevant to your server is backed up

    You can back up the following system components:

    ComponentWhen this component is included

    in System State

    Registry Always

    Boot files, including the system files Always

    Certificate Services database If it is a Certificate Services Server

    Active Directory directory service If it is a Domain

    SYSVOL Directory If it is a Domain Controller

    Cluster service information If it is within a cluster

    IIS metadirectory If it is installed

    System files that are under Windows File Protection Always

  • 7/29/2019 2275b_07 [Compatibility Mode]

    10/53

    What Is the Backup Utility?

    Backup DataUsing the Backup utility, you can:

    Back up files and folders

    Back up System State data

    Schedule a backup

    Using volume shadow copy inBackup, you can:

    Create shadow copy backups ofvolumes including all open files

    Ensure that files that changed duringbackup process are copied correctly

    You can back up various types ofmedia

    You must have appropriatepermissions and user rights

    Corrupted Data

    Restore Data

  • 7/29/2019 2275b_07 [Compatibility Mode]

    11/53

    Types of Backup

    Type Actions performed Clears Archive attribute

    Normal or Full Selected files and folders Yes

    Copy Selected files and folders No

    DifferentialSelected files and folders thatchanged since the last normal orincremental backup

    No

    IncrementalSelected files and folders thatchanged since the last backup

    Yes

    DailySelected files and folders that

    changed during the dayNo

    Backup types define what data is backed up

    Backup types use archive attributes that show the file haschanged since the last backup

    Select a backup rotation scheme

  • 7/29/2019 2275b_07 [Compatibility Mode]

    12/53

    What Is ntbackup?

    Use ntbackup command line tool to:

    Back up System State data

    Back up files to a file or a tape

    Run batch files

    Important limitations using batch filesYou can back up entire folders only

    You cannot use wildcard characters

  • 7/29/2019 2275b_07 [Compatibility Mode]

    13/53

    What Is an Automated System Recovery Set?

    A recovery option in the Backup utility that containstwo parts: ASR backup and ASR restore

    Can back up the operating system

    Does not include data files

    Creates a floppy disk, which contains information about:

    Backup location data

    Disk configurations (including basic and dynamic volumes)

    How to accomplish a restore procedure

    Choose the All information on this computer option, it willback up all data including System State Data

  • 7/29/2019 2275b_07 [Compatibility Mode]

    14/53

    How to Back Up Data

    Your instructor will demonstrate how to:

    Back up data files by using the Backup utilityBack up System State data by using the Backup utility

    Back up the operating system and data files by using

    the Backup utilityBack up by using ASR

    Back up System State data by using ntbackup

  • 7/29/2019 2275b_07 [Compatibility Mode]

    15/53

    Practice: Backing Up Data

    In this practice, you will back up data filesand System State data by using:

    The Backup Utility

    ntbackup

  • 7/29/2019 2275b_07 [Compatibility Mode]

    16/53

    Lesson: Scheduling Backup Jobs

    What Is a Scheduled Backup Job?

    What Are Scheduled Backup Options?

    How to Schedule a Backup Job

    Best Practices for Backup

  • 7/29/2019 2275b_07 [Compatibility Mode]

    17/53

    What Is a Scheduled Backup Job?

    You can schedule a backup job

    using the Backup or Restore Wizard

    Use to schedule backups at aspecific times or at regular intervals

  • 7/29/2019 2275b_07 [Compatibility Mode]

    18/53

    What Are Scheduled Backup Options?

    Schedule options Executes the job:

    Once Once, at a specific time on a specific date

    Daily At the specified time each day

    WeeklyAt the specified time on each of the specified days ofthe week

    Monthly At the specified time once a month

    At system startup The next time the system is started

    At logon The next time the job owner logs on

    When idle When the system has been idle for a specifiednumber of minutes

  • 7/29/2019 2275b_07 [Compatibility Mode]

    19/53

    How to Schedule a Backup Job

    Your instructor will demonstrate how to:

    Schedule a Backup Job by Using Backup Wizard

    Schedule a Backup Job by Using ntbackup

  • 7/29/2019 2275b_07 [Compatibility Mode]

    20/53

    Practice: Scheduling a Backup Job

    In this practice, you will schedule a backupjob using Windows Backup Wizard

  • 7/29/2019 2275b_07 [Compatibility Mode]

    21/53

    Best Practices for Backup

    Secure media

    Use the default Volume Shadow Copy backup

    Make copies

    Perform trial restorations

    Back up the data on all volumes and the System Statedata at the same time

    Create an Automated System Recovery Backup set

    Develop backup and restore strategies and test them

    Train appropriate personnel

  • 7/29/2019 2275b_07 [Compatibility Mode]

    22/53

    Lesson: Restoring Data

    What Is Restoring Data?

    How to Restore Files or Folders by Using Backup

    How to Recover from a Server Failure by Using ASR

    How to Restore System State Data

    Checklist for Restoring Data

  • 7/29/2019 2275b_07 [Compatibility Mode]

    23/53

    What Is Restoring Data?

    Backup Restore feature

    Restore files and folders

    Restore FAT or NTFS files

    Restore the System State data

    ASR Restore

    Reads the disk configurations from the floppy disk

    Restores the entire disk signatures, volumes and partitions on

    the disks required to boot up at a minimum

    Installs a simple installation of Windows

    Starts to restore from backup

    Restore Data

  • 7/29/2019 2275b_07 [Compatibility Mode]

    24/53

    How to Restore Files or Folders by Using Backup

    Your instructor will demonstrate how to restore files orfolders by using Backup

  • 7/29/2019 2275b_07 [Compatibility Mode]

    25/53

    How to Recover from a Server Failure by Using ASR

    Your instructor will review how to recover from aserver failure by using ASR

  • 7/29/2019 2275b_07 [Compatibility Mode]

    26/53

    How to Restore System State Data

    Your instructor will review how to restore System Statedata

  • 7/29/2019 2275b_07 [Compatibility Mode]

    27/53

    Practice: Restoring Data

    In this practice, you will restore data from abackup file

  • 7/29/2019 2275b_07 [Compatibility Mode]

    28/53

    Checklist for Restoring Data

    Develop restoration strategies and test them

    Be sure that all appropriate systems administrators have theproper permissions set

    Verify that you can connect to all shared folders on othercomputers that need to be restored

    Ensure you have access to network based media and to theserver where the data will be restored

    To restore files manually, use the Backup utility and selectthe appropriate files or folders

    If you are restoring an Encrypted File System (EFS) on asystem where the private key for the encrypted data isinaccessible, send the files to a designated recovery agent

  • 7/29/2019 2275b_07 [Compatibility Mode]

    29/53

    Lesson: Configuring Shadow Copies

    What Are Shadow Copies?

    How to Configure Shadow Copies on the Server

    Previous Versions Client Software for Shadow Copies

    How to View Previous Versions of Client Software

    Shadow Copy Scheduling

    How to Schedule Shadow Copies

    What Is Restoring Shadow Copies?

    How to Restore a Previous VersionBest Practices for Using Shadow Copies

  • 7/29/2019 2275b_07 [Compatibility Mode]

    30/53

    What Are Shadow Copies?

    Views the read-only contents of network folders as theyexisted at various points of time

    Use shadow copies to:Recover files that were accidentally deleted

    Recover files that were accidentally overwritten

    Allow version-checking while working on documentsIs enabled on a per volume basis, not on specific shares

    Is not a replacement for regular backups

    When storage limits are reached, the oldest shadow copy isdeleted and cannot be retrieved

    To change the storage volume, delete the shadow copiesfirst

  • 7/29/2019 2275b_07 [Compatibility Mode]

    31/53

    How to Configure Shadow Copies on the Server

    Your instructor will demonstrate how to configureshadow copies on the server

  • 7/29/2019 2275b_07 [Compatibility Mode]

    32/53

    Previous Versions Client Software for Shadow Copies

    Previous Versions client software for Shadow Copies ofShared Folders is installed on the server

    %systemroot%\system32\clients\twclient\x86 directory

    Place the client software on a shared resource and send

    an e-mail with instructions on how to download and use

    Client view of shadow copies

    Use if users work with files that are located in shared

    folders on your network

    Use to access previous versions of files

    How to View Previous Versions of Client

  • 7/29/2019 2275b_07 [Compatibility Mode]

    33/53

    How to View Previous Versions of ClientSoftware

    Your instructor will demonstrate how to:

    Install the client software for shadow copies

    View Previous Versions

    Sh d C S h d li

  • 7/29/2019 2275b_07 [Compatibility Mode]

    34/53

    Shadow Copy Scheduling

    Default shadow copy scheduleis 7:00 am and noon

    Create a shadow copy schedule

    based on:

    Do most workers work in thesame time zone?

    Does your organization need

    more than the default of twoshadow copies daily?

    How often can additionalcopies be made before

    additional storage will beneeded?

    Deploy a schedule and test it ona small group

    H t S h d l Sh d C i

  • 7/29/2019 2275b_07 [Compatibility Mode]

    35/53

    How to Schedule Shadow Copies

    Your instructor will demonstrate how to scheduleshadow copies

    Wh t I R t i Sh d C i ?

  • 7/29/2019 2275b_07 [Compatibility Mode]

    36/53

    What Is Restoring Shadow Copies?

    Shadow copies are restored using previous versions offiles and folders

    If Then

    No previous versions are

    listed

    The file has not changed since the oldest copywas made

    Restoring a previousversion of a folder

    Shadow copies deletes the current version

    Restoring a file File permissions are not changed

    The Previous Versions

    tab does not appear inProperties

    Shadow copies may not be enabled

    Copying a file File permissions are set to default

    Ho to Restore a Pre io s Version

  • 7/29/2019 2275b_07 [Compatibility Mode]

    37/53

    How to Restore a Previous Version

    Your instructor will demonstrate how to restore aprevious version

    Practice: Configuring Shadow Copies

  • 7/29/2019 2275b_07 [Compatibility Mode]

    38/53

    Practice: Configuring Shadow Copies

    In this practice, you will:

    Configure shadow copies

    Install Previous Versions client software

    Restore previous versions

    Best Practices for Using Shadow Copies

  • 7/29/2019 2275b_07 [Compatibility Mode]

    39/53

    Best Practices for Using Shadow Copies

    Consider the work patterns of users before enabling shadowcopies and setting scheduling options

    Do not enable shadow copies on volumes that use mountpoints

    Do not enable shadow copies on dual-boot computers

    Select a separate volume on another disk as the storage

    area for shadow copies

    Use Windows Backup to perform regular backups of your fileserver

    Do not schedule copies to occur more often than once perhour

    Before deleting a volume that is being shadow copied, deletethe scheduled task for creating shadow copies

    Lesson: Recovering from Server Failure

  • 7/29/2019 2275b_07 [Compatibility Mode]

    40/53

    Lesson: Recovering from Server Failure

    What Is Safe Mode?

    What Are Safe Mode Options?

    What Is Last Known Good Configuration?

    How to Start a System Using Safe Mode and Last KnownGood Configuration

    What Is Recovery Console?

    How to Use the Recovery Console

    What Is a Windows Startup Disk?

    How Startup Files Function

    How to Create a Windows Startup Disk

    What Is Safe Mode?

  • 7/29/2019 2275b_07 [Compatibility Mode]

    41/53

    What Is Safe Mode?

    A Windows Server 2003 tool to use if your server does not start

    Uses default settings:

    VGA modeMouse driver

    No network connections

    Minimum device drivers required to start Windows

    You can use safe mode to:

    Change server settings

    Diagnose problemsRemove newly installed software

    Install a service pack or hotfix

    Reinstall the operating system

    What Are Safe Mode Options?

  • 7/29/2019 2275b_07 [Compatibility Mode]

    42/53

    What Are Safe Mode Options?

    Option Description Use

    Safe ModeStarts with only basic files

    and drivers

    When you suspect a recentlyinstalled application is causingthe problem

    Safe Mode

    with

    Networking

    Starts with only basic filesand drivers, plus network

    connections

    When you need to verify thatthe networking subsystem is

    operational

    Safe Modewith

    CommandPrompt

    Starts with only basic filesand drivers. After you log on,the command prompt is

    displayed instead of theWindows desktop, Startmenu, and Taskbar

    When you need to use

    command-line troubleshootingtools

    What Is Last Known Good Configuration?

  • 7/29/2019 2275b_07 [Compatibility Mode]

    43/53

    What Is Last Known Good Configuration?

    Starts the computer using the registry information anddrivers that Windows saved at the last successful logon

    Removes any device drivers or systems settingschanged since since the last successful logon

    Provides a way to recover from problems such as anewly configured driver that may be incorrect for yourhardware

    Does not solve problems caused by corrupted ormissing drivers or files

    Use only in cases of incorrect configuration

    How to Start a System Using Safe Mode and Last KnownG d C fi ti

  • 7/29/2019 2275b_07 [Compatibility Mode]

    44/53

    Good Configuration

    Your instructor will demonstrate how to:

    Start a system using Safe Mode

    Start a system using Last Known Good Configuration

    What Is the Recovery Console?

  • 7/29/2019 2275b_07 [Compatibility Mode]

    45/53

    With Recovery Console, you can:

    What Is the Recovery Console?

    Enable or disable device drivers or services

    Copy files from the installation CD for the operatingsystem, or copy files from other removable media

    Create a new boot sector and new master boot record(MBR)

    Starts a command-line console on a system in which asoftware problem is preventing the system from

    startingAccesses drives on your computer

    How to Use the Recovery Console

  • 7/29/2019 2275b_07 [Compatibility Mode]

    46/53

    How to Use the Recovery Console

    Your instructor will demonstrate how to:

    Install the Recovery ConsoleStart and use the Recovery Console from the WindowsServer 2003 Setup CD

    Start and use the Recovery Console from the boot

    loader menu on the server

    What Is a Windows Startup Disk?

  • 7/29/2019 2275b_07 [Compatibility Mode]

    47/53

    What Is a Windows Startup Disk?

    Allows you to access a disk drive with a faulty boot sequence,for example:

    Damaged boot sector

    Damaged master boot record (MBR)

    Virus infections

    Missing or damaged Ntldr or Ntdetect.com files

    Incorrect Ntbootdd.sys driver

    To boot from the shadow of a broken mirror

    Windows Startup disk must include

    Ntldr

    Ntdetect.com

    Boot.ini

    How Boot Files Function

  • 7/29/2019 2275b_07 [Compatibility Mode]

    48/53

    BIOS reads the contentsof the MBR1

    Boot sector program readsthe root directory and loadsWindows 2003 Loader

    2

    NTLDR loads basic memoryconfiguration and switches to32-bit mode (protected mode)

    3

    NTLDR reads boot.iniand runs OS4

    NTLDR switches back to 16-bit mode, loads ntdetect.com5

    NTLDR loads into memory,reads the resource map thatNTDETECT builds

    6

    NTLDR switches system backto protected mode7

    NTLDR starts run process forNTOSKRNL8

    How to Create a Windows Startup Disk

  • 7/29/2019 2275b_07 [Compatibility Mode]

    49/53

    p

    Your instructor will demonstrate how to:

    Create a Windows startup diskBack up Windows Server 2003 boot files to theWindows startup disk

    Practice: Recovering from Server Failure

  • 7/29/2019 2275b_07 [Compatibility Mode]

    50/53

    g

    In this practice, you will recover from aserver failure using:

    Safe Mode

    Last Known Good Configuration

    Lesson: Selecting Disaster Recovery Methods

  • 7/29/2019 2275b_07 [Compatibility Mode]

    51/53

    What Are Server Disaster Recovery Tools?

    What Are Server Disaster Recovery Tools?

  • 7/29/2019 2275b_07 [Compatibility Mode]

    52/53

    Disaster Recovery Tool Function

    Safe Mode

    Use when a problem prevents starting

    Windows Server 2003 normally

    Last Known Good Use only in cases of incorrect configuration

    BackupUse to create a duplicate copy of data onyour hard drive and then archive the dataon another storage device

    Recovery ConsoleUse if you cannot fix the problems by usingone of the startup methods

    Automated System Recovery(ASR)

    Use when restoring data from backup

    Lab A: Managing Disaster Recovery

  • 7/29/2019 2275b_07 [Compatibility Mode]

    53/53

    In this lab, you will:

    Install the Recovery Console

    Back up System State data

    Create a Windows startup disk

    Recover from a corrupt registry by usingLast Known Good

    Recover from a corrupt registry by restoring

    System State data

    Recover from a corrupt boot file by using

    the Windows startup disk