You are on page 1of 33

Supporting Windows Server

2008 Directory Services


Module 8: Windows Server 2008
Backup and Recovery

Note: Documentation based on Pre-RTM code. Final product may be


different from what is shown or described in this workbook.
Note: No Lab manual is available for this workbook.

F INA L

Published:
Microsoft Confidential - For Internal and OEM Partner Use Only

DISCLAIMER
2007 Microsoft Corporation. All rights reserved.
Microsoft, and Windows are either registered trademarks or
trademarks of Microsoft Corporation in the United States and/or other
countries.
The names of actual companies and products mentioned herein may be
the trademarks of their respective owners.
THE CONTENTS OF THIS PACKAGE ARE FOR INFORMATIONAL AND
TRAINING PURPOSES ONLY AND ARE PROVIDED "AS IS" WITHOUT
WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
No part of the text or software included in this training package may be
reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or any information storage
and retrieval system, without permission from Microsoft. Because
Microsoft must respond to changing market conditions, it should not be
interpreted to be a commitment on the part of Microsoft, and Microsoft
cannot guarantee the accuracy of any information presented after the
date of publication. The names of actual companies and products
mentioned herein may be the trademarks of their respective owners.
To obtain authorization for uses other than those specified above, please
visit the Microsoft Copyright Permissions Web page at
http://www.microsoft.com/about/legal/permissions
This content is proprietary and confidential, and is intended only for users
described in the content provided in this document. This content and
information is provided to you under a Non-Disclosure Agreement and
cannot be distributed. Copying, disclosing all or any portion of the content
and/or information included in this document is strictly prohibited.

Supporting Windows Server 2008 Directory Services

Module 8: Windows Server 2008 Backup and


Recovery

Table of Contents
Overview -................................................................................1
Lesson1: Whats new with Disaster Recovery..............................2
Windows Server Backup....................................................................................... 3
Windows Server Backup incorporates the following functionality:........................4
Supported Operating Systems............................................................................. 6
Settings From NTBackup...................................................................................... 7
Backup Security Considerations...........................................................................8

Lesson 2: Backup and Restore Procedures..................................9


Installing Windows Server Backup......................................................................10
Contents of System State Backup......................................................................11
Full and Critical Volume Backup.........................................................................12
Scheduled Backups of Domain Controllers.........................................................13
Unscheduled backups using Windows Server Backup MMC snap-in...................16
Running Scheduled Backups to External Disks...................................................17
Scenario 1: Running Scheduled Backups to External Disks..............................17
Backing up AD DS.............................................................................................. 19
Allowing SSB to any Volume............................................................................... 20
Checklist/pre-conditions:..................................................................................20
Mounting the backup image............................................................................... 21
Browse the NTDS.dit file offline with LDAP.........................................................22
Restoring AD DS................................................................................................. 23
Restoring Files and Folders................................................................................. 24
Prerequisites for restoring files and folders......................................................24
Steps for restoring files and folders..................................................................24

Figures
Figure 1: Installing Windows Server Backup.........................................................10
Figure 2 Backup Options....................................................................................... 16

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

0Overview In this module you will learn about the improvements to Windows Backup. It is
an optional feature in Windows Server 2008 that helps you reliably back up and
recover the operating system, and restore files and folders stored on the
server.

Before starting this module, you should:

Have a working knowledge of Windows Server 2003 backup and restore


procedures

Understand basic disaster recovery steps for Windows Server 2003 roles
and features.

What You Will Learn


After completing this module, you will understand the new backup
software improvements and procedures for backing up and restoring the
different roles and features of Windows Server 2008. Some of these
improvements include:

New, faster backup technology

Simplified restoration

Simplified recovery of you operating system

Improved scheduling

Support for DVD media

FINAL

1
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Lesson1: Whats new with Disaster


Recovery
In this lesson, you will learn about the new Windows Server 2008 backup
feature. The Windows Server Backup is a feature of the Microsoft
Windows Server 2008 operating system that provides a basic backup and
recovery solution for the server it is installed on. This feature introduces new
backup and recovery technology and replaces the previous Backup feature that
was available with earlier versions of the Windows operating system.

What You Will Learn


After completing this lesson, you will be able to:

Explain about special considerations and when upgrading from


NTbackup.exe

Explain the new functionality that Server Backup performs

Explain the security considerations of backup operations and the


storage of those backups

FINAL

3
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Windows Server Backup


The Windows Server Backup feature in Microsoft Windows Server 2008 is a set
of command line tools and an MMC (Microsoft Managed Console) snap-in which
can be used for backup and recovery of an entire server or of selected
volumes. In case of catastrophic disasters, the Windows Recovery environment
can be used to perform a system recovery.
In order to perform backups and to use Windows Server Backup, membership of
either the Administrators group or Backup Operators group is necessary. The
following differences can be noticed between Windows Server Backup and the
previous backup solution on Windows Server (called NT Backup):

In case the server has been upgraded to Windows Server 2008 from
Windows Server 2003, the settings for creating backups will not be
upgraded. These settings will need to be reconfigured on Windows
Server 2008.

Tape backups are no longer possible.

Backups created using Ntbackup.exe cannot be recovered using


Windows Server Backup. New functionality in Windows Server Backup

FINAL

5
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Windows Server Backup incorporates the


following functionality:

1. Faster backup technology: Windows Server Backup uses Volume


Shadow Copy Service (VSS) and block-level backup technology to back
up and recover the operating system, files and folders, and volumes.
After the first full backup is created, Windows Server Backup can be
configured to automatically run incremental backups by saving only the
data that has changed since the last backup.
2. Simplified restoration: Individual items can be restored by
performing a backup and then selecting specific items to be restored.
Specific files from a folder or all the contents of a folder can be
recovered. Previously, administrators needed to manually restore from
multiple backups if the item was stored on an incremental backup. With
Windows Server Backup, the date of backup can be chosen in order to
restore the desired version.
3. Simplified Operating System recovery: Windows Server Backup
works with new Windows recovery tools to make it easier to recover the
operating system. Administrators can recover to the same serveror if
the hardware fails, to a separate server that has no operating system.
4. Ability to recover applications: Windows Server Backup uses VSS
functionality that is built into applications like Microsoft SQL Server
and Windows SharePoint Services to protect application data. The DFS
Replication service too implements a VSS writer by virtue of which
recovery of only the DFS Replication service on a server is also possible.
5. Improved scheduling: Windows Server Backup includes a wizard that
guides administrators through the process of creating daily backups.
System volumes are automatically included in all scheduled backups for
protection against disasters.

FINAL

7
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

6. Offsite removal of backups for disaster protection: Backups can


be saved to multiple disks in rotation, which enables administrators to
move disks from an offsite location.
7. Remote administration: Windows Server Backup uses an MMC snapin to give administrators a familiar and consistent experience for
managing backups. Administrators can manage backups on other
servers by clicking the Actions menu in the snap-in, and then clicking
Connect to Another Computer.
8. Automatic disk usage management: After configuring a disk for a
scheduled backup, Windows Server Backup will automatically manage
the disk usage administrators do not need to be concerned about
running out of disk space after repeated backups. Windows Server
Backup will automatically reuse the space of older backups when
creating new backups.
9. Extensive command-line support: Windows Server Backup includes
the Wbadmin command and documentation, which enables
administrators to perform most of the same tasks that can be
performed by using the snap-in from the command line.
10. Support for DVD media: Administrators can manually back up
volumes directly to DVD.

Note

The Windows Server Backup tool included in Windows Server 2008


does not use tape storage devices. The use of external and internal disks,
DVDs, and shared folders is supported.

FINAL

9
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Supported Operating Systems


Windows Server Backup is available in all editions, both 32-bit and 64-bit
versions, of Windows Server 2008. However, the Windows Server Backup snapin is not available on a Server Core installation of Windows Server 2008. To run
backups for computers with a Windows server core installation, the command
line tools may be used. Optionally, backups can also be managed remotely
from another computer.
The snap-in is also not available on Windows Server 2008 Standard edition. To
manage backups for a computer with this version of Windows installed, the
snap-in may be used remotely on another computer or command line tools may
be used locally.

FINAL

11
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Settings From NTBackup


You must be a member of the Administrators group or Backup Operators
group to use Backup.
In Windows Server 2008, the firewall has been enabled by default. If you are
managing the backups of another computer using the Windows Server
Backup Microsoft Management Console (MMC) snap-in, you may be
affected. When working on the local computer, you are not affected.
Also, if you are a current user of Windows Backup (Ntbackup.exe) and plan
to switch to the new Windows Server Backup, you might be impacted by the
following issues and changes:
Backup settings will not be upgraded when you upgrade to Windows
Server 2008. You will need to reconfigure settings.
You will need a separate, dedicated disk for running scheduled backups.
You can no longer back up to tape.

Important

You cannot recover backups that you created with Ntbackup.exe by using
Windows Server Backup. However, a version of Ntbackup.exe is available as a
download to Windows Server 2008 users who want to recover data from
backups created by using NTBackup. The downloadable version of
Ntbackup.exe is only for performing recoveries of legacy backups and cannot
be used to create new backups on Windows Server 2008. To download
Ntbackup.exe, see http://go.microsoft.com/fwlink/?LinkId=82917.

Tip

Backup is available in all editions of Windows Server 2008. However,


the Windows Server Backup user interface is not available on a Server Core
installation of Windows Server 2008. To run backups for computers with a
Server Core installation, you need to either use the command line or manage
backups remotely from another computer.

FINAL

13
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Backup Security Considerations


Because your backups contain copies of your operating system and data, we
strongly recommend that you take reasonable precautions to protect backups
from being accessed by unauthorized users. These precautions include the
following:
Restrict physical access to the backups by storing them in a physically
secure location. This precaution applies even if you have backed up
encrypted volumes because the backed up version of the encrypted
volumes will not be encrypted.
Limit the number of users who belong to the Administrators or Backup
Operators group on the server. Members of these groups can use
Windows Backup.
When using a remote shared folder as a storage location for backups,
the user running the backup requires write access to the remote shared
folder, as well as membership in the Backup Operators or Administrators
group on the computer being backed up. As a security best practice, you
should restrict this user account's access to other network resources to
reduce the possibility of unauthorized access to network resources while
the account is being used for the backup operation.

FINAL

15
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Lesson 2: Backup and Restore


Procedures
In this lesson, you will learn the procedures for backing up and restoring data
for various disaster recovery scenarios. You will also understand some of the
changes to backup and restore procedures with regard to Directory Services
and System State backups/restores.

What You Will Learn


After completing this lesson, you will be able to follow best practices in the
following scenarios:

Running Scheduled Backups to External Disks

Backing up a Full Volume to DVD for Volume Recovery

Restoring Files and Folders

Restoring a Full Volume from a DVD

Performing an Operating System Volume Recovery

Performing a Full Server Recovery

FINAL

17
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Installing Windows Server Backup


Windows Server Backup is an optional component which can be installed from
the Server Manager.
1. Launch Server Manager.
2. From the Features Summary page select and launch the Add
Features wizard.
3. The Add Features wizard contains a list of features which may selected
for installation on the server. Navigate to the entry corresponding to
Windows Server Backup Features and select it.
4. Expand the selection and choose Command-line Tools as well in case
you would prefer using the command line tools which ship with Windows
Server Backup for performing backups. The command line tools are also
needed

Figure 1: Installing Windows Server Backup.

5. Select Next on the wizard and continue to follow the installation steps
displayed by the wizard in order to complete installation of the Windows
Server Backup feature.

FINAL

19
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Contents of System State Backup


System state includes more data on Windows Server 2008 than in the Windows
Server 2003 operating system. In Windows Server 2008, the exact system
components which make up the system state depend on the configuration of
the computer. System state data includes at least the following and may
include additional data that is configuration dependent:

Registry.

COM+ class registration database.

Boot files, including system files.

Certificate Services database.

Active Directory Domain Services.

SYSVOL directory.

Cluster Service information.

Microsoft Internet Information Services (IIS) meta-directory.

System files that are under Windows File Protection (WFP).

System state cannot be backed up separately critical volumes (volumes


storing system components including NTDS.dit, SYSVOL and %windir%) can be
backed up. On domain controllers which are using the DFS Replication service
for SYSVOL replication (i.e. Windows Server 2008 domain functional level), the
DFS Replication service co-operates with Windows Server Backup in order to
backup the SYSVOL folder.
The non-authoritative restore process is performed in the Windows Recovery
Environment, which operates from the Microsoft Windows Pre-installation
Environment (Windows PE). This environment can be accessed from the
Windows Server 2008 setup media.
It is recommended to take scheduled backups onto a volume that is hosted on
a different hard disk. However, manual backups can be made to a volume on
the same hard disk, as long as that destination volume is not included in the
backup. Scheduled backup reformats the destination volume and therefore a
dedicated backup volume is recommended. Manual backups, on the other
hand, do not reformat the destination volume. Windows Server Backup also
supports the usage of DVDs as backup media.

FINAL

21
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

FINAL

23
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Full and Critical Volume Backup

Full Server Backup


A full server backup is a backup of every volume on the server. For instance,
this type of backup can be used to recover a domain controller onto new
hardware.

Critical Volumes Backup


Critical volumes are volumes which are required to recover AD DS. Critical
volumes must include the boot-sector volume and the volumes that contain the
following data:

Operating system files (all files in %windir%)


Registry
Ntds.dit database and log files
SYSVOL folders

Critical volume backups can be used to restore AD DS on a domain controller.


These backups can also be restored and copied to transferrable media to install
a new domain controller in the same domain.

FINAL

25
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Scheduled Backups of Domain Controllers


The wbadmin.exe command can be used to schedule daily full backups of the
domain controller (all volumes on the server). Alternatively, this command can
be used to back up only the critical volumes that are required for restoring
AD DS.
When a backup is scheduled, the command is the same for full backup and
critical-volume backup; only the volumes to include are different.
Requirements:
a) It is recommended that the backup volume is not a critical volume.
b) Scheduled backup cannot be performed onto a network share.
c) In case of backups to external storage devices, the device used for
backup must be connected to the domain controller which is being
backed up.
d) The backup operation requires membership of the Built-in
Administrators group.
Notes:
a) The target/destination drive is formatted each time a backup occurs.
b) Weekly or monthly backups cannot be scheduled.
c) To disable a scheduled backup, the command wbadmin disable
backup can be used. Scheduling backups using the command line

1. Obtain the DiskIdentifer value to use for the backup target, as


follows. The backup target is the destination volume on which the
backups will be stored.
2. To view the disk identifiers for all connected hard disks, at the
command line, type the following, and then press ENTER:
wbadmin get disks
3. Mark and copy the value in DiskIdentifier for the correct external
disk. At the command line, type the following, and then press ENTER:
wbadmin enable backup -addtarget:DISKIDENTIFIER -schedule:HH:MM,HH:MM,...HH:MM
-include:SOURCEDRIVE_1:,SOURCEDRIVE_2:,...SOURCEDRIVE_X

Where

FINAL

27
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

a) DiskIdentifier identifies the copied value from the wbadmin get


disks command that provides the external storage location for the
scheduled backup.
b) HH:MM identifies the time or times for the backup to occur on a
daily basis, separated by commas and no spaces.
c) sourceDrive_x: identifies the critical volume or volumes to be
backed up, separated by commas and no spaces.
4. To enable backups with the settings that have just been configured,
type Y.

5. To format and use the volumes on the specified drive as the location to
store scheduled backups, type Y.

6. The wbadmin command provides label instructions.


o Label the backup disk as specified in the response, so that the
backup disk can be identified. The wbadmin command confirms
that the scheduled backup is enabled.

FINAL

29
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Example:
C:\Users\Administrator>wbadmin get disks
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2004 Microsoft Corp.
Disk name
: HDS72808 0PLAT20 USB Device
DiskIdentifier : {018230e0-0000-0000-0000-000000000000}
Total space
: 76.69 GB
Used space
: 92.93 MB
Volumes
: G:[G:]
Disk name
: IC35L040AVER07-0 ATA Device
DiskIdentifier : {4e1224e4-0000-0000-0000-000000000000}
Total space
: 37.27 GB
Used space
: 17.80 GB
Volumes
: C:[C:],F:[F:],E:[E:]

C:\Users\Administrator>wbadmin enable backup -addtarget:{018230e0-0000-00000000-000000000000}


-schedule:20:00 -include:c:,e:
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2004 Microsoft Corp.
Retrieving volume information...
Scheduled backup settings:
Volumes in backup: C:,E:
Location to store backup: HDS72808 0PLAT20 USB Device
Times of day to run backup: 20:00

FINAL

31
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Unscheduled backups using Windows


Server Backup MMC snap-in
1. Click Start and point to Administrative Tools.
2. Select Windows Server Backup in the Administrative Tools menu.
3. The Windows Server Backup MMC snap-in loads. Select Backup
Once from the Action menu.
4. In the Backup Once Wizard, on the Backup options page, select
the radio button labeled Different options and then click on Next.

Figure 2 Backup Options

FINAL

33
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Running Scheduled Backups to External


Disks
Scenario 1: Running Scheduled Backups to
External Disks
This scenario shows you how to set up and run scheduled backups to an
external hard disk. Once you have a backup schedule in place, backups will run
automatically each day. When you create a backup schedule, you can:
Back up the entire server or specific volumes only. You can back
up the all volumes on the server or exclude volumes that do not contain
the operating system or applications. To help protect your server,
Backup automatically selects the volumes that host operating systems
and applications.
Run Backup once a day or more often. Scheduled backups run at
least once a day, but you can also run them more often if needed. Either
way, you choose when it is most convenient to run Backup.
Note
Backup stores a maximum of 512 backup copies. However, the
maximum number of backups you can store might be less, depending on
the storage capacity of the disk and the extent of the changes contained in
each backup.

Steps for configuring scheduled backups to external disk


To configure scheduled backups to external disk, you will need to:
Decide whether to back up the full server or select individual volumes.
Decide whether to run daily backups once a day or more often.
After the backups start running, monitor the status using the Backup
Details section of the snap-in start page.

FINAL

35
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Schedule backups to an external disk


From the Start menu, point to All Programs, click Administrative
Tools, and then click Windows ServerBackup.
2. From the Actions pane of the snap-in start page, click Backup
Schedule.
3. On the Getting Started page, click Next.
4. On the Select Backup Items page, do one of the following:
a. Select Full Server to back up all volumes on the server, and
then click Next.
b. Select Custom, and then click Next. On the Select Custom
Backup Items page, select the volumes you want to back up,
and then click Next.
1.

Note
Volumes that contain operating system components are
included by default and cannot be excluded.

5. On the Specify Backup Time page, do one of the following:


a. Select Once a day, select the time to start running the daily
backup, and then click Next.
b. Select More than once a day. To select the starting times, click
each one under Available time, and then click Add to move it
under Scheduled time. After you have added all the starting
times, click Next.
6. On the Specify Disks page, select the external disk you attached
for this purpose, and then click Next.
7. A message informs you that the selected disk will be formatted and
any existing data will be deleted. Click OK.
8. On the Label Disk page, each disk you selected is listed and a label

FINAL

37
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

is assigned to each disk. Click Next.


Important
We recommend that you record the label information on a
tag and attach it to each external drive. If you need to recover
data from the backup stored on the disk, you will use the label
information to identify the disk.

9. On the Confirmation page, review the details, and then click


Finish. The wizard formats the disk, which may take several minutes
or longer depending on the size of the disk.
10. On the Summary page, click Close.

FINAL

39
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Backing up AD DS
1. At the command prompt, type wbadmin start SystemStateBackup
backuptarget:D:, then press Enter
Important

The backup target location must contain a drive letter and colon,
followed by no folder path (such as D: , F: , etc). The backup target
cannot be the system drive, and cannot be a mapped drive.
2. When prompted, enter C and press Enter, then enter Y and press
Enter.
3. Examine the contents of D:\WindowsImageBackup\200801\SystemStateBackup\Backup\<date>
a.

Notice the backup file has a .vhd extension.

Choose an item.

This functionality will be included with a later build but is not available
in RC0

FINAL

41
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Allowing SSB to any Volume


Warning!

Exercise caution and follow the checklist below while using this option

Checklist/pre-conditions:

Ensure that the target volume does not contain any shadow copy prior
to backup starting.

If SSB is stored on a source volume, backups settings should be set to


"full backups". By default it is full backups unless admin changes it.

Periodically check that no other user/app is maintaining shadow copy on


the target volume.

Do not co-locate your volume level backups and SSB.

Details of Registry workaround:


Set the following registry key. The key needs to be set only once.
Name:
HKLM\SYSTEM\CurrentControlSet\Services\wbengine\SystemState
Backup\AllowSSBToAnyVolume
Type: DWORD
Value: 0 indicates dont allow. Non-zero (1) indicates allow.

FINAL

43
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Mounting the backup image


1. Mount the System State backup, then load it using DSMain.exe.

Choose an item.

This functionality will be included with a later build but is not available
in RC0
2. Mount the System State using ntdsutil.exe
a. At the command prompt type ntdsutil snapshot
b. At the snapshot prompt, type List All
c. At the snapshot prompt, type mount 1
3. View the contents of C:\$SNAP_<datetime>_VOLUMEC$\
a. Notice you can browse to the ntds.dit file at C:\
$SNAP_<datetime>_VOLUMEC$\Windows\NTDS\ntds.dit

FINAL

45
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Browse the NTDS.dit file offline with LDAP


Load the ntds.dit and connect to the offline directory using an ldap
browserUse DSAMain.exe to load the snapshot
4. At another command prompt, type dsamin dbpath C:\
$SNAP_<datetime>_VOLUMEC$\Windows\NTDS\ntds.dit
ldapport 5000
5. Launch LDP.exe and view the contents of the ntds.dit database
a. Launch ldp.exe
b. Click Connection | Connect
c. Change the port to 5000 and click OK
d. Click Connection | Bind
e. Click View | Tree
i. Notice you can view the directory data
f. In the DSAMain command window, enter Control-C and press
Enter

FINAL

47
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Restoring AD DS
1.

Restart the server

2.

Enter Directory Services Restore mode


1)

Press F8 to enter Advanced Boot options

2)

Select Disaster Recovery Restore mode and press Enter

3.

Use Windows Server backup to restore the Windows System State


backup.

4.

Obtain the version of the store system state

5.

1)

At the command prompt, type wbadmin get versions

2)

Note the Version identifier value

Restore the system state


1)

2)

FINAL

At the command prompt, type wbadmin start


systemstaterecovery version:<datetime as found in
previous step>
Type Y and Y at the prompts

49
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

Restoring Files and Folders

Prerequisites for restoring files and folders


Before you can complete this task, ensure that the following requirements are
met:
Backup is installed on the server running Windows Server 2008.
You have access to an account that is a member of the Administrators or
Backup Operators group.
At least one backup exists on an external disk or shared folder.
The external disk or shared folder hosting the backup is online and
available to the server.

Steps for restoring files and folders


To restore files and folders, complete the following steps.
Restore files and folders
1. From the Start menu, point to All Programs, click Administrative Tools,
and then click Windows Server Backup.
2. From the Actions pane of the snap-in start page, click Recover.
3. On the Getting Started page, select the server that stored the files or folders
you need to recover, and then click Next.
4. On the Select Date page, select the date and time of backup you want to
restore from.
5. On the Select Recovery Type page, select Files and folders.
6. On the Select Items to Recover page, under Available items, click the plus
sign (+) to expand the list until the folder you want is visible. Click a folder to
display the contents of the folder in the item pane to the right of the folder pane.
Then click each item in the folder pane that you want to restore.
7. On the Specify the Recovery Options page, select one of the following:
a. Original location.
b. Another location. Then, type the full path to the location, or click Browse
to select it.
8. On the Specify the Recovery Options page, under When Backup finds
existing files and folders, select one of the following, and then click Next:

FINAL

51
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

a. Create copies so I have both versions of the file or folder


b. Overwrite existing files with recovered files
c. Don't recover any existing files and folders
9. On the Summary page, review the details, and then click Finish to restore
the selected items.

FINAL

53
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

Module 8: Windows Server 2008 Backup and Recovery


Lesson 2: Backup and Restore Procedures

FINAL

55
Microsoft Confidential - For Internal and OEM Partner Use Only Microsoft Corporation. All
rights reserved.

You might also like