Vous êtes sur la page 1sur 394

EMC® NetWorker®

Module for Microsoft Applications


Release 2.2 SP1

Administration Guide
P/N 300-010-428
REV A02

EMC Corporation
Corporate Headquarters:
Hopkinton, MA 01748-9103
1-508-435-1000
www.EMC.com
Copyright © 2007-2010 EMC Corporation. All rights reserved.

Published April, 2010

EMC believes the information in this publication is accurate as of its publication date. The information is subject to change
without notice.

THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS IS.” EMC CORPORATION MAKES NO
REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION,
AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE.

Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.

For the most up-to-date regulatory document for your product line, go to the Document/Whitepaper Library on EMC
Powerlink.

For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com.

All other trademarks used herein are the property of their respective owners.

2 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Contents

Preface

Chapter 1 Overview
About NetWorker Module for Microsoft Applications .................................... 22
NMM features ................................................................................................... 22
Privileged user-level access............................................................................. 24
Windows and Microsoft application updates .............................................. 25
Supported NetWorker Server hosts............................................................... 25
Supported and unsupported NetWorker features ...................................... 25
NMM client support for NetWorker Module for
Microsoft Exchange .......................................................................................... 25
NMM client support for NetWorker Module for
Microsoft SQL Server ....................................................................................... 26
Windows operating system support ............................................................. 26
Supported configurations...................................................................................... 27
Simple LAN-based configuration .................................................................. 27
LAN-based configuration with a proxy client ............................................. 28
LAN-free configuration ................................................................................... 29
The VSS snapshot creation process ...................................................................... 31
Providers............................................................................................................ 32
Writers................................................................................................................ 33
Dynamic volume support ............................................................................... 35
Providers and backup performance .............................................................. 35
NMM client snapshot backups ............................................................................. 36
Serverless backup ............................................................................................. 36
Nonpersistent rollover backup....................................................................... 37
Instant backup with or without rollover....................................................... 37
NMM client recoveries........................................................................................... 38
Conventional recovery..................................................................................... 38
Instant recovery ................................................................................................ 38
Rollback recovery ............................................................................................. 39
Disaster and granular backup and recovery for applications.......................... 39
The NMM client interface...................................................................................... 40
Recover view ..................................................................................................... 41
Snapshot Management view........................................................................... 43
Monitor view..................................................................................................... 44
NMM client graphical user interface ................................................................... 44
Opening the software and connecting to a NetWorker Server.................. 44
Selecting an item for recovery ........................................................................ 45

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 3
Contents

Searching for an item........................................................................................ 46


Specifying a recovery browse time................................................................. 46
Selecting a backup version for recovery ........................................................ 46
Viewing the volumes required for a recovery .............................................. 47

Chapter 2 Configuring a Scheduled Backup


Backup configuration roadmap ............................................................................ 50
Name resolution................................................................................................ 51
Best practices and considerations for backing up application data........... 52
Configuration tasks................................................................................................. 53
Configure a backup pool for snapshot operations....................................... 53
Configure snapshot policies ............................................................................ 56
Configure a backup schedule.......................................................................... 58
Configure a backup group............................................................................... 59
Configure a Client resource............................................................................. 60
Configure privileges ......................................................................................... 65
Configure a proxy client .................................................................................. 66
Backing up a clustered NMM Client .................................................................... 68
Moving an NMM Client to another NetWorker server..................................... 69

Chapter 3 System Backup and Recovery


Windows system backup ....................................................................................... 72
Windows system support ................................................................................ 72
Specifying system save sets for backup ......................................................... 72
NMM System data commands........................................................................ 73
Performing system backups .................................................................................. 74
Configure a System Client resource ............................................................... 74
Performing a recovery ............................................................................................ 76
System recovery in Windows Server 2008 and Windows
Server 2003 ......................................................................................................... 77
System Recovery Options Summary ............................................................. 79
Recovery options............................................................................................... 79
Recovering file system snapshots that have not been rolled over ................... 90
Booting Windows in Directory Service Restore mode ...................................... 91
Performing an authoritative recovery of NTDS or FRS data............................ 92
Performing a directed recovery ............................................................................ 93
Performing a directed recovery with NMM ................................................. 94
Recovering the Windows system configuration to an earlier state ................. 96
Performing disaster recovery ................................................................................ 97
Perform disaster recovery when the NMM client is not on a domain
controller ............................................................................................................ 98
Perform disaster recovery when the NMM client is on a
domain controller.............................................................................................. 99

Chapter 4 Deduplication Backup and Recovery


Data deduplication................................................................................................ 102
Avamar integration in NMM ........................................................................ 103
Additional NetWorker Server deduplication
operation information .................................................................................... 104
Windows OS, application, and configuration support ............................. 104
Unsupported for deduplication .................................................................... 105
Related documentation about Avamar Server and NetWorker Server ........ 105
Avamar and NetWorker Server configuration ................................................. 105

4 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Contents

Configure the Avamar and the NetWorker Server to


receive deduplication data and process backups ...................................... 106
Set the DNS resolution for NetWorker deduplication
node and NMM .............................................................................................. 106
Deduplication backups requirements for NetWorker Server ........................ 107
Backup levels and schedules for deduplication clients ............................ 107
Retention policies ........................................................................................... 108
Backup configuration notes .......................................................................... 108
Configuring a Client resource for deduplication backup............................... 109
Querying deduplication save sets using mminfo ............................................ 111
Recovering deduplicated data ........................................................................... 111
Deleting deduplication save sets ........................................................................ 112

Chapter 5 Microsoft SQL Server Backup and Recovery


Microsoft SQL Server backup and recovery ..................................................... 114
SQL Server versions supported by NMM................................................... 114
Types of supported backup and recovery .................................................. 115
Components used by NMM for SQL data backup
and recovery.................................................................................................... 115
Specifying save sets for SQL data ................................................................ 116
Displaying valid SQL data save sets............................................................ 116
URL encoding for SQL save sets .................................................................. 117
SQL Server application information variable settings .............................. 118
Performing SQL Server backups ........................................................................ 119
Full backup of an SQL Server ....................................................................... 119
Performing SQL Server recovery........................................................................ 121
Recovering SQL Server 2005 and 2008 stand-alone databases
from the SQLServerWriter save set.............................................................. 121
Recovering SQL Server 2005 or 2008 express databases from
the System Components save set ................................................................. 122
Performing SQL Server directed recovery ........................................................ 122
Steps for SQL Server directed recovery....................................................... 123
Selecting the NetWorker Server ................................................................... 124
Selecting a client.............................................................................................. 125
Selecting the desired SQL databases for directed recovery ..................... 127
Recover using the default recover path....................................................... 128
Recover using an alternate recover path..................................................... 130
Examples of log messages in NMM log file and Monitor page............... 131
Attaching the recovered SQL databases ..................................................... 132
Performing SQL Server disaster recovery......................................................... 133
SQL Server (stand-alone) disaster recovery on Windows
Server 2008....................................................................................................... 133
SQL Server (stand-alone) disaster recovery on Windows
Server 2003....................................................................................................... 134
SQL Server cluster disaster recovery on Windows Server 2008 .............. 134
SQL Server cluster disaster recovery on Windows Server 2003 .............. 136
Best practices for SQL Server backup and recovery........................................ 137

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 5
Contents

Chapter 6 Microsoft Windows Cluster Backup and Recovery


Windows Server Cluster backup and recovery ................................................ 140
Cluster support in NMM client..................................................................... 140
Compatibility with previous Windows Cluster backups ......................... 140
Components used by NMM for Windows Cluster backup
and recovery .................................................................................................... 141
Windows Cluster application information variable settings.................... 141
Performing Windows Server Cluster backups ................................................. 142
Cluster failover and backups......................................................................... 142
Performing Windows Server Cluster recovery................................................. 143
Performing Windows Server 2003 clustered client disaster recovery .......... 143
Perform disaster recovery of a cluster client............................................... 143
Cluster recovery environment variable settings ........................................ 146
Perform disaster recovery from a legacy VSS backup............................... 146
Perform disaster recovery of a clustered client from a legacy
non-VSS backup .............................................................................................. 149
Monitoring a recovery.................................................................................... 149

Chapter 7 Snapshot Management


Rollover a snapshot............................................................................................... 152
Rollback a snapshot .............................................................................................. 153
Rollback recovery requirements ................................................................... 153
Storage array descriptor file .......................................................................... 154
Failure of system rollback with CLARiiON if the configuration
information is not current.............................................................................. 155
Performing a rollback recovery..................................................................... 155
Deleting a snapshot............................................................................................... 156
Limit of eight volumes in save set for a client resource .................................. 157

Chapter 8 NetWorker Client Management


Specifying a remote client for directed recovery .............................................. 160
Connecting to a NetWorker Server .................................................................... 161
Specifying a recovery browse time..................................................................... 161
Specifying ranges for service and connection ports......................................... 161
Specifying a password.......................................................................................... 162

Chapter 9 Microsoft SharePoint Server 2003 Backup and Recovery


NMM solutions for protecting a Microsoft SharePoint farm.......................... 164
SharePoint Server versions supported by NMM client................................... 166
Microsoft SharePoint Portal Server 2003 and Windows
SharePoint Services 2.0................................................................................... 167
SharePoint Server 2003 overview ....................................................................... 167
Types of supported backup and recovery................................................... 167
Components used by NMM for SQL backup and recovery ..................... 168
Specifying save sets for SharePoint 2003 SQL data.................................... 168
Displaying valid SQL data save sets for SharePoint 2003 backup........... 169
SQL application information variable settings in
SharePoint 2003 backup ................................................................................. 169
Best practices for SQL Server backup and recovery of SharePoint
2003 databases ................................................................................................. 170
Performing SharePoint 2003 backups ................................................................ 171
Schedule backup ............................................................................................. 172

6 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Contents

Configure a SharePoint 2003 Client resource ............................................. 172


Performing a SharePoint 2003 recovery ............................................................ 173
Recovering SQL Server 2000 stand-alone databases for
SharePoint 2003............................................................................................... 174
Recovering SQL 2005 databases for SharePoint 2003................................ 174
SharePoint 2003 scenario of backup and recovery process ............................ 176
Creating a new SharePoint portal with three new databases .................. 177
Viewing the location and hierarchy of databases as they
appear in SQL Enterprise Manager UI ........................................................ 177
Configuring and performing a backup of the new databases
with NMM save sets....................................................................................... 177
Verifying that all databases are backed up through the UI ..................... 178
Deleting the new databases........................................................................... 178
Performing an NMM recovery of the databases........................................ 179
Verifying database recovery through the SQL
Enterprise Manager........................................................................................ 179
Recovering the portal site through SharePoint Portal Server
Central Administration.................................................................................. 180
Verifying the creation of the portal site in SharePoint Server Central
Administration................................................................................................ 183
Preparing a SharePoint farm for disaster recovery in stand-alone
configuration on Microsoft Windows 2008........................................................ 183
Performing a disaster recovery..................................................................... 184

Chapter 10 Microsoft SharePoint Server 2007 Backup and Recovery


NMM solutions for protecting a Microsoft SharePoint farm ......................... 190
SharePoint Server versions supported by NMM client .................................. 190
Microsoft Office SharePoint Server 2007 and Windows
SharePoint Services 3.0 .................................................................................. 190
SharePoint Server 2007 overview ....................................................................... 190
Types of SharePoint Server 2007 backup and recovery ............................ 191
Microsoft Office SharePoint 2007 farm configurations ............................. 192
Components used by NMM for SharePoint 2007 backup
and recovery.................................................................................................... 197
Specifying SharePoint 2007 save sets for application data ....................... 197
Displaying valid SharePoint 2007 data save sets ....................................... 197
SharePoint 2007 application information variable settings...................... 198
Backup and recovery of SharePoint data by using
NMM and NMSQL......................................................................................... 198
Performing SharePoint 2007 backups ................................................................ 199
Enable services for backup............................................................................ 199
Schedule backup ............................................................................................. 200
Configure a backup ........................................................................................ 201
Performing a full backup for a stand-alone SharePoint farm .................. 206
Performing a full backup for a distributed SharePoint farm ................... 207
Performing SharePoint 2007 recovery ............................................................... 208
Full recovery of a stand-alone SharePoint farm......................................... 209
Full recovery of a distributed SharePoint farm.......................................... 209
Recovery of individual SharePoint content databases.............................. 210
Recovery of SharePoint Search/Content Indexes...................................... 211
Rollback of SharePoint SQL databases........................................................ 211
SharePoint 2007 disaster recovery...................................................................... 212
Disaster recovery planning ........................................................................... 212
Performing a disaster recovery..................................................................... 214

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 7
Contents

Preparing a SharePoint farm for disaster recovery in stand-alone


configuration on Microsoft Windows 2008 ........................................................ 215
Keeping backups and recoveries in sync........................................................... 215

Chapter 11 Microsoft SharePoint 2007 Granular Backup and Recovery


NMM support for granular backup and recovery of
SharePoint objects .................................................................................................. 218
SharePoint objects available in NMM granular backup
and recovery .................................................................................................... 218
Staging requirements in SharePoint backup............................................... 220
Components on SQL cluster node................................................................ 220
SharePoint backup performance tips ........................................................... 221
Using the nsr_moss_save.exe command to get save set syntax............... 221
Specifying save sets for SharePoint granular backup................................ 221
Displaying valid SharePoint 2007 syntax for granular backup................ 222
SharePoint 2007 granular application information
variable settings............................................................................................... 224
Using the nsr_moss_recover.exe command to display
granular recovery options.............................................................................. 224
Better backup performance for large SharePoint farms using NMM............ 225
Setting user permissions for granular backup .................................................. 226
Adding a user and setting user permissions............................................... 226
Checking farm administrator, SQL database, and site-collection
administration settings................................................................................... 227
Using administrator account other than that created
during installation.................................................................................................. 228
SharePoint Connector Service administrator privileges ................................. 228
Configuring SharePoint Connector Service ...................................................... 229
Performing SharePoint 2007 non-optimized granular backups..................... 229
Configuring a SharePoint 2007 Client resource for
granular backup .............................................................................................. 230
Performing SharePoint 2007 optimized granular backups ............................. 231
Performing an optimized backup for a stand-alone
SharePoint farm............................................................................................... 231
Performing an optimized backup of a distributed SharePoint farm....... 232
SharePoint recovery search.................................................................................. 233
Searching and marking tips........................................................................... 235
Searching for a SharePoint item.................................................................... 235
SharePoint Pre-recovery options ........................................................................ 236
Performing directed recovery to an original or alternate location ................ 237
SharePoint recovery options................................................................................ 238
Performing a granular recovery of SharePoint items ...................................... 239
SharePoint limitations on object metadata recovery........................................ 240

Chapter 12 Microsoft Exchange Server Backup and Recovery


Exchange Server backup and recovery .............................................................. 242
Microsoft Exchange Server MAPI client and Collaboration
Data Objects support ...................................................................................... 242
Exchange Server versions supported by NMM client ............................... 243
NMM and Exchange Server support for L18N........................................... 243
Exchange Server backup and recovery types ............................................. 243
Updating and modifying Exchange credentials......................................... 244
Compatibility with previous Exchange Server backups ........................... 245

8 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Contents

Exchange Server data backed up by NMM ................................................ 245


Components used by NMM for Exchange Server backup
and recovery.................................................................................................... 245
Specifying Exchange save sets for application data .................................. 246
Exchange application information variable settings ................................. 248
Creation of shadow copy and snapshot process in an
Exchange Server production......................................................................... 250
Proxy client setup ........................................................................................... 250
Best practices for Exchange backup and recovery..................................... 252
Performing Exchange Server backups............................................................... 254
Configuring Exchange Server backups ....................................................... 255
Exchange Client resource .................................................................................... 256
Configuring an Exchange Client resource for Exchange standalone,
LCR, or SCC..................................................................................................... 256
Configuring backup for Microsoft Exchange Server 2007 CCR .............. 259
Performing Exchange Server recovery .............................................................. 267
Exchange recovery requirements and limitations ..................................... 267
Exchange recovery options ........................................................................... 269
Roll-forward recovery.................................................................................... 270
Point-in-time recovery ................................................................................... 271
Mounting the database after recovery......................................................... 272
Performing recovery to storage groups ............................................................ 272
Selecting a storage group restore destination ............................................ 273
Performing Microsoft Exchange Server 2007 directed recovery.................... 284
Perform a directed recovery.......................................................................... 284
Performing Microsoft Exchange Server 2007 disaster recovery .................... 286
Perform Microsoft Exchange Server 2007 (stand-alone)
disaster recovery............................................................................................. 286
Perform Microsoft Exchange Server 2007 disaster recovery for
Exchange CCR to a two-node cluster in a production environment ...... 287
Perform Microsoft Exchange Server 2007 disaster recovery for
Exchange CCR in a production environment............................................. 289
Setting up dual-NIC for Exchange backup ....................................................... 291
Quick recovery of a deleted mailbox ................................................................. 292

Chapter 13 Microsoft Data Protection Manager Backup and Recovery


Data Protection Manager backup and recovery............................................... 294
DPM Server versions supported by NMM client ...................................... 295
DPM backup and recovery types ................................................................. 295
DPM data backed up by NMM .................................................................... 295
Transportable backups of DPM replicas not supported........................... 296
Components used by NMM for DPM backup and recovery ................... 296
Specifying DPM save sets for application data .......................................... 297
DPM application information variable settings......................................... 299
Performing DPM Server backups....................................................................... 299
Configuring DPM backups ........................................................................... 300
Configuring a DPM Client resource .................................................................. 300
Performing DPM Server recovery ...................................................................... 302

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 9
Contents

Chapter 14 Microsoft Data Protection Manager Granular and Disaster Recovery


Performing a granular recovery of DPM objects.............................................. 304
Recovering a folder or file from a DPM replica.......................................... 304
DPM Recovery Options Summary ............................................................... 306
Performing a granular directed recovery to a DPM-protected server .......... 307
DPM directed granular recovery scenario .................................................. 307
Performing a granular directed recovery .................................................... 308
DPM disaster recovery ......................................................................................... 309

Chapter 15 Microsoft Hyper-V Backup and Recovery


Hyper-V backup and recovery............................................................................ 314
Hyper-V version requirements ..................................................................... 314
Operating system versions supported by NMM client ............................. 315
Latest Hyper-V updates requirements ........................................................ 315
Hyper-V parent partition backup and recovery types .............................. 315
Hyper-V parent partitions, child partitions, and applications
within child partitions.................................................................................... 316
Hyper-V storage and backup options supported by NMM ..................... 318
Backup roadmap for Hyper-V ...................................................................... 320
Best practices for Hyper-V parent partition backup and recovery.......... 321
Best practices for Hyper-V child partition applications backup
and recovery ................................................................................................... 322
Components used by NMM for Hyper-V backup and recovery ............. 323
Specifying Hyper-V save sets for application data .................................... 323
Hyper-V application information variable settings ................................... 325
Performing Hyper-V backups ............................................................................. 325
Preparing a virtual machine for backup...................................................... 325
Hyper-V configuration requirements for backing up a virtual
machine that contains multiple volumes..................................................... 326
NMM support for proxy backup of Hyper-V............................................. 326
Configuring Hyper-V backups ..................................................................... 327
Configuring a Hyper-V Client resource ............................................................ 327
Restrictions for backup and recover of Hyper-V virtual machines
in a Windows 2008 Failover Cluster.................................................................... 329
Performing Hyper-V recovery ............................................................................ 330
Offline and online recovery........................................................................... 330
Hosting the recovered virtual systems ........................................................ 330
Specifying the destination for the Hyper-V configuration files and the
destination for virtual system ....................................................................... 331
Selecting Hyper-V recovery options ............................................................ 331
Hyper-V recovery to the original machine and location........................... 332
Performing Hyper-V recovery to a different machine or location .......... 332
Performing Hyper-V parent partition disaster recovery ................................ 334

Chapter 16 Microsoft Active Directory Backup and Recovery


Active Directory backup and recovery .............................................................. 338
Types of supported backup and recovery................................................... 338
Performing an Active Directory or ADAM backup......................................... 338
Planning backups for disaster recovery....................................................... 339
Performing a granular Active Directory or ADAM backup ........................... 339
Considerations for granular backup ............................................................ 340
Configuring Active Directory or ADAM granular backups .................... 341
Set up local Windows SYSTEM account as an ADAM

10 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Contents

administrator................................................................................................... 341
Configure a pool for backup operations ..................................................... 342
Configure a backup schedule ....................................................................... 344
Configure a backup group ............................................................................ 344
Configure a Client resource .......................................................................... 345
Configure privileges....................................................................................... 347
Recovering all Active Directory data................................................................. 348
Performing a granular recovery of Active Directory objects
and attributes.......................................................................................................... 349
Active Directory Recovery Attributes ......................................................... 350
Recovery Restrictions for Active Directory ................................................ 351
Performing Active Directory disaster recovery ............................................... 353

Chapter 17 Troubleshooting
The troubleshooting process ............................................................................... 356
Setting up notifications .................................................................................. 357
Finding errors.................................................................................................. 357
NMM client error messages ................................................................................ 357
E_VOLUME_NOT_SUPPORTED ................................................................ 358
E_VETO_PROVIDER ..................................................................................... 358
VSS_E_WRITERERROR_RETRYABLE error code 0x800423f3 ............... 358
VSS CLIENT... Invalid Writer Selection... for APPLICATIONS .............. 359
Access to the path is denied .......................................................................... 359
Object reference not set to an instance of an object ................................... 359
Savegroup failed in scheduled backup ....................................................... 360
Insufficient permission to access mailbox. See documentation
for required permission settings. Server MBX is not capable of RSG
operations ........................................................................................................ 360
77108:nsrsnap_vss_save: NMM .. Operation unit failed with error
'Traditional save returned error. saverc :- Possible cause:
1)Unsupported file system or 2)write-protected disc or
3)No space on disc.......................................................................................... 361
NMM client issues ................................................................................................ 361
In-progress backup fails ................................................................................ 362
NetWorker is blocked by Windows Firewall ............................................. 362
NMM backups might fail where a firewall exists between the
NetWorker Server and client ........................................................................ 363
Need to run utility to obtain Exchange Server information..................... 364
Requesting a snapshot for a volume on hardware that is not
transportable ................................................................................................... 364
PowerSnap service must be restarted after the NetWorker service
is restarted ....................................................................................................... 364
PowerSnap validation for recovery fails ..................................................... 365
Snapshot backup may fail with writer errors............................................. 365
Microsoft I/O write error when taking a replica in a
CLARiiON array............................................................................................. 365
Creating a replica takes a long time in CLARiiON environment............ 366
Cannot recover Exchange database due to overwrite
prevention error.............................................................................................. 366
Incremental backups may be promoted to full backups .......................... 366
Diagnosing VSS Writer Issues ...................................................................... 367
Modifying the Exchange 2007 COM+ component’s user
account or password ...................................................................................... 368
Save sets may not appear in the Recover page .......................................... 368

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 11
Contents

Recovery of AES-encrypted files fails without passphrase ...................... 368


Unable to restore files encrypted with both Microsoft Windows
Encrypting File System and AES encryption.............................................. 369
Anti-virus programs block recovery ............................................................ 369
Optimized restore of a 100 GB SharePoint site-collection fails ................ 369
Snapshot cannot include both hardware and software snapshot
volumes for clustered NetWorker VSS clients............................................ 370
Cross-platform directed recovery operations are not supported
on NMM ........................................................................................................... 370
Recovery of large number of items fails if one or more items in a
folder is not selected ....................................................................................... 371
Multiple client resources with the same name cannot be combined
in the same group............................................................................................ 372
Backup of two partitions of the same CLARiiON disk fails..................... 372
Connection to DPM service lost during DPM recovery............................ 372
DPM replica backup is not correctly configured........................................ 372
NMM installation issues ...................................................................................... 373
Recovery failure after .NET 3.5 framework installation............................ 373
SYSTEM COMPONENTS failure after McAfee uninstall ......................... 374
SharePoint credentials are not set during installation............................... 374
Checking log files .................................................................................................. 374
NMM client ...................................................................................................... 375
PowerSnap client............................................................................................. 375
Replication Manager....................................................................................... 375
Solutions Enabler ............................................................................................ 376
Active Directory .............................................................................................. 376
NetWorker server............................................................................................ 376
Manually stopping and starting services........................................................... 377
Troubleshooting issues during SQL databases directed recovery................. 378
Other troubleshooting resources......................................................................... 378
Why the nsr/bin/pathownerignore functionality must not be used............ 378

Index

12 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Figures

Title Page

1 Simple LAN-based configuration ....................................................................................... 26


2 LAN-based configuration with a proxy client .................................................................. 27
3 LAN-free configuration........................................................................................................ 28
4 VSS backup process .............................................................................................................. 30
5 NMM client main window .................................................................................................. 37
6 Exclusion representation of recover items ........................................................................ 38
7 Snapshot Management view ............................................................................................... 39
8 Monitor view ......................................................................................................................... 40
9 Selected and partially selected items.................................................................................. 41
10 Local client on the taskbar next to Client........................................................................... 98
11 Configuration Options dialog box...................................................................................... 98
12 Select Viewable Clients dialog box..................................................................................... 99
13 NMM client dropdown list .................................................................................................. 99
14 Change Server icon ............................................................................................................. 114
15 Change NetWorker Server dialog box ............................................................................. 115
16 Configure Options .............................................................................................................. 115
17 Configuration Options dialog box.................................................................................... 116
18 Select Viewable Clients dialog box................................................................................... 116
19 Client menu.......................................................................................................................... 117
20 System Recover Session plug-in ....................................................................................... 117
21 APPLICATIONS and SqlServerWriter nodes................................................................. 117
22 Recover option..................................................................................................................... 118
23 System Recover Session Options dialog box................................................................... 118
24 File System Recover Summary dialog box ...................................................................... 119
25 Monitor window ................................................................................................................. 119
26 Recover Options .................................................................................................................. 120
27 System Recover Session Options dialog box................................................................... 120
28 Browse For Folder dialog box ........................................................................................... 121
29 Invalid Recover Options error message dialog box ....................................................... 121
30 SharePoint 2007 stand-alone farm configuration ........................................................... 135
31 SharePoint 2007 distributed farm configuration ............................................................ 136
32 Restore Remote Dependencies dialog box ...................................................................... 152
33 Newly created databases created in SharePoint............................................................. 165
34 NMM backups available for recovery.............................................................................. 166
35 SQL databases selected for recovery in NMM................................................................ 167
36 Databases recovered to SQL Server.................................................................................. 167
37 SharePoint Server Central Administration window...................................................... 168
38 SharePoint Portal Server Central Administration, Manage Portal Sites page ........... 168
39 Portal creation and restore options................................................................................... 169
40 Portal restore and database names ................................................................................... 169

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 13
41 Confirmation page for request to create a portal site..................................................... 170
42 Status page for portal creation process............................................................................. 170
43 Operation Successful page displayed when portal creation is complete .................... 170
44 Recovered databases and SharePoint portal visible and available in SharePoint ..... 171
45 NMM displaying SharePoint 2007 browsing for recovery items ................................. 186
46 NMM displaying Search tab for SharePoint 2007 recovery .......................................... 187
47 Sample output from nsr_moss_save................................................................................. 193
48 Snapshot process with Exchange production server and proxy client........................ 209
49 Select Storage Group Restore Destination dialog box.................................................... 232
50 Available and unavailable storage groups. ..................................................................... 235
51 Restore To command on context menu............................................................................ 236
52 RSG Configuration error message .................................................................................... 236
53 RSG Configuration correct message ................................................................................. 236
54 Public folders cannot be recovered to an RSG ................................................................ 237
55 Selected and partially selected items ................................................................................ 239
56 Recovered items folders in user mailbox ......................................................................... 240
57 Local client on the taskbar next to Client ......................................................................... 244
58 Select Viewable Clients dialog box ................................................................................... 244
59 NMM client dropdown list ................................................................................................ 244
60 NMM protection of DPM ................................................................................................... 252
61 Directed granular recovery to a DPM-protected client.................................................. 262
62 DPM recovery modes.......................................................................................................... 263
63 Recover submenu for DPM Recovery .............................................................................. 263
64 DPM granular recovery available to file level................................................................. 264
65 DPM granular recovery options........................................................................................ 264
66 Directed recovery of FileServer1 ....................................................................................... 266
67 DPM database and replicas available as selectable items.............................................. 268
68 DPM recovery modes.......................................................................................................... 268
69 Recover submenu for DPM recovery ............................................................................... 269
70 DPM disaster recovery options ......................................................................................... 269
71 Windows Server 2008 host with Hyper-V virtual machine child partitions .............. 274
72 Hyper-V storage options .................................................................................................... 275
73 NMM backup of Hyper-V components ........................................................................... 280
74 Disaster recovery order for a Hyper-V server................................................................. 292
75 Troubleshooting process..................................................................................................... 344

14 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Tables

Title Page

1 Currently supported writers ............................................................................................... 31


2 Support for disaster and granular backup and recovery ................................................ 36
3 Backup tasks .......................................................................................................................... 46
4 Access privileges needed for NMM ................................................................................... 47
5 Best practices and considerations for application backups ............................................ 48
6 Conventional backup settings ............................................................................................. 53
7 Hardware instant snapshot policy ..................................................................................... 53
8 Hardware instant snapshot with rollover policy ............................................................. 54
9 Considerations for NMM Client backup schedules......................................................... 54
10 Save set syntax....................................................................................................................... 57
11 Special characters and their URL-encoded values ........................................................... 59
12 Application information variable settings......................................................................... 60
13 Configuration requirements for a proxy client................................................................. 62
14 Additional steps and considerations for backing up a clustered Client resource ....... 63
15 NMM System data commands............................................................................................ 77
16 Tasks for scheduling a backup are the same for all VSS writers.................................... 77
17 Access privileges needed for NMM ................................................................................... 80
18 SQL save set syntax............................................................................................................. 107
19 Special characters and their URL-encoded values ......................................................... 109
20 SQL variable settings for Application Information attribute ....................................... 109
21 Tasks for scheduling a backup are the same for all VSS writers.................................. 111
22 SQL Server backup and recovery best practices and considerations .......................... 127
23 Comparison of VSS, optimized, and granular backups ................................................ 132
24 SharePoint save set syntax ................................................................................................. 138
25 Special characters and their URL-encoded values ......................................................... 140
26 SharePoint application information variable settings ................................................... 140
27 Save sets for backup............................................................................................................ 141
28 Tasks for scheduling a backup are the same for all VSS writers.................................. 143
29 SQL save set syntax for SharePoint 2003 ......................................................................... 155
30 Special characters and their URL-encoded values ......................................................... 157
31 SQL variable settings for application information attribute......................................... 157
32 Tasks for scheduling a backup are the same for all VSS writers.................................. 158
33 SQL Server backup and recovery best practices and considerations .......................... 163
34 SharePoint Server backup list for disaster recovery ...................................................... 171
35 SharePoint recovery search fields ..................................................................................... 187
36 SharePoint granular recovery save set syntax for SharePoint 2007 objects................ 192
37 Application information variable settings....................................................................... 195
38 nsr_moss_recover command options............................................................................... 196
39 Exchange save set syntax ................................................................................................... 204
40 Special characters and their URL-encoded values ......................................................... 205

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 15
41 Exchange application information variable settings ...................................................... 206
42 Tasks for configuring an Exchange Server backup ........................................................ 212
43 NMM Data Protection Manager commands ................................................................... 254
44 DPM Server 2007 save set syntax ...................................................................................... 255
45 DPM application information variable settings .............................................................. 257
46 Tasks for scheduling a backup are the same for all VSS writers .................................. 257
47 Hyper-V child partition configurations ........................................................................... 275
48 Backup tasks for Hyper-V .................................................................................................. 277
49 NMM Hyper-V commands ................................................................................................ 280
50 Hyper-V save set syntax ..................................................................................................... 281
51 Hyper-V application information variable settings........................................................ 282
52 Tasks for configuring an Exchange Server backup ........................................................ 283
53 Tasks for Active Directory or ADAM granular backup ................................................ 307
54 Considerations for NMM client backup schedules ........................................................ 310
55 System-only attributes that are not backed up................................................................ 317
56 Retained attributes after object is deleted ........................................................................ 318
57 Windows Cluster application information variable settings ........................................ 323
58 Steps and considerations for backing up a clustered Client resource ......................... 324
59 Notifications and errors...................................................................................................... 345
60 Services used in NMM client ............................................................................................. 358

16 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Preface

As part of an effort to improve and enhance the performance and capabilities of its product
lines, EMC periodically releases revisions of its hardware and software. Therefore, some
functions described in this document may not be supported by all versions of the software
or hardware currently in use. For the most up-to-date information on product features,
refer to your product release notes. If a product does not function properly or does not function
as described in this document, please contact your EMC representative.

Audience This guide is part of the EMC NetWorker Module for Microsoft Applications
documentation set, and is intended for use by system administrators during the setup
and maintenance of the product.
Readers should be familiar with the following technologies used in backup and
recovery:
◆ Storage subsystems, such as EMC CLARiiON or Symmetrix, if used
◆ EMC NetWorker software
◆ EMC NetWorker Snapshot management
◆ Microsoft Volume Shadow Copy Service (VSS) technology

Related Related documents include:


documentation
◆ EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Release Notes
◆ EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Installation Guide
◆ EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Applications
Technical Notes for SharePoint and Exchange
◆ EMC NetWorker Module for Microsoft Applications and EMC CLARiiON
Implementing Proxy Node Backups 2.2 SP1 Technical Notes
◆ EMC NetWorker Module for Microsoft Applications and EMC Symmetrix Implementing
Proxy Node Backups 2.2 SP1 Technical Notes
◆ EMC NetWorker Release 7.5 Administration Guide
◆ EMC Information Protection Software Compatibility Guide
◆ EMC Solutions Enabler Symmetrix CLI Version 6.3 Quick Reference

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 17
Preface

Conventions EMC uses the following conventions:

Note: A note presents information that is important, but not hazard-related.

CAUTION
A caution note contains information that is essential to avoid data loss.

Typographical conventions
EMC uses the following type style conventions in this document:
Normal Used in running (nonprocedural) text for:
• Names of interface elements (such as names of windows, dialog boxes, buttons,
fields, and menus)
• Names of resources, attributes, pools, Boolean expressions, buttons, DQL
statements, keywords, clauses, environment variables, functions, utilities
• URLs, pathnames, filenames, directory names, computer names, filenames, links,
groups, service keys, file systems, notifications
Bold Used in running (nonprocedural) text for:
• Names of commands, daemons, options, programs, processes, services,
applications, utilities, kernels, notifications, system calls, man pages
Used in procedures for:
• Names of interface elements (such as names of windows, dialog boxes, buttons,
fields, and menus)
• What user specifically selects, clicks, presses, or types
Italic Used in all text (including procedures) for:
• Full titles of publications referenced in text
• Emphasis (for example a new term)
• Variables
Courier Used for:
• System output, such as an error message or script
• URLs, complete paths, filenames, prompts, and syntax when shown outside of
running text
Courier bold Used for:
• Specific user input (such as commands)
Courier italic Used in procedures for:
• Variables on command line
• User input variables
<> Angle brackets enclose parameter or variable values supplied by the user
[] Square brackets enclose optional values
| Vertical bar indicates alternate selections - the bar means “or”
{} Braces indicate content that you must specify (that is, x or y or z)
... Ellipses indicate nonessential information omitted from the example

Where to get help EMC support, product, and licensing information can be obtained as follows.
Product information — For documentation, release notes, software updates, or for
information about EMC products, licensing, and service, go to the EMC Powerlink
website (registration required) at:
http://Powerlink.EMC.com

18 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Preface

Technical support — For technical support, go to EMC Customer Service on


Powerlink. To open a service request through Powerlink, you must have a valid
support agreement. Please contact your EMC sales representative for details about
obtaining a valid support agreement or to answer any questions about your account.

Your comments Your suggestions will help us continue to improve the accuracy, organization, and
overall quality of the user publications. Please send your opinion of this document to:
techpubcomments@EMC.com

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 19
Preface

20 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
1

Overview

This chapter includes the following topics:


◆ About NetWorker Module for Microsoft Applications........................................... 22
◆ Supported configurations ............................................................................................ 27
◆ The VSS snapshot creation process ............................................................................ 31
◆ NMM client snapshot backups ................................................................................... 36
◆ NMM client recoveries ................................................................................................. 38
◆ Disaster and granular backup and recovery for applications ................................ 39
◆ The NMM client interface ............................................................................................ 40
◆ NMM client graphical user interface.......................................................................... 44

Overview 21
Overview

About NetWorker Module for Microsoft Applications


The EMC® NetWorker® Module for Microsoft Applications (NMM) works with
Microsoft Volume Shadow Copy Service (VSS) technology to provide snapshot
backup and recovery services for file systems, Microsoft applications, and Windows
system data.
The NMM client allows for the creation of point-in-time snapshot data. A snapshot
can be retained on storage volumes for quick access. The user can also perform a
rollover of a snapshot to a traditional backup medium such as a tape, file type device,
or advanced file type device. Data can be recovered either from a snapshot or from
the backup media.
This section provides information on:
◆ “NMM features” on page 22
◆ “Privileged user-level access” on page 24
◆ “Windows and Microsoft application updates” on page 25
◆ “Supported NetWorker Server hosts” on page 25
◆ “Supported and unsupported NetWorker features” on page 25
◆ “NMM client support for NetWorker Module for Microsoft Exchange” on page 25
◆ “NMM client support for NetWorker Module for Microsoft SQL Server” on
page 26
◆ “Windows operating system support” on page 26

NMM features
NMM provides the following features:
◆ Support for the following configurations:
• “Simple LAN-based configuration” on page 27
• “LAN-based configuration with a proxy client” on page 28
• “LAN-free configuration” on page 29
◆ Support for several types of backup, depending on the types available for the
given application or operating system:
• “Serverless backup” on page 36
• “Nonpersistent rollover backup” on page 37
• “Instant backup with or without rollover” on page 37
◆ Support for several types of recovery, depending on the types available for the
given application or operating system:
• “Conventional recovery” on page 38
• “Instant recovery” on page 38
• “Rollback recovery” on page 39
◆ Deduplication support for most of the Microsoft applications and Windows
operating systems that are supported by NMM:
• “Windows OS, application, and configuration support” on page 104 provides
detailed lists of applications and versions supported.

22 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

• For the NetWorker Server, NetWorker release 7.5 SP1 or later is required.
• For the Avamar® server hardware, Avamar Axiom v4.0.2 or later is required.
◆ Application support:
• Microsoft Exchange Server 2007
• Microsoft Exchange Server 2003
• Microsoft SQL Server 2008
• Microsoft SQL Server 2005
• Microsoft Office SharePoint Server 2007
• Microsoft SharePoint Portal Server 2003
• Windows SharePoint Services 3.0
• Windows SharePoint Services 2.0
• Microsoft System Center Data Protection Manager 2007
• Windows Server 2008 with Hyper-V
• Windows Server 2008, Server Core Installation, with Hyper-V
• Windows volumes and system components
• Windows Cluster support
• Active Directory Application Mode (ADAM)
• Active Directory

Note: Application support often requires a minimum specific service pack level. The service
pack levels frequently change. The EMC Information Protection Software Compatibility Guide
provides the most up-to-date information about which service packs are required for each
application.

◆ Support for system providers:


• Microsoft System Provider for use with supported disks, independent of its
hardware arrangement, or whether or not the disk is a part of a hardware
array. This includes directly connected disks such as SATA or SCSI and
storage arrays, for example, where a hardware provider does not exist or has
not been installed. However, the Microsoft System Provider will not take
advantage of any features that a storage array can provide including any
built-in snapshot capabilities.

Note: The Microsoft System Provider is part of the operating system. The cache sizes
and locations are managed in the Disk Management applet.

• With EMC VSS Provider:


– EMC Symmetrix®, Symmetrix V-MAX™, and Symmetrix DMX™ arrays
– EMC CLARiiON® arrays

Note: When EMC VSS Hardware Providers is used with VMware ESX 3.5 or ESX 4.0
and Windows guest operating system in NMM Clients, set the environment variable
VICLIENT_DISABLE_CACHE=1 to disable Virtual Infrastructure Client (VI Client)
cache in the NMM Clients.

• Celerra® arrays with Celerra VSS Provider


• EqualLogic PS Series arrays with EqualLogic Integration ToolKit

About NetWorker Module for Microsoft Applications 23


Overview

• IBM Storage System DS8000


• IBM Storage System DS6000
The EMC Information Protection Software Compatibility Guide provides the most
up-to-date information about hardware array versions supported and NMM
compatibility.

Privileged user-level access


Because NMM requires access to protected data and system files, make sure that all
users, running or configuring NMM backups and recoveries have the appropriate
level of privileges for all resources they must access.
Table 1 on page 24 describes the privilege levels needed.

Table 1 Access privileges needed for NMM

Resource Privileges needed

NetWorker Server • NetWorker Administrator


or
• NetWorker Backup Operator

NetWorker Module for Microsoft • Windows Administrator


Applications client machine or
• Windows Backup Operator

All applications protected by NMM, such • Windows Administrator


as:
• Windows Server
• Microsoft Data Protection Manager
• Microsoft Office SharePoint Server
• Microsoft SQL Server
• Microsoft Exchange Server
• Microsoft Hyper-V Server

Microsoft Office SharePoint Server (for • Windows Administrator


granular backup and recovery) • For only Microsoft Office SharePoint Server granular backup:
– An account that has full administrative privileges in SharePoint
farm or an install account used while creating the SharePoint
farm.
– The NetWorker SharePoint Service credentials specified in the
NetWorker SharePoint Service Configuration dialog box must
match the user and password credentials used for SharePoint
Server administration. If proper credentials are not specified then
the backup of SharePoint data fails. “Matching NetWorker
SharePoint Service credentials with credentials of SharePoint
Server administrator“in the EMC NetWorker Module for Microsoft
Applications Release 2.2 SP1 Installation Guide provides details.
– A service account for each web application that needs to be
backed up. “SharePoint Connector Service administrator
privileges” on page 228 provides information.

Network domain Windows Domain Administrator

Storage node servers Windows Administrator

24 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

Windows and Microsoft application updates


Keep NMM client machines current with Microsoft Windows updates for the
operating system, as well as updates and hotfixes for each installed Microsoft
application protected by NMM.
Otherwise NMM may not function correctly, or backup or recovery may fail. For
example, the NMM UI may fail if the latest .NET updates are not installed.

Supported NetWorker Server hosts


The NMM client supports NetWorker Server 7.3.3 or later and NetWorker Storage
Node 7.3.3 or later on the following hosts:
◆ AIX
◆ HP-UX (PA-RISC and IA64)
◆ Solaris (SPARC)
◆ Windows
◆ Linux (NetWorker Server 7.4 SP3 or later and NetWorker Storage Node 7.4 SP3 or
later)
The EMC INformation Protection Software Compatibility Guide provides the latest
information.

Supported and unsupported NetWorker features


The following NetWorker features are supported:
◆ The NMM client supports Internationalization (I18N).
◆ NetWorker 7.4 SP3 or later is required for Microsoft Office SharePoint 2007
granular protection.
◆ NMM supports NetWorker cloning and staging to create and manage additional
copies of save sets. This NMM support requires NetWorker 7.5 or later. The EMC
NetWorker 7.5 Administration Guide provides details for cloning and staging.
The following NetWorker features are not supported:
◆ Localization (L10N)
◆ Installation of dedicated storage node on NMM client host.

Note: NMM supports proxy storage node, as described in “LAN-free configuration” on


page 29.

◆ Manual (adhoc) backups

NMM client support for NetWorker Module for Microsoft Exchange


NetWorker Module for Microsoft Exchange (NME) release 5.1 SP1 or later can be
installed with NMM 2.1 or later. While NMM can be used to perform database
backups using VSS, NME can be used to perform granular backups (individual
mailbox as well as public folder item-level backups).

About NetWorker Module for Microsoft Applications 25


Overview

Ensure:
◆ Not to back up the Exchange database using both NMM and NME. NME
promotes any incremental database backups to Full, if NMM is installed and used
for backups.
◆ That NMM is installed before NME because NME checks for the existence of the
core NetWorker Client during installation. The NMM software includes the core
NetWorker Client functionality.

NMM client support for NetWorker Module for Microsoft SQL Server
NetWorker Module for Microsoft SQL Server (NMSQL) can be installed with NMM
2.2 SP1. You can back up and recover SharePoint data using NMM and NMSQL
where:
◆ NMM 2.2 SP1 provides disaster recovery protection for the SharePoint control
databases such as CFG database, SSP web application, and search, and
SharePoint granular protection.
◆ NMSQL provides SharePoint content database disaster recovery protection,
provided that the content databases are on a separate server or cluster.
Ensure that NMM is installed before NMSQL because NMSQL checks for the
existence of the core NetWorker Client during installation. The NMM software
includes the core NetWorker Client functionality.

Windows operating system support


NMM client supports the following versions of Windows and Windows-related
features:
◆ Microsoft Windows Server 2008 SP1 (x86, x64)—Standard, Enterprise, DataCenter
Editions
◆ Microsoft Windows Server 2008 SP2 (x86, x64)—Standard, Enterprise, DataCenter
Editions
◆ Microsoft Windows Server 2003 R2 (x86, x64)—Standard, Enterprise, DataCenter
Editions
◆ Microsoft Windows Server 2003 (x86, x64)—Standard, Enterprise, DataCenter
Editions
◆ Microsoft Windows Storage Server 2003
◆ Microsoft Windows Storage Server 2003 R2
◆ System state recovery, file servers, and operating system roles including Active
Directory, DHCP, and Terminal Services
◆ GUID Partition Table disks:
• No disk size limit on Windows environments with CLARiiON storage
(SnapView™ clone, SnapView snap, and SAN Copy™ technologies only)
• Disk size limit of less than 2 TB on Windows environments with Symmetrix
storage

Note: Windows IA64 editions is not supported.

26 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

In addition, the following Windows features are not supported:


◆ BitLocker encryption
◆ LAN-based Proxy Client or LAN-free backups, if dynamic disks are used
◆ VSS Hardware Providers with Windows dynamic disks
◆ Microsoft Software Shadow Copy provider to perform persistent snapshots of
clustered disks
◆ Windows Automated System Recovery (ASR)

Note: Windows Storage Server Single Instance Storage (SIS) is supported, but recoveries
will recover file data for all duplicate files. Data will not be lost if there is sufficient disk
space to hold the duplicate copies.

The EMC Information Protection Software Compatibility Guide contains additional and
the most up-to-date information about NMM compatibility.

Supported configurations
This section describes the basic configurations in which the NMM client is supported:
◆ “Simple LAN-based configuration” on page 27
◆ “LAN-based configuration with a proxy client” on page 28
◆ “LAN-free configuration” on page 29

Note: Although the version of NetWorker Storage Node in Figure 1 on page 28, Figure 2 on
page 29, and Figure 3 on page 30 is given as 7.3.x, use NetWorker Storage Node release 7.3.3 or
later.

Simple LAN-based configuration


Figure 1 on page 28 shows a simple LAN-based configuration with a storage area
network. In a LAN-based configuration, the production data is stored on a storage
area network (SAN) or direct-attached storage (DAS). The data path to the
NetWorker storage node devices is over a LAN. The application server that is being
protected has the NMM client installed.
The data moves as follows:
1. The NetWorker Server, which must be release 7.3.3 or later, initiates the process
by contacting the application server where the NMM client software is installed.
2. The application server with the NMM client software creates a snapshot of the
data on the storage volume.

Note: In Figure 1 on page 28, snapshots are represented by S1 through S5.

3. The application server with the NMM client software uses a snapshot in primary
storage to transfer the data over the LAN and into a conventional backup
medium such as a file type disk, advanced file type disk, or tape.

Supported configurations 27
Overview

NetWorker
Server 7.3.3 or later

LAN

Application server
NetWorker Module for
Microsoft Applications

NetWorker Traditional
SAN Storage storage
Node 7.3.x

Primary storage S4
(For example, S5 S3
CLARiiON or Symmetrix)
S1 S2
GEN-000747

Figure 1 Simple LAN-based configuration

LAN-based configuration with a proxy client


Figure 2 on page 29 shows a LAN-based configuration with a storage area network
and a proxy client. Both the application server and the proxy client have the NMM
client installed. Install the proxy client software by using the NMM client software
package.

Note: The application server and the proxy client must use the same version, NetWorker
Module for Microsoft Applications release 2.2 SP1. If NMM 2.2 SP1 is installed on either the
application server or the proxy client machine, then the other machine must also use NMM 2.2
SP1. Backup and recovery will fail if NMM 2.2 SP1 is used on one of these machines, and an
earlier version of NMM is used on the other.

A proxy client is a host that acts as a remote data mover (DM) when snapshots are
rolled over to a conventional backup medium. A proxy client frees resources on the
application server. When a backup operation uses a proxy client, it is known as a
serverless backup.
The data moves as follows:
1. The NetWorker server initiates the process by contacting the application server
where the NMM client software is installed.
2. The application server with the NMM client software creates a snapshot of the
data on the storage volume.

28 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

Note: In Figure 2 on page 29, snapshots are represented by S1 through S5.

3. The snapshot is made visible to the proxy client.


4. The proxy client uses a snapshot in primary storage to transfer the data over the
LAN and into a conventional backup medium such as a file type disk, advanced
file type disk, or tape.

NetWorker Server
7.3.3 or later

LAN

Application server Proxy client


NetWorker Module for NetWorker Module for
Microsoft Applications Microsoft Applications

SAN

NetWorker Traditional
Storage storage
Primary storage S4 Node 7.3.x
(For example, S5 S3
CLARiiON or Symmetrix)
S1 S2
GEN-000748

Figure 2 LAN-based configuration with a proxy client

LAN-free configuration
Figure 3 on page 30 shows a LAN-free configuration with a storage area network.
The NMM client is installed on the application server. The proxy client is installed on
the NetWorker storage node.
You can set up a NetWorker storage node release 7.3.3 or later as a proxy client to
avoid the network traffic that is generated when a snapshot is rolled over to a
conventional backup medium. Network traffic is avoided because both the
conventional backup device and the snapshot are directly attached to the storage
node.
The data moves as follows:
1. The NetWorker Server initiates the process by contacting the application server
where the NMM client software is installed.
2. The application server with the NMM client software creates a snapshot of the
data on the storage volume.

Note: In Figure 3 on page 30, snapshots are represented by S1 through S5.

Supported configurations 29
Overview

3. The snapshot is made visible to the proxy client.


4. The proxy client, in this case the storage node, uses a snapshot in primary storage
to transfer the data into a conventional backup medium such as a file type disk,
advanced file type disk, or tape.
The NetWorker Server and the application server communicate through the
LAN. However, the data itself is not transferred across the LAN because the
conventional backup medium is attached directly to the NetWorker storage node.

NetWorker Server
7.3.3 or later

LAN

Application server Proxy client


NetWorker Module for NetWorker Storage
Microsoft Applications Node 7.3.x

SAN

Traditional
Primary storage S4 storage
(For example, S5 S3
CLARiiON or Symmetrix)
S1 S2
GEN-000750

Figure 3 LAN-free configuration

30 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

The VSS snapshot creation process


Microsoft Volume Shadow Copy Service (VSS) acts as a coordinator among the
following three components that create, modify, back up, and recover data:
◆ Requestors — Include the NetWorker backup application.
◆ Providers — Include the Microsoft VSS software provider or hardware-based
providers such as the EMC VSS Provider.
◆ Writers — Include writers for operating system data, application data such as
Microsoft Exchange Server 2003 or Microsoft SQL Server data, and file system
volumes such as a D:\ data drive.
In VSS, NetWorker software is a requestor—an application that performs the backup
and recovery of applications or services. When a requestor performs a backup or
recovery, the following occurs:
1. The requestor asks for information from VSS.
2. VSS reviews the request for validity.
3. VSS sends writer data from multiple application and system writers to the
requestor.
4. The requestor tells VSS which writers and volumes to include in the snapshot.
Each application and service that supports VSS has its own writer, which
understands how the application or service works. After the writer signals that it has
prepared the data, the following occurs:
1. The VSS software does the following:
a. Directs the writer to freeze input/output (I/O) to the selected volumes.
b. Queues transactions for later processing.
c. Calls a provider to capture the requested data.
2. The provider does the following:
a. Captures the prepared data.
b. Creates a snapshot that exists side-by-side with the live volume.
3. After the snapshot is created:
a. The provider signals VSS and this signal tells the writer to resume activity.
b. I/O is released to the selected volumes and any queued writes that arrived
during the provider's work are processed.

The VSS snapshot creation process 31


Overview

Figure 4 on page 32 illustrates the VSS backup process.

Requestor
1. NetWorker software (the requestor) Writer Writer
4. Requestor asks VSS to enumerate writers and
asks VSS gether their metadata.
to create
snapshot. 2. Writers provide an XML description
of backup components and define Writer Writer
the recover method.
5. VSS tells the writers to
freeze activity.

7. VSS tells the writers to Writer


resume activity.

3. VSS asks which providers can 6. VSS tells the providers to


support a snapshot for each of create the snapshot of the
the required volumes. current state on disk.

Microsoft VSS EMC VSS Provider


Software Provider (CLARiiON or Symmetrix)

Disk 1 Disk 2 Disk 3 Disk 3


GEN-000188

Figure 4 VSS backup process

The following sections provide information on:


◆ “Providers” on page 32
◆ “Writers” on page 33
◆ “Dynamic volume support” on page 35
◆ “Providers and backup performance” on page 35

Providers
A provider is used to capture snapshots. One of the following types of providers are
available:
◆ EMC VSS Hardware Provider, which supports EMC Symmetrix and CLARiiON
arrays
◆ EMC Celerra VSS Hardware Provider, which supports Celerra arrays
◆ Dell EqualLogic VSS Hardware Provider, which supports EqualLogic PS Series
arrays
◆ Microsoft Software Shadow Copy provider
◆ IBM SystemStorage DS Open API Package, which supports IBM Storage, which
supports IBM Storage System DS6000 and DS8000

32 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

The Microsoft Software Shadow Copy provider is a host-based provider that works
with any type of storage hardware. The EMC VSS Hardware Provider works with a
CLARiiON or a Symmetrix disk array. Some features of the NMM client, such as
serverless backup (LAN free backups) and rollback recovery, are available only with
hardware providers such as the EMC VSS Hardware Provider.
The NetWorker Module for Microsoft Applications Release 2.2 SP1 Installation Guide
provides more information about using NMM with a VSS Hardware Provider,
including hardware array installation and configuration, and NMM installation and
configuration.

Note: NMM does not support rollback restore for backups performed by EqualLogic, Celerra,
IBM, or Microsoft hardware. Only conventional restore and snapshot restore are supported for
backups performed by EqualLogic or Celerra hardware.

Writers
Writers provide information about what data to back up, and specific methods for
handling components and applications during backup and recovery. They also
identify the type of application or service that is being backed up.
If a service or application is present on a system but is not active, information from its
writer will not be available. Consequently, a writer can appear or disappear from
backup to backup.

Note: Files located in an FTP directory are not included in a SYSTEM COMPONENTS
snapshot. Typically, FTP files are stored by IIS in C:\inetpub. IIS Metabase files are
configuration files, which are backed up as part of SYSTEM COMPONENTS. The FTP files are
content files, and must be backed up separately.

The VSS snapshot creation process 33


Overview

Table 2 on page 34 lists the writers that are supported for the NMM client.

Table 2 Currently supported writers

Writer type Writers supported by NMM

Volumes A file system path such as D:\data

Note: NMM only supports NTFS volumes. It does not support FAT16 and FAT32 volumes.
Also, NMM does not support backup of raw volumes.

Applications • Microsoft Active Directory Application Mode (ADAM)


• Microsoft Exchange Server 2003
• Microsoft Exchange Server 2007
• Microsoft System Center Data Protection Manager 2007
• Microsoft Distributed File Replication (Windows Server 2003)
• Microsoft Active Directory Lightweight Directory Services (AD LDS)
• Microsoft SharePoint Portal Server 2003
• Microsoft Office SharePoint Server 2007
• Windows SharePoint Services 2.0
• Windows SharePoint Services 3.0
• Microsoft SQL Server 2008
• Microsoft SQL Server 2005
• Windows Server 2008 (Full Installation) with Hyper-V
• Windows Server 2008 (Server Core Installation) with Hyper-V

Windows system components • BITS (Background Intelligent Transfer Service)


(Windows Server 2003 and Windows • COM+ REGDB (Registration Database)
Server 2008 unless otherwise noted) • Certificate Authority
• Cluster Database (Windows Server 2003)
• Cluster Writer (Windows Server 2008)
• DHCP (Dynamic Host Configuration Protocol) Jet
• Event log
• FRS (File Replication Server)
• FSRM (File Storage Resource Manager)
• Microsoft Distributed File Replication (Windows Server 2003)
• IIS Configuration Writer (Windows Server 2008)
• IIS Metabase
• MSSearch Service Writer (Windows Server 2008)
• NPS VSS Writer (Network Policy and Access Service, Windows Server 2008)
• NTDS (Active Directory Schema)
• Registry
• RSM (Removable Storage Manager)
• Remote Storage Manager
• Shadow Copy Optimization Writer (Windows Server 2008)
• SQL Embedded (SQL 2005 Express, or SQL 2008 Express)
• Terminal Services Gateway Writer (Windows Server 2008)
• Terminal Services Licensing
• WINS (Windows Internet Name Service)
• WMI (Windows Management Instrumentation)

34 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

Dynamic volume support


In Windows Server 2003 and Windows Server 2008:
◆ NMM supports snapshots of dynamic volumes that use the Microsoft Software
Shadow Copy provider.
◆ NMM provides software-based support for:
• Dynamic volume on a single disk.
• Dynamic volume spanning multiple disk.
◆ NMM does not support dynamic volumes in striping.
◆ NMM does not support hardware-based VSS transportable snapshots of dynamic
volumes. NMM will attempt to perform a hardware-based VSS transportable
snapshot when a proxy backup host is specified by using NSR_DATA_MOVER
in the application information field of the Client resource.
For example, hardware-based transportable snapshots are not supported when
the dynamic volumes are on CLARiiON storage. NMM will attempt to perform
the hardware-based snapshot, but the operation will fail during import of the
hardware-based snapshot on the proxy backup host.

! IMPORTANT
Any attempt to take a hardware-based replica of a dynamic volume will fail, and
cause instability in the system.

Windows Server 2008 introduces support for local, hardware-based snapshots of


dynamic volumes. NMM does not support local, nontransportable, hardware-based
snapshots of dynamic volumes on Windows Server 2008. For customer environments
where dynamic volumes are provisioned by using a storage array, customers must
not install the storage array vendor’s VSS provider on the production host. For
example, if a dynamic volume was created on a CLARiiON LUN, customers must not
install the EMC VSS Hardware Provider on the production host.

Providers and backup performance


The Microsoft VSS software provider uses a copy-on-write snapshot technology.
Some hardware providers, such as the EMC VSS Hardware Provider, support
split-mirror snapshot technology and copy-on-write technology. Although
copy-on-write technology requires less hardware resources, split-mirror technology
provides better performance.
Large or fast-changing databases should not be saved with copy-on-write snapshot
technology. The input/output requirements of these databases can cause the
copy-on-write cache to overflow and invalidate the snapshot. Additionally,
copy-on-write technology cannot match the performance of split-mirror technology.
For large or fast-changing databases, use the EMC VSS Hardware Provider in
conjunction with EMC hardware to provide a split-mirror storage solution such as a
CLARiiON clone or a Symmetrix BCV.

The VSS snapshot creation process 35


Overview

NMM client snapshot backups


Backups are configured as scheduled snapshot backups on a NetWorker Server
release 7.3.3 or later.

Note: Manual (adhoc) backups, from either the command line or from the NMM client, are not
supported. However, the user can manually start a scheduled backup at any time.

Snapshot backups are specified through a snapshot policy and various settings for
the Client resource. Snapshot policies and Client resources are set up on the
NetWorker server using NMC. Chapter 2, “Configuring a Scheduled
Backup,”Section “Configuring a Scheduled Backup” provides more information
about configuring backups and Client resources.
You can specify a preconfigured policy or create a custom snapshot policy. The
following preconfigured snapshot policies exist:
◆ Serverless — A single snapshot is taken per day. The data is then rolled over to
conventional storage and the snapshot is deleted. This is a simple snapshot policy
that can be considered as a “default” snapshot policy in NMM.

Note: The Serverless snapshot policy in NMC can be used in true serverless backup
operations, as described in “Serverless backup” on page 36, but can also be used in normal
non-serverless operations.

◆ Daily — The Daily snapshot policy in NMC has Retain Snapshots set to 8. This
indicates that NMM should keep eight snapshots around per day. When the ninth
backup starts at the beginning of the next day the oldest snapshot is deleted, and
so on. Each snapshot has 24-hour expiration policy. If you select the Daily
snapshot policy, persistent snapshots are created.
“Configure snapshot policies” on page 56 provides information about how to
customize a snapshot policy.
The NMM client supports three types of snapshot backups:
◆ “Serverless backup” on page 36
◆ “Nonpersistent rollover backup” on page 37
◆ “Instant backup with or without rollover” on page 37

Serverless backup
Serverless backup is a method of offloading backup procedures from an application
server so that the time ordinarily devoted to backup functions can be used to carry
out other server tasks.
Serverless backup uses a proxy client to move the data from the primary storage on
the application server host to the secondary storage on another host. In this kind of
backup, the snapshot is created on the application server and immediately moved to
the proxy client. Once the snapshot is created, the application server is not involved
in the backup operation. During the rollover, that is backup from the snapshot, the
application server is free and all of its resources are available for use.

36 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

Examples of scenarios when serverless backups are used:


◆ When Microsoft Outlook server is backed up using serverless backup, Microsoft
Outlook users can continue to use the application server, if the server is
Exchange.
◆ Performing serverless backups are also useful when there is additional processing
involved in a snapshot backup. For example, to help determine whether a
snapshot of a Microsoft Exchange database is consistent, the Exchange utility
eseutil is run against the snapshot. Running eseutil can be disk intensive. Using
serverless backup helps free resources on the Exchange Server because the work
from the Exchange Server is offloaded to a proxy client.
Serverless or proxy backup is enabled by specifying NSR_DATA_MOVER in the
Application Information field of the Client resource.

Note: Serverless backup is available only with EMC VSS hardware providers and is subject to
the capabilities of the vendor’s hardware. The EMC VSS Provider for CLARiiON and
Symmetrix provides the capability to perform serverless backup operations for these storage
platforms.

Make sure not to use a Windows Server 2003 system as the proxy mount host for
Windows Server 2008 production host, otherwise backup will fail.

Nonpersistent rollover backup


Nonpersistent rollover backup means that snapshots are not retained once the
backup is rolled over to a conventional backup medium like tape, file, or advanced
file type device. The snapshot is automatically deleted from the NMM client. The
snapshot created is also called a “temporary” snapshot.
For nonpersistent backup the Retain Snapshots is set to 0 in the Snapshot Policy.

Instant backup with or without rollover


An instant backup creates and retains a snapshot on a mounted storage disk volume.
During the period the snapshot resides on a mounted storage disk volume, it is
referred to as a persistent snapshot.
Retention of persistent snapshots on a mounted storage disk volume enables the user
to perform an instant backup. The number of persistent snapshots that can be
retained on a volume depends on the amount of resources available. Other factors
that constrain the number of persistent snapshots include:
◆ Snapshot technology that is used, either copy-on-write or split-mirror.
◆ Input/output patterns of the drive.
◆ Processing involved in running a snapshot backup group.
Depending on how the backups are configured, a snapshot that is created during an
instant backup may be configured to rollover to a conventional backup.
For persistent backup with or without rollover, the Retain Snapshots is set to any
non-zero value in the Snapshot Policy.

NMM client snapshot backups 37


Overview

NMM client recoveries


There are three types of recoveries:
◆ “Conventional recovery” on page 38
◆ “Instant recovery” on page 38
◆ “Rollback recovery” on page 39
By default, recoveries are performed from a conventional backup. If a conventional
backup is not available for the selected browse time, an instant recovery is
performed. The default recovery method can be specified in the NetWorker recovery
options dialog box. “NetWorker recovery options” on page 80 provides more
information about these recovery methods.

Conventional recovery
A conventional recovery consists of recovering data from a snapshot that has been
rolled over to a backup media. Conventional recoveries support the same level of
item selection as do instant recoveries.

Instant recovery
Instant recoveries are performed with persistent snapshots. An instant recovery can
take less time to complete than a conventional recovery because the snapshot is
available on a mounted disk storage volume rather than on a conventional backup
medium.
Instant recoveries support the selection of individual files in a file system snapshot.
Additionally, instant recoveries support the selection of individual components at
whatever level of granularity is supported by the system or application writer.
If the persistent snapshot is created by using a proxy client, the snapshot file system
on the proxy client is read to restore the files. In this way, performance is improved
even further because the job of processing the snapshot for recovery is off-loaded
from the NMM client production host to the proxy client.
The procedure to perform an instant recovery of file system data differs if only a
persistent snapshot is available. Chapter 3, “System Backup and Recovery,”Section
“System Backup and Recovery” provides more information about performing
recoveries.

Note: When performing an instant recovery, the snapshot may become invalidated. This can
occur if the snapshot is based on copy-on-write technology. If a large amount of data is
recovered to the original volume, the cache may overflow. This is true for the Microsoft VSS
software provider and for hardware providers that use copy-on-write technology, such as
CLARiiON snapshots and Symmetrix virtual devices.

38 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

Rollback recovery
A rollback recovery is the process of returning data volumes to an earlier point in
time. The entire contents of a persistent snapshot are recovered during a rollback
recovery. The user cannot select individual components in a rollback recovery
operation. A rollback recovery is the fastest way to recover the contents of a
persistent snapshot.
A rollback recovery is known as a "destructive" recovery because all changes that
were made to the file systems after the selected snapshot was taken are overwritten.
For example, suppose that a snapshot of a database is taken every hour. At 5:30 p.m.,
it is determined that the database is corrupt and that the last known consistent
database snapshot was taken at 5:00 p.m. When the database host is rolled back to the
5:00 p.m. snapshot, all database transactions between 5:00 p.m. and 5:30 p.m. are
overwritten.
The following list describes additional requirements and conditions that apply to
snapshots and rollback restore:
◆ The snapshot to be rolled back must reside on a CLARiiON or Symmetrix storage
system that is supported with the EMC VSS Provider.
◆ The NMM client to which the snapshot is to be rolled back must be supported
with a proxy client.
◆ NMM does not support rollback restore for backups performed with Microsoft
VSS software provider, EqualLogic, or Celerra hardware. Only conventional
restore and snapshot restore are supported for those hardware products.
“Snapshot Management” on page 152 provides more information about rollback
recoveries.

Disaster and granular backup and recovery for applications


NMM provides disaster and granular backup and recovery for most applications:
◆ Full disaster backup and recovery — The entire volume or database for that
application is backed up, and the entire volume or database is recovered as a
whole. In disaster backup and recovery, you cannot select individual items for
backup and recovery.
◆ Granular backup and recovery — In granular backup, individual items can be
selected for backup and in granular recovery, individual items can be selected for
recovery.
For some applications, granular recovery of items requires that the items be specified
for a granular backup. For other applications, items cannot be specified for backup at
a granular level, but can be selected for granular recovery from the full backup.

Disaster and granular backup and recovery for applications 39


Overview

Table 3 on page 40 lists the support provided by NMM for disaster and granular
backup and recovery for Microsoft applications and volumes.

Table 3 Support for disaster and granular backup and recovery

Microsoft
Office Data
Active SQL Exchange SharePoint Protection Hyper-V File
Directory Server Server Server 2007 Manager system

Disaster (full X X X X X X X
backup)

Granular X X X
backup

Disaster (full X X X X X X X
recovery)

Granular X X X
recovery

The NMM client interface


The NMM client interface has three views:
◆ “Recover view” on page 41
◆ “Snapshot Management view” on page 43
◆ “Monitor view” on page 44

40 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

Recover view
With the exception of rollback recovery, all recoveries are performed from the
Recover view. Rollback recoveries use the Snapshot Management view. Figure 5 on
page 41 shows the Recover view.

Main toolbar Navigation tree Client selection


(clustered client only)

Available views Summary of selected items View-specific toolbar

Figure 5 NMM client main page

The NMM client interface 41


Overview

The summary of selected items can also display exclusions, which shows only those
items that are not selected for recovery. This view can be helpful when many items
are selected for recovery. Figure 6 on page 42 shows an exclusion representation.

Items in red are


excluded from
recovery

Figure 6 Exclusion representation of recover items

To view an exclusion representation:


1. Right-click in the summary pane at the bottom of the page.
2. Select Exclusion Representation.

42 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

Snapshot Management view


Various operations on snapshots are performed from the Snapshot Management
view shown in Figure 7 on page 43.

Figure 7 Snapshot Management view

The following operations can be performed on snapshots:


◆ Rollover snapshot
◆ Rollback snapshot
◆ Delete snapshot
In most cases, snapshot rollover and delete operations are performed automatically
based on snapshot policies, which are set up on the NetWorker server. However, if
you need to manually delete or rollover a snapshot, you can do so in the Snapshot
Management view. Chapter 2, “Configuring a Scheduled Backup,”provides more
information about snapshot policies. Chapter 7, “Snapshot Management,” provides
more information about performing manual snapshot operations from the Snapshot
Management view.

The NMM client interface 43


Overview

Monitor view
Recovery and snapshot management operations can be monitored in the Monitor
view shown in Figure 8 on page 44.

Figure 8 Monitor view

Most messages displayed in the Monitor view are also written to log files. Chapter 17,
“Troubleshooting,” provides more information about log files. You can also copy and
paste text from the Monitor view to another application.

NMM client graphical user interface


This section describes how to perform the basic tasks in the NMM client interface.
◆ “Opening the software and connecting to a NetWorker Server” on page 44
◆ “Selecting an item for recovery” on page 45
◆ “Specifying a recovery browse time” on page 46
◆ “Selecting a backup version for recovery” on page 46
◆ “Viewing the volumes required for a recovery” on page 47

Opening the software and connecting to a NetWorker Server


You must first connect to the NetWorker server on which the backup was configured
to recover data.
To connect to a NetWorker Server:
1. From the Start menu, open the NMM client software:
• If you have opened the NMM client before, proceed to step 2 .
• If this is the first time you have opened the NMM client, the Change
NetWorker Server dialog box appears, and you can proceed to step 3 .

44 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

2. From the Main toolbar, click the NetWorker Server icon. The Change NetWorker
Server dialog box appears.
3. Click Update Server List to browse for NetWorker 7.3.3 or later servers. The
discovery process may take a few minutes.
4. When the list is updated, select a server. The selection appears in the Server field.
You can also type a name in the Server field.
5. Click OK.

Note: You can also select Configure Options from the Options menu to connect to a NetWorker
Server.

Selecting an item for recovery


To select items for recovery, select the checkbox beside a node in the navigation tree.
A check mark indicates that the node is selected. By default, all items contained in the
node, such as folders and files, will also be selected for recovery.
To clear an item contained in a selected node, expand the node and clear the
checkbox beside the item. The check mark disappears. Figure 9 on page 45 depicts
one selected item and several partially selected nodes in the navigation tree.

Check mark indicates that the item is selected.


Solid box indicates that
some items, not all, below
this node are selected

Figure 9 Selected and partially selected items

NMM client graphical user interface 45


Overview

Searching for an item


To search for a recovery item:
1. Click Search above the navigation tree.
2. In the Path field, type a directory path.
3. Optionally, in the Name field, type the name of the search item. You can refine
your search as follows:
• Literal match (case-insensitive) — Type abc to return abc, ABC, or AbC but not
abcd or ABCD.
• Literal match (case-sensitive) — Type "abc" to return abc but not ABc or abcd.
• Name contains (case-insensitive) — Type %abc% to return abc, abcd, ABCD, or
xyzABCde.
• Name starts with (case-insensitive) — Type abc% to return abcd or ABCde but
not xyzABCde.
• Name ends with (case-insensitive) — Type %abc to return xyzAbc but not
ABCde.
• Single-character match search using the ? wildcard:
– Type ? to return single character entries and drive volumes, such as C or D.
– Type WMI?Writer to return WMI Writer.
• Multiple-character match search by using the * wildcard:
– Type *.txt to return all entries with a .txt extension.
– Type * to return all items within the selected container.
– Type *writer* to return all writers.
• Search by using both the * and ? wildcard — Type *??I*writer* to return WMI
Writer.
4. Click Search. The Details pane displays the results of the search.

Specifying a recovery browse time


To browse for items that were backed up on or before a particular time:
1. From the application toolbar, click the Browse calendar icon.
2. Select the arrows to select the date and time, and then click OK.
The navigation tree displays backup items from the specified date and earlier.

Selecting a backup version for recovery


This topic applies to SharePoint granular recovery, DPM granular recovery, system
recovery, or Active Directory recovery operations only. Chapter 7, “Snapshot
Management,” provides more information about rollback snapshot recoveries.
To view the versions of an item that were backed up prior to the current browse time:
1. In the navigation tree, select a recover item.

Note: “Selecting an item for recovery” on page 45 provides more information about
selecting an item.

46 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Overview

2. Right-click the selected item and select Versions from the pop-up menu.
3. Select the backup version to recover.
4. Select Use selected item backup time as new browse time to change the browse
time to the same date as the selected backup version.
5. Click OK.
The recover items displayed in the navigation tree are from the selected browse time.

Viewing the volumes required for a recovery


There are no NetWorker volumes associated with a snapshot backup until the
snapshot has been rolled over to a NetWorker Server. If you select to view the
required volumes for a system component or application data snapshot that has not
been rolled over, no volumes will be displayed.
To view the volumes that are required for a recovery operation:
1. In the navigation tree, select a recover item.

Note: “Selecting an item for recovery” on page 45 provides more information about
selecting an item.

2. Right-click the selected item and select Required Volumes from the pop-up
menu.
The Required NetWorker Volumes dialog box appears with a list of the volumes
that must be mounted:
• If a volume is already mounted, the device name is shown after the volume
name.
• If a required volume is not mounted, the administrator is prompted to mount
it when the recovery operation is started.
3. Click OK.

NMM client graphical user interface 47


Overview

48 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
2
Configuring a
Scheduled Backup

This chapter includes the following topics:


◆ Backup configuration roadmap .................................................................................. 50
◆ Configuration tasks....................................................................................................... 53
◆ Backing up a clustered NMM Client.......................................................................... 68
◆ Moving an NMM Client to another NetWorker server........................................... 69

Configuring a Scheduled Backup 49


Configuring a Scheduled Backup

Backup configuration roadmap


This chapter describes the seven tasks required to configure most types of backups.
Review Table 4 on page 50 to determine which tasks are required to configure your
backup.

Table 4 Backup tasks (page 1 of 2)

Type of backup Required action

Windows volumes: Complete tasks 1 through 7:


• Volume data such as a drive letter, for 1. “Configure a backup pool for snapshot operations” on
example: “D:\” page 53
• A file system path, for example “D:\data” 2. “Configure snapshot policies” on page 56
Windows system components, such as: 3. “Configure a backup schedule” on page 58
• The registration database 4. “Configure a backup group” on page 59
• Windows Cluster, etc. 5. “Configure a Client resource” on page 60
• Other Window system components, as listed 6. “Configure privileges” on page 65
in Table 2 on page 34. 7. “Configure a proxy client” on page 66
Note: Specific Windows system components do
not have individual save sets. The Windows
system components are all backed up under the
save set “SYSTEM COMPONENTS:\”

Note: For Windows 2008 SYSTEM


COMPONENTS backups:
— All registry keys that are created under HKCU
will not be backed up.
— All user settings and logs related to PerfMon
will not be backed up.

Application data, such as: Complete tasks 1 through 4:


• Microsoft SQL Server 1. “Configure a backup pool for snapshot operations” on
• Microsoft SharePoint page 53
• Microsoft Exchange Server 2. “Configure snapshot policies” on page 56
• Microsoft System Center Data Protection 3. “Configure a backup schedule” on page 58
Manager (DPM) 4. “Configure a backup group” on page 59
• Microsoft Hyper-V
• Microsoft Windows Server Cluster “Best practices and considerations for backing up application
For example the save set data” on page 52 provides information.
"APPLICATIONS:\SqlServerWriter"
“NMM features” on page 22 lists the specific Continue configuration with the specific instructions for the
versions supported for each of these applications. application provided in:
• “Performing SQL Server backups” on page 119
• “Performing SharePoint 2003 backups” on page 171
• “Performing SharePoint 2007 non-optimized granular
backups” on page 229
• “Performing Exchange Server backups” on page 254
• “Performing DPM Server backups” on page 299
• “Performing Hyper-V backups” on page 325
• “Performing Windows Server Cluster backups” on
page 142

50 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Configuring a Scheduled Backup

Table 4 Backup tasks (page 2 of 2)

Type of backup Required action

For all other applications and systems supported Complete tasks 1 through 7:
by NMM 1. “Configure a backup pool for snapshot operations” on
page 53
2. “Configure snapshot policies” on page 56
3. “Configure a backup schedule” on page 58
4. “Configure a backup group” on page 59
5. “Configure a Client resource” on page 60
6. “Configure privileges” on page 65
7. “Configure a proxy client” on page 66

An NMM client that is part of a cluster Review the information in “Backing up a clustered NMM
Client” on page 68.
Complete tasks 1 through 7:
1. “Configure a backup pool for snapshot operations” on
page 53
2. “Configure snapshot policies” on page 56
3. “Configure a backup schedule” on page 58
4. “Configure a backup group” on page 59
5. “Configure a Client resource” on page 60
6. “Configure privileges” on page 65
7. “Configure a proxy client” on page 66

An Active Directory server Complete the tasks in Chapter 16, “Microsoft Active
Directory Backup and Recovery.”

This section provides information on:


◆ “Name resolution” on page 51
◆ “Best practices and considerations for backing up application data” on page 52

Name resolution
NetWorker Server and the NMM client machines need proper name resolution to
identify and back-translate computer names, such as from name-to-IP address or IP
address-to-name. Also, the NMM client uses the host machine NETBIOS or “short”
name when connecting to the NetWorker Server to browse backups. If the NETBIOS
name is not found, NMM will not be able to display backups.
To ensure clear communication of computer names, perform the following:
1. Add the NetWorker Server name to either of the following:
• The local hosts file, which is located in %SystemRoot%\system32\drivers\etc.
• The Domain Name Server that contains the names of all servers on your
network.
2. When configuring a Client Resource for solutions like Exchange, SharePoint, and
so on, specify the NETBIOS name for the client in the Aliases attribute. The
sections in “Configuring a Client resource for System volumes, components, and
applications” on page 61 describe how to enter the NETBIOS name in the Aliases
attribute.

Backup configuration roadmap 51


Configuring a Scheduled Backup

Best practices and considerations for backing up application data


Table 5 on page 52 lists the considerations for specifying values in the Save Set
attribute for a particular Client resource.

Table 5 Best practices and considerations for application backups

Consideration Best practice

Define different schedules for protecting For application servers such as SQL or Exchange Servers, back up the server application data under a
the following: schedule different than the host operating system data and volumes.
• The operating system and the file Typically, application data is backed up several times a day while operating system data and volumes are
system backed up less frequently.
• The Application that is to be backed up To accomplish this:
1. Create a separate backup group, snapshot policy, and Client resource for:
• Server application data
• Volumes and operating system data
2. Assign the appropriate snapshot policy and Client resource to each backup group.

Installation path for application server Do not install application server program files on the same volume as the application’s database files and
program the log files.

Copy-on-write snapshot technology This applies to the following hardware-based snapshots.


versus split-mirror snapshot technology, • Large databases and databases that are updated frequently, should not be saved with copy-on-write
when using CLARiiON or Symmetrix. snapshot technology. Instead, use a split-mirror snapshot technology such as a CLARiiON clone or a
Symmetrix BCV.
• Although copy-on-write technology requires less hardware resources, split-mirror technology can better
handle the requirements of large or fast-changing databases.
Split-mirror technology is supported only with a VSS hardware provider, such as the EMC VSS Provider. It
is not provided by the built-in Microsoft System Provider.

NetWorker modules and the NMM Client If you attempt to use both the NMM Client and a NetWorker module (for example, NME or NMSQL) to back
up application data, the module backups will be promoted to Full backups.
“NMM client issues” on page 361 provides more information about issues that might be encountered with
the NMM client.

Microsoft SQL Server data Perform a Full backup of the SQL Server 2005 data when the following occurs:
• The SQL Server Writer service is disabled and SQL Server 2005 backups are performed
• The SQL Server Writer service is reenabled
Performing a full backup enables you to recover all SQL Server 2005 data.

In addition to these best practices for all NMM backups, there are application-specific
best practices:
◆ “Best practices for Exchange backup and recovery” on page 252
◆ “Performing SQL Server disaster recovery” on page 133
◆ “Performing a recovery” on page 76

52 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Configuring a Scheduled Backup

Configuration tasks
This section outlines the NMM configuration tasks:
1. “Configure a backup pool for snapshot operations” on page 53
2. “Configure snapshot policies” on page 56
3. “Configure a backup schedule” on page 58
4. “Configure a backup group” on page 59
5. “Configure a Client resource” on page 60
6. “Configure privileges” on page 65
7. “Configure a proxy client” on page 66

Configure a backup pool for snapshot operations


Snapshots create metadata that is used in the management of snapshot operations
such as an instant recovery operation. Create a snapshot pool to store the save sets
that contain snapshot metadata.
Configuring a backup pool is a four-part process:
1. “Configuring a device” on page 53
2. “Configuring a label template” on page 54
3. “Configuring a backup pool” on page 55
4. “Labeling the device” on page 55

Note: All of the procedures in this section must be performed on a NetWorker server release
7.3.3 or later. Access the NetWorker server from the Administration page of the NetWorker
Management Console.

The EMC NetWorker Release 7.5 Administration Guide provides more detailed
information about performing the steps included here.

Configuring a device
Configure a media device for snapshot metadata. Configure a tape, file, or advanced
file type device.
For best performance, configure a file or advanced file type device so that a snapshot
can be recovered without the potential delay associated with retrieving a tape.
To configure a device:
1. In the NetWorker Administration page of the NetWorker Management
Console, select Devices on the taskbar.
2. In the expanded left pane, select Devices.
3. From the File menu, select New.
4. In the Name attribute, replace the default name with the path and name of the
device:
• If the device is configured on the NetWorker server’s storage node, the name
is the simple device path.

Configuration tasks 53
Configuring a Scheduled Backup

For example, C:\tmp\d0 for a file type device.


A tape device would have a format similar to \\.\Tape0.

Note: Do not use the 'temp' directory for Networker DiskBackup devices because the
data will be overwritten.

• If the device is configured on a remote storage node, the name must indicate
that the storage node is remote, by including rd= and the name of the remote
storage node in the device path.
For example, if the remote storage node is neptune, then the device path might
be rd=neptune:c:\tmp\d0.
5. In the Comment field, specify a comment for the device.
6. From the Media Type attribute, select the appropriate media type.
7. Select the Auto Media Management attribute.
8. Click Configuration.
9. In the Target Sessions attribute, type or select a value. Set this attribute to a value
that will speed up the backup, for example, 32.
10. Click OK.

Configuring a label template


Labels identify the kind of data that is stored on the volumes in a backup pool. Label
templates define a naming convention for labels. Create a label template for volumes
that are used to contain snapshot metadata.
To configure a label template:
1. In the Administration page of the NetWorker Management Console, click
Media.
2. In the expanded left pane, select Label Templates.
3. From the File menu, select New.
4. In the Name attribute, type a name that identifies the series of labels as belonging
to volumes for snapshot metadata.
5. In the Comment attribute, specify a comment for the label.
6. In the Fields attribute:
a. Specify a text name such as Snapshot_Metadata.
b. On a separate line, specify a numeric range such as 001–999 or a text range
such as aa–zz.

Note: These attributes are used to incrementally identify each label.

7. Click OK.

54 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Configuring a Scheduled Backup

Configuring a backup pool


To configure a backup pool to store snapshot metadata:
1. In the Administration page of the NetWorker Management Console, click
Media.
2. In the expanded left pane, select Media Pools.
3. From the File menu, select New.
4. For the Name attribute, type a name that matches the label template.
5. In the Comment attribute, specify a comment for the pool.
6. Select the Enabled attribute.
7. For the Pool type attribute, select the backup pool type.
8. For the Label template attribute, select the matching label template.
9. Do not select a group in the Groups attribute.
10. Perform either of the following steps; but not both:
• Click the Selection Criteria tab, and specify a NMM Client for the Clients
attribute. A value must be typed for this attribute if you choose not to specify
groups in the Groups attribute.
Or
• For the Groups attribute, select the applicable backup groups.
11. In the Devices attribute:
a. Select the device that you created in the previous step.
b. Ensure that this device can accept snapshot rollovers for this pool. “Labeling
the device” on page 55 provides details.
12. Click OK.

Labeling the device


Before a device can be used for snapshot backups, it must be labeled using the
snapshot pool that you created in the previous step.
To label a device:
1. In the Administration page of the NetWorker Management Console, click
Devices.
2. In the right pane, right-click on the name of the device and select Label.
3. In the Pool attribute, select the snapshot pool that was created in the previous
step.
4. Select the Mount after Labeling attribute.
5. Click OK.

Configuration tasks 55
Configuring a Scheduled Backup

Configure snapshot policies


A snapshot policy determines the following:
◆ When and how often snapshots are created
◆ Number of snapshots, and if any are retained as persistent snapshots
◆ Which snapshots, if any, are rolled over to conventional storage
◆ When snapshots expire and become eligible for deletion

Note: Snapshots can also be manually rolled over or deleted. Chapter 7, “Snapshot
Management,” describes these procedures in more detail.

You can specify a preconfigured policy or create a custom snapshot policy. The
preconfigured snapshot policies are described in “NMM client snapshot backups” on
page 36.

Disaster recovery
To protect against a disaster:
◆ As part of disaster recovery plan, back up either of the following on the
application hosts:
• The save set All attribute in the save set field of the Client Resource
• The SYSTEM COMPONENTS:\ save set along with the system volume, for
example C:\.
◆ Ensure that the associated snapshot policy includes at least one rollover to a
conventional backup.
• The snapshot policy for volumes and Windows system components should
specify in the Backup Snapshots field a value of “first,” “last,” or “all.”
• Do not specify “none.” Disaster recovery can only be performed from a
conventional backup.

Snapshot policies for SYSTEM COMPONENTS backup


To back up SYSTEM COMPONENTS, the snapshot policy must specify “all” in the
backup snapshot field. NMM enforces this policy to ensure that a permanent backup
of the snapshot exists. Attempting to restore system components from a persistent
snapshot may invalidate the snapshot and leave the system in an unrecoverable state.

Creating a snapshot policy


To create a custom snapshot policy:
1. In the Administration page of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Snapshot Policies.
3. From the File menu, select New.
4. In the Name attribute, type a name for the snapshot policy.
5. In the Comment attribute, type a comment for the snapshot policy.
6. In the Number of Snapshots attribute, type the number of snapshots to be
created per day.
• The Number of Snapshots attribute works in conjunction with the Group
resource Interval and Start Time attributes.

56 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Configuring a Scheduled Backup

• The value for the Start Time and Interval attributes must allow the specified
number of snapshots to be created in a 24-hour period.
For example, to take four snapshots per day and the first snapshot must occur at
4:00 a.m. (Start Time attribute), the Interval attribute must be set to 5 hours or less:
Number of Snapshots < (24:00 - Start Time) / Interval
“Configure a backup group” on page 59 provides additional information about
Snapshots and policies.
7. In the Retain Snapshots attribute, type the maximum number of snapshots that
can be retained for a specified period of time before being expired. The period of
time is specified in the Snapshot Expiration Policy attribute.

Note: Use a minimum Retain Snapshot value of 2. This will ensure that the most recent
snapshot is retained while the new snapshot is created. A Retain Snapshot value of 1 will
delete the only snapshot copy while creating the new snapshot.

8. In the Snapshots Expiration Policy attribute, select a preconfigured expiration


policy to determine how long snapshots can be retained before being deleted.
9. In the Backup Snapshots attribute, specify which snapshots will be rolled over to
a conventional storage medium. Valid values are All, None, First, Last, Every n.

! CAUTION
To protect against a disaster, ensure that all volumes and Windows system
components are backed up. Also, ensure that the associated snapshot policy
includes at least one rollover to a conventional backup. The snapshot policy
for volumes and Windows system components should specify in the Backup
Snapshots field a value of “first,” “last,” or “all.” Do not specify “none.”
Disaster recovery can only be performed from a conventional backup.

If the Backup Snapshot attribute is set to None, you can still rollover the snapshot
manually. Chapter 7, “Snapshot Management,” provides additional information
about snapshots.
10. Click OK.

Note: For Data Protection Manager backups the Backup Snapshot attribute must be set to
All. Backup will fail if any other value is used.

Snapshot policy examples


This section describes snapshot policies:
◆ Conventional backup settings — Four snapshots per day are taken. All
snapshots are rolled over to a conventional storage medium. Each snapshot is
deleted after it is rolled over.
Table 6 on page 57 depicts settings for a conventional backup.

Table 6 Conventional backup settings (page 1 of 2)

Name Conventional backup

Comment Rollover and then delete

Number of snapshots 4

Configuration tasks 57
Configuring a Scheduled Backup

Table 6 Conventional backup settings (page 2 of 2)

Retain snapshots 0

Snapshot expiration policy Day

Backup snapshots All

◆ Hardware instant snapshot policy — Four snapshots per day are taken. Up to 8
snapshots are retained for a maximum period of 1 week. No snapshots are rolled
over.
Table 7 on page 58 depicts settings for an instant backup for hardware snapshots.

Table 7 Hardware instant snapshot policy

Name Instant backup

Comment Persistent snapshots with no rollovers

Number of snapshots 4

Retain snapshots 8

Snapshot expiration policy Week

Backup snapshots None

◆ Hardware instant snapshot with rollover policy — Four snapshots per day are
taken. Up to 8 snapshots are retained for a maximum period of 1 week. Every first
and third snapshots are rolled over.
Table 8 on page 58 depicts settings for an instant backup hardware snapshots
with rollover to a conventional medium.

Table 8 Hardware instant snapshot with rollover policy

Name Instant and conventional backup

Comment Persistent snapshots with rollover to tape

Number of snapshots 4

Retain snapshots 8

Snapshot expiration policy Week

Backup snapshots Every 1


Every 3

Configure a backup schedule


Backup schedules determine the days on which full or incremental backups are run.
Full backups include all of the data specified in an NMM Client resource save set,
while incremental backups include only the data that has changed since the last
backup.
Table 9 on page 59 contains the considerations for configuring a backup schedule for
an NMM Client. This information only applies to rollover backup operations.
Snapshots are always taken at full level.

58 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Configuring a Scheduled Backup

The procedure for creating backup schedules for an NMM Client is the same as for
creating a backup schedule for a regular NetWorker client.

Table 9 Considerations for NMM Client backup schedules

Backup levels Consideration

Full level Full level backups are supported for all types of data.

Incremental backups Incremental level backups are supported only for:


• Backup of volume directories or paths such as E:\ or E:\business_files\.
• Backup of Microsoft Exchange Server 2007.

Note: Incremental level backups of Exchange Server 2007 require NetWorker


release 7.5.1 or 7.4. NetWorker 7.5 users must obtain and install the NetWorker 7.5.1
hotfix.

Level 1 to 9 backups Level 1 to 9 backups are supported only for backup of volume directories or paths
such as E:\ or E:\business_files\.

Note: The information in Table 9 on page 59 applies only to rollover backup operations.
Snapshots are always taken at full level.

Configure a backup group


Backup groups enable you to balance backup loads to reduce the impact on your
storage and network resources. Use a backup group to assign the following attributes
to a set of Client resources:
◆ Snapshot policy
◆ Backup start times
◆ Schedules
◆ Backup pools

Note: A Client resource or backup group cannot specify volumes that use both CLARiiON and
Symmetrix storage systems. For hosts that have both CLARiiON and Symmetrix volumes,
create separate backup groups and Client resources. Each backup group and its Client
resources can specify volumes from only one type of storage system.

To configure a backup group:


1. In the Administration page of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Groups.
3. From the File menu, select New.
4. In the Name attribute, type a name for the backup group.
5. In the Comment attribute, type a description.
6. For the Start Time attribute, type the time when the first snapshot is to be created.

Note: The value for the Start Time attributes must allow the specified number of snapshots
to be created in a 24-hour period.

Configuration tasks 59
Configuring a Scheduled Backup

For example, if you want to take four snapshots per day (Number of Snapshots
attribute) and the first snapshot must occur at 4:00 a.m. (Start Time attribute),
then the Interval attribute must be set to 5 hours or less:
Number of Snapshots < (24:00 - Start Time) / Interval
7. For the Autostart attribute, select Enabled.
8. Click the Snapshot attribute so that a check mark appears beside it.
9. For the Snapshot Policy attribute, select a snapshot policy.
• The Number of Snapshots attribute works in conjunction with the Group
resource Interval and Start Time attributes.
• The value for the Start Time and Interval attributes must allow the specified
number of snapshots to be created in a 24-hour period.
“Configure snapshot policies” on page 56 provides more information about
snapshot policies.
10. For the Snapshot Pool attribute, select a pool that was created for the snapshot.
“Configure a backup pool for snapshot operations” on page 53 provides more
information about pools.
11. Click the Advanced tab.
12. For the Interval attribute, specify how often a snapshot will be created. The
Interval attribute works in conjunction with the backup group Start Time
attribute and the snapshot policy Number of Snapshots attribute.
13. Ensure that Restart Window attribute value is less than or equal to the Interval
attribute value.
14. Set the Client Retries attribute to 0 (zero).
This value specifies the number of times the Networker software attempts to back
up a failed client.
15. Click OK to create the backup group.

! CAUTION
Once you have started a snapshot of a save group, do not interrupt or halt the
snapshot process. For example, in an Exchange Server backup, the
nsrsnap_vss_save.exe process on the production server and the eseutil process on
the proxy may continue to run after the snapshot is halted. Any attempt to stop a
group in NetWorker Management Console will take a long time to complete.

Configure a Client resource


A Client resource specifies what to include in a snapshot of an NMM Client. Client
resources are associated with other backup resources such as groups and snapshot
policies.
You must create multiple Client resources for the same NMM Client host. In this way,
you can apply different backup attributes to different types of information on the
same host.
Example For example, if the NMM Client host is an Exchange Server:
1. Create one Client resource to back up the Exchange databases.
2. Create another Client resource to back up Windows system component data.

60 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Configuring a Scheduled Backup

This way, you can back up Exchange databases many times a day, and back up
Windows system component data once a day.
The general process for configuring a Client resource is the same for all applications
or systems.
The following list describes some of the differences:
◆ System volumes and components use save sets of All, volume name, mount
points, or the save set name SYSTEM COMPONENTS.
◆ System volumes and components do not use application variables.
◆ Applications use the save set APPLICATIONS:\Name of writer.
◆ Some applications backed up by NMM have settings and requirements specific to
the application. These settings are specified by application variables, described in
the backup sections for each application.
For more information, select one of the following topics:
◆ “Configuring a Client resource for System volumes, components, and
applications” on page 61
◆ “Specifying save sets for application data” on page 61
◆ “Displaying valid application data save sets” on page 63

Configuring a Client resource for System volumes, components, and applications


The Client resource configuration task is detailed in separate sections for the
following System volumes, components, and applications:
◆ “Configuring an Exchange Client resource for Exchange standalone, LCR, or
SCC” on page 256
◆ “Configuring a DPM Client resource” on page 300
◆ “Configure a SharePoint 2003 Client resource” on page 172
◆ “Configuring a SharePoint 2007 Client resource” on page 201
◆ “Configure a SQL Server Client resource” on page 120
◆ “Configuring a Hyper-V Client resource” on page 327

Specifying save sets for application data


Table 10 on page 62 lists the save set syntax to specify for supported types of
application data. Specify application data save sets in the Save Set attribute of a Client
resource.
“Displaying valid application data save sets” on page 63 describes how to find the
exact name of a particular Exchange storage group or SQL Server instance and
database combination.

Configuration tasks 61
Configuring a Scheduled Backup

Table 10 Save set syntax

Type of backup data Save set syntax

DFS data (Windows Server 2003 only) APPLICATIONS:\DFS Replication service writer
Also back up the SYSTEM COMPONENTS:\ save set on the namespace server (usually the domain
controller) that is associated with the DFS configuration.

Note: In Windows Server 2008, DFS Replication service writer is backed up as part of SYSTEM
COMPONENTS:\.

ADAM data APPLICATIONS:\ADAM (instance_name) Writer


For example, the ADAM instance named AddressBook would be typed as:
APPLICATIONS:\ADAM (AddressBook) Writer
Chapter 16, “Microsoft Active Directory Backup and Recovery,” provides more information about Active
Directory services.
In Windows Server 2008, Active Directory Lightweight Directory Services (AD LDS) includes the Active
Directory Application Mode (ADAM) functionality provided in Windows Server 2003.

Active Directory Chapter 16, “Microsoft Active Directory Backup and Recovery,” provides more information about Active
Directory services.

Microsoft Exchange Server “Displaying valid Exchange data save sets” on page 247 provides more information about Exchange save
sets and syntax.

Microsoft SQL Server “Displaying valid SQL data save sets” on page 116 provides more information about Microsoft SQL Server
save sets and syntax.

Microsoft System Center Data Protection Table 44 on page 297provides more information about DPM save sets and syntax.
Manager 2007

Microsoft Office SharePoint Server 2007 • “Displaying valid SharePoint 2007 data save sets” on page 197 provides more information about
and Microsoft SharePoint Portal Server Microsoft Office SharePoint Server 2007.
2003 • “Displaying valid SQL data save sets for SharePoint 2003 backup” on page 169 provides more
information about Microsoft SharePoint Portal Server 2007.

Microsoft Office SharePoint Server 2007 “Displaying valid SharePoint 2007 data save sets” on page 197 provides more information about Microsoft
Granular backup Office SharePoint Server 2007 granular backup.

Hyper-V “Displaying valid Hyper-V save sets” on page 324 provides more information about Hyper-V save sets and
syntax.

62 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Configuring a Scheduled Backup

Displaying valid application data save sets


This section describes how to find the exact name of a particular Exchange storage
group or SQL Server instance and database combination.
To display a list of the application data save sets that are available for backup:
1. Open a command prompt on the application server.
2. From the command prompt, type one of the following commands to list the valid
application data save set names:

Note: If the application server is on a virtual host, run this command from the physical
node that is currently hosting the application server.

• If the application server is not on a virtual host, type:


nsrsnap_vss_save -?
• If the application server is on a virtual host, type:
nsrsnap_vss_save -? -c virtual_server_name
where virtual_server_name is the name of the virtual host.
3. Press Enter.
The application data save sets that are available for backup are listed in a format
similar to the following:
"APPLICATIONS:\SqlServerWriter"
"APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON"
"APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\master"
"APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\model"
"APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\msdb"
"APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\NADATA"

Note: Each line of output corresponds to a save set entry that you can add to the Save Set
attribute of a Client resource. Each entry that you add to the Save Set attribute must be typed
on a separate line.

URL encoding for SQL and Exchange save sets


When specifying save set names in the Save Set attribute of the Client resource, there
are cases where special characters, such as the backslash (\), must be specified by
their URL-encoded values. URL-encoded values are used to represent special
characters in the following cases:
◆ SQL Server named instances
◆ SQL Server database names
◆ Exchange storage groups
Consider the following example of a SQL Server named instance:
◆ The name of a SQL Server named instance consists of two parts: the hostname
and a unique name.
◆ The hostname and a unique name are always separated with a backslash (\)
character.

Configuration tasks 63
Configuring a Scheduled Backup

◆ When specifying a SQL Server named instance in the Save Set attribute, replace
the backslash with its URL-encoded value, which is %5C.
In the following example, a SQL Server named instance that is identified as:
CORPDBSERV1\YUKON
would be represented in the Save Set attribute as:
CORPDBSERV1%5CYUKON
To back up only the database named NADATA in the SQL Server named instance
CORPDBSERV1\YUKON, the complete entry in the Save Set attribute would be:
APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\NADATA
If the database name in the previous example was NA#DATA, the save set entry
would be:
APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\NA%23DATA
Table 11 on page 64 lists the most commonly used special characters and their URL
values.

Table 11 Special characters and their URL-encoded values

Special character URL-encoded value Special character URL-encoded value

\ %5C ? %3F

/ %2F ] %5D

" %22 [ %5B

% %25 } %7D

# %23 { %7B

& %26 ^ %5E

< %3C ‘ %60

> %3E | %7C

64 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Configuring a Scheduled Backup

Application information variable settings


Table 12 on page 65 lists the variables that can be specified in the Application
information attribute of the Client resource.

Table 12 Application information variable settings

Attribute name Description Values

NSR_SNAP_TYPE=value Specifies the snapshot service provider vss


name. This vss value is required.
For example, NSR_SNAP_TYPE=vss

NSR_DATA_MOVER=value Specifies the hostname of the NMM • The local host


Client that moves snapshots from the • The proxy client hostname
NMM Client to primary and secondary • If no value is entered, the local host is used as the data mover.
(conventional) storage.
• If you are setting up a proxy client for a virtual cluster server, you must
The host can be either a local host or a also type the proxy client hostname in the Remote Access attribute of
proxy client host. the Client resource.
• For serverless backups, specify a proxy client.
• If setting up an Exchange Client resource, it is recommended that you
use a proxy client.
• If a proxy client is specified, Exchange consistency checks are
performed on the proxy client. Related messages are written to the
Replication Manager log files (erm_clientxx.log) on the proxy client.
• If no proxy client is specified for an Exchange Client resource,
consistency checks are performed on the Client resource host. Related
messages are logged on the Client resource host in both the
Replication Manager log files and the nmm.raw file.

In addition to the attributes listed in Table 12 on page 65, there are also
application-specific attributes:
◆ “SQL Server application information variable settings” on page 118
◆ “SharePoint 2007 application information variable settings” on page 198
◆ “SQL application information variable settings in SharePoint 2003 backup” on
page 169
◆ “Exchange application information variable settings” on page 248
◆ “DPM application information variable settings” on page 299
◆ “Hyper-V application information variable settings” on page 325
◆ “Windows Cluster application information variable settings” on page 141

Configure privileges
The NMM Client must be granted NetWorker Administrator privileges in order to
perform media database operations during snapshot deletion.
If you set up a proxy client for the NMM Client, grant the proxy client NetWorker
Administrator privileges. If you are setting up a NMM Client in a cluster, grant
NetWorker administrator privileges to each cluster node and virtual server.
To configure privileges:
1. In the Administration window of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, click User Groups.

Configuration tasks 65
Configuring a Scheduled Backup

3. Right-click the Administrators group, and then select Properties. The Properties
dialog box appears.
4. In the Users attribute, add the following values for the NMM Client host. Place
each value on a separate line:
user=administrator,host=NMM_client_host
user=system,host=NMM_client_host
where NMM_client_host is the DNS hostname of the NMM Client.
a. If a proxy client is set up for the NMM Client:
– Where a single user is granted administrator rights to perform all
Networker functionality for a host, add the following values:
user=administrator,host=NMM_clientproxy_host
user=system,host=NMM_clientproxy_host
– Where multiple users are configured and added to an administrator group
and that group is added on NetWorker privilege list. All the users under
this group have administrator rights.
To perform all the Networker functionality for a host, add the following
values:
group=administrator,host=NMM_clientproxy_host
group=system,host=NMM_clientproxy_host
b. If the NMM Client is installed in a cluster, grant NetWorker Administrator
privileges to each cluster node and virtual server.
5. Click OK. All NMM users must have administrator-level privileges.

Configure a proxy client


A proxy client is a separate host that acts as a data mover for a NMM Client. By
default, the NMM Client acts as its own data mover. However, a proxy client is
required for serverless backups. Serverless backups free the NMM Client from much
of the processing involved in a snapshot backup. In a serverless backup, a snapshot is
created on the NMM Client and then immediately moved to the proxy client for
further processing.
A proxy client can also be set up on a NetWorker storage node. In this way network
traffic that is generated when a snapshot is rolled over to a conventional backup
medium is avoided.

66 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Configuring a Scheduled Backup

Table 13 on page 67 lists the requirements for setting up a proxy client.

Table 13 Configuration requirements for a proxy client

Requirement Description

General requirements

Installation The proxy client must have the same version of the NMM Client software, and operating system version and patch level, as the
host for which it is acting as the proxy client.
The NetWorker Module for Microsoft Applications Release 2.2 SP1 Installation Guide provides more information about installation.

Configuration Create a NMM Client resource for the proxy client host.
“Configure a Client resource” on page 60 provides more information about performing this task.

For the NMM Client resource that will use the services of the proxy client, type the proxy client host name in the:
• Application Information attribute
• Remote Access attribute

Connectivity The proxy client must have connectivity between the following:
• NMM Client
• NetWorker server
• Storage subsystem on which snapshots reside.

Serverless • A proxy client is required for serverless backups.


backups • Additionally, serverless backups are supported only with VSS hardware providers and depend on the capabilities of the storage
subsystem.
• For the EMC VSS Provider, serverless backups are supported for both CLARiiON and Symmetrix storage systems.

Rollback recovery The NMM Client to which the snapshot is to be rolled back must be supported with a proxy client.
“Snapshot Management” on page 152 provides more information rollback requirements.

CLARiiON For proxy clients using CLARiiON storage and the EMC VSS Provider, at least one CLARiiON LUN must be permanently assigned
to the proxy host.

Third-party Hardware providers may have additional configuration requirements for proxy clients.
hardware The vendor’s product documentation provides details on these requirements.
providers

Additional requirements for an Exchange Server

Exchange Server Set up a proxy client for an Exchange Server. A proxy client performs the processing associated with the Exchange Server
performance consistency checker utility, eseutil.exe, thus reducing the load on the Exchange Server.

Consistency The Exchange Server consistency checker utility, eseutil.exe, must be installed on the proxy client. The version of eseutil.exe
checker utility must be of the same version (service pack level) as the Exchange Server. Ensure that you install the eseutil.exe utility from the
Exchange Management Tools located on the Exchange Server CD.
For example, if Exchange Server 2003 Service Pack 2 is installed on the Exchange Server, then the version of eseutil.exe that is
installed on the proxy client must be from the Exchange Server 2003 SP2 Management utilities. Failure to do so will cause the
consistency checker utility to report errors even when the databases are valid.

Installation path to If the installation of the Exchange consistency checker utility, eseutil.exe, is not performed from the Exchange Server installation
consistency program, ensure that the path to the eseutil.exe program is in the $PATH environment variable.
checker utility

Exchange mount Use the NSR_ALT_PATH variable to specify a path to mount snapshots on the proxy client.
paths “Application information variable settings” on page 65 provides more information about these settings.

Configuration tasks 67
Configuring a Scheduled Backup

Backing up a clustered NMM Client


To configure a virtual NMM Client for backup, complete all of the tasks required to
back up a regular NMM Client. However, Table 14 on page 68 outlines the
considerations to be aware of when setting up a virtual NMM Client.

Table 14 Additional steps and considerations for backing up a clustered Client resource

Backup task Consideration

1. “Configure a backup pool for snapshot No special configuration is required.


operations” on page 53

2. “Configure snapshot policies” on No special configuration is required.


page 56

3. “Configure a backup schedule” on No special configuration is required.


page 58

4. “Configure a backup group” on page 59 No special configuration is required.

5. “Configure a Client resource” on Configure a Client resource for:


page 60 • Each virtual server that is being backed up.
• Each physical node in the cluster on which the virtual server might run.

For each Client resource, type the names of the physical nodes of the cluster in the
Remote Access attribute.

6. “Configure privileges” on page 65 Set up NetWorker administrator privileges for:


• Each physical node in the cluster.
• Each proxy client in the cluster.

7. “Configure a proxy client” on page 66 If a hardware provider such as the EMC VSS Provider is being used, a proxy client
must be configured for a clustered NMM Client.

NetWorker pathownerignore cluster functionality is not supported


Do not attempt to use the pathownerignore functionality. Make sure that a
nsr\bin\pathownerignore file is not used or set.
This restriction is not enforced by NMM code. In some circumstances the path owner
may be ignored by NMM so that the data from a clustered disk is backed up under
the indices of the physical node. But recovery of that data fails. Clustered disks must
be backed up under a virtual cluster client.
“Why the nsr/bin/pathownerignore functionality must not be used” on page 378
provides details.

Cluster failover and backups


If a node within a cluster undergoes failover during a backup operation, the
operation will fail. The next scheduled backup operation will be the next valid
backup.
If you are using a hardware provider such as the EMC VSS Provider, use the disk
management utilities provided with the associated hardware to delete any resources
that may be left in an indeterminate state as a result of the failed backup. For
example, a CLARiiON storage solution may have an InActive snapshot as the result
of a failed backup. In this case, use the EMC Navisphere® user interface or the
NaviCLI command line interface to search for and delete the inactive snapshot.

68 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Configuring a Scheduled Backup

Moving an NMM Client to another NetWorker server


Do not set up scheduled backups for an NMM Client on multiple NetWorker servers.
An NMM Client should be protected by only one NetWorker server.
To move a NMM Client to a different NetWorker server:
1. On the NetWorker server that you are moving from, disable or delete the Client
resources that are set up for the NMM Client.

Note: You can disable a Client resource for scheduled backup by clearing the Scheduled
backup attribute in the Client resource.

2. On the NMM Client, open the NMM Client software and manually delete any
snapshots for the client. “Deleting a snapshot” on page 156 provides more
information about deleting snapshots manually.

Note: Before deleting the snapshots, you can manually roll them over to a conventional
backup. In this way, the data in the snapshot can be recovered.

3. On the NetWorker server that you are moving to, set up scheduled backups for
the NMM Client. “Backup configuration roadmap” on page 50 provides more
information about setting up scheduled backups.

Moving an NMM Client to another NetWorker server 69


Configuring a Scheduled Backup

70 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
3
System Backup and
Recovery

This chapter includes the following topics:


◆ Windows system backup ............................................................................................. 72
◆ Performing system backups ........................................................................................ 74
◆ Performing a recovery .................................................................................................. 76
◆ Recovering file system snapshots that have not been rolled over ......................... 90
◆ Booting Windows in Directory Service Restore mode ............................................ 91
◆ Performing an authoritative recovery of NTDS or FRS data.................................. 92
◆ Performing a directed recovery .................................................................................. 93
◆ Recovering the Windows system configuration to an earlier state ....................... 96
◆ Performing disaster recovery ...................................................................................... 97

System Backup and Recovery 71


System Backup and Recovery

Windows system backup


Chapter 2, “Configuring a Scheduled Backup,”supplements the overall NetWorker
Module for Microsoft Application (NMM) backup and the recovery procedures. It
includes specific details needed to back up and recover Windows System data, such
as Windows volumes and system components.
This section includes information on:
◆ “Windows system support” on page 72
◆ “Specifying system save sets for backup” on page 72
◆ “NMM System data commands” on page 73

Windows system support


NMM supports backup and recovery of Microsoft Windows Server 2008, 2003, and
Storage Server 2003. “Windows operating system support” on page 26 provides a
more detailed list of the versions supported.
NMM also provides backup and recovery for Active Directory and Windows clusters:
◆ Chapter 16, “Microsoft Active Directory Backup and Recovery”provides specific
details for Active Directory backup and recovery.
◆ Chapter 6, “Microsoft Windows Cluster Backup and Recovery” provides specific
details about cluster backup and recovery of Microsoft Windows Server 2008 and
Microsoft Windows Server 2003.

Specifying system save sets for backup


You can back up system data by specifying the volume and system components:
◆ A volume save set can be as simple as a drive letter, or it can be a path or mount
point.

Note: When a volume that contains writer files for an application or the SYSTEM STATE is
backed up, the files that belong to the writers are skipped during the backup.

◆ The SYSTEM COMPONENTS:\ save set contains many individual system


writers. The individual system writers cannot be specified in a backup save set,
they are all backed up in the SYSTEM COMPONENTS:\save set.
The SYSTEM COMPONENTS:\ save set includes the following writers:
◆ Background Intelligent Transfer Service (BITS)
◆ COM+ Registration Database (REGDB)
◆ Certificate Authority
◆ Cluster Database (Windows Server 2003)
◆ Cluster Writer (Windows Server 2008)
◆ Dynamic Host Configuration Protocol (DHCP) Jet
◆ Event log
◆ File Replication Server (FRS)
◆ File Storage Resource Manager (FSRM)

72 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

◆ Microsoft Distributed File Replication (Windows Server 2003)


◆ IIS Configuration Writer (Windows Server 2008)
◆ IIS Metabase
◆ Microsoft SQL Server Desktop Engine (MSDE) for SQL 2000 embedded databases
◆ MSSearch Service Writer (Windows Server 2008)
◆ NPS VSS Writer (Network Policy and Access Service, Windows Server 2008)
◆ NTDS (Active Directory Schema)
◆ Registry
◆ Removable Storage Manager (RSM)
◆ Remote Storage Manager
◆ Shadow Copy Optimization Writer (Windows Server 2008)
◆ SQL Embedded (SQL 2005 Express)
◆ Terminal Services Gateway Writer (Windows Server 2008)
◆ Terminal Services Licensing
◆ Windows Internet Name Service (WINS)
◆ Windows Management Instrumentation (WMI)

NMM System data commands


Table 15 on page 73 describes the commands that NMM uses to back up and recover
system data.

Table 15 NMM System data commands

Item Description

nsrsnap_vss_save NMM command that initiates the VSS-based backup.

nsrsnap_vss_recover NMM command that initiates the VSS-based recovery.

Note: There are no application variables for system backups.

Windows system backup 73


System Backup and Recovery

Performing system backups


To perform a system backup for all VSS writers that are supported by NMM,
complete the tasks outlined in Table 16 on page 74.

Table 16 Tasks for scheduling a backup are the same for all VSS
writers

Backup task Consideration

1. “Configure a backup pool for snapshot operations” No special configuration is required.


on page 53

2. “Configure snapshot policies” on page 56 To back up “SYSTEM COMPONENTS:\” the snapshot


policy must specify “all.” NMM enforces this policy to
ensure that a permanent backup of the snapshot exists.
Attempting to restore system components from a
persistent snapshot may invalidate the snapshot and
leave the system in an unrecoverable state.

3. “Configure a backup schedule” on page 58 No special configuration is required.

4. “Configure a backup group” on page 59 No special configuration is required.

5. “Configure a Client resource” on page 60 No special configuration is required.

Configure a System Client resource


To configure a System Client resource:
1. In the Administration page of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the hostname of the NetWorker client computer.
5. In the Comment attribute, type a description. If you are creating multiple Client
resources for the same NetWorker client host computer, use this attribute to
differentiate the purpose of each resource.
6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, select a retention policy from the list. The
retention policy determines how long rolled-over data is available though not
necessarily quickly.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute, specify the components to be backed up. Place multiple
entries on separate lines:
• To specify all volume data and all available Windows system components,
type:
All

Note: Application data such as Exchange data is not included in the save set All.

74 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

• To back up specific volumes, type the volume name. For example, to specify
the volume E and all of its subfolders and files, type:
E:\

Note: Entries are not case-sensitive.

• To specify volume mount point data, place the name of the mount point on a
separate line. For example, if you have a mount point named CAD_Drawings
on volume E:\ and you want to back up all of the data on E:\ including the
data under the mount point, type the following on separate lines:
E:\
E:\CAD_Drawings

Note: The save set All will include mount point data only if no other path to the remote
data is found during backup.

• To specify all available Windows system components such as the registration


database and Windows event log:
– Type the save set All or SYSTEM COMPONENTS:\.
Ensure that the backslash (\) character is entered with the save set name
SYSTEM COMPONENTS:\. Otherwise, backup fails and no concise error
message is provided.

! CAUTION
To protect against a disaster, ensure that all volumes and Windows system
components are backed up. Also ensure that the associated snapshot policy
includes at least one rollover to a conventional backup. The snapshot policy
for volumes and Windows system components should specify in the
Backup Snapshots field a value of “first,” “last,” or “all.” Do not specify
“none.” Disaster recovery can only be performed from a conventional
backup.

10. For the Group attribute, select the backup group to which this Client resource
will be added:
• If Client resources for the same NMM client host are added to different
backup groups, ensure that the Start Time attribute for each backup group is
spaced far enough apart so that the backups for the host’s Client resources do
not overlap.
11. For the Schedule attribute, select a backup schedule.
12. Click the Apps & Modules tab.
13. In the Access area, leave the Remote user and Password fields empty.
14. In the Backup command attribute, type the backup command. For all types of
backup data except for Active Directory conventional backups and SharePoint
granular backups, type:
nsrsnap_vss_save.exe
“Active Directory backup and recovery” on page 338 provides additional
information about Active Directory backups. Chapter 11, “Microsoft SharePoint
2007 Granular Backup and Recovery,” provides information about SharePoint
granular backups.

Performing system backups 75


System Backup and Recovery

15. In the Application information attribute:


a. Type the following variable and value:
NSR_SNAP_TYPE=vss
b. Type any additional variables and their values on a separate line.
16. If a proxy client is being set up for the NMM client, type the hostname of the
proxy client in the Remote Access attribute.

Note: If the NMM client is part of a cluster, type the names of the physical nodes of the
cluster in the Remote Access attribute.

17. Click the Globals (1 of 2) tab.

Performing a recovery
Ensure that all users who will be running or configuring NetWorker Module for
Microsoft Applications (NMM) backups and recoveries have the appropriate level of
privileges for all resources they must access.
Table 17 on page 76 describes the privilege levels needed.

Table 17 Access privileges needed for recovery

Resource Privileges needed

NetWorker Server NetWorker Administrator or NetWorker Backup Operator

NetWorker Module for Microsoft Applications Windows Administrator or Windows Backup Operator
client machine

All applications protected by NMM, such as: Windows Administrator


Windows Server
Microsoft Data Protection Manager
Microsoft Office SharePoint Server
Microsoft SQL Server
Microsoft Exchange Server

Network domain Windows Domain Administrator

Storage node servers Windows Administrator

Review the following options and considerations before performing the procedures
in these sections:
◆ Chapter 16, “Microsoft Active Directory Backup and Recovery”provides more
information about recovering Active Directory (AD) data.
◆ “Recovering file system snapshots that have not been rolled over” on page 90
provides more information about recovering data from a persistent snapshot that
has not been rolled over to a conventional backup medium.

! IMPORTANT
Attempting to restore system components from a persistent snapshot may
invalidate the snapshot and leave the system in an unrecoverable state. NMM
does not prevent an attempt to restore SYSTEM COMPONENTS from a
point-in-time backup. Chapter 7, “Snapshot Management,”describes how to
rollover a snapshot to a conventional backup.

76 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

◆ To recover backup data that was password-protected and encrypted with another
VSS client program, and not NetWorker VSS Client for Microsoft Windows 1.0 or
NetWorker Module for Microsoft Applications, use the recover.exe command
from the Command Line Interface (CLI). The EMC NetWorker Command Reference
Guide, release 7.3.2 or later, provides more information about the recover.exe
command.
◆ Data that was backed up from a mount point is available for browsing at the root
of the navigation tree. For example, if the drive H:\ has a mount point named
H:\CAD_Drawings, then a separate entry for the mount point
H:\CAD_Drawings will be available at the root of the navigation tree instead of
as a subfolder under H:\.
◆ To recover data to a mount point that has been deleted, manually re-create the
mount point before recovering the data. Otherwise, the data will be recovered to a
local directory whose name corresponds to the deleted mount point.
◆ If the disk that is referenced by the mount point has been replaced, manually
re-create the mount point.
◆ If a file was not backed up due to a skip directive, you may still be able to select
the file for a recovery operation. In this case, although you can select the file, it is
not recoverable.

! IMPORTANT
If you are recovering File Replication Services (FRS) or Windows NT Directory
Services (NTDS) data, boot the NetWorker client in Directory Service Recovery
mode before completing the recovery options in this section. “Booting Windows in
Directory Service Restore mode” on page 91 provides more information about
these recovery options.

System recovery in Windows Server 2008 and Windows Server 2003


When recovering an older backup of the System in Windows Server 2008 or Windows
Server 2003, any application or NMM upgrades, service packs, or hot fixes that were
installed since the backup may need to be reinstalled after the recovery. “Recovering
system data” on page 78 describes using the System Recover Session commands and
features for recovery.
Some applications have their own name for the recover session. When you select
Recover from the NMM client, it may display one or more of the following in
addition to System Recover Session, depending on which of the applications are
installed on the client:
◆ Active Directory Recover Session
◆ DPM Recover Session
◆ Exchange Recover Session
◆ Hyper-V Recover Session
◆ SharePoint Recover Session
Application-specific recovery steps are provided in separate chapters for each
application.

Performing a recovery 77
System Backup and Recovery

Recovering system data


The System Recover Session displays the backups that are available for recovery, and
provides browsing and searching to locate and select items for recovery.
To recover system data:
1. Open the NMM client software and select the NetWorker Server on which the
NMM client software was configured for backup.
2. If the NMM client is part of a cluster, select the virtual client to which you are
recovering data. The virtual client can be selected from the Client list attribute in
the application toolbar.
3. From the left pane, select Recover > System Recover Session.
4. In the navigation tree, select the items to be recovered. By default, items
displayed in the navigation tree are from the most recent backup.
• For the System Recover Session view, both snapshot and rollovers can be
displayed in the same view:
– If the most recent backup for an item is a snapshot, the snapshot appears.
– If the most recent backup for an item is a rollover, the rollover appears.
• To recover file system items from a previous backup, from the application
toolbar, click the Browse calendar icon and select an earlier browse time.
• To view versions of a backup item prior to the browse time, right-click an item
in the navigation tree and select Versions from the pop-up menu.
5. To determine whether any volumes need to be mounted for a selected item,
right-click the item and select Required Volumes from the pop-up menu.
6. From the Options menu, select System Recover Session Options.
7. Enter application-specific recover options or settings, as described in:
• “NetWorker recovery options” on page 80
• “Exchange recovery options” on page 269
• “Performing DPM Server recovery” on page 302
• “Performing SharePoint 2007 recovery” on page 208
• “ADAM recovery options” on page 84
• “DFS recovery options” on page 85
• “FRS recovery options” on page 87
• “NTDS recovery options” on page 88
• “Performing SQL Server recovery” on page 121
8. From the System Recover Session toolbar, click Start Restore.
9. From the left pane, select Monitor to view messages related to the progress of the
recovery operation.

Note: If you recovered items from a snapshot (instant recovery), the snapshot volume will be
temporarily mounted during the recovery operation. The mounted volume is displayed in the
Windows Explorer program. After the recovery is complete, you may have to refresh the
Windows Explorer to update its view.

78 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

System Recovery Options Summary


The System Recovery Options page lists the System Recover and NetWorker Recover
Options. This allows you to review the settings before starting the recovery.
“Performing a recovery” on page 76 provides more information.
You can perform the following tasks:
◆ To change the NetWorker and System Recover Options, click Recover Options.
◆ You can also access the settings from the System Recover Session view. On the
System Recover Session toolbar, click Recover Options.
◆ The NetWorker Recover Options settings are specified on the General,
NetWorker, and Security tabs.
◆ When the options are okay, click Start Recover to validate the options. If all
option settings are valid, the dialog box closes and recovery starts.

Recovery options
This section describes the following recovery options:
◆ “General recovery options” on page 79
◆ System recovery options:
• “NetWorker recovery options” on page 80
• “Cluster recovery options” on page 81
• “Exchange recovery options” on page 269
• “ADAM recovery options” on page 84
• “DFS recovery options” on page 85
• “FRS recovery options” on page 87
• “NTDS recovery options” on page 88
• “Security recovery options” on page 90

General recovery options


This tab specifies how much diagnostic information is output for a recovery
operation. For most recoveries, the diagnostic information is displayed in the Monitor
view.
To set the level of diagnostic information for a recovery:
1. Click the General tab from the Recover Options dialog box.
2. From the Diagnostic Level attribute, select a level from 1 to 9.
• A value of 1 produces the least amount of diagnostic information and a value
of 9 produces the most diagnostic information.
• The value Normal produces no diagnostic information.
3. Click OK.

Note: After each recovery, the Diagnostic Level attribute is automatically set to Normal.

Performing a recovery 79
System Backup and Recovery

NetWorker recovery options


The NetWorker tab is displayed in System Recover Session Options and Hyper-V
Recover Session Options. Some of the following features are not applicable to
Hyper-V Recover Session Options.
To specify recovery options for file system data:
1. From the Options menu, select System Recover Session Options.
2. Click the NetWorker tab.
3. In the Relocate recovered data to: field, type a location other than the location
from which the data was originally backed up:
• This feature is only applicable to System Recover Session Options.
• The location must be a local path. URL syntax such as \\servername\share is
not supported.
4. Use the Restore Type field to determine the default recovery method:
• Select Conventional Restore to recover from a conventional backup medium.
If a conventional backup is not available for the selected browse time, an
snapshot restore is performed.
• Select Snapshot Restore to recover from a snapshot. If a snapshot is not
available for the selected browse time, a conventional backup is performed:
– For snapshot restore, snapshot validation will occur prior to the restore.
– If the snapshot is invalid, the restore will fail. The invalid snapshot will be
deleted automatically the next time the snapshot group runs.
– You can also delete a snapshot manually. “Deleting a snapshot” on
page 156 provides more information about manually deleting snapshots.
5. Select Use Microsoft best practices for selecting the system state to enforce
Microsoft recommendations that determine which system state items must be
selected as a group for recovery:
• This feature is only applicable to System Recover Session Options.
• Clear this attribute to select system state items individually.

! CAUTION
Do not clear the "Microsoft Best Practices" box except where specifically
instructed to do otherwise in this document. For instance, there are some
procedures, such as recovering Distributed File System (DFS) data, where you
can clear this attribute. Microsoft does not support recovery of portions of the
operating system. Attempted recovery of portions of the operating system,
with this box cleared, may render the system unbootable. After each recovery
operation, this option is automatically selected.

6. Select Terminate recover of item if errors are encountered if it is not already


selected:
• This checkbox is selected by default.
• If this option is selected, then when an error occurs only the recovery of the
specific item causing the error is halted.

80 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

For example, during the recovery of the items "C:\test" and


"APPLICATIONS:\SqlServerWriter," an error occurs during recovery of a single
file in the "C:\test" folder:
• If the checkbox is selected, the rest of the recovery of "C:\test" will be
terminated, but NMM will still attempt to recover
"APPLICATIONS:\SqlServerWriter\."
• If this box is cleared and there is a recovery error with a file in "C:\test," NMM
will still attempt to recover the rest of "C:\test" and
"APPLICATIONS:\SqlServerWriter."
Clear this checkbox if file system recovery fails, and you encounter the error
message:
Files failed to be restored for File system marked objects.
When this error occurs, open the PowerSnap™ client log file and note which files
caused the error. The location and name of this log file are described in
“PowerSnap client” on page 375.
7. Click OK. “Windows system backup” on page 72 provides more information
about recovering data.

Cluster recovery options


Use this tab to specify whether to perform an authoritative or nonauthoritative
restore of the Cluster Writer.
If the Cluster Writer was backed up in NetWorker 7.4 SP2 prior to upgrading to
NMM 2.2 SP1, you must use a command line to perform an authoritative restore.
“Authoritative recovery from a NetWorker 7.4 SP2 save set after NMM upgrade” on
page 82 provides more information about the command line and when to use it.
Cluster Writer nonauthoritative restore (default)
Use this mode if the cluster is completely lost, in which case the cluster service does
not run on either node, and the cluster database is missing or corrupted.
Nonauthoritative restores will restore the cluster but will not restore a particular
version of the database.
After the nonauthoritative restore is complete, you must:
1. Perform an authoritative restore to recover a specific version of the database.
2. Ensure that the SYSTEM COMPONENTS:\BootableSystemState save set is also
selected. NMM will perform an nonauthoritative restore by default.
To specify a nonauthoritative restore for the Windows Server 2008 Cluster Writer:
1. From the Options menu, select System Recover Session Options.
2. Click the NetWorker tab, and then clear the Use Microsoft best practices for
selecting system state checkbox.
3. Click OK to close the System Recover Session Options dialog box.
4. In the navigation tree, expand the SYSTEM COMPONENTS folder and select
Cluster Database.
5. Select the SYSTEM COMPONENTS:\BootableSystemState save set.
6. From the System Recover Session toolbar, click Start Restore.
7. Reboot the system when prompted.
8. If needed, repeat from step 1 on the other nodes.

Performing a recovery 81
System Backup and Recovery

Cluster Writer authoritative restore


Use this mode when the cluster configuration is lost, but the cluster is running okay
otherwise. For example, when a cluster resource was accidentally deleted or you
want to revert to a previous cluster configuration. The cluster must be healthy in all
nodes.

Note: Authoritative restores of the Cluster Writer are only supported for Windows Server 2008.

To specify an authoritative restore for the Windows Server 2008 Cluster Writer:
1. Ensure that the cluster service is running on the local system.
2. Ensure that the cluster service is running on all remote nodes. Microsoft Windows
Server 2008 product documentation provides more information on running the
cluster service.
3. From the Options menu, select System Recover Session Options.
4. Click the NetWorker tab, and clear the Use Microsoft best practices for selecting
system state checkbox.
5. Click the Cluster tab.
6. Select the Authoritative Restore options.
7. Click OK to close the System Recover Session Options dialog box.
8. In the navigation tree, expand the SYSTEM COMPONENTS folder and select
Cluster Database.
9. From the System Recover Session toolbar, click Start Restore.

Note: Perform an authoritative restore of the Windows 2008 cluster writer by selecting only the
Windows 2008 cluster writer in that recover session. In particular, do not perform an
authoritative restore of the Windows 2008 cluster writer at the same time as the restore of any
other NMM application. Authoritative restores of the Windows 2008 cluster writer will restart
the cluster service on all nodes in the cluster.

Authoritative recovery from a NetWorker 7.4 SP2 save set after NMM upgrade
If the Windows Server 2008 cluster database was backed up in NetWorker 7.4 SP2
prior to upgrading to NMM 2.2 SP1, you must use a command line to perform an
authoritative restore. You cannot perform this authoritative recovery from the Cluster
tab of System Recover Session Options.
The following set of steps illustrates this installation, backup, and recovery sequence:
1. Install NetWorker 7.4 SP2 on a Windows Server 2008 cluster.
2. Back up VSS SYSTEM SERVICES.
3. Uninstall NetWorker 7.4 SP2.
4. Install NMM 2.2 SP1:
• If you attempt to use the NMM recovery user interface to recover a cluster
database that was backed up in NetWorker 7.4 SP2 prior to upgrading to
NMM 2.2 SP1, NMM will change it to a nonauthoritative restore.
• You can only perform an authoritative restore of a Windows Server 2008
Cluster Writer backup created with NetWorker 7.4 SP2 by using the command
line.

82 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

To perform an authoritative restore of the Windows Server 2008 Cluster Writer:


1. Ensure that the cluster service is running in the local system.
2. Ensure that the cluster service is running on all remote nodes.
3. Type the following string on the command line:
recover -s NWServer -U -N "VSS SYSTEM SERVICES:\Cluster
Database"

Note: Perform an authoritative restore of the Windows 2008 cluster writer by selecting only the
Windows 2008 cluster writer in that recover session. In particular, do not perform an
authoritative restore of the Windows 2008 cluster writer at the same time as the restore of any
other NMM application. Authoritative restores of the Windows 2008 cluster writer will restart
the cluster service on all nodes in the cluster.

Nonauthoritative recovery of a Windows Server 2008 cluster database with a NetWorker


7.4 SP2 save set
A nonauthoritative recovery of a Windows 2008 cluster database backup that uses a
save set created with NetWorker 7.4 SP2 can be performed through the NMM
recovery user interface or through the recover command line.
To specify a nonauthoritative recovery through the user interface by using a save set
created with NetWorker 7.4 SP2:
1. From the Options menu, select System Recover Session Options.
2. Click the NetWorker tab, and clear the Use Microsoft best practices for selecting
system state checkbox.
3. Click OK to close the System Recover Session Options dialog box.
4. In the navigation tree, expand the VSS SYSTEM SERVICES folder and select
Cluster Database.
5. Select the entire VSS SYSTEM BOOT save set.
6. From the System Recover Session toolbar, click Start Restore.
7. Reboot the system when prompted.
8. Repeat steps 1 through 7 for each node on the cluster as needed.
To specify a nonauthoritative recovery through the command line by using a save set
created with NetWorker 7.4 SP2:
1. Type the following command:
recover -s NWServer -N "VSS SYSTEM SERVICES:\Cluster
Database"
2. Type the following command:
recover -s NWServer -N "VSS SYSTEM BOOT:\"
3. Reboot the system when prompted.
4. Repeat steps 1 through 3 for each node on the cluster as needed.

Performing a recovery 83
System Backup and Recovery

ADAM recovery options


Use the ADAM tab in the System Recover Session Options dialog box to specify
whether to perform an authoritative or nonauthoritative restore of Active Directory
Application Mode (ADAM) data on this host.

Note: In Windows Server 2008, Active Directory Lightweight Directory Services (AD LDS)
includes the ADAM functionality provided in Windows Server 2003. Unless otherwise noted,
assume that all references to ADAM in this chapter also apply to AD LDS.

ADAM nonauthoritative restore (default)


This type of restore is typically performed when the host is being recovered due to
catastrophic loss of data such as a disk failure. The most recent ADAM data is
restored from backups and then the recovered host is updated with the most recent
ADAM data from another ADAM server in the domain. This restore relies on at least
one other ADAM server in the domain to have accurate, up-to-date ADAM data.
ADAM authoritative restore
Perform an authoritative restore only when corrupted or deleted ADAM data has
been propagated to other ADAM server.
This type of recovery restores the most recent ADAM data from backups, and then
updates other ADAM servers in the domain with the recovered data.

Note: To recover ADAM data, the APPLICATIONS:\ADAM <instance_name> Writer\ save


set must have been backed up. Chapter 2, “Configuring a Scheduled Backup,” provides more
information about specifying save sets when configuring a backup.

To specify recovery options for ADAM data:


1. From the Options menu, select System Recover Session Options and then click
the ADAM tab.
2. Select one of the following options:
• Non Authoritative Restore
• Authoritative Restore
3. Click OK to close the System Recover Session Options dialog box.
4. In the navigation tree, expand the Applications folder and select ADAM
<instance_name>Writer.
5. From the System Recover Session toolbar, click Start Restore.
6. If an authoritative restore has been performed, restore for all selections has
completed, and NMM reports success, complete the following steps:
a. Exit the NMM client, and open a command window.
b. Run the dsdbutil.exe utility, and select Authoritative Restore option.
c. This marks the objects that are to be restored in authoritative mode.
d. When processing is complete, exit the dsdbutil.exe utility and start the ADAM
instance service manually.

Note: If a nonauthoritative restore was performed, the ADAM instance has already been
started.

84 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

DFS recovery options


You can specify whether to perform an authoritative or nonauthoritative recovery of
Distributed File System (DFS) data on this host.
There are some differences between DFS recovery options on Windows Server 2003
and Windows Server 2008:
◆ Authoritative restore is available on Windows Server 2003 and on some Windows
Server 2008 systems.
◆ In Windows Server 2003, the writer is recovered from Applications:\DFS
Replication service writer.
◆ In Windows Server 2008, the writer is recovered from SYSTEM
COMPONENTS:\Bootable System State.
◆ In Windows Server 2008, DFS can have DFS shares or it can also be part of Active
Directory recovery.
◆ In Windows Server 2008, DFS is part of Active Directory recovery if it was
promoted to a Domain Controller with the “2008 Functional level” setting
selected.
◆ To restore DFS on a Windows 2008 system as part of Active Directory, the system
must be booted into Directory Services Restore Mode. “Booting Windows in
Directory Service Restore mode” on page 91 provides more information.
The steps for performing a DFS recovery from Windows Server 2003 and Windows
Server 2008 are described in separate procedures.
Nonauthoritative restore (default)
This type of recovery restores the most recent DFS data from backups and then
updates the recovered host with the most recent DFS data from another DFS server in
the domain. A nonauthoritative recovery relies on at least one other DFS server in the
domain to have accurate up-to-date DFS data. Nonauthoritative recoveries are
typically performed when the host is being recovered due to catastrophic loss of data
such as a disk failure.
Authoritative restore
An authoritative recovery restores the most recent DFS data from backups, and then
updates other DFS servers in the domain with the recovered data.
Perform an authoritative recovery only when corrupted or deleted DFS data has been
propagated to other DFS servers.
The procedures differ to the following platforms:
◆ “Windows Server 2003” on page 86
◆ “Windows Server 2008” on page 87

Note: To recover DFS data, the APPLICATIONS:\DFS Replication service writer save set must
have been backed up. The DFS Replication service writer is available with Windows Server
2003 R2 or later. Additionally, the SYSTEM COMPONENTS:\ save set on the namespace server
(usually the domain controller) that is associated with the DFS configuration must have been
backed up. Chapter 2, “Configuring a Scheduled Backup,” provides more information about
specifying save sets when configuring a backup.

Performing a recovery 85
System Backup and Recovery

Windows Server 2003


To specify which type of DFS recovery to perform in Windows Server 2003:
1. From the Options menu, select System Recover Session Options and then click
the DFS tab.
2. Select one of the following options:
• Non Authoritative Restore to perform a nonauthoritative recovery.
• Authoritative Restore to perform an authoritative recovery.
3. Click OK to close the System Recover Session Options dialog box.
4. From the navigation tree, expand the Applications folder and select DFS
Replication service writer.
5. From the System Recover Session toolbar, click Start Restore.
6. After the DFS Replication service writer has been recovered, you must recover the
Bootable System State components on the namespace server (usually the domain
controller) that is associated with the DFS configuration:
a. Boot the namespace server in directory service restore mode as described in
“Performing a recovery” on page 76.
b. Open the NMM client software on the namespace server (usually the domain
controller) that is associated with the DFS configuration.
c. From the Options menu, select System Recover Configuration Options and
then click the NetWorker tab.
d. Clear the Use Microsoft best practices for selecting the system state attribute
and click Yes when asked to confirm your selection.

! CAUTION
Do not clear the "Microsoft Best Practices" box except where specifically
instructed to do otherwise in this document. For instance, there are some
procedures, such as recovering Distributed File System (DFS) data, where
you can clear this attribute.
Microsoft does not support recovery of portions of the operating system.
Attempted recovery of portions of the operating system, with this box
cleared, may render the system unbootable. After each recovery operation,
this option is automatically selected.

e. Click OK to close the dialog box.


f. From the left pane, select Recover > System Recover Session.
g. From the navigation tree, expand the SYSTEM COMPONENTS folder and
select BootableSystemState.
h. From the System Recover Session toolbar, click Start Restore.
After the recovery has completed, the Use Microsoft best practices for selecting the
system state attribute is automatically selected.
“Windows system backup” on page 72 provides more information about recovering
system data.

86 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

Windows Server 2008


To specify which type of DFS recovery to perform in Windows Server 2008:
1. From the Options menu, select System Recover Session Options and then click
the DFS tab.
2. Select one of the following options:
• Non Authoritative Restore to perform a nonauthoritative recovery.
• Authoritative Restore to perform an authoritative recovery.
3. Click OK to close the System Recover Session Options dialog box.
4. From the left pane, select Recover > System Recover Session.
5. From the navigation tree, expand the SYSTEM COMPONENTS folder and select
BootableSystemState.
6. From the System Recover Session toolbar, click Start Restore. After the recovery
has completed, the Use Microsoft best practices for selecting the system state
attribute is automatically selected.

! IMPORTANT
Do not clear the "Microsoft Best Practices" box except where specifically instructed
to do otherwise in this document. For instance, there are some procedures, such as
recovering Distributed File System (DFS) data, where you can clear this attribute.
Microsoft does not support recovery of portions of the operating system.
Attempted recovery of portions of the operating system, with this box cleared, may
render the system unbootable. After each recovery operation, this option is
automatically selected.

FRS recovery options


You can specify whether to perform an authoritative or nonauthoritative recovery of
File Replication Services (FRS) data on this host.
The following topics describe these types of FRS restores:
◆ “FRS nonauthoritative restore (default)” on page 87
◆ “FRS nonauthoritative restore (default)” on page 87

! IMPORTANT
Boot the NetWorker client in Directory Service Recovery mode before completing
the recovery options in this section. “Booting Windows in Directory Service Restore
mode” on page 91 provides more information.

FRS nonauthoritative restore (default)


A nonauthoritative recovery restores the most recent FRS data from backups and then
updates the recovered host with the most recent FRS data from another FRS server in
the domain. A nonauthoritative recovery relies on at least one other FRS server to
have accurate up-to-date FRS data.
Nonauthoritative recoveries are typically performed when the host is being
recovered due to catastrophic loss of data such as a disk failure.

Performing a recovery 87
System Backup and Recovery

FRS authoritative recovery


An authoritative recovery restores the most recent FRS data from backups, and then
updates the other FRS servers in the domain with the recovered data.
Perform an authoritative recovery only when corrupted or deleted FRS data has been
propagated to other FRS servers.

Note: To recover FRS data, the “SYSTEM COMPONENTS:\” save set must have been backed
up. Chapter 2, “Configuring a Scheduled Backup,” provides more information about
specifying save sets when configuring a backup.

To specify whether to perform an authoritative or nonauthoritative recovery:


1. From the Options menu, select System Recover Session Options and then click
the FRS tab.
2. Select one of the following options:
• Non Authoritative Restore to perform a nonauthoritative recovery.
• Authoritative Restore to perform an authoritative recovery.
3. Click the NetWorker tab and then clear the attribute titled Use Microsoft best
practices for selecting the system state.
4. Click Yes when asked to confirm your selection.

! CAUTION
Do not clear the "Microsoft Best Practices" box except where specifically
instructed to do otherwise in this document. For instance, there are some
procedures, such as recovering Distributed File System (DFS) data, where you
can clear this attribute. Microsoft does not support recovery of portions of the
operating system. Attempted recovery of portions of the operating system,
with this box cleared, may render the system unbootable. After each recovery
operation, this option is automatically selected.

5. Click OK to close the System Recover Session Options dialog box.


6. From the navigation tree, expand the SYSTEM COMPONENTS folder and click
FRS.
7. From the System Recover Session toolbar, click Start Restore.
If you are performing an authoritative recovery, complete the remaining steps in
“Performing an authoritative recovery of NTDS or FRS data” on page 92.
“Windows system backup” on page 72 provides more information about recovering
system data.

NTDS recovery options


You can specify whether to perform an authoritative or nonauthoritative recovery of
Windows NT Directory Services (NTDS) data on this host.
The following topics describe these types of NTDS restores:
◆ “NTDS nonauthoritative restore (default)” on page 89
◆ “NTDS authoritative restore” on page 89

88 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

! CAUTION
Boot the NetWorker client in Directory Service Recovery mode before completing
the recovery options in this section. “Booting Windows in Directory Service
Restore mode” on page 91 provides more information about these recovery
options.

NTDS nonauthoritative restore (default)


A nonauthoritative recovery restores the most recent NTDS data from backups and
then updates the recovered host with the most recent NTDS data from another NTDS
server in the domain. A nonauthoritative recovery relies on at least one other NTDS
server to have accurate up-to-date NTDS data.
Nonauthoritative recoveries are typically performed when the host is being
recovered due to catastrophic loss of data such as a disk failure.
NTDS authoritative restore
An authoritative recovery restores the most recent NTDS data from backups, and
then updates other NTDS servers in the domain with the recovered data.
Perform an authoritative recovery only when corrupted or deleted NTDS data has
been propagated to other NTDS servers.

Note: To recover NTDS data, the “SYSTEM COMPONENTS:\” save set must have been
backed up. Chapter 2, “Configuring a Scheduled Backup,” provides more information about
specifying save sets when configuring a backup.

To specify whether to perform an authoritative or nonauthoritative recovery:


1. From the Options menu, select System Recover Session Options and then click
the NTDS tab.
2. Select one of the following options:
• Non Authoritative restore to perform a nonauthoritative recovery.
• Authoritative Restore to perform an authoritative recovery.
3. Click the NetWorker tab and then clear the attribute titled Use Microsoft best
practices for selecting the system state.
4. Click Yes when asked to confirm your selection.

! CAUTION
Do not clear the "Microsoft Best Practices" box except where specifically
instructed to do otherwise in this document. For instance, there are some
procedures, such as recovering Distributed File System (DFS) data, where you
can clear this attribute. Microsoft does not support recovery of portions of the
operating system. Attempted recovery of portions of the operating system,
with this box cleared, may render the system unbootable. After each recovery
operation, this option is automatically selected.

5. Click OK to close the System Recover Session Options dialog box.


6. From the navigation tree, expand the SYSTEM COMPONENTS folder and click
NTDS.
7. From the System Recover Session toolbar, click Start Restore.

Performing a recovery 89
System Backup and Recovery

If you are performing an authoritative recovery, complete the remaining steps in


“Performing an authoritative recovery of NTDS or FRS data” on page 92.
“Windows system backup” on page 72 provides more information about recovering
system data.

Security recovery options


Backup and archive data on Windows hosts can be encrypted with an Advanced
Encryption Standard (AES) Application Specific Module (ASM) pass phrase. If no
pass phrase was specified when the backup data was encrypted, then the data is
encrypted with a default pass phrase. During data recovery, you must specify the
pass phrase used at the time of backup if it is not the default or current pass phrase.
To specify pass phrases:
1. From the Options menu, select System Recover Session Options and then click
the Security tab.
2. Type the pass phrases, and then click OK.
The EMC NetWorker Multiplatform Version Administration Guide, release 7.3.2 or later,
provides more information about AES encryption, and setting the pass phrase.

! CAUTION
Do not use AES encryption when backing up files that are encrypted using
Windows Encrypting File System (EFS). When AES encryption is applied to a file
that is also encrypted using the Microsoft EFS, the backup will be reported as
successful. However, recovery of the file will fail.

Recovering file system snapshots that have not been rolled over
The procedure to recover items in a file system snapshot differs depending on
whether the snapshot has been rolled over to a conventional storage medium. This
section describes how to recover items from a file system snapshot that has not been
rolled over. “Windows system backup” on page 72 provides more information about
recovering file system snapshots that have been rolled over.

Note: If a snapshot volume has been mounted by using a client utility such as the EMC
NaviCLI interface or the Windows Disk Management utility, remove the mount point before
performing the next backup or recovery operation. If the mount point is not removed, it will be
removed at the end of the next NetWorker backup or recovery operation.

To recover items in a file system backup that has not been rolled over:
1. Connect to the NetWorker Server on which the NetWorker client was configured
for backup. “Opening the software and connecting to a NetWorker Server” on
page 44 provides more information about connecting to the NetWorker Server.
2. From the left pane, select Recover > System Recover Session.

90 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

3. In the navigation tree, right-click the snapshot and select Mount Snapshot.
• If the Mount Snapshot option is unavailable, then the snapshot has been
rolled over. In this case, follow the steps described in “Windows system
backup” on page 72.
• If another snapshot is currently mounted, a message indicates that the
currently mounted volume will be unmounted. Click OK to unmount the
volume and to proceed with mounting the selected snapshot volume.
4. When the taskbar animation stops and a green mark appears, click the mounted
snapshot. The mounted snapshot item will expand in the navigation tree.
5. Under the expanded snapshot, select the items to be recovered. “Selecting an item
for recovery” on page 45 provides more information about selecting items for
recovery.
6. Select any additional file system options if applicable. “NetWorker recovery
options” on page 80 provides more information about these options.
7. From the System Recover Session toolbar, click Start Restore. Once the recovery
starts, the snapshot is automatically unmounted.
8. From the left pane, select Monitor to view the progress of the recovery.

Booting Windows in Directory Service Restore mode


Before you can complete the following recovery operations, boot the NMM client in
Directory Service Restore mode:
◆ DFS recovery
◆ FRS recovery
◆ NTDS recovery
◆ Active Directory (AD) disaster recovery
To boot the NMM client in Directory Service Restore mode:
1. On the NetWorker client domain controller, close all programs and restart
Windows:
• When the computer restarts, a list of startup choices appears.
• The startup choices and the duration of the startup display are based on the
settings in the operating systems section and the boot loader section of the
boot.ini file.
2. Select the Windows boot option for the domain controller.
3. Press F8 to display a list of special boot options.
4. Select Directory Service Restore Mode (Windows Domain Controllers only)
from the list of special boot options. When you boot in this mode, AD is taken
offline.
5. Log in as administrator. Use the password that was specified when the domain
controller was created. Windows starts in safe mode.
6. Open the NMM client application.
7. From the left pane, select Recover > System Recover Session.

Booting Windows in Directory Service Restore mode 91


System Backup and Recovery

8. Continue with the recovery options. The following sections provide more specific
information:
• “DFS recovery options” on page 85
• “FRS recovery options” on page 87
• “NTDS recovery options” on page 88
• “Schema objects” on page 353
• “Windows system backup” on page 72 includes information about SYSTEM
STATE or VSS SYSTEM BOOT save sets, and save set recovery.
• “Performing a granular Active Directory or ADAM backup” on page 339
includes information about save sets on a domain controller.

Performing an authoritative recovery of NTDS or FRS data


Perform an authoritative recovery only when corrupted or deleted data has been
propagated to other Windows NT Directory Services (NTDS) or File Replication
Services (FRS) servers. After the authoritative recovery, the domain administrator can
delete any unnecessary newer objects.
NTDS and FRS objects may have associated group policies, for example,
organizational units, domains, and site objects. Group policies are stored in the
SYSVOL directory. A recovery of the SYSVOL directory cannot be separated from an
authoritative recovery of NTDS or FRS.
To perform an authoritative recovery:
1. If you have not already done so, boot the NMM client in Directory Service
Restore mode. “Performing a recovery” on page 76 provides more information
about performing this procedure.
2. If you have not already done so, complete the NTDS or FRS recovery options. The
following sections provide more specific information on the recovery options:
• “FRS recovery options” on page 87
• “NTDS recovery options” on page 88
3. From the command line, use the xcopy command to copy sysvol\domain to
another location. This preserves group policy, and file and directory permissions.
4. Run the Windows ntdsutil utility.
5. At the ntdsutil prompt, type:
NTDSUTIL: authoritative restore
6. To perform an authoritative recovery of the following:
• Entire database, type:
NTDSUTIL: restore database
• Subtree or individual object, type:
NTDSUTIL: restore subtree distinguished_name
For example:
NTDSUTIL: restore subtree
OU=engineering,DC=Seattle,DC=jupiter,DC=com

92 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

NTDSUTIL: restore subtree


CN=mars,CN=users,DC=Seattle,DC=jupiter,DC=com
The Microsoft Windows Server Resource Kit provides more information and
Active Directory documentation.
7. Exit the ntdsutil utility by typing quit at each successive ntdsutil prompt until
the command prompt appears.
8. Copy the entire recovered SYSVOL\domain directory and all of its subdirectories
to a new location.
9. Restart the domain controller in normal mode.
10. Log in to the domain controller.
11. Wait for the SYSVOL share to be published.

Note: This can take several minutes while the recovered domain controller synchronizes
with its replication partners.

12. After the SYSVOL share has been published, perform one of the following:
• For an authoritative recovery of the entire database, copy the entire
SYSVOL\domain directory tree from the new location to the existing
SYSVOL\domain directory as described in step 8 . When the copy operation
prompts for confirmation, select Yes to All.
• For an authoritative recovery of only a part of AD that includes Policy objects,
copy the policy folders from the new location (see step 8 ) to the existing
policy folders. Policy objects can be identified by their global universal ID
(GUID). Policy folders are located in SYSVOL\domain\Policies.

Performing a directed recovery


In a normal recovery, there are three roles involved in the process: the source, control,
and destination roles.
All of these roles are on the same computer:
◆ The source client is the computer where the backup data came from.
◆ The control client is the computer running the NMM UI to initiate the recover
process.
◆ The destination client is the computer that the data is restored to.
NMM supports normal recovery and directed recovery. In directed recovery, the source,
control, and destination roles are not all on the same computer.
There are two types of directed recovery:
◆ In pull directed recovery the control role and destination role are performed on the
same computer. The control role running on the destination computer pulls the
recovery data to itself. Backup data from the source client is restored to the
destination client.
◆ In push directed recovery the control role can be run on the source client or a
different client. Backup data from the source client is restored to the destination
client. The control client computer pushes it out to another computer, the
destination client. The destination client is not the same computer as the source
client or control client.

Performing a directed recovery 93


System Backup and Recovery

NMM supports pull directed recovery for most applications. You can run the
recovery program NMM (the control role) on the same computer that the data is
being restored to (the destination client). Some require additional or different steps.
Otherwise you can specify the alternate server to recover to in the regular recovery
steps for the application. “Performing a directed recovery with NMM” on page 94
provides more information.
NMM provides support for pull directed recovery for the following applications:
◆ Microsoft Exchange Server 2007 — “Performing Microsoft Exchange Server 2007
directed recovery” on page 284 provides more information.
◆ Microsoft Office SharePoint Server 2007 — In SharePoint, NMM provides
directed recovery to an original or alternate location. “Performing directed recovery
to an original or alternate location” on page 237 provides more information.
◆ File system — “Performing a directed recovery” on page 93 provides more
information.
◆ Hyper-V — “Performing Hyper-V recovery to a different machine or location” on
page 332 provides more information. In addition, NMM also supports push
directed recovery for Hyper-V.
◆ Data Protection Manager (DPM) — “Performing a granular recovery of DPM
objects” on page 304 provides more information.

Performing a directed recovery with NMM


To perform a directed recovery with NMM:
1. In NetWorker, create a volume backup. The backup can be snapshot or
coventional. This will be the source for a directed recover.
2. Run the NMM UI. Connect to the NetWorker Server that hosts the source NMM
client.
3. Add the NMM client that created the volume backup as a locally browsable
client.
Figure 10 on page 94 shows the default of only one NMM client available, the
local client.

Figure 10 Local client on the taskbar next to Client

4. On the Options menu, click Configure Options.


Figure 11 on page 95 shows the Configuration Options dialog box.

94 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

Refresh button

Figure 11 Configuration Options dialog box

5. Click the Refresh button, which is to the right of the Client name.
Figure 12 on page 95 shows the Select Viewable Clients dialog box. The clients
available on the NetWorker Server that you are attached to are listed under
Available clients on.

Figure 12 Select Viewable Clients dialog box

6. Click the client to add in the Available clients on list box, and then click Add.
Add or remove clients as needed.
7. Click OK.
Figure 13 on page 96 shows the NMM page with the Client box.

Performing a directed recovery 95


System Backup and Recovery

Client list

Figure 13 NMM client dropdown list

8. Click the Client list, and select the client that created the volume backup as the
browsable client.
9. If the Snapshot Management or Monitor is the active navigation bar item, and
you are prompted with the Navigate Away dialog box, click Yes.
10. On the System Recover Sessions bar, select Recover Options.
The NetWorker System Recover Session Options dialog box appears.
11. On the NetWorker tab, specify the destination for the recovery in the Relocate
Recovered Data box, and then click OK.
12. Recover remote client's backup to local destination.

Recovering the Windows system configuration to an earlier state


Hosts that were upgraded from a regular NetWorker client to a NMM client can have
their Windows operating system configuration recovered to a state prior to
upgrading to the NMM client.

! CAUTION
If the Windows operating system was upgraded on the host, you cannot recover the
Windows system configuration to the state it was in before the operating system
software was upgraded.

To recover the Windows system state to a point-in-time that precedes the installation
of the NMM client:
1. If the NMM client is:
• A Windows domain controller, boot the NMM client in Directory Services
Restore mode. “Booting Windows in Directory Service Restore mode” on
page 91 provides more information about booting in this mode.
• Not a Windows domain controller, start with step 2 .
2. Recover the contents of the volume on which the Windows operating system was
installed.
3. Recover the Windows configuration save sets:
• If VSS was licensed and enabled, recover:
– VSS SYSTEM BOOT
– VSS SYSTEM FILESET
– VSS SYSTEM SERVICES

96 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

• If VSS was not licensed or enabled, recover:


– SYSTEM STATE
– SYSTEM FILES
– SYSTEM DB
4. Update the recovered registry with NMM client entries. Because the registry was
recovered to a client state prior to the NMM client installation, you must update
the registry with entries for the NMM client.
To update the registry, perform the following uninstall and install steps:
a. Uninstall the NMM client software.
b. Install the NMM client software.
c. Uninstall the NetWorker PowerSnap software. PowerSnap is installed with
the NMM client software.
d. Uninstall the NMM client software.
e. Reinstall the NMM client software.
f. Reinstall, as necessary, any other applications that were installed after the
point-in-time to which the Windows operating system configuration was
recovered.
The NetWorker Module for Microsoft Applications Release 2.2 SP1 Installation Guide
provides more information about the uninstall and install steps.

Performing disaster recovery


NMM provides recovery for the NMM client itself, as well as the applications NMM
protects, such as the following:
◆ Microsoft Exchange Server
◆ Microsoft SQL Server
◆ Microsoft Office SharePoint Services
◆ Microsoft Hyper-V
◆ Microsoft Data Protection Manager
A good disaster recovery requires a complete and timely backup. The procedures for
recovering an application include prerequisites of what particular files and data
should already be backed up when you need to perform the disaster recovery.

! CAUTION
Ensure that your snapshot policies include at least one rollover to conventional
backup. Disaster recovery can only be performed from a conventional backup.
NMM requires conventional backup for SYSTEM COMPONENTS.
Attempting to restore SYSTEM COMPONENTS from a point-in-time backup can
leave the system in an unrecoverable state. NMM does not prevent an attempt to
restore SYSTEM COMPONENTS from a point-in-time backup. Chapter 7,
“Snapshot Management,”describes how to rollover a snapshot to a conventional
backup.

Performing disaster recovery 97


System Backup and Recovery

Disaster recovery of the entire NMM client machine requires completion of the
following tasks:
1. Recovery of the NMM client. Perform one of the following, whichever is
applicable:
• “Perform disaster recovery when the NMM client is not on a domain
controller” on page 98
• “Perform disaster recovery when the NMM client is on a domain controller”
on page 99
2. Full recovery of the applications on that machine. Review these procedures when
setting up backup plans, to ensure that the prerequisite files and data will be
backed up for future disaster recoveries. Perform one of the following, whichever
is applicable:
• “Performing SQL Server disaster recovery” on page 133
• Chapter 10, “Microsoft SharePoint Server 2007 Backup and Recovery,”
• “Performing Microsoft Exchange Server 2007 disaster recovery” on page 286
• “DPM disaster recovery” on page 309
• “Performing Hyper-V parent partition disaster recovery” on page 334
• “Performing Windows Server 2003 clustered client disaster recovery” on
page 143
• “Performing Active Directory disaster recovery” on page 353

Note: When performing a disaster recovery on a Domain Controller or Windows Server 2008,
the application must be reinstalled before performing disaster recovery of the NMM client.

Perform disaster recovery when the NMM client is not on a domain controller
To perform a disaster recovery if the NMM client is not on a domain controller:
1. Install the original operating system to the same specifications and configuration
as originally on the client.

Note: Be sure to apply all service packs and updates that had been applied to the operating
system before the disaster, to bring it up to the exact same level as existed at the time it was
lost.

2. Install the NMM client software exactly as it was configured before the disaster.
3. Open the NMM client software.
4. From the left pane, select Recover > System Recover Session.
5. Select all local drives except for the NMM client installation folder and the
Replication Manager (RM) folder, typically C:\Program
Files\Legato\nsr\rmagentps.
6. Select the SYSTEM COMPONENTS folder.

Note: If recovering a backup created with NetWorker VSS Client 1.0 SP1, under SYSTEM
COMPONENTS, clear ASR DISK.

7. From the System Recover Session toolbar, click Start Restore.

98 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
System Backup and Recovery

8. When prompted, restart the client. This restores the operating system to the state
it was in when last backed up. Now applications, such as Microsoft Exchange
Server, SQL Server, Office SharePoint Server, or Data Protection Manager, can be
restored from previous backups.
9. To restore an application, follow the procedures for the specific application, listed
in “Performing disaster recovery” on page 97.

Perform disaster recovery when the NMM client is on a domain controller


To perform a disaster recovery if the NMM client resides on a domain controller:
1. Install the original operating system to the same specifications and configuration
as originally on the client.

Note: Be sure to apply all service packs and updates that had been applied to the operating
system before the disaster, to bring it up to the exact same level as existed at the time it was
lost.

2. Install the NMM client software exactly as it was configured before the disaster.

Note: This is for an Active Directory client NMM installation, and is not for the Active
Directory plugin within a client.

3. Boot the NMM client in directory service restore mode. “Performing a recovery”
on page 76 provides more information about these recovery options.
4. Open the NMM client software.
5. From the left pane, select Recover > System Recover Session.
6. Select all local drives except for the NMM client installation folder and the
Replication Manager (RM) folder, typically C:\Program
Files\Legato\nsr\rmagentps.
7. Select the SYSTEM COMPONENTS folder.

Note: If recovering a backup created with NetWorker VSS Client 1.0 SP1, under SYSTEM
COMPONENTS, clear ASR DISK.

8. From the System Recover Session toolbar, click Start Restore.


9. When prompted, restart the client. This restores the operating system to the state
it was in when last backed up. Now applications, such as Microsoft Exchange
Server, SQL Server, Office SharePoint Server, or Data Protection Manager, can be
restored from previous backups.
10. To restore an application, follow the procedures for the specific application, listed
in “Performing disaster recovery” on page 97.

Performing disaster recovery 99


System Backup and Recovery

100 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
4
Deduplication Backup
and Recovery

This chapter includes the following topics:


◆ Data deduplication...................................................................................................... 102
◆ Related documentation about Avamar Server and NetWorker Server .............. 105
◆ Avamar and NetWorker Server configuration ....................................................... 105
◆ Deduplication backups requirements for NetWorker Server............................... 107
◆ Configuring a Client resource for deduplication backup ..................................... 109
◆ Querying deduplication save sets using mminfo................................................... 111
◆ Recovering deduplicated data................................................................................... 111
◆ Deleting deduplication save sets .............................................................................. 112

Deduplication Backup and Recovery 101


Deduplication Backup and Recovery

Data deduplication

! IMPORTANT
Because the data deduplication process in NMM requires Avamar and NetWorker
installation and configuration, it is recommended that you review the
documentation listed in “Related documentation about Avamar Server and
NetWorker Server” on page 105 before using data deduplication for backup and
recovery in NMM.

NetWorker deduplication, which leverages Avamar Data Stores, solves the challenges
associated with traditional backup, enabling fast, reliable backup and recovery for
remote offices, and data center LANs.
Data deduplication is a key feature of the Avamar system. Data deduplication
ensures that each unique sub-file, variable length object is stored only once across
sites and servers. During backups, the Avamar client software examines the client file
system and applies the data deduplication algorithm that identifies redundant data
sequences and breaks the client filesysytem into sub-file, variable length data
segments. Each data segment is assigned a unique ID. The client software then
determines whether or not this unique ID has already been stored on the Avamar
server. If this object resides on the Avamar server, a link to the stored object is
referenced in this backup. Once an object has been stored on the server, it is never
resent over the network, no matter how many times it is encountered on any number
of clients. This feature greatly reduces network traffic and provides for enhanced
storage efficiency on the server.
Key deduplication differentiators are:
◆ Deduplicates backup data at the source, before data transfer across the network
◆ Enables fast, daily full backups across existing networks and infrastructure
◆ Reduces required daily network bandwidth dramatically by identifying
redundant data at source
◆ Up to 10 times faster backups
◆ Data encrypted in flight and at rest
◆ Patented RAIN technology provides fault tolerance across nodes and eliminates
single points of failure
◆ Scalable grid architecture
◆ Global data deduplication reduces total backup storage by up to 50 times
◆ Recoverability verified daily—no surprises
◆ Centralized web-based management
◆ Simple one-step recovery
◆ Flexible deployment options, including EMC Avamar Data Store package
Data deduplication replaces multiple copies of the same data scattered across
networks with a reference to a single instance or source for the data. Edited files also
have tremendous redundancy with previous versions.

102 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Deduplication Backup and Recovery

Table 18 on page 103 provides a a rough comparison of deduplication and


non-deduplication backups and recovery. All estimates are relative and approximate.
Recovery time estimates are for save set recovery operations.

Table 18 Backup and recovery schedule comparison

Subsequent daily,
Subsequent daily, full incremental backups Data recovery time after
Backup type Full initial backup backups (with a weekly full) one week

Non-deduplication x hours x hours 1/10 x hours 1.6 to 2.0x, if the full backup
and all incremental backups
were restored.

Deduplication, daily full x hours 1/5 x hours - Less than or equal to x


(only one backup need be
restored).

Deduplication, x hours 1/20 x hours - 1.5 to 2.0x, if the full


daily incremental backup and all incremental
backups were restored.

This section contains information on:


◆ “Avamar integration in NMM” on page 103
◆ “Additional NetWorker Server deduplication operation information” on
page 104
◆ “Windows OS, application, and configuration support” on page 104
◆ “Unsupported for deduplication” on page 105

Avamar integration in NMM


The integration of Avamar in NMM provides deduplication for Microsoft
Applications through the familiar NetWorker features and GUI. This integration
provides the ability to:
◆ Configure deduplication for an NMM client resource in NetWorker Management
Console (NMC).
The deduplication backup settings are part of the Client Resource configuration
GUI. It is as simple as selecting a checkbox to enable deduplication, and then
selecting the Deduplication server.
◆ Perform deduplication backup at snapshot rollover time.
When deduplication is selected in the Client Resource, NMM automatically
performs deduplication during the backup—no separate or additional user input
is required to perform deduplication.
◆ Perform deduplication recover during the rollover.
The process for recovering data from a deduplication node is basically the same
as that for recovering from a storage node.
◆ File and data sizes vary between applications, so Avamar optimizes compression
by analyzing the data in the save set and using the best chunking size for that
data.

Data deduplication 103


Deduplication Backup and Recovery

Additional NetWorker Server deduplication operation information


Additional deduplication operation information is available in the following
NetWorker features:
◆ Backup statistics basic reports
◆ Events
The EMC NetWorker Release 7.5 Administration Guide describes the deduplication
information provided by these features.

Windows OS, application, and configuration support


The EMC Information Protection Software Compatibility Guide, available on the EMC
Powerlink website http://Powerlink.EMC.com, contains additional and the most
up-to-date information about NMM compatibility.
NMM supports deduplication on the following:
Operating systems
◆ Windows Server 2008 (x86, x64)
◆ Windows Server 2003 R2 (x86, x64)
◆ Windows Server 2003 (x86, x64)
Applications
◆ Microsoft SQL Server 2008 x86/x64
◆ Microsoft SQL Server 2005 x86/x64
◆ Microsoft Office SharePoint Server 2007 (VSS, optimized, and granular) x86/x64
◆ Microsoft SharePoint Server 2003 x86/x64
◆ Microsoft Exchange Server 2007 x64
◆ Microsoft Exchange Server 2003 x86
◆ Windows Server 2008 with Hyper-V
◆ Windows Server 2008, Server Core Installation, with Hyper-V
◆ System Components and File System
◆ Windows SharePoint Services 3.0
◆ Windows SharePoint Services 2.0
Configurations
◆ System Provider
◆ Hardware Provider: Proxy Backup Configurations
◆ Cluster configurations are supported for the operating systems, applications, and
configurations in the preceding lists.

104 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Deduplication Backup and Recovery

Unsupported for deduplication


NMM does not support deduplication for the following applications, features, and
configurations:
◆ Applications:
• Active Directory granular
• Microsoft System Center Data Protection Manager 2007
◆ NetWorker features:
• Cloning/Staging
• AES Encryption
• Compression
◆ Windows configurations: EFS File Systems

Related documentation about Avamar Server and NetWorker Server


Extensive documentation for the Avamar server and NetWorker Server setup and
configuration is available for download at http://Powerlink.EMC.com:
◆ The EMC white paper Efficient Data Protection with EMC Avamar Global
De-duplication Software provides a technical overview of EMC Avamar backup
and recovery software.
◆ The EMC NetWorker Release 7.5 Administration Guide describes creating a
deduplication storage node, replication nodes, and other NetWorker
deduplication features and services.
◆ The EMC Avamar 4.1 System Administration Manual describes how to administer
an operational Avamar 4.1 system following successful installation, setup, and
configuration.

Avamar and NetWorker Server configuration


Before a NMM backup client can be configured to use Avamar deduplication, the
Avamar Server and NetWorker Server must be installed to receive deduplication data
and process backups.
The following topics provide the required information:
◆ “Configure the Avamar and the NetWorker Server to receive deduplication data
and process backups” on page 106
◆ “Set the DNS resolution for NetWorker deduplication node and NMM” on
page 106

Related documentation about Avamar Server and NetWorker Server 105


Deduplication Backup and Recovery

Configure the Avamar and the NetWorker Server to receive deduplication data and process
backups
To configure Avamar and the NetWorker Server to receive deduplication data and
process backups:
1. Set up and configure the Avamar server. The Avamar hardware and software
documentation provides information on Avamar setup and configuration.
2. Create deduplication nodes and replication nodes on the Avamar server:
• Perform this task through the Avamar user interface.
• The Avamar documentation provides detailed information.
3. Configure deduplication node and replication node settings on the NetWorker
Server:
• Configure the deduplication node through the NetWorker Server’s
Administration interface.
• The EMC NetWorker Release 7.5 Administration Guide provides more
information about configuring the deduplication node.
4. Create a replication node for a deduplication node, if required by the NetWorker
deduplication node for automatic failover of data backup nodes. The EMC
NetWorker Release 7.5 Administration Guide provides details.

Set the DNS resolution for NetWorker deduplication node and NMM
The NetWorker deduplication Node and the NMM hosts require a DNS resolution
between nodes.

Note: The NMM hosts include one or more of the following: NMM client, NMM proxy client,
or the NMM proxy storage node.

DNS resolution must be working prior to starting deduplication backups:


◆ On the NMM hosts, make sure the hosts have DNS name resolution for the
NetWorker Deduplication Node.:
• If the NMM hosts do not have DNS resolution for the NetWorker
Deduplication Node, then that needs to be repaired.
• Check your operating system documentation for information on how to fix
DNS resolution problems.
◆ On the NetWorker Deduplication Node, make sure it has DNS name resolution to
the NMM hosts:
• If the NetWorker Deduplication Node does not have DNS resolution for the
NMM hosts, then that needs to be repaired.
• Check your operating system documentation for information on how to fix
DNS resolution problems.

106 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Deduplication Backup and Recovery

Deduplication backups requirements for NetWorker Server


All typical client operations, such as adding, deleting, and drag-and-drop, work the
same for deduplication clients as they do for other types of clients.
A deduplication save set is treated as a regular NetWorker save set, although it
actually has two parts: metadata (hash info) and the backed-up client data. Only the
metadata is stored on a NetWorker storage node. The backed-up client data is stored
on a deduplication node (Avamar server). The metadata can be cloned in the usual
manner, while a copy of the backed-up data can be replicated on another
deduplication node.
When configuring a NMM Client Resource for deduplication, there are several
special requirements or considerations. The following topics provide more
information:
◆ “Backup levels and schedules for deduplication clients” on page 107
◆ “Retention policies” on page 108
◆ “Backup configuration notes” on page 108

Backup levels and schedules for deduplication clients


When a NMM deduplication client is backed up for the first time after deduplication
has been enabled, a full backup of the client data must be performed. Subsequent
backups of the client then take advantage of deduplication to back up only those data
segments that have changed since the previous backup. The exception to this is that
full deduplication backups always include a complete backup of the index.

Note: If the deduplication node for an existing deduplication client is changed or if another
type of client is upgraded to a deduplication client, a new full backup of the client data must be
performed, regardless whether the most recent backup performed was a full backup.

The initial full backup of a deduplication client takes longer than a regular backup of
the same client data due to the initial overhead involved in deduplicating the data.
All subsequent deduplication backups benefit from the fact that now only the data
segments (not files) that have changed since the previous backup will be backed up.
The choice of subsequent backup levels, however, depends on what is more
important to the user: backup performance or recovery performance. Deduplication
clients should use backup schedules that support that priority.
Deduplication backups must be scheduled to avoid the deduplication node's
read-only periods, when such cron jobs as checkpoint and garbage-collection are run.
The Avamar server documentation provides instructions on how to do this.

Initial full backup followed by daily (Level 1) incremental backups


Faster backups, longer recoveries: This schedule benefits an environment in which
the speed of the backup is most important. The daily incremental (Level 1)
de-duplication backups will take significantly less time than daily regular
incremental backups and even less time than daily full deduplication backups. After
1 week of backups, this schedule results in slightly longer recovery times, due to the
latency involved in restoring seven backup images (the initial full backup, followed
by applying each incremental backup to the full backup).

Deduplication backups requirements for NetWorker Server 107


Deduplication Backup and Recovery

Initial full backup followed by daily full backups


Longer backups, faster recoveries: This schedule benefits an environment in which
the speed of data recovery is most important. After the initial full backup, daily full
deduplication backups take only slightly longer than regular daily incremental
backups. After 1 week of backups, this schedule results in much shorter recovery
times, since only a single backup image must be recovered.

Retention policies
If a volume contains one or more deduplication save sets, the resource for the
deduplication node that was used to create the backup must exist when the save sets
pass their retention policy. If the resource for the deduplication node has been
deleted, the volume cannot be made recyclable or relabeled. Furthermore, when
deduplication save sets pass their retention time, the NetWorker Server will begin the
process of deleting the deduplicated data from the deduplication node. Therefore,
deduplication data may not be recoverable using the scanner program once the
deduplication save set has passed its retention time.
The EMC NetWorker Release 7.5 Administration Guide provides more information about
Retention Policies, and the save set recover and scanner programs.

Backup configuration notes


The following notes are described in more detail in the EMC NetWorker Release 7.5
Administration Guide:
◆ Do not place both regular and deduplication clients in the same groups.
◆ Ensure that all deduplication clients in the same group have the same
deduplication node setting.
◆ Directives cannot be applied if deduplication is used for a client.
◆ Media pools do not apply when deduplication is used.
◆ The cloning of deduplication backups is handled differently from that of regular
backups. Only the metadata is stored on a NetWorker storage node, while the
backed up data is stored on a deduplication node.
An alternate method is available to handle tape backups of the deduplication client
data:
1. Create a second instance of the client to be backed up.

! IMPORTANT
Do not configure the second instance as a deduplication client.

2. If using multiple backup schedules, ensure that the backup level is set to full for
all groups. This is required because the backup level and the last backup time are
calculated using both the group name and save set name, and the groups would
interfere with each other.

108 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Deduplication Backup and Recovery

Configuring a Client resource for deduplication backup


When NMM is installed, it automatically includes support for deduplication. You do
not need to install anything extra on the NMM client. After the Avamar server and
NetWorker Server have been configured for deduplication, configure a Client
resource to use deduplication.
After creating a deduplication node as described in the EMC NetWorker Release 7.5
Administration Guide, configure a NetWorker deduplication client. You can use either
of these workflows:
◆ Create a new Client resource, enable deduplication, and then configure the Client
Resource with the application-specific settings for whichever Microsoft
application that you want to back up.
◆ Edit an existing Client resource, for example, a NMM Client resource that you
previously created for Microsoft SQL Server backup.

Note: You can use this procedure for configuring deduplication for any client resource listed in
“Windows OS, application, and configuration support” on page 104, except for configuring
deduplication for an Exchange client running on a passive node in a CCR environment, which
is described in “Configuring deduplication backup for a passive node in a CCR environment”
on page 266.

To configure a deduplication backup for any client resource:


1. On the NetWorker Server, open the NetWorker Management Console, open the
NetWorker Administration page, and then click the Configuration button.
2. Select Clients in the navigation tree.
The Clients table appears and it lists any clients that have already been created:
• To add a new Client Resource, right-click Clients in the navigation tree or
right-click any client in the Clients table, and then select New.
The Create Client page appears.
• To edit an existing Client Resource, right-click the client in the Clients table,
and then select Properties. The Properties page appears.
3. On the General tab, type the information for any client, with the following
exceptions:
• The Name of the client must be a computer qualified to be a NetWorker
deduplication client:
– The computer must run an operating system that supports deduplication.
– The Name must be a fully qualified domain name (FQDN).
• In the Backup area:
– Ensure that the deduplication client has been assigned to a group that
contains only deduplication clients.
– Do not mix regular and deduplication clients within a group. “Configure a
backup group” on page 59 provides information about creating backup
groups.

Configuring a Client resource for deduplication backup 109


Deduplication Backup and Recovery

– A recommended backup schedule for deduplication clients depends on


whether your priority is faster backups or faster, less complicated
recoveries. “Configure a backup schedule” on page 58 provides general
information about setting backup schedules. “Backup levels and schedules
for deduplication clients” on page 107 provides backup level and schedule
information that is specific to deduplication clients.
4. The parallelism attribute in the Client resource has no effect for NMM
deduplication clients. By default, NMM uses client parallelism set to 4 for all
deduplication clients. Because deduplication backups require more CPU and
memory resources on the host where the backup is performed, it might be
necessary to reduce the client parallelism for configurations with either a large
number of savesets, or a large number of volumes.

Note: For deduplication clients, NMM will not support a parallelism of greater than 4 . If
NSR_PS_SAVE_PARALLELISM is set to above 4, NMM automatically reduces the
parallelism to 4.

To reduce the client parallelism, in the Application Information field, use the
NSR_PS_SAVE_PARALLELISM variable. For example, to set parallelism to 1,
type the following:
NSR_PS_SAVE_PARALLELISM=1

Note: NMM might report the NSR_PS_SAVE_PARALLELISM as an unknown parameter,


however this warning can be ignored.

5. Click the Apps & Modules tab.


6. In the Access area, leave the Remote user and Password fields empty.
7. In the De-duplication area, select the De-duplication backup attribute to enable
this client for deduplication backups.

Figure 14 Deduplication backup attribute

110 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Deduplication Backup and Recovery

8. From the De-duplication node menu, select the name of the de-duplication node
to which this client’s backup data will be sent. This is the deduplication node
created in “Configure the Avamar and the NetWorker Server to receive
deduplication data and process backups” on page 106.

Note: All clients in a group must have the same deduplication node value.

This step links this client with its own deduplication node. Do not select the name
of a replication node here.

! IMPORTANT
If the deduplication node for this client’s backup data changes, the next
backup done must be a level 0 (full) backup.

9. Complete the remaining configuration information as for any regular client.


“Configuring a Client resource for System volumes, components, and applications”
on page 61 lists the application-specific Client resource configuration procedures for
each System or application backup.

Querying deduplication save sets using mminfo


You can use the mminfo program to query information about save sets created using
deduplication.
To limit the output of mminfo to only those save sets created using deduplication, use
the -q dedupe option. For example, to query deduplication save sets for the local
host, use the following command:
mminfo -S -q dedupe

Be aware that this command does not list the following:


◆ Empty save sets
◆ Save sets in which nothing was backed up as the result of a skip schedule
These save sets are treated as regular save sets, not as deduplicated save sets.

Recovering deduplicated data


The process for recovering data from a deduplication node is basically the same as
that for recovering from a storage node. However, there is an underlying difference in
where the information is kept. Only the metadata, which is hash information, is
stored (or cloned or staged) on a NetWorker storage node. The backed-up data from a
deduplication client is stored on a deduplication node that is an Avamar server. Both
the deduplication node and the volume on the recovered side must be online during
the recovery of deduplicated data.

Note: Under some conditions, if recovery from the primary deduplication node fails,
autorecovery will use a replication node. The EMC NetWorker Release 7.5 Administration Guide
provides detailed information about recovery from a replication node.

Querying deduplication save sets using mminfo 111


Deduplication Backup and Recovery

Deleting deduplication save sets


The process for deleting deduplication save sets is performed on the NetWorker and
Avamar servers, and is described in the EMC NetWorker Release 7.5 Administration
Guide.

112 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
5
Microsoft SQL Server
Backup and Recovery

This chapter includes the following topics:


◆ Microsoft SQL Server backup and recovery ........................................................... 114
◆ Performing SQL Server backups............................................................................... 119
◆ Performing SQL Server recovery .............................................................................. 121
◆ Performing SQL Server directed recovery .............................................................. 122
◆ Performing SQL Server disaster recovery ............................................................... 133
◆ Best practices for SQL Server backup and recovery .............................................. 137

Microsoft SQL Server Backup and Recovery 113


Microsoft SQL Server Backup and Recovery

Microsoft SQL Server backup and recovery


Chapter 2, “Configuring a Scheduled Backup,”supplements the overall NetWorker
Module for Microsoft Applications (NMM) backup procedures with the specific
details needed to back up and recover Microsoft SQL Server.
Consider the following:
◆ Microsoft SQL Server supports Volume Shadow Copy Service (VSS) through
Microsoft-supplied application writers.
◆ NMM allows the creation of a point-in-time copy of data. The snapshot includes
point-in-time copy of data and open files. This allows the backup of the SQL
Server while the SQL database is online or in use.
This section provides information on:
◆ “SQL Server versions supported by NMM” on page 114
◆ “Types of supported backup and recovery” on page 115
◆ “Components used by NMM for SQL data backup and recovery” on page 115
◆ “Specifying save sets for SQL data” on page 116
◆ “Displaying valid SQL data save sets” on page 116
◆ “URL encoding for SQL save sets” on page 117
◆ “SQL Server application information variable settings” on page 118

SQL Server versions supported by NMM


NMM client supports the following versions of Microsoft SQL Server:
◆ Microsoft SQL Server 2008 (x86, x64):
• Standard
• Enterprise
◆ Microsoft SQL Server 2005 (x86, x64):
• Standard
• Enterprise
◆ Microsoft SQL Server 2008 Express edition
◆ Microsoft SQL Server 2005 Express edition

Note: NMM client does not support Microsoft SQL Server running on IA64.
The SQL VSS Writer does not support the encryption or compression features that SQL VDI
backup interface does. Therefore, NMM does not support these features.
SQL Server 2000 is no longer supported.

The EMC Information Protection Software Compatibility Guide provides the most
up-to-date lists of hardware, operating system, service pack, and application versions
supported by the NMM client.

114 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

Types of supported backup and recovery


Using point-in-time snapshot technology, NMM supports several types of backup
and recovery for Microsoft SQL Server.
NMM supports database granularity for snapshot backup and restore. This allows
you to back up a particular SQL database without having to shut down the database,
and then select and restore that database from the backed-up databases.
NMM provides the following types of backup:
◆ Only full level backups
◆ All default instance SQL data along with SQL Server 2008 named instances and
databases, including express and stand-alone databases
◆ Only the SQL 2008 host instance and database name combination
◆ All default instance SQL data along with SQL Server 2005 named instances and
databases, including express and stand-alone databases
◆ Only the SQL 2005 host instance and database name combination
NMM supports the following types of recovery:
◆ SQL Server 2008 stand-alone or express databases
◆ SQL Server 2005 stand-alone or express databases

Components used by NMM for SQL data backup and recovery


NMM uses the following writers and commands to back up SQL data:
◆ Application writers — NMM uses the application writers provided by SQL
Server.
◆ SqlServerWriter — The VSS writer for SQL Server 2005 and SQL Server 2008

Note: The MSDEWriter for SQL Server 2000 is no longer supported.

“Specifying save sets for SQL data” on page 116 describes how the writer name is
used in the save set syntax.
◆ Nsrsnap_vss_save — The NMM command to initiate the VSS-based backup.
◆ Nsrsnap_vss_recover — The NMM command to initiate the VSS-based recovery.

Microsoft SQL Server backup and recovery 115


Microsoft SQL Server Backup and Recovery

Specifying save sets for SQL data


Table 19 on page 116 lists the SQL save set syntax to specify for supported types of
SQL data.
Specify SQL data save sets in the Save Set attribute of a Client resource.

Table 19 SQL save set syntax

Type of data to back up Save set syntax

All default instance SQL data along with SQL Server If the SQL Server VSS Writer service is enabled (it is disabled by default), type the following:
2008 named instances and databases, including APPLICATIONS:\SqlServerWriter
express and stand-alone databases

Only the SQL 2008 host instance and database name APPLICATIONS:\SqlServerWriter\host%5Cinstance\master
combination For example, to back up the database named trans07 on the SQL Server named instance
MT11\BU, type the following:
APPLICATIONS:\SqlServerWriter\MT11%5CBU\
trans07
Some special characters in a SQL Server named instance or database name must be
replaced with their URL-encoded values. “URL encoding for SQL save sets” on page 117
provides more information about URL encoding.

All default instance SQL data along with SQL Server If the SQL Server VSS Writer service is enabled (it is disabled by default), type the following:
2005 named instances and databases, including APPLICATIONS:\SqlServerWriter
express and stand-alone databases

Only the SQL 2005 host instance and database name APPLICATIONS:\SqlServerWriter\host%5Cinstance\master
combination For example, to back up the database named trans07 on the SQL Server named instance
MT11\BU, type the following:
APPLICATIONS:\SqlServerWriter\MT11%5CBU\
trans07
Some special characters in a SQL Server named instance or database name must be
replaced with their URL-encoded values. “URL encoding for SQL save sets” on page 117
provides more information about URL encoding.

Displaying valid SQL data save sets


To display a list of the SQL save sets that are available for backup:
1. Open a command prompt on the application server.
2. Make sure that the SQL Server VSS Writer service is enabled and running.
3. From the command prompt, type the following command to list the valid
application data save set names:
• If the application server is not on a virtual host, type:
nsrsnap_vss_save -?
• If the application server is on a virtual host, type:
nsrsnap_vss_save -? -c virtual_server_name

Note: If the application server is on a virtual host, run this command from the physical
node that is currently hosting the application server.

4. Press Enter.
• Each line of output corresponds to a save set entry that you can add to the
Save Set attribute of a Client resource.

116 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

• Each entry that you add to the Save Set attribute must be typed on a separate
line, without the double quotes.
The save sets that are available for backup are listed in a format similar to the
following:
"APPLICATIONS:\SqlServerWriter"
"APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON"
"APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\master"
"APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\model"
"APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\msdb"
"APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\NADATA"

URL encoding for SQL save sets


When specifying save set names in the Save Set attribute of the Client resource, there
are cases where special characters, such as the backslash (\), must be specified by
their URL-encoded values.
URL-encoded values are used to represent special characters in the following cases:
◆ SQL Server named instances
◆ SQL Server database names
Consider the following example of a SQL Server named instance:
◆ The name of a SQL Server named instance consists of two parts: the hostname
and a unique name.
◆ The hostname and a unique name are always separated with a backslash (\)
character.
◆ When specifying a SQL Server named instance in the Save Set attribute, replace
the backslash with its URL-encoded value, which is %5C.
In the following example:
◆ A SQL Server named instance that is identified as:
CORPDBSERV1\YUKON
◆ Would be represented in the Save Set attribute as:
CORPDBSERV1%5CYUKON
To back up only the database named NADATA in the SQL Server named instance
CORPDBSERV1\YUKON:
◆ The complete entry in the Save Set attribute would be:
APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\NADATA
◆ If the database name in the previous example was NA#DATA, the save set entry
would be:
APPLICATIONS:\SqlServerWriter\CORPDBSERV1%5CYUKON\NA%23DATA

Microsoft SQL Server backup and recovery 117


Microsoft SQL Server Backup and Recovery

Table 20 on page 118 lists the most commonly used special characters and their URL
values.

Table 20 Special characters and their URL-encoded values

Special character URL-encoded value Special character URL-encoded value

\ %5C ? %3F

/ %2F ] %5D

" %22 [ %5B

% %25 } %7D

# %23 { %7B

& %26 ^ %5E

< %3C ‘ %60

> %3E | %7C

SQL Server application information variable settings


Table 21 on page 118 lists the variables that can be specified in the Application
Information attribute of the Client resource.

Table 21 SQL variable settings for Application Information attribute

Attribute name Description Values

NSR_SNAP_TYPE=value Specifies the snapshot service provider name. vss


This value is required.

NSR_DATA_MOVER=value application • Specifies the hostname of the NMM client that • The local host
information attribute moves snapshots from the NMM client to • The proxy client hostname
primary and secondary (conventional) Consider the following:
storage.
• If no value is typed, the local host is used as the
• The host can be either a local host or a proxy data mover.
client host.
• If you are setting up a proxy client for a virtual
cluster server, you must also type the proxy client
hostname in the Remote Access attribute of the
Client resource.
• For serverless backups, specify a proxy client.
• If setting up an SQL Client resource, it is
recommended that you use a proxy client.
• If a proxy client is specified, SQL consistency
checks are performed on the proxy client. Related
messages are written to the Replication Manager
log files (erm_clientxx.log) on the proxy client.
• If no proxy client is specified for an SQL Client
resource, consistency checks are performed on the
Client resource host. Related messages are logged
on the Client resource host in both the Replication
Manager log files and the nmm.raw file.

118 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

Performing SQL Server backups


NMM supports several types and levels of backup:
◆ Point-in-time snapshots, which include exact copy of data at that time including
open files information.
◆ Full backup of SQL databases, as described in “Full backup of an SQL Server” on
page 119.

Note: EMC recommends that no more than 200 databases are backed up at one time. If
database sizes are large, this should be less.

Ensure that:
◆ For SQL 2005 backup, the following patches are installed:
• Microsoft SQL Server 2005 Service Pack 3 (for Microsoft SQL Server 2005
(64-bit), Version 9.3.4035)
The Microsoft Knowledge Base article KB955706 provides details about this
service pack.
• Cumulative update package 1 for SQL Server 2005 Service Pack 3
The Microsoft Knowledge Base article KB959195 provides details about this
cumulative update.
◆ The SQL Server VSS Writer service is enabled during backup. When SQL Server
is installed, the SQL Server VSS Writer service is disabled by default.
“Full backup of an SQL Server” on page 119 provides details about backing up an
SQL Server.

! IMPORTANT
As part of disaster recovery plan, back up either of the following on the application
hosts:
- The save set All attribute in the save set field of the Client Resource.
- The SYSTEM COMPONENTS:\ save set along with the system volume, for
example, C:\.

Full backup of an SQL Server


When backing up data for a Microsoft SQL application, ensure that all databases are
mounted. Unmounted databases are not backed up, and no warning appears during
the backup operation to indicate if any databases are unmounted.
To perform a full backup of an SQL Server for all VSS writers that are supported by
NMM, complete the tasks outlined in Table 22 on page 120.

Performing SQL Server backups 119


Microsoft SQL Server Backup and Recovery

Tasks for scheduling a backup are the same for all VSS writers.

Table 22 Tasks for scheduling a backup

Backup task Consideration

1. “Configure a backup pool for snapshot operations” on page 53 No special configuration is required.

2. “Configure snapshot policies” on page 56 No special configuration is required.

3. “Configure a backup schedule” on page 58 No special configuration is required.

4. “Configure a backup group” on page 59 No special configuration is required.

5. “Configure a SQL Server Client resource” on page 120 No special configuration is required.

Chapter 2, “Configuring a Scheduled Backup,” describes the first four tasks in detail.

Configure a SQL Server Client resource


To configure a SQL Server Client resource:
1. In the Administration page of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the hostname of the NetWorker client computer.
5. In the Comment attribute, type a description.

Note: If you are creating multiple Client resources for the same NetWorker client host
computer, use this attribute to differentiate the purpose of each resource.

6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, select a retention policy from the list. The
retention policy determines how long rolled-over data is available though not
necessarily quickly.
8. Select the Scheduled Backups attribute:
• If needed, use URL-encoded values when specifying save set names in the
Save Set attribute of the Client resource.
• URL-encoded values are used to represent special characters such as the
backslash (\). A table of values is provided in “URL encoding for SQL save
sets” on page 117.
• To back up SQL Server 2005 and SQL Server 2008 named instances and default
instances, specify the save set name:
APPLICATIONS:\SqlServerWriter
The SQL 2005 and 2008 Express databases are backed up under SYSTEM
COMPONENTS:
SYSTEM COMPONENTS:\

The SQL Server save set syntax is described in “Specifying save sets for SQL
data” on page 116.

120 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

9. Specify SQL application variable settings in the Application information


attribute of the Client resource. These settings are described in Table 21 on
page 118.
10. Click the Globals (1 of 2) tab.
11. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

Performing SQL Server recovery


SQL Server 2005 and 2008 Express databases must be recovered from the SYSTEM
COMPONENTS:\ save set.

Note: Though this release no longer supports SQL Server 2000, NMM can recover previous
backups of SQL Server 2000 data.

One of the following topics provides more information:


◆ “Recovering SQL Server 2005 and 2008 stand-alone databases from the
SQLServerWriter save set” on page 121
◆ “Recovering SQL Server 2005 or 2008 express databases from the System
Components save set” on page 122

Recovering SQL Server 2005 and 2008 stand-alone databases from the SQLServerWriter save set
To recover SQL Server 2005 and 2008 stand-alone databases:
1. If restoring the master database, the SQL Server services for the SQL database
instances are automatically detected and stopped.
2. From the navigation tree, expand the Applications folder and the
SQLServerWriter folder.
3. Select the databases to recover.
4. From the System Recover Session toolbar, click Start Restore.
5. After the recovery is complete, NMM automatically starts the SQL Server services
for the SQL Server database instances.

Performing SQL Server recovery 121


Microsoft SQL Server Backup and Recovery

Recovering SQL Server 2005 or 2008 express databases from the System Components save set
To recover SQL Server express databases that were backed up to the SYSTEM
COMPONENTS save set:
1. If restoring the master database, stop the SQL Server services for the SQL Server
database instances.
2. From the navigation tree, expand the SYSTEM COMPONENTS:\ folder.
3. Select the databases to recover.
4. From the System Recover Session toolbar, click Start Restore.
5. After the recovery is complete, start the SQL Server services for the SQL database
instances.

Performing SQL Server directed recovery


For SQL Server directed recovery:
◆ SQL databases can be selected for directed recovery.
◆ The directed recovery is Pull directed recovery, where the NMM GUI is started on
the machine to which the SQL database is restored.
◆ Once restore is complete, manual attachment of the SQL database using tools
outside of NMM, for example, SQL Management Studio, is required.
The directed recovery procedure does not use SQL Writer. A restore performed
without using SQL Writer guarantees a crash-consistent database, which means that
there are no torn or corrupted pages. But all transactions which were in progress at
the time of the snapshot are rolled back. You would lose the ability to restore the
database with no recovery, and apply log backups to it.
Directed recovery is supported on the same versions of Windows Servers. For
example, if the backup is done on a Windows 2003 machine, then the directed recover
can be done only on another Windows 2003 machine.
“Steps for SQL Server directed recovery” on page 123 provides the steps for SQL
directed recovery.
The following are not supported:
◆ Directed recovery is not allowed from SQL System database.
◆ Directed recovery of filestream database is not supported.
◆ Directed recovery of TDE Encryption database is not supported.
◆ Directed recovery of cross-SQL platform is not supported. For examples, directed
recovery of SQL databases on Windows 2003 cannot be recovered on Windows
2008 and vice-versa.
◆ Directed recovery to the same machine is not supported.
◆ Directed recovery to encrypted target is not supported.
◆ Directed recovery to compressed drive is not supported. Although recovery takes
place, the database attachment fails.
◆ SQL DPM directed recovery is not supported.

122 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

◆ No validation that the restore target paths are clustered paths is available.
◆ If backup of the ADAM Writer is taken on a machine, and the source client is
selected from the Client menu of the NMM GUI, then the ADAM Writer of the
source machine is visible under Snapshot Management tab of the NMM GUI of
the target machine.

Steps for SQL Server directed recovery


Before restoring the SQL database content, make sure that:
◆ The target machine, on which NMM GUI is started and the source machines are
added as client resource on NetWorker.
◆ The recovery drive is available and has sufficient free disk space to accommodate
the data. The disk space should be the same as the database to be recovered.
To perform directed recovery of SQL databases, perform the following steps:
1. Start the NMM GUI on the machine to which the SQL database is recovered.
2. Select the NetWorker Server containing the SQL backups, as described in
“Selecting the NetWorker Server” on page 124.
3. Select the client whose backup has been taken, from the NMM GUI, as described
in “Selecting a client” on page 125.
4. Select the desired SQL backups, as described in “Selecting the desired SQL
databases for directed recovery” on page 127.
5. Recover the SQL databases:
• To the default recovery path, as described in “Recover using the default
recover path” on page 128.
or
• To an alternate location from the SQL tab, as described in “Recover using an
alternate recover path” on page 130.
6. Select Start Recover.
7. When the recovery is complete:
a. Copy the recovered .mdf and .ldf files to the desired location, which may be
on the same drive or different drive.
b. Using SQL Management Studio, manually attach the .mdf and the .ldf files
from the respective locations.
“Attaching the recovered SQL databases” on page 132 provides details.
For multiple NMM directed recovery on same recovery farm, use the same procedure
for each of the source clients. Provided there is no media access conflict, the restores
can take place in parallel.

Performing SQL Server directed recovery 123


Microsoft SQL Server Backup and Recovery

Selecting the NetWorker Server


To select the NetWorker Server containing the SQL backups:
1. To change the currently selected server, click the Change NetWorker Server icon
on the toolbar. Figure 15 on page 124 shows the Change NetWorker Server icon.

Figure 15 Change Server icon

The Change NetWorker Server dialog box as shown Figure 16 on page 124,
appears:

Figure 16 Change NetWorker Server dialog box

a. Click the Update Server List button to refresh the list of NetWorker Servers.
b. Select the desired NetWorker Server and click OK.
2. Select the backed up client machine, as described in “Selecting a client” on
page 125.

124 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

Selecting a client
To select a client:
1. From the Options menu, select the Configure Options to add the backed-up
client machine to the list of client machines that you can browse. Figure 17 on
page 125 shows the Configure Options.

Figure 17 Configure Options

The Configuration Options dialog box as shown in Figure 18 on page 125,


appears.

Figure 18 Configuration Options dialog box

2. Click the button next to the Client name field.

Performing SQL Server directed recovery 125


Microsoft SQL Server Backup and Recovery

The Select Viewable Clients dialog box, as shown in Figure 19 on page 126,
appears.

Figure 19 Select Viewable Clients dialog box

3. Select the backed up SQL Client from the Selected clients on:
a. List and click Add >> to add the selected client to the list of clients in the
Client to list on menu bar: list.
b. Click OK.
The Client menu in the NMM GUI displays the list of selected clients that you can
browse.
4. Select the desired SQL Client in the Client menu. Figure 20 on page 126 shows
the Client menu.

Figure 20 Client menu

5. Select the desired SQL Server for directed recovery as described in “Selecting the
desired SQL databases for directed recovery” on page 127.

126 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

Selecting the desired SQL databases for directed recovery


To select the desired SQL databases for directed recovery:
1. After the application reloads the current browse tree, ensure that the System
Recover Session option is selected.
The Microsoft SQL Server application backups are now displayed for directed
recover browsing in the current browse tree. Figure 21 on page 127 shows the
System Recover Session option.

Figure 21 System Recover Session plug-in

2. Expand the APPLICATIONS > SqlServerWriter tree nodes, as shown in


Figure 22 on page 127.

Figure 22 APPLICATIONS and SqlServerWriter nodes

3. Select the desired instance and databases.

Note: The SQL System databases are not supported for SQL directed recovery.

4. Recover the SQL databases:


• To the default recover path, as described in “Recover using the default recover
path” on page 128.
or
• To an alternate location from the SQL tab, as described in “Recover using an
alternate recover path” on page 130.

Performing SQL Server directed recovery 127


Microsoft SQL Server Backup and Recovery

Recover using the default recover path


To recover SQL databases using the default recover path:
1. Under the System recover Session, click Recover. Figure 23 on page 128 shows
the Recover option.

Figure 23 Recover option

The System Recover Session Options dialog box, as shown in Figure 24 on


page 128, appears.

Figure 24 System Recover Session Options dialog box

2. Click the SQL tab.


3. Select the Restore SQL file to local machine using their original directory path
option.
4. Click OK.

128 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

The File System Recover Summary form as shown in Figure 25 on page 129,
appears.

Figure 25 File System Recover Summary dialog box

Note: The SQL database recover path is based on the original path. This is the default SQL
recover path option.

5. Click Start Recover to initiate the directed recover. Switch to the Monitor page to
view the status and progress of the recover, as shown in Figure 26 on page 129.

Figure 26 Monitor page

Performing SQL Server directed recovery 129


Microsoft SQL Server Backup and Recovery

Recover using an alternate recover path


There are two alternate ways of navigating to the System Recover Session Options
dialog box where an alternate SQL recover path can be specified:
◆ Selecting Recover Options from the toolbar.
◆ Selecting the Recover Options button in the File System Recover Summary dialog
box, as shown in Figure 25 on page 129.
This section describes how you can use the Recover Options option from the toolbar
to select an alternate recover path to recover SQL databases.
To recover SQL databases using an alternate recover path:
1. Under System Recover Session, click Recover Option.
The System Recover Session Options dialog box appears. Figure 27 on page 130
shows the Recover Options.

Figure 27 Recover Options

Note: The SQL tab is visible under Recover Options only when the source client SQL
database backup is accessed and marked for recovery from the Client menu of the target
client NMM GUI.

2. Click the SQL tab.


3. Specify the destination path for the SQL databases:
a. Select the Specify the file system path where the SQL database(s) should be
restored option to enable the Browse button, as shown in Figure 28 on
page 130.
b. The field is read-only and you cannot manually type a path.
c. Click the Browse… button.

Figure 28 System Recover Session Options dialog box

130 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

The Browse For Folder dialog box, as shown in Figure 29 on page 131, appears.

Figure 29 Browse For Folder dialog box

Although you can select a network share in the Browse For Folder dialog box, it
is not valid and you are informed when the recover is started.
4. Select the desired recover location and click OK. The System Recover Session
Options dialog box appears.
5. Click Recover…. The File System Recover Summary form appears.
6. Click Start Recover to initiate the directed recover.

Note: If the SQL alternate recover path is invalid, for example, blank or network share, the
error message dialog box as shown in Figure 30 on page 131, appears.

Figure 30 Invalid Recover Options error message dialog box

7. Switch to the Monitor page as shown in Figure 26 on page 129 to view the status
and progress of the recover.

Examples of log messages in NMM log file and Monitor page


Examples of messages for SQL directed recover in both the NMM Log file and the UI
Monitor page.

Case 1: Restore to original location messages in NMM log


Command line:\n C:\Program
Files\Legato\nsr\bin\nsrsnap_vss_recover.exe -A
RESTORE_TYPE_ORDER=conventional -A BR_ELEVATED_WARNING=true -s
mb-nwsvr-1.baker.legato.com -c mb-clnt-3.belred.legato.com -A
NSR_SNAP_TYPE=vss -A NSR_SQL_RECOVER_MODE=alt_location -A
NSR_SQL_TARGET_ORIG=yes -I -
nsrsnap_vss_recover: flag=A arg=NSR_SQL_RECOVER_MODE=alt_location
nsrsnap_vss_recover: flag=A arg=NSR_SQL_TARGET_ORIG=yes
NMM .. Performing SQL directed restore.
NMM .. SQL directed restore will relocate database files to their
original locations.

Performing SQL Server directed recovery 131


Microsoft SQL Server Backup and Recovery

Case 2: Restore to alternate location messages in NMM log


Command line:\n C:\Program
Files\Legato\nsr\bin\nsrsnap_vss_recover.exe -A
RESTORE_TYPE_ORDER=conventional -A BR_ELEVATED_WARNING=true -s
mb-nwsvr-1.baker.legato.com -c mb-clnt-3.belred.legato.com -A
NSR_SNAP_TYPE=vss -A NSR_SQL_RECOVER_MODE=alt_location -A
NSR_SQL_TARGET_DIR=E:\ -I -
nsrsnap_vss_recover: flag=A arg=NSR_SQL_RECOVER_MODE=alt_location
nsrsnap_vss_recover: flag=A arg=NSR_SQL_TARGET_DIR=E:\
NMM .. Performing SQL directed restore.
NMM .. SQL directed restore will relocate database files to path[E:\].
NMM .. SQL directed restore relocating database files for database
[APPLICATIONS:\SqlServerWriter\MB-CLNT-3\AcmeBank].
NMM .. SQL directed recover, relocating file [C:\Program
Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\AcmeBank.mdf] to [E:\Program
Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\AcmeBank.mdf].
NMM .. SQL directed recover, relocating file [C:\Program
Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\AcmeBank_log.ldf] to
[E:\Program Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\AcmeBank_log.ldf].
NMM .. SQL directed recover, relocating file [C:\Program
Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\AcmeBank2.mdf] to [E:\Program
Files\Microsoft SQL
Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\AcmeBank2.mdf].

Attaching the recovered SQL databases


To manually attach the recovered SQL databases:
1. Start the SQL Management Studio.
2. Start attachment of SQL database from the SQL Management Studio.
3. In the SQL Attach Database dialog box:
a. Locate the primary data file to attach. SQL restores all primary database files
(.mdf), logs files (.ldf), and secondary database files (.ndf), if present.
b. The SQL administrator must know which files are the primary data files.
c. Once the primary data file is attached, SQL automatically identifies the other
database files, provided the files are all at same location.
d. If the files are not in the same location, then you must specify the respective
locations of the restored files:
– .mdf
– .ldf
– .ndf
4. Click OK to create the database. The database is now created and available.

132 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

Performing SQL Server disaster recovery


In cases where the SQL Server databases must be completely rebuilt, the NMM can
facilitate a disaster recovery.
The following are scenarios and procedures for recovery:
◆ “SQL Server (stand-alone) disaster recovery on Windows Server 2008” on
page 133
◆ “SQL Server (stand-alone) disaster recovery on Windows Server 2003” on
page 134
◆ “SQL Server cluster disaster recovery on Windows Server 2008” on page 134
◆ “SQL Server cluster disaster recovery on Windows Server 2003” on page 136

SQL Server (stand-alone) disaster recovery on Windows Server 2008


Prior to disaster recovery, use NMM to perform regular backups of volumes, system
components, and application save sets.
The following save sets should be backed up regularly:
1. Back up the following with the snapshot policy “all.”
C:\
SYSTEM COMPONENTS:\
The backup of C:\ automatically includes the following:
• Windows Boot Volume
• Windows System Volume

Note: If the system has been set up with a separate file system for the Windows
boot\system partition and separate file system for application installation, then along with
C:\ drive, back up the file system that includes the Windows Boot Volume, Windows
System Volume, and application software.

“Specifying save sets for SQL data” on page 116 provides backup details.
2. Back up application data for SQL Server with the following save set:
APPLICATIONS:\SqlServerWriter
To perform a disaster recovery of SQL Server on a Windows Server 2008 machine:
1. Install SQL Server and latest service packs, including the SQL Server instances
that were running on the machine before the disaster.

Note: The instance names must be exactly the same as the previous ones.

2. Perform a recover of the system components and volumes.


3. Perform a recovery of the SQL Server data for all previous instances.

Note: In the NMM interface, clear the check boxes for all of the system databases, or the
recovery will fail.

Performing SQL Server disaster recovery 133


Microsoft SQL Server Backup and Recovery

SQL Server (stand-alone) disaster recovery on Windows Server 2003


Prior to disaster recovery, use NMM to perform regular backups of volumes, system
components, and application save sets.
The following save sets should be backed up regularly:
1. Back up the following with the snapshot policy “all.”
C:\
SYSTEM COMPONENTS:\
The backup of C:\ automatically includes the following:
• Windows Boot Volume
• Windows System Volume

Note: If the system has been set up with a separate file system for the Windows
boot\system partition and separate file system for application installation, then along with
C:\ drive, back up the file system that includes the Windows Boot Volume, Windows
System Volume, and application software.

“Specifying save sets for SQL data” on page 116 provides information for
SYSTEM COMPONENTS:\ backup.
2. Back up application data for SQL Server with the following save set:
APPLICATIONS:\SqlServerWriter
To perform a SQL Server (stand-alone) disaster recovery on Windows Server 2003:
1. Set up a new Windows 2003 machine to the following on the old machine:
• Machine name
• IP address
• Domain status
2. Recover SYSTEM COMPONENTS:\ and the local file system volumes.
3. Reboot the machine.
4. Log in to the machine as local administrator.
5. Unjoin the domain, and then rejoin the domain.
6. Recover the APPLICATIONS:\SqlServerWriter save set.
7. Reboot, and then recovery will be complete.

SQL Server cluster disaster recovery on Windows Server 2008


Prior to disaster recovery, use NMM to perform regular backups of volumes, system
components, and application save sets.
The SQL Server cluster should be backed up regularly, the following will be required
when a disaster recovery occurs:
1. Back up the following on both cluster nodes. Use the snapshot policy “all” for
each node backup:
C:\
SYSTEM COMPONENTS:\

134 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

The backup of C:\ automatically includes the following:


• Windows Boot Volume
• Windows System Volume

Note: If the system has been set up with a separate file system for the Windows
boot\system partition and separate file system for application installation, then along with
drive C:\, back up the file system that includes the Windows Boot Volume, Windows
System Volume, and application software.

2. Back up application data for SQL Server with the following save set:
APPLICATIONS:\SqlServerWriter

Note: You must specify a separate applications save set for each SQL cluster instance.

To perform a SQL Server cluster disaster recovery on Windows Server 2008:


1. Set up each new cluster machine to match the following on the corresponding old
machine:
• Machine name
• IP address
• Domain status
2. On each cluster machine:
a. Install SQL Server 2005 and all updates that were installed on the old
machines.
b. Install all instances that were installed on the old machines.
3. Recover each node’s SYSTEM COMPONENTS:\ and local file system volumes.
4. Reboot each new machine.
5. On each machine:
a. Log in to the machine as local administrator.
b. Unjoin the domain.
c. Rejoin the domain.
6. On the active node:
a. Stop SQL Instance Services
b. Restore APPLICATIONS:\SQLServerWriter
c. Start SQL Instance Services

Performing SQL Server disaster recovery 135


Microsoft SQL Server Backup and Recovery

SQL Server cluster disaster recovery on Windows Server 2003


Prior to disaster recovery, use NMM to perform regular backups of volumes, system
components, and application save sets.
The SQL Server cluster should be backed up regularly. The following is required for a
disaster recovery:
1. Back up the following on both cluster nodes. Use the snapshot policy “all” for
each node backup:
C:\
SYSTEM COMPONENTS:\
The backup of C:\ automatically includes the following:
• Windows Boot Volume
• Windows System Volume

Note: If the system has been set up with a separate file system for the Windows
boot\system partition and separate file system for application installation, then along with
drive C:\, back up the file system that includes the Windows Boot Volume, Windows
System Volume, and application software.

2. Back up Cluster Management.


3. Back up application data for Microsoft SQL Server with the following save set:
APPLICATIONS:\SqlServerWriter

Note: You must specify a separate applications save set for each SQL cluster instance.

To perform a Microsoft SQL Server two-node cluster disaster recovery on Windows


Server 2003:
1. Set up each new cluster machine to match the following on the corresponding old
machine:
• Machine name
• IP address
• Domain status
2. Recover each node’s SYSTEM COMPONENTS:\ and local file system volumes.
3. Reboot each new machine.
4. On each machine:
• Log in to the machine as local administrator.
• Unjoin the domain.
• Rejoin the domain.
5. On each machine, recover the APPLICATIONS:\SqlServerWriter save set.
6. Reboot each machine. Cluster status recovery is complete.

136 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SQL Server Backup and Recovery

Best practices for SQL Server backup and recovery


Table 23 on page 137 lists the best practices and recommendations to follow when
using NMM to back up and recover SQL Server.

Table 23 SQL Server backup and recovery best practices and considerations

Consideration Best practice

Define different schedules for protecting For application servers such as SQL or Exchange Servers, back up the server application data under a
the following: schedule different than the host operating system data and volumes.
• The operating system and the file Typically, application data is backed up several times a day while operating system data and volumes are
system backed up less frequently.
• The Application that is to be backed To accomplish this:
up. 1. Create a separate backup group, snapshot policy, and Client resource for:
•Server application data
•Volumes and operating system data
2. Assign the appropriate snapshot policy and Client resource to each backup group.

Installation path for application server Do not install application server program files on the same volume as the application’s database files and log
program files.

Copy-on-write snapshot technology This applies to the following hardware-based snapshots:


against split-mirror snapshot • Large databases and databases that are updated frequently, should not be saved with copy-on-write
technology, when using CLARiiON or snapshot technology. Instead, use a split-mirror snapshot technology such as a CLARiiON clone or a
Symmetrix. Symmetrix BCV.
• Although copy-on-write technology requires less hardware resources, split-mirror technology can better
handle the requirements of large or fast-changing databases.
Split-mirror technology is supported only with a VSS hardware provider, such as the EMC VSS Provider. It is
not provided by the built-in Microsoft System Provider.

NetWorker modules and the NMM client If you attempt to use both the NMM client and a NetWorker module (for example NME or NMSQL) to back up
application data, the module backups are promoted to Full backups.
“NMM client issues” on page 361 provides more information about issues that might be encountered with the
NMM client.

CLARiiON limits for the CX500 If the number of snapshots exceeds the limit for number of snapshots supported per CLARiiON, a "VETO"
failure occurs during snapshot creation.
The CLARiiON limits for the CX500 are as follows:
• For a CX500, the limit is 150 snapshots or snapshot sessions system-wide. This includes reserved
snapshots/sessions for SAN Copy. There is also a limit of 8 snapshots or snapshot sessions per LUN.
• Limits for CLARiiON systems can be found in the EMC SnapView Integration Module for SQL Server
(SIMS) Administrator’s Guide.

SQL instances in suspect mode If any of the databases belonging to a SQL instance are in suspect mode, and a backup of the SQL instance
is attempted with the Microsoft MSDE Writer, the snapshot backup will fail.

Verify VSS SQL Writer service is After installing SQL Server, verify that the VSS SQL Writer service is running in order for the VSS SQL Writer
running snapshot to be successful. The SQL Writer is disabled by default.
It must be enabled or set to automatic after installation.

Ignore tempdb database Microsoft indicates that tempdb is a database that is rebuilt when the server is rebooted, and that VSS
Requestors can ignore this database.
The database is not reported by the writer and is not backed up.

Special character databases Special character databases are not backed up and the best practice is to have the list of databases without
special character tables and columns.

SQL Server crash may occur when the 1. Restore the System Components, which by default has the Windows boot volume and Windows system
SQL Server executable or the volume.
supporting System Components get 2. Reinstall the SQL Server with its latest software updates and then recover the SQL databases using
corrupted. APPLICATIONS:\SqlServerWriter.

Best practices for SQL Server backup and recovery 137


Microsoft SQL Server Backup and Recovery

138 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
6
Microsoft Windows
Cluster Backup and
Recovery

This chapter includes the following topics:


◆ Windows Server Cluster backup and recovery ...................................................... 140
◆ Performing Windows Server Cluster backups ....................................................... 142
◆ Performing Windows Server Cluster recovery....................................................... 143
◆ Performing Windows Server 2003 clustered client disaster recovery................. 143

Microsoft Windows Cluster Backup and Recovery 139


Microsoft Windows Cluster Backup and Recovery

Windows Server Cluster backup and recovery


This chapter supplements the overall NetWorker Module for Microsoft Application
(NMM) backup procedures in the following sections:
◆ Chapter 2, “Configuring a Scheduled Backup”
◆ Chapter 3, “System Backup and Recovery”
With the specific details needed to back up and recover clusters in:
◆ Microsoft Windows Server 2008 — Windows Server Failover Clustering (WSFC)
◆ Microsoft Windows Server 2003 — Microsoft Cluster Service (MSCS)
This section contains information on:
◆ “Cluster support in NMM client” on page 140
◆ “Compatibility with previous Windows Cluster backups” on page 140
◆ “Components used by NMM for Windows Cluster backup and recovery” on
page 141
◆ “Windows Cluster application information variable settings” on page 141

Cluster support in NMM client


NMM client supports Windows Server Clusters running on the following versions of
Microsoft Windows Server:
Microsoft Cluster Service (MSCS)
Microsoft Windows Server 2003 SP2 (x86, x64) and Microsoft Windows Server 2003
R2 with SP2 (x86, x64):
◆ Standard Edition
◆ Enterprise Edition
◆ Datacenter Edition
Windows Server Failover Clustering (WSFC)
Microsoft Windows Server 2008 (x86, x64):
◆ Standard Edition
◆ Enterprise Edition
◆ Datacenter Edition

Compatibility with previous Windows Cluster backups


Windows Server 2008 does not support recoveries of Windows Server 2003 backups
of the Cluster Writer. Many Windows legacy APIs in Windows Server 2003 are not
supported in Windows Server 2008. NMM client does not prevent attempting to
recover a Windows Server 2003 Cluster to a Windows Server 2008 Cluster, but
recovery will fail.

140 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Windows Cluster Backup and Recovery

Components used by NMM for Windows Cluster backup and recovery


NetWorker Module for Microsoft Applications backs up Windows Cluster data as
part of the SYSTEM COMPONENTS save set. There is a Cluster Writer used within
SYSTEM COMPONENTS, but it cannot be specified in a save set.
The Cluster writer is recovered when one of the following is selected for recover:
◆ SYSTEM COMPONENTS — As part of recovery of this entire save set
◆ SYSTEM COMPONENTS:\Cluster Writer — As an authoritative restore in
Windows Server 2008
◆ SYSTEM COMPONENTS:\Cluster Writer and SYSTEM
COMPONENTS:\BootableSystemState — As part of a nonauthoritative restore in
Windows Server 2008

Windows Cluster application information variable settings


Table 24 on page 141 lists the variables that can be specified in NetWorker
Management Console, in the Application information attribute of the Client resource.

Table 24 Windows Cluster application information variable settings

Attribute Name Description Values

NSR_SNAP_TYPE=value Specifies the snapshot service provider vss


name. This value is required.

NSR_DATA_MOVER=valueapplica • Specifies the hostname of the NMM • The local host


tion information attribute client that moves snapshots from the • The proxy client hostname
NMM client to primary and secondary Consider the following:
(conventional) storage.
• If no value is entered, the local host is used as the data mover.
• The host can be either a local host or a
proxy client host. • If you are setting up a proxy client for a virtual cluster server,
you must also type the proxy client hostname in the Remote
Access attribute of the Client resource.
• For serverless backups, specify a proxy client.
• If setting up an Windows Cluster client resource, it is
recommended that you use a proxy client. If a proxy client is
specified, Windows Cluster consistency checks are performed
on the proxy client. Related messages are written to the
Replication Manager log files (erm_clientxx.log) on the proxy
client.
• If no proxy client is specified for an Windows Cluster client
resource, consistency checks are performed on the client
resource host. Related messages are logged on the client
resource host in both the Replication Manager log files and the
nmm.raw file.

Windows Server Cluster backup and recovery 141


Microsoft Windows Cluster Backup and Recovery

Performing Windows Server Cluster backups


To perform Exchange system backups, complete the tasks outlined in Table 25 on
page 142. The first three tasks for scheduling a backup are the same for all VSS
writers supported by NMM.
There are additional considerations for setting up a virtual NMM client, which are
outlined in the last three tasks.

Table 25 Steps and considerations for backing up a clustered Client resource

Backup task Consideration

1. “Configure a backup pool for snapshot No special configuration is required.


operations” on page 53

2. “Configure snapshot policies” on page 56 No special configuration is required.

3. “Configure a backup schedule” on page 58 No special configuration is required.

4. “Configure a backup group” on page 59 • Configure a Client resource for each virtual server that is
being backed up and each physical node in the cluster on
which the virtual server may execute.
• Type the names of the physical nodes of the cluster in the
Remote Access attribute of each virtual Client resource.

5. “Configure privileges” on page 65 Set up NetWorker administrator privileges for each physical
node and proxy client in the cluster.

6. “Configure a proxy client” on page 66 If a hardware provider such as the EMC VSS Provider is being
used, a proxy client must be configured for a clustered NMM
client.

Note: There is an additional consideration for backing up a clustered Client resource: the proxy
client is not allowed to be a member of the cluster. This is by Microsoft design, it is not
supported by the Windows Cluster service. Microsoft describes this restriction in a MSDN
article at http://msdn.microsoft.com/en-us/library/aa384600(VS.85).aspx, in the subsection
“Auto-Import Hardware Shadow Copies Are Not Supported on Windows Cluster Service.”

! IMPORTANT
As part of disaster recovery plan, backup either of the following on the application
hosts:
- The save set All attribute in the save set field of the Client Resource.
- The SYSTEM COMPONENTS:\ save set along with the system volume, for
example C:\.

Cluster failover and backups


Considerations include:
◆ If a node within a cluster undergoes failover during a backup operation, the
operation will fail. The next scheduled backup operation will be the next valid
backup.
◆ If you are using a hardware provider such as the EMC VSS Provider, use the disk
management utilities provided with the associated hardware to delete any
resources that may be left in an indeterminate state as a result of the failed
backup.

142 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Windows Cluster Backup and Recovery

For example, a CLARiiON storage solution may have an InActive snapshot as the
result of a failed backup. In this case, use the Navisphere user interface or the
NaviCLI command line interface to search for and delete the inactive snapshot.

Performing Windows Server Cluster recovery


The Cluster recovery procedures are different for Windows Server 2003 and
Windows Server 2008. The following sections provide more information:
◆ “Performing Windows Server 2003 clustered client disaster recovery” on
page 143 provides information about cluster recovery in Windows Server 2003.
◆ “Cluster recovery options” on page 81 describes the Cluster tab in NMM
Recovery options. This tab provides options for authoritative or nonauthoritative
restore. Authoritative restores of the Cluster Writer are only supported for
Windows Server 2008.

Performing Windows Server 2003 clustered client disaster recovery


There are three different cluster recovery scenarios presented:
◆ “Perform disaster recovery of a cluster client” on page 143 describes how to
recover a cluster from a backup created by the NMM client.
◆ “Perform disaster recovery from a legacy VSS backup” on page 146 describes
how to recover a cluster from a VSS backup created before the NMM client was
installed.
◆ “Perform disaster recovery of a clustered client from a legacy non-VSS backup”
on page 149 provides recommendations for how to handle legacy non-VSS
backup which does not work with the NMM client.

! CAUTION
Ensure that your snapshot policies include at least one rollover to conventional
backup. Disaster recovery can only be performed from a conventional backup.
Chapter 7, “Snapshot Management,” describes how to rollover a snapshot to a
conventional backup.

Perform disaster recovery of a cluster client


The following procedure describes how to recover a single node in a two-node
cluster. The procedure assumes that you are recovering Node_B and that Node_A is
available.
To perform a disaster recovery of a cluster client, follow these tasks:
1. “Evict Node_B from the cluster” on page 144
2. “Select the required items to be recovered for Node_B” on page 144
3. “Start the Cluster service on Node_A” on page 145

Performing Windows Server Cluster recovery 143


Microsoft Windows Cluster Backup and Recovery

Evict Node_B from the cluster


Follow these steps:
1. Use the Cluster Administrator tool on Node_A to evict Node_B from the cluster.
The Microsoft website or documentation for the Cluster Administrator tool
provides information about evicting a cluster.
2. At the command prompt, type the following to clean up MSCS:
cluster node Node_B /forcecleanup

! CAUTION
After cleaning the Cluster Server, you must reproduce the preexisting
application environment on Node_B so MSCS can administer the applications
as it did before the node failed. One way to reproduce the preexisting
application environment is to perform a recovery for each application that was
previously installed on the node.

3. Use the Cluster Administrator tool to select Join an existing Cluster and type the
cluster name.
4. Use the Cluster Administrator tool on Node_A to ensure that Node_B appears
available for failover operations.
5. Stop the cluster service in Node_A by using one of the following methods:
• With the control panel service tool, stop the Cluster service.
• At the command prompt, type the following:
net stop clussvc

Select the required items to be recovered for Node_B


The procedure differs depending on whether or not the cluster service resides on a
domain controller. The following sections provide more information:
◆ “If the cluster service resides on a member server and is not a domain controller”
on page 144
◆ “If the cluster service resides on a domain controller” on page 145

If the cluster service resides on a member server and is not a domain


controller
If the cluster service resides on a member server and is not a domain controller:
1. Open the NMM client software on Node_B.
2. From the left pane, select Recover > System Recover Session.
3. Select all local drives except for the NMM client installation folder and the
Replication Manager (RM) installation folder.
4. Select the SYSTEM COMPONENTS folder.

Note: If recovering a backup created with NetWorker VSS Client 1.0 SP1, under SYSTEM
COMPONENTS, clear ASR DISK.

5. From the System Recover Session toolbar, click Start Restore.

144 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Windows Cluster Backup and Recovery

If the cluster service resides on a domain controller


If the cluster service resides on a domain controller:
1. Boot the NMM client in directory service restore mode. “Booting Windows in
Directory Service Restore mode” on page 91 provides more information about
these recovery options.
2. Open the NMM client software.
3. From the Options menu, select System Recover Configuration Options and click
NetWorker.
4. Clear the Use Microsoft best practices for selecting the system state attribute
and click Yes when asked to confirm your selection.

! IMPORTANT
Do not clear the "Microsoft Best Practices" box except where specifically
instructed to do otherwise in this document. For instance, there are some
procedures, such as recovering Distributed File System (DFS) data, where you
can clear this attribute.
Microsoft does not support recovery of portions of the operating system.
Attempted recovery of portions of the operating system, with this box cleared,
may render the system unbootable. After each recovery operation, this option
is automatically selected.

5. Click OK to close the dialog box.


6. From the left pane, select Recover > System Recover Session.
7. Stop the cluster service in Node_B by using one of the following methods:
• With the control panel service tool, stop the Cluster service.
• At the command prompt, type the following:
net stop clussvc
8. Select all local drives except for the NMM client installation folder and the
Replication Manager (RM) installation folder.
9. In the navigation tree, select BootableSystemState and Cluster Writer.
10. Select the SYSTEM COMPONENTS:\ folder. If recovering a backup created
with NetWorker VSS Client 1.0 SP1, under SYSTEM COMPONENTS:\, clear
ASR DISK.
11. From the System Recover Session toolbar, click Start Restore. When prompted,
restart Node_B.

Start the Cluster service on Node_A


Follow these steps:
1. Start the Cluster service on Node_A by using one of the following methods:
• With the control panel service tool, start the Cluster service.
• At the command prompt, type the following:
net start clussvc
2. Use the Cluster Administrator on Node_A to confirm that the cluster resources
were recovered to the point in time when the backup occurred.

Performing Windows Server 2003 clustered client disaster recovery 145


Microsoft Windows Cluster Backup and Recovery

Note: If you are performing regular scheduled backups, this will recover the cluster
database to a point shortly before the loss of Node_B.

3. Use the Cluster Administrator on Node_A to monitor the cluster "joining" status
of node_B.
4. Use the Cluster Administrator on Node_B to verify that the cluster group can be
moved between the nodes by right-clicking the group and selecting Move group.

Cluster recovery environment variable settings


If a Windows Server 2003 cluster database recover failed because the partition layout
of the quorum disk has changed since the backup, or the drive letter of the quorum
disk is already being used, the recovery process can be repeated with these
environment variables defined as:
◆ %NsrClusterForceRecover% should be set to 1.
◆ %NsrClusterNewQuorumDrive% should be set to the drive letter of the new
quorum disk (for example, R:).
There should only be one active node during the recovery. If other nodes are active
and the environment variable %NsrClusterForceRecover% is not defined, then the
recovery will fail. With %NsrClusterForceRecover% defined, the recover process will
attempt to shut down the cluster service on the other active nodes. It will also attempt
to change the signature and drive letter (if %NsrClusterNewQuorumDrive% is
defined) of the current quorum disk even if its partition layout does not match the
one described in the backup. However, the success of the recovery is not guaranteed
even with %NsrClusterForceRecover% defined.

Perform disaster recovery from a legacy VSS backup


The procedure for disaster recovery of a clustered client from a legacy VSS backup
differs depending on whether or not the cluster service resides on a domain
controller:
◆ “For cluster service on a member server” on page 146
◆ “For cluster service on a domain controller” on page 148

For cluster service on a member server


This recovery is for a VSS backup created before the NMM client was installed. This
backup would include VSS SYSTEM SERVICES, VSS SYSTEM FILESET, and VSS
SYSTEM BOOT.
The following procedure describes how to recover a single node in a two-node
cluster. The procedure assumes that you are recovering Node_B and that Node_A is
available:
1. Use the Cluster Administrator tool on Node_A to evict Node_B from the cluster.
2. At the command prompt, type the following to clean up MSCS:
cluster node Node_B /forcecleanup

146 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Windows Cluster Backup and Recovery

! IMPORTANT
After cleaning up the Cluster Server, you must reproduce the preexisting
application environment on Node_B so MSCS can administer the applications
as it did before the node failed. One way to reproduce the preexisting
application environment is to perform a recovery for each application that was
previously installed on the node.

3. Use the Cluster Administrator tool to select Join an existing Cluster and type the
cluster name.
4. Use the Cluster Administrator tool on Node_A to ensure that Node_B appears
available for failover operations.
5. Stop the cluster service in Node_A by using one of the following methods:
• Using the control panel service tool, stop the Cluster service.
• At the command prompt, type the following:
net stop clussvc
6. Select the required items to be recovered for Node_B:
a. Open the NMM client software on Node_B.
b. From the left pane, select Recover > System Recover Session.
c. Select all local drives except for the NMM client installation directory.
d. Select the following:
– VSS SYSTEM SERVICES
– VSS SYSTEM FILESET
– VSS SYSTEM BOOT
e. From the System Recover Session toolbar, click Start Restore.
f. When prompted, restart Node_B.
7. Start the Cluster service on Node_A by using one of the following methods:
• Use the control panel service tool to start the Cluster service.
• At the command prompt, type the following:
net start clussvc
8. Use the Cluster Administrator tool on Node_A to confirm that the cluster
resources were recovered to the point in time when the backup occurred.

Note: If you have been performing regular scheduled backups, this will recover the cluster
database to a point in time shortly before the loss of Node_B.

9. Use the Cluster Administrator tool on Node_A to monitor the cluster "joining"
status of Node_B.
10. Use the Cluster Administrator tool on Node_B to verify that the cluster group can
be moved between the nodes by right-clicking the group and selecting Move
group.

Performing Windows Server 2003 clustered client disaster recovery 147


Microsoft Windows Cluster Backup and Recovery

For cluster service on a domain controller


This recovery is for a VSS backup created before the NetWorker VSS Client was
installed. This backup would include VSS SYSTEM BOOT, VSS SYSTEM FILESET,
and VSS SYSTEM SERVICE.
The following procedure describes how to recover a single node in a two-node
cluster. This procedure assumes that you are recovering Node_B and that Node_A is
available:
To recover a single node in a two node cluster:
1. Use the Cluster Administrator on Node_A to evict Node_B from the cluster.
2. At the command prompt, type the following to clean up MSCS:
cluster node Node_B /forcecleanup

! IMPORTANT
After cleaning up the Cluster Server, you must reproduce the preexisting
application environment on Node_B so MSCS can administer the applications
as it did before the node failed. One way to reproduce the preexisting
application environment is to perform a recovery for each application that was
previously installed on the node.

3. Use the Cluster Administrator to select Join an existing Cluster and type the
cluster name.
4. Use the Cluster Administrator tool on Node_A to ensure that Node_B appears
available for failover operations.
5. Stop the cluster service in Node_A by using one of the following methods:
• Use the control panel service tool to stop the Cluster service.
• At the command prompt, type the following:
net stop clussvc
6. Select the required items to be recovered for Node_B:
a. Boot the NMM client in directory service restore mode. “Booting Windows in
Directory Service Restore mode” on page 91 provides more information about
these recovery options.
b. Open the NMM client software.
c. From the Options menu, select System Recover Configuration Options and
click the NetWorker tab.
d. Clear the Use Microsoft best practices for selecting the system state attribute
and click Yes when asked to confirm your selection.

! CAUTION
Do not clear the "Microsoft Best Practices" box except where specifically
instructed to do otherwise in this document. For instance, there are some
procedures, such as recovering Distributed File System (DFS) data, where
you can clear this attribute.
Microsoft does not support recovery of portions of the operating system.
Attempted recovery of portions of the operating system, with this box
cleared, may render the system unbootable. After each recovery operation,
this option is automatically selected.

148 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Windows Cluster Backup and Recovery

e. Click OK to close the dialog box.


f. From the left pane, select Recover > System Recover Session.
g. Stop the cluster service in Node_B by using one of the following methods:
– Using the control panel service tool, stop the Cluster service.
– At the command prompt, type the following:
net stop clussvc
h. Select all local drives except for the NMM client installation directory.
i. Select VSS SYSTEM SERVICES, VSS SYSTEM FILESET, and VSS SYSTEM
BOOT.
j. From the System Recover Session toolbar, click Start Restore. When
prompted, restart Node_B.
7. Start the Cluster service on Node_A by using one of the following methods:
• Use the control panel service tool to start the Cluster service.
• At the command prompt, type the following:
net start clussvc
8. Use the Cluster Administrator tool on Node_A to confirm that the cluster
resources were recovered to the point in time when the backup occurred.

Note: If you have been performing regular scheduled backups, this will recover the cluster
database to a point in time shortly before the loss of Node_B.

9. Use the Cluster Administrator tool on Node_A to monitor the cluster "joining"
status of Node_B.
10. Use the Cluster Administrator on Node_B to verify that the cluster group can be
moved between the nodes by right-clicking the group and selecting Move group.

Perform disaster recovery of a clustered client from a legacy non-VSS backup


This recovery is for a non-VSS backup created before the NMM client was installed.
This backup would include SYSTEM STATE, SYSTEM DB, and SYSTEM FILES.
Consider the following:
◆ Recovery of non-VSS backups of the cluster database by using the NMM client
does not work.
◆ To ensure that backups of the cluster database are available for recovery, perform
a full backup of the system directly after updating the system to the NMM client.
This creates a post-installation cluster backup that can be recovered by using the
NMM client.

Monitoring a recovery
The progress of all recovery operations can be viewed from the Monitor window.
“Monitor view” on page 44 provides more information about the Monitor window.

Performing Windows Server 2003 clustered client disaster recovery 149


Microsoft Windows Cluster Backup and Recovery

150 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
7
Snapshot
Management

This chapter includes the following topics:


◆ Rollover a snapshot..................................................................................................... 152
◆ Rollback a snapshot .................................................................................................... 153
◆ Deleting a snapshot..................................................................................................... 156
◆ Limit of eight volumes in save set for a client resource ........................................ 157

Snapshot Management 151


Snapshot Management

Rollover a snapshot
A rollover is the process of creating a conventional backup from a snapshot.
Conventional backups include backup to tape, file type, or advanced file type
devices. Rollover policies are typically controlled automatically through snapshot
policy settings on the NetWorker server. Chapter 2, “Configuring a Scheduled
Backup,”provides more information about scheduling backups.
However, you can perform a rollover manually, if necessary:
◆ Before recovering a database that currently exists only as a persistent snapshot,
rolling over the snapshot to tape to protect the data in case the snapshot becomes
corrupted during the recovery process.
◆ Rolling over only selected save sets from the snapshot. For example, if a snapshot
contains two save sets: D:\ and E:\, you can select to rollover only the data in the
E:\ save set.
◆ Creating a convention backup copy of the snapshot data. This conventional copy
will reside on the device even if the retention deletes the snapshot.
To rollover a snapshot:
1. Open the NMM client software and select the NetWorker Server on which the
NetWorker client was configured for backup.
2. In the left pane, select Snapshot Management.
3. In the navigation tree, select the snapshot and expand the snapshot to view the
save sets. Select the snapshot or snapshot save sets to be rolled over.
4. From the Snapshot Management toolbar, click Rollover to begin the rollover
operation.
5. In the left pane, select Monitor to view the progress of the rollover operation.
Figure 31 on page 152 displays the snapshots and snapshot savesets available for
rollover.

Figure 31 Snapshot Management

152 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Snapshot Management

Rollback a snapshot
A rollback recovery is the process of returning data to an earlier point in time. The
entire contents of a persistent snapshot is recovered during a rollback recovery. You
cannot select individual components in a rollback recovery operation. A rollback
recovery is the fastest way to recover the contents of a persistent snapshot.
A rollback recovery is known as a "destructive" recovery because all changes that
were made after the selected snapshot was taken are overwritten.
For example, suppose that a snapshot of a database is taken every hour.
◆ At 5:30 p.m., it is determined that the database is corrupt and that the last known
consistent database snapshot was taken at 5:00 p.m.
◆ When the database host is rolled back to the 5:00 p.m. snapshot, all database
transactions between the time of the 5:00 p.m. snapshot and 5:30 p.m. are
overwritten.
This section contains information on:
◆ “Rollback recovery requirements” on page 153
◆ “Storage array descriptor file” on page 154
◆ “Failure of system rollback with CLARiiON if the configuration information is
not current” on page 155
◆ “Performing a rollback recovery” on page 155

Rollback recovery requirements


To perform a rollback operation, the following requirements must be met:
◆ The snapshot to be rolled back must reside on a CLARiiON or Symmetrix storage
system that is supported with the EMC VSS Provider. EMC NetWorker Module for
Microsoft Applications Release 2.1 Installation Guide provides more information.
◆ The NMM client to which the snapshot is to be rolled back must be supported
with a proxy client and the snapshot must have been created using a proxy client.
Chapter 2, “Configuring a Scheduled Backup,”provides more information about
backup using a proxy client.
◆ The nested mount points on file systems are dismounted prior to performing the
rollback restore.
◆ The Microsoft Exchange checkbox titled “This database can be overwritten by a
restore” is selected for each Exchange database that is to be recovered. This
checkbox can be found by using the Exchange SYSTEM Manager application.
◆ The databases are detached for each Microsoft SQL Server database that is to be
recovered.
◆ NMM does not support rollback restore for backups performed with EqualLogic
or Celerra hardware. Only conventional restore and snapshot restore are
supported for those hardware.
◆ Distributed Link Tracking Client must be turned off during rollback, or else
dismount will fail. Turn off the Distributed Link Tracking Client in Windows
Services before starting rollback.

Rollback a snapshot 153


Snapshot Management

◆ The Microsoft software VSS provider must not be running during rollback, or else
dismount will fail.
◆ The SYSTEM process must not be running during rollback, or else dismount will
fail. The SYSTEM process leaves the volume open when there are software
shadow copies on the volume. To ensure that the volumes are not open, delete
any shadow copies on the volumes that are being rolled back.

Storage array descriptor file


A storage array descriptor file, sa.ini, contains information about the storage arrays
connected to the proxy client data mover. The sa.ini file is created with the
nsr_sa_ini.exe utility, and placed in the nsr\res directory on the NMM client host.
Nsr_sa_ini.exe prompts you for information about the storage arrays connected to
the proxy client.
The required inputs are different for CLARiiON and Symmetrix:
◆ For a CLARiiON storage array, you must provide an array username and
password. When you complete the entries for a CLARiiON sa.ini file, the
password string is encrypted when you save the file.
“Sample CLARiiON sa.ini file” on page 155 provides an example of the entries in
this file.
◆ For a Symmetrix storage array, the sa.ini file has fewer parameters. You do not
need an account name, password, or IP address.
“Sample Symmetrix sa.ini file” on page 155 provides an example of the entries in
this file.
To create a storage array descriptor file:
1. At the command line, type:
nsr_sa_ini.exe
2. Follow the prompts to provide the array information.

Note: Even though the utility appears to allow you to type credentials for more than one
storage array, only the first one will be used by NMM. You must create a separate sa.ini for
each storage array.

When you have completed typing the array information, the file is saved to the
nsr\res directory on the NMM client host.

! IMPORTANT
Do not edit the sa.ini file with a text editor to make changes in the array
parameters. Using a text editor can corrupt the file, or compromise the password
entries. Use the nsr_sa_ini.exe tool to edit the sa.ini file if you need to make
changes after you create it.

154 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Snapshot Management

Sample CLARiiON sa.ini file


A sample sa.ini file for a CLARiiON storage array would look similar to the
following:
[Storage_Array]
Storage_Array_Count=2
Storage_Array_1=APM00052106710

[APM00052106710]
Array_Type=CLARiiON
Array_model=CX500
Array_user=sbarma
Array_pass=****
Array_pass_confirm=****
Array_SPA=122.222.111.128
Array_SPB=122.222.111.129
Sample Symmetrix sa.ini file
A sample sa.ini file for a Symmetrix storage array would look similar to the
following:
[Storage_Array]
Storage_Array_Count=1
Storage_Array_1=000187461273
[000187461273]
Array_Type=Symmetrix
Array_Sid=000187461276
Array_Model=1000P-M2

Failure of system rollback with CLARiiON if the configuration information is not current
If a CLARiiON array is migrated, or the information in the CLARiiON configuration
is not up to date, rollback may fail. If there is more than one entry in the CLARiiON
clarcnfg file, Replication Manager only uses the first entry. If the clarcnfg file is not
current, the first entry may be pointing to a CLARiiON that is no longer connected to
the system.
Edit the clarcnfg file so that there is only one entry, pointing to the current CLARiiON
you want to use.

Performing a rollback recovery


Before performing a rollback recovery, ensure that the rollback requirements have
been met. “Rollback recovery requirements” on page 153 provides more information
about these requirements.
To perform a rollback recovery:
1. Open the NMM client and select the NetWorker Server on which the NetWorker
client was configured for backup.
2. In the left pane, select Snapshot Management.
3. If you are performing a rollback for EMC Symmetrix configurations that use
RAID5 Business Continuance Volumes (BCVs), perform the following steps:

Rollback a snapshot 155


Snapshot Management

a. Delete all snapshots for the Standard EMC Disk (STD), except for the snapshot
to be rolled back. “Deleting a snapshot” on page 156 provides information
about deleting snapshots.
The deletion operation will put the snapshot BCVs in the established state.
Once you have completed the deletions, there should be only one snapshot
BCV in the split state, and that this is the snapshot BCV that is to be rolled
back.

Note: To prevent the loss of data from a snapshot that is to be deleted, perform a
rollover of the snapshot before the deletion operation. “Rollover a snapshot” on
page 152 provides more information about rolling over a snapshot.

b. Use the SYMCLI commands to disassociate the BCVs and Virtual Devices
(VDEVs) that are in the established state.
c. If the snapshot used multiple STDs, perform the previous steps for each STD.
4. In the navigation tree, select the snapshot to be rolled back.
5. Right-click the selected snapshot and select Rollback.
6. In the left pane, select Monitor to view the progress of the rollback operation.
7. When rollback processing has completed, reboot the host to complete the rollback
operation.
8. If you performed a rollback on an Exchange or SQL database, remount or attach
the database. If you performed a rollback on a file system that had nested mount
points, remount the nested mount points.

Deleting a snapshot
Snapshot deletion policies are typically controlled automatically through snapshot
policy settings on the NetWorker server. Chapter 2, “Configuring a Scheduled
Backup,” provides more information about policy settings.
However, you can delete a snapshot manually. For instance, if space must be made
available immediately on the storage system, you can manually rollover and then
delete snapshots.

! CAUTION
If a snapshot is deleted without the use of the NMM client user interface, the
snapshot may still appear to be recoverable in the NMM client user interface. If
such a snapshot is selected for recovery, the recover operation will fail. A snapshot
could be used by a user in another application. A snapshot could also be deleted by
VSS or the storage subsystem if resources are exhausted due to high input/output
rates on the volumes.

To delete a snapshot:
1. Open the NMM client software and select the NetWorker Server on which the
NetWorker client was configured for backup. “Opening the software and
connecting to a NetWorker Server” on page 44 provides more information about
opening NMM and connecting to a NetWorker Server.
2. In the left pane, select Snapshot Management.
3. In the navigation tree, select the snapshot to be deleted.

156 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Snapshot Management

4. Right-click the selected snapshot and select Delete.


5. In the left pane, select Monitor to view the progress of the delete operation.

Limit of eight volumes in save set for a client resource


There is a limit of eight volumes in a snapshot that is supported with the EMC VSS
Provider.
To back up more than eight volumes for a NMM host:
1. Create separate client resources for the host and limit the save set for each client
resource to eight volumes.
2. Ensure that client resources are assigned to different backup groups so that no
backup group contains more than eight volumes for a particular NMM host.

Note: Other hardware providers have their own limit for volumes included.

Limit of eight volumes in save set for a client resource 157


Snapshot Management

158 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
8
NetWorker Client
Management

This chapter includes the following topics:


◆ Specifying a remote client for directed recovery .................................................... 160
◆ Connecting to a NetWorker Server .......................................................................... 161
◆ Specifying a recovery browse time........................................................................... 161
◆ Specifying ranges for service and connection ports............................................... 161
◆ Specifying a password................................................................................................ 162

NetWorker Client Management 159


NetWorker Client Management

Specifying a remote client for directed recovery


The volume of a remote client can be recovered locally. The default client for recovery
is the local client, NMM can also recover backups created on remote client attached to
the same NetWorker Server as the local client.
To recover a remote client requires the following:
◆ NetWorker Server release 7.4.2 or later.
◆ At least two NetWorker clients attached to the NetWorker Server.
◆ NetWorker Module for Microsoft Applications release 2.1 or later installed on the
local client.
◆ A volume backup created on the remote client. The backup must be a
conventional backup, not a snapshot.
To specify a remote client volume for recovery locally:
1. In NMM, connect to the NetWorker Server that hosts the remote client.
2. From the Options menu, select Configure Options.
3. Next to the Client Name, click the Refresh Clients button. The Select Viewable
Clients dialog box appears.
4. In the Available clients on list, click a client and then click the Add button. The
remote client appears in the Clients to list on menu bar.
5. Repeat as needed for each remote client you want available for directed recovery
from this local computer.
6. Click OK to close the Select Viewable Clients dialog box, and then close the
Configure Options dialog box. In the mail toolbar the Client name now provides
a list box.
To recover a remote client volume:
1. From the Client list in the menu bar, select the remote client.

Note: If the active panel is Snapshot Management or Monitor, a message appears to


confirm that you want to cancel the current operation and navigate to the System Recover
Session panel.

2. Click Yes to change clients and navigate to the System Recover Session panel.
The System Recover Session Options dialog box appears.
3. In the Relocate Recovered Data box, specify the destination for the data
recovered from the remote client.

160 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
NetWorker Client Management

Connecting to a NetWorker Server


If the NetWorker client was configured for backup on a different NetWorker Server,
you can connect to that server to recover backup items for this client.
To connect to a NetWorker Server:
1. From the Options menu, select Configure Options. The Configure Options
dialog box is displayed.
2. To refresh the list of available NetWorker Servers, click the NetWorker Server
icon beside the Backup Server Name field.

Note: The Select Servers window appears while NetWorker Servers are being located.
When the NetWorker Servers have been located, the available servers are displayed in the
Select Servers dialog box.

3. Select a NetWorker Server from the Select Servers dialog box and click OK. The
server name is displayed in the Backup Server Name field.
4. Click OK.

Note: You can also connect to a NetWorker Server by clicking the NetWorker Server icon on
the Application toolbar.

Specifying a recovery browse time


To search for only those items that were backed up on or before a particular time,
specify a recovery browse time.
To specify a browse recovery time:
1. From the Options menu, select Configure Options. The Configure Options
dialog box is displayed.
2. In the Browse Time field:
a. Click the arrow to select a Calendar date.
b. You can also type a date and time in the Browse Time field.

Specifying ranges for service and connection ports


A service port is a listener port that provides services to NMM client hosts. The
default range for service ports is 7937 to 9936. A connection port is used to contact a
service, whether it is on a NetWorker server, storage node, or client. The default
range for connection ports is 0–0.
To implement an enhanced security environment, it may be necessary to reduce the
range of available ports. The EMC NetWorker Administration Guide, release 7.3.3 or
later, provides more information about determining the size of the port range.

Connecting to a NetWorker Server 161


NetWorker Client Management

To reduce the range of available ports:


1. From the Options menu, select Configure Options. The Configure Options
dialog box appears.
2. In the Service Ports attribute, type the range of available ports.
3. In the Connection Ports attribute, type the range of available ports.
4. Click OK.

Note: If a firewall exists between the NetWorker client and any NetWorker Servers, ensure that
the firewall is configured to accept the port ranges typed in the Configure Options dialog box.

The Configuring TCP Networks and Network Firewalls for EMC NetWorker Technical Note
available on Powerlink provides more information on how to identify and configure
the required ports for NetWorker hosts that need to communicate across a packet
filtering or stateful inspection firewall.

Specifying a password
The password is used to protect items that will be backed up with either PW1
password-protection, or PW2 encryption and password-protection. PW1 and PW2
protection is enabled on the NetWorker Server with a local or global directive. The
EMC NetWorker Administration Guide, release 7.3.3 or later, provides more
information about PW1 and PW2 protection.

! CAUTION
Changing the password does not change the password for files that have already
been backed up. To recover PW1 or PW2 password-protected files, you must
provide the password that was in effect at the time of the backup.

To change the PW1 password:


1. From the Options menu, select Configure Options. The Configure Options
dialog box appears.
2. In the Old password attribute, type the password that is currently in effect.
3. In the New password attribute, type the new password.
4. In the Confirm password attribute, retype the password.
5. Click OK.
The new password will be applied to future scheduled backups for the NMM client
where password-protection has been enabled with a global or local directive.

162 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
9
Microsoft SharePoint
Server 2003 Backup
and Recovery

This chapter includes the following topics:


◆ NMM solutions for protecting a Microsoft SharePoint farm................................ 164
◆ SharePoint Server versions supported by NMM client......................................... 166
◆ SharePoint Server 2003 overview ............................................................................. 167
◆ Performing SharePoint 2003 backups ...................................................................... 171
◆ Performing a SharePoint 2003 recovery................................................................... 173
◆ SharePoint 2003 scenario of backup and recovery process................................... 176
◆ Preparing a SharePoint farm for disaster recovery in stand-alone configuration on
Microsoft Windows 2008............................................................................................ 183

Microsoft SharePoint Server 2003 Backup and Recovery 163


Microsoft SharePoint Server 2003 Backup and Recovery

NMM solutions for protecting a Microsoft SharePoint farm


NMM provides three solutions to protect a SharePoint farm:
◆ By using optimized backup and recovery — This method uses the SharePoint
Object Model to back up SharePoint web applications or site-collections.
SharePoint optimized backups allow backups at the SharePoint farm,
web-application, or site-collection levels. For these type of backups, the lowest
object level for recovery is a site-collection. This method provides a good balance
between recovery granularity and performance.
Optimized backup is taken when you want to restore a complete web application
and site collection. The use of optimized backup drastically reduces the backup
window for large SharePoint site backups and therefore enhances backup
performance. Using optimized backup, you cannot do recovery at a granular or
object level. Optimized backups can only be restored in full. There can be no
partial or item-level restores from an optimized backup. Using optimized
backups, a web application and site collection can be recovered back to the
original location or to an alternate location in the same SharePoint farm or to a
different farm. Optimized backup is always performed at full level because
incremental backup is not supported.
Optimized backup is not the default backup type that is supported. In order to
perform optimized backup, the parameter “Optimized =True” should be set in
the Application information of the Client resource in NMC.
◆ By using the SharePoint VSS Writer for disaster recovery — This method
leverages the Windows Server VSS framework to take VSS snapshots of the
SharePoint configuration database, search databases or indexes, and content
databases. These VSS snapshots can be backed up on-host using the Windows
VSS System Provider or off-host using VSS Hardware Providers. There is no
performance impact on the SharePoint farm except for the backup to disk or tape
operation, and this can be eliminated by using a proxy node and VSS Hardware
Provider for off-host and LAN-free backup.

Note: The System Provider is the software VSS provider that Microsoft provides as part of
the operating system. The cache sizes and locations are managed in the Disk Management
applet.

“Preparing a SharePoint farm for disaster recovery in stand-alone configuration


on Microsoft Windows 2008” on page 183 provides details about using
SharePoint VSS writer for disaster recovery.
◆ By using full granular backup and recovery — This method uses the SharePoint
Object Model to back up SharePoint web applications, site-collections, or sites for
granular recovery. Both full and incremental, or differential backups are
supported. This allows recovery of SharePoint applications, site-collections, sites,
sub-sites, lists, libraries, calendars, wikis, items, and nearly any other type of
SharePoint content.
Chapter 11, “Microsoft SharePoint 2007 Granular Backup and Recovery,”
provides more information about granular backup and recovery for Microsoft
SharePoint 2007.

164 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

Table 26 on page 165 provides a comparison of VSS, optimized, and granular


backups.

Table 26 Comparison of VSS, optimized, and granular backups (page 1 of 2)

Granular backup

SharePoint data support Feature Support provided VSS backup Optimized Non-optimized

SharePoint application support Applications SharePoint Server 2007 X X X

SharePoint Server 2003 X

WSS 3.0 / WSS 2.0 support Services WSS 3.0 X X X

WSS 2.0 X

SharePoint disaster recovery Deduplication Global source based X X X


deduplication

Target based deduplication X X X

Topologies Traditional LAN X X X

Off-host via proxy X

LAN-free (SAN) X Proxy

Backup support Farm X

Databases X

Backup types Full X X X

Incremental (log) X

Differential

Recovery Farm X

CFG Database X

Search database/index X

Content databases X

NMM solutions for protecting a Microsoft SharePoint farm 165


Microsoft SharePoint Server 2003 Backup and Recovery

Table 26 Comparison of VSS, optimized, and granular backups (page 2 of 2)

Granular backup

SharePoint data support Feature Support provided VSS backup Optimized Non-optimized

SharePoint granular recovery Recovery Web applications X X

Site collection X X

Sites X

Lists (calendars, events, X


surveys, wiki's, blog's,
announcements, and so on.)

Libraries (document, picture, X


and so on.)

Items X

Versioning X

Metadata (Author, Timestamp, X


and so on)

Search Author, Name, Title, Size, X


Creation Date, Modification
Date, Keyword, Save set Date
Range

Directed recovery In-place recovery (same farm) X X

Out-of-place recovery (same X X


farm)

Farm to farm recovery X X

In this table, X denotes supported.

SharePoint Server versions supported by NMM client


The EMC Information Protection Software Compatibility Guide provides the most
up-to-date lists of hardware, operating system, service pack, and application versions
supported by the NMM client.
The backup and recovery procedures are different for Microsoft Office SharePoint
Server 2003 and Microsoft Office SharePoint Server 2007:
◆ Chapter 9, “Microsoft SharePoint Server 2003 Backup and Recovery,” describes
the backup and recovery procedures that are different for Microsoft Office
SharePoint Server 2003.
◆ Chapter 10, “Microsoft SharePoint Server 2007 Backup and Recovery,” describes
the backup and recovery procedures that are different for Microsoft Office
SharePoint Server 2007.
◆ Chapter 2, “Configuring a Scheduled Backup,” supplements the overall NMM
backup procedures in this chapter.

166 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

Microsoft SharePoint Portal Server 2003 and Windows SharePoint Services 2.0
Backup and disaster recovery use the Microsoft SQL Server VSS writers. “SharePoint
Server 2003 overview” on page 167 provides examples and steps for Microsoft
SharePoint Portal Server 2003 backup and recovery. This section also applies to
Windows SharePoint Services 2.0.

SharePoint Server 2003 overview


Microsoft SharePoint Portal Server 2003 and Windows SharePoint Server (WSS) 2.0
do not have their own VSS writers. Microsoft SQL Server hosts the SharePoint 2003
databases. NetWorker Module for Microsoft Applications uses Microsoft SQL writers
to perform the backup and recovery of the Microsoft SQL databases. After the
Microsoft SQL databases are recovered, the SharePoint recovery is performed.
This section contains the following:
◆ “Types of supported backup and recovery” on page 167
◆ “Components used by NMM for SQL backup and recovery” on page 168
◆ “Specifying save sets for SharePoint 2003 SQL data” on page 168
◆ “Displaying valid SQL data save sets for SharePoint 2003 backup” on page 169
◆ “SQL application information variable settings in SharePoint 2003 backup” on
page 169
◆ “Best practices for SQL Server backup and recovery of SharePoint 2003
databases” on page 170

Types of supported backup and recovery


NMM provides these backup features for SharePoint 2003 and where noted, in
Windows SharePoint Services 2.0:
◆ SharePoint 2003 database backup:
• Configuration database (also Windows SharePoint Services 2.0)
◆ SharePoint Portal Server 2003 portal sites backup, including the following
databases:
• Content database (also Windows SharePoint Services 2.0)
• User profile database
• Services database
• Index databases
• Windows SharePoint Services database backup

! IMPORTANT
When the Search/Content Index folder is backed up, only the APPLICATIONS
folder is backed up and available for recovery. The Config and Office servers
folders are not backed up and cannot be recovered.

◆ Microsoft SQL Server-based Document and Picture Libraries (also Windows


SharePoint Services 2.0)
After a full backup of a database, individual items can be recovered from the
database.

SharePoint Server 2003 overview 167


Microsoft SharePoint Server 2003 Backup and Recovery

◆ Web storage system-based Document Library Store and Document Libraries


After a full backup of a library, individual items can be recovered to the web
storage system-based library or redirected to filepaths.
◆ Backup level supported: Full only

Components used by NMM for SQL backup and recovery


NMM uses the following writers and commands to back up SharePoint 2003
databases hosted on Microsoft SQL Server:
◆ Application writers — NMM uses the application writers provided by Microsoft
SQL Server:
• MSDEWriter- SQL2000 — The writer for SQL 2000/MSDE
• SqlServerWriter — The writer for SQL Server 2005
“Specifying save sets for SharePoint 2003 SQL data” on page 168 describes
how the writer name is used in the save set syntax.
◆ nsrsnap_vss_save — The NMM command to initiate the VSS-based backup
◆ nsrsnap_vss_recover — The NMM command to initiate the VSS-based recovery

Specifying save sets for SharePoint 2003 SQL data


Table 27 on page 168 lists the SharePoint 2003 save set syntax to specify for supported
types of SQL data. Specify SQL data save sets in the Save Set attribute of a Client
resource.

Table 27 SQL save set syntax for SharePoint 2003

Type of data to back up Save set syntax

All SQL Server 2005 named instances and • If the SQL Server VSS Writer service is enabled (it is disabled by default), type the following:
databases including express and stand-alone APPLICATIONS:\SqlServerWriter
databases. • If the SQL Server VSS Writer service is disabled, SQL Server 2005 named instances and
databases, including express and stand-alone databases, can be backed up with the following
syntax:
APPLICATIONS:\MSDEWriter-SQL2000

Only the SQL 2005 host instance and database APPLICATIONS:\SqlServerWriter\host%5Cinstance\master


name combination. For example, to back up the database named test11_SITE on the SQL Server named instance
GALL, type the following:
APPLICATIONS:\SqlServerWriter\GALL%5Ctest11_SITE

All SQL 2000 named instances and stand-alone APPLICATIONS:\MSDEWriter-SQL2000


databases.

Only the SQL 2000 host instance and database APPLICATIONS:\MSDEWriter-SQL2000\host%5C


name combination. instance\master
For example, to back up the database named test11_SERV on the SQL Server named instance
GALL, type the following:
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5Ctest11_SERV

168 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

Displaying valid SQL data save sets for SharePoint 2003 backup
To display a list of the SQL save sets that are available for SharePoint 2003 backup:
1. Open a command prompt on the application server.
2. From the command prompt, type the following command to list the valid
application data save set names:
• If the application server is not on a virtual host, type:
nsrsnap_vss_save -?
• If the application server is on a virtual host, type:
nsrsnap_vss_save -? -c virtual_server_name

Note: If the application server is on a virtual host, run this command from the physical
node that is currently hosting the application server.

3. Press Enter:
• Each line of output corresponds to a save set entry that you can add to the
Save Set attribute of a Client resource.
• Each entry that you add to the Save Set attribute must be typed on a separate
line.
The save sets that are available for backup are listed in a format similar to the
following:
APPLICATIONS:\MSDEWriter-SQL2000
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5CReportServer
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5CReportServerTempDB
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5CSPS01_Config_db
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5Ctest11_PROF
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5Ctest11_SERV
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5Ctest11_SITE

SQL application information variable settings in SharePoint 2003 backup


Table 28 on page 169 lists the variables that can be specified in the Application
information attribute of the Client resource.

Table 28 SharePoint application information variable settings (page 1 of 2)

Attribute name Description Values

NSR_SNAP_TYPE=value Specifies the snapshot service provider name. vss


This value is required.

SharePoint Server 2003 overview 169


Microsoft SharePoint Server 2003 Backup and Recovery

Table 28 SharePoint application information variable settings (page 2 of 2)

Attribute name Description Values

NSR_DATA_MOVER=value • Specifies the hostname of the NMM Client that • The local host
application information attribute moves snapshots from the NMM Client to primary • The proxy client hostname
and secondary (conventional) storage. Consider the following:
• The host can be either a local host or a proxy client • If no value is entered, the local host is used as the
host. data mover.
• If you are setting up a proxy client for a virtual
cluster server, you must also type the proxy client
hostname in the Remote Access attribute of the
Client resource.
• For serverless backups, specify a proxy client.
• If setting up an SQL Client resource, use a proxy
client.
• If a proxy client is specified, SQL consistency
checks are performed on the proxy client. Related
messages are written to the Replication Manager
log files (erm_clientxx.log) on the proxy client.
• If no proxy client is specified for an SQL Client
resource, consistency checks are performed on the
Client resource host. Related messages are logged
on the Client resource host in both the Replication
Manager log files and the nmm.raw file.

Best practices for SQL Server backup and recovery of SharePoint 2003 databases
Table 29 on page 170 lists the best practices and recommendations to follow when
using NMM to back up and recover SQL Server.

Table 29 SQL Server backup and recovery best practices and considerations (page 1 of 2)

Consideration Best practice

Define different schedules for For application servers such as SQL servers, back up the server application data under a schedule different than the
protecting the following: host operating system data and volumes.
• The operating system and Typically, application data is backed up several times a day while operating system data and volumes are backed up
the file system less frequently.
• The Application that is to be To accomplish this:
backed up. 1. Create a separate backup group, snapshot policy, and Client resource for:
• Server application data
• Volumes and operating system data
2. Assign the appropriate snapshot policy and Client resource to each backup group.

Installation path for application Do not install application server program files on the same volume as the application’s database files and log files.
server program

Copy-on-write snapshot This applies to the following hardware based snapshots:


technology versus split-mirror • Large databases and databases that are updated frequently, should not be saved with copy-on-write snapshot
snapshot technology, when technology. Instead, use a split-mirror snapshot technology such as a CLARiiON clone or a Symmetrix BCV.
using CLARiiON or Symmetrix. • Although copy-on-write technology requires less hardware resources, split-mirror technology can better handle the
requirements of large or fast-changing databases.
Split-mirror technology is supported only with a VSS hardware provider, such as the EMC VSS Provider. It is not
provided by the built-in Microsoft System Provider.

NetWorker modules and the If you attempt to use both the NMM and a NetWorker module (for example, NME or NMSQL) to back up application
NMM Client data, the module backups will be promoted to Full backups.
“NMM client issues” on page 361Section “NMM client issues” provides more information about issues that might be
encountered with the NMM client.

170 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

Table 29 SQL Server backup and recovery best practices and considerations (page 2 of 2)

Consideration Best practice

Microsoft SQL Server data Perform a Full backup of the SQL Server 2005 data when the following occurs:
• The SQL Server Writer service is disabled and SQL Server 2005 backups are performed
• The SQL Server Writer service is reenabled
Performing a full backup enables you to recover all SQL Server 2005 data.

CLARiiON limits for the CX500 If the number of snapshots exceeds the limit for number of snapshots supported per CLARiiON, a "VETO" failure will
occur during snapshot creation.
The CLARiiON limits for the CX500 are as follows:
• For a CX500, the limit is 150 snapshots or snapshot sessions system-wide. This includes reserved
snapshots/sessions for SAN Copy.
• There is also a limit of 8 snapshots or snapshot sessions per LUN.
The EMC SnapView Integration Module for SQL Server (SIMS) Administrator’s Guide provides the limits for
CLARiiON systems.

SQL instances in suspect mode If any of the databases belonging to a SQL instance are in suspect mode, and a backup of the SQL instance is
attempted with the Microsoft MSDE Writer, the snapshot backup will fail.

Verify VSS SQL Writer service is After installing the SQL Server, especially SQL 2005:
running 1. Verify that the VSS SQL Writer service is up and running in order for the VSS SQL Writer snapshot to be
successful.
2. The SQL Writer is installed but is disabled by default. You must enable it or set it to automatic to use its
functionality.

Ignore tempdb database Microsoft indicates that tempdb is a database that is rebuilt when the server is rebooted, and that VSS Requestors
can ignore this database. The database is not reported by the writer and will not be backed up.

Special Character databases Special Character databases are not backed up and the best practice is to have the list of databases without special
character tables and columns.

Some SQL service may have to Administrators may have to manually shut down some SQL services to restore SQL system databases:
be manually shut down to • For SQL 2000, manually shut down the SQL Server and the SQL Server Agent.
perform recovery • For MSDE or SQL 2005, shut down the "master" and "msdb" database only if it is being recovered. Otherwise, do
not shut down any MSDE or SQL 2005 database services. SQL restore does not automate this process, and
requires VSS Requestors to take responsibility for controlling the SQL services during restore.

Performing SharePoint 2003 backups


SharePoint 2003 does not have its own VSS writers. Perform the following steps for
SharePoint 2003 backup:
◆ “Schedule backup” on page 172
◆ “Configure a SharePoint 2003 Client resource” on page 172

! IMPORTANT
As part of disaster recovery plan, back up either of the following on the application
hosts:
- The save set All attribute in the save set field of the Client Resource.
- The SYSTEM COMPONENTS:\ save set along with the system volume, for
example C:\.

Performing SharePoint 2003 backups 171


Microsoft SharePoint Server 2003 Backup and Recovery

Schedule backup
NMM provides full backup, and backup of individual content databases, which
allows you to protect your SharePoint farm with individual content database backups
between full backups. Consider configuring separate backup schedules for full
backups and individual content database backups.
Perform the following tasks for scheduling a backup as described in Chapter 2,
“Configuring a Scheduled Backup”:
1. “Configure a backup schedule” on page 58
2. “Configure a backup group” on page 59

Configure a SharePoint 2003 Client resource


The backup will use either SqlServerWriter or MSDEWriter-SQL2000, depending on
which writer is displayed when you run the nsrsnap_vss_save-? command to list the
available save sets.
You can back up all SQL databases on the server, or individual databases, depending
on what you specify in the save set.
To configure a SharePoint 2003 Client resource using SQL Server writers:
1. In the Administration window of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the hostname of the NetWorker client computer.
5. In the Comment attribute, type a description.

Note: If you are creating multiple Client resources for the same NetWorker client host
computer, use this attribute to differentiate the purpose of each resource.

6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, select a retention policy from the list. The
retention policy determines how long rolled-over data is available though not
necessarily quickly.
8. Select the Scheduled Backups attribute.
The backup will use either SqlServerWriter or MSDEWriter-SQL2000, depending
on which writer is displayed when you run the nsrsnap_vss_save-? command to
list the available save sets. You can back up all SQL databases on the server, or
individual databases, depending on what you specify in the save set.
• To back up all SQL 2000 embedded databases, specify the save set name:
SYSTEM COMPONENTS:\

Note: The SYSTEM COMPONENTS:\ save set should be backed up as part the system
disaster recovery strategy.

172 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

• To back up all SQL 2000 named instances and stand-alone databases, specify
the save set name:
APPLICATIONS:\MSDEWriter-SQL2000
• To back up only the SQL 2000 host instance and database name combination,
specify the save set name:
APPLICATIONS:\MSDEWriter-SQL2000\host%5Cinstance\master
• To back up all SQL Server 2005 named instances and stand-alone databases,
specify the save set name:
APPLICATIONS:\SqlServerWriter
– If the SQL Server 2005 VSS Writer service is running, then SQL 2005
Express databases are backed up under SYSTEM COMPONENTS:
SYSTEM COMPONENTS:\
– If the SQL Server 2005 VSS Writer service is not running, then SQL 2005
Express databases are backed up under MSDEWriter-SQL2000:
APPLICATIONS:\MSDEWriter-SQL2000
The SQL Server save set syntax is described in “Specifying save sets for
SharePoint 2003 SQL data” on page 168.
9. Specify SQL application variable settings in the Application information
attribute of the Client resource. These settings are described in Table 29 on
page 170.
10. Click the Globals (1 of 2) tab.
11. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM Client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

Performing a SharePoint 2003 recovery


The SQL Server databases used by SharePoint 2003 are recovered with NMM the
same as any other SQL Server databases. “Performing SQL Server recovery” on
page 121 provides the steps to recover the SQL Server databases to the SQL Server.
After recovering the databases, they may need to be updated and added to the
SharePoint portal.
To recover the SQL Server databases and restore them in SharePoint, use the method
that corresponds to the type of SQL database you are recovering:
◆ “Recovering SQL Server 2000 stand-alone databases for SharePoint 2003” on
page 174
◆ “Recovering SQL 2005 databases for SharePoint 2003” on page 174

Performing a SharePoint 2003 recovery 173


Microsoft SharePoint Server 2003 Backup and Recovery

Recovering SQL Server 2000 stand-alone databases for SharePoint 2003


To recover SQL Server 2000 stand-alone databases:
1. Stop the SQL Server services for the SQL Server 2000 stand-alone database
instances.
2. From the navigation tree, expand the Applications folder and the
MSDEWriter-SQL2000 folder.
3. Select the databases to recover.
4. From the System Recover Session toolbar, click Start Restore.
5. After the recovery is complete, start the SQL Server services for the SQL 2000
stand-alone database instances.
6. Launch SQL Enterprise Manager to verify that the databases have been
successfully recovered within SQL Server.
7. Launch SharePoint Server 2003 Central Administration.
8. Click List and Manage Portal Sites.
9. If the databases or portals are not displayed, click Restore Portal Site, and follow
the instructions to add the databases and restore the portal site.

Recovering SQL 2005 databases for SharePoint 2003


Consider the following:
◆ If the SQL Server VSS Writer service was enabled during backup, then SQL Server
2005 Express databases must be recovered from the following save set:
SYSTEM COMPONENTS:\
◆ If the SQL Server VSS Writer service was disabled during backup, then SQL
Server 2005 Express databases must be recovered from the following saveset:
APPLICATIONS:\MSDEWriter-SQL2000
◆ The SQL Server VSS Writer service is disabled by default when Microsoft SQL
Server 2005 is installed.
To recover SQL 2005 databases for SharePoint 2003, see these sections:
◆ “Recovering SQL 2005 stand-alone databases that were backed up to the
SQLServerWriter save set” on page 174
◆ “Recovering SQL 2005 express databases that were backed up to the SYSTEM
COMPONENTS save set” on page 175
◆ “Recovering SQL Server 2005 stand-alone or express databases that were backed
up to the MSDE-Writer-SQL2000 save set” on page 175

Recovering SQL 2005 stand-alone databases that were backed up to the SQLServerWriter save set
To recover SQL 2005 stand-alone databases that were backed up to the
SQLServerWriter save set:
1. If restoring the master database, stop the SQL Server services for the SQL 2005
database instances.
2. From the navigation tree, expand the Applications folder and the
SQLServerWriter folder.

174 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

3. Select the databases to recover.


4. From the System Recover Session toolbar, click Start Restore.
5. After the recovery is complete, start the SQL Server services for the SQL 2005
database instances.
6. Launch SQL Enterprise Manager to verify that the databases have been
successfully recovered within SQL Server.
7. Launch SharePoint Server 2003 Central Administration.
8. Click List and Manage Portal Sites.
9. If the databases or portals are not displayed, click Restore Portal Site, and follow
the instructions to add the databases and restore the portal site.

Recovering SQL 2005 express databases that were backed up to the SYSTEM COMPONENTS save set
If the SQL Server VSS Writer service was enabled during backup, then SQL 2005
Express databases must be recovered from the following saveset:
SYSTEM COMPONENTS:\

To recover SQL 2005 express databases that were backed up to the SYSTEM
COMPONENTS save set:
1. If restoring the master database, stop the SQL Server services for the SQL 2005
database instances.
2. From the navigation tree, expand the SYSTEM COMPONENTS:\ folder.
3. Select the databases to recover.
4. From the System Recover Session toolbar, click Start Restore.
5. After the recovery is complete, start the SQL Server services for the SQL 2005
database instances.
6. Launch SQL Enterprise Manager to verify that the databases have been
successfully recovered within SQL Server.
7. Launch SharePoint Server 2003 Central Administration.
8. Click List and Manage Portal Sites.
9. If the databases or portals are not displayed, click Restore Portal Site, and follow
the instructions to add the databases and restore the portal site.

Recovering SQL Server 2005 stand-alone or express databases that were backed up to the
MSDE-Writer-SQL2000 save set
If the SQL Server VSS Writer service was disabled during backup, then SQL Server
2005 express and stand-alone databases must be recovered from the following
saveset:
MSDEWriter-SQL2000

To recover SQL Server 2005 stand-alone or express databases that were backed up to
the MSDE-Writer-SQL2000 save set:
1. Stop the SQL Server services for the SQL Server 2005 database instances.
2. From the navigation tree, expand the Applications folder and the
MSDEWriter-SQL2000 folder.
3. Select the databases to recover.

Performing a SharePoint 2003 recovery 175


Microsoft SharePoint Server 2003 Backup and Recovery

4. From the System Recover Session toolbar, click Start Restore.


5. After the recovery is complete, start the SQL Server services for the SQL Server
2005 database instances.
6. Launch SQL Enterprise Manager to verify that the databases have been
successfully recovered within SQL Server.
7. Launch SharePoint Server 2003 Central Administration.
8. Click List and Manage Portal Sites.
9. If the databases or portals are not displayed, click Restore Portal Site, and follow
the instructions to add the databases and restore the portal site.

SharePoint 2003 scenario of backup and recovery process


The backup and recovery for SharePoint 2003 and Windows SharePoint Services 2.0
configuration database is a backup of a Microsoft SQL Server database.
In this example:
◆ An organization is running Microsoft SharePoint Portal Server 2003 Service Pack
2/Windows SharePoint Services 2.0 Service Pack 2 on Windows Server 2003.
◆ It uses SQL 2000/SQL 2005 for the database server.
◆ The backup and recovery is performed with NMM 2.2 SP1.
The following steps describe a backup and recovery operation performed by the
NMM administrator:
1. “Creating a new SharePoint portal with three new databases” on page 177
2. “Viewing the location and hierarchy of databases as they appear in SQL
Enterprise Manager UI” on page 177
3. “Configuring and performing a backup of the new databases with NMM save
sets” on page 177
4. “Verifying that all databases are backed up through the UI” on page 178
5. “Deleting the new databases” on page 178
6. “Performing an NMM recovery of the databases” on page 179
7. “Verifying database recovery through the SQL Enterprise Manager” on page 179
8. “Recovering the portal site through SharePoint Portal Server Central
Administration” on page 180
9. “Verifying the creation of the portal site in SharePoint Server Central
Administration” on page 183

Note: This descriptive example provides an overview of the interaction between Microsoft SQL
Server, NMM, and Microsoft SharePoint Server. For detailed information on using Microsoft
SQL Server and Microsoft SharePoint Server, consult the respective Microsoft documentation
for those products.

176 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

Creating a new SharePoint portal with three new databases


The SharePoint administrator uses SharePoint Portal Server Central Administration
to create a new portal “test11” with three SQL databases:
◆ test11_SITE
◆ test11_PROF
◆ test11_SERV
The organization puts the portal into use by creating sites, and by uploading
documents, pictures, events, and other items.

Viewing the location and hierarchy of databases as they appear in SQL Enterprise Manager UI
Figure 32 on page 177 displays the new databases as they appear in SQL Enterprise
Manager.

Figure 32 Newly created databases created in SharePoint

Configuring and performing a backup of the new databases with NMM save sets
The administrator sets up a backup of the SQL database. The administrator runs the
following command on a command line:
nsrsnap_vss_save -?
This command lists the SQL writer, and the save sets available for backup.
“Displaying valid SQL data save sets” on page 116 provides more information about
using this command.
The syntax for save sets is described in detail in “URL encoding for SQL save sets” on
page 117.

SharePoint 2003 scenario of backup and recovery process 177


Microsoft SharePoint Server 2003 Backup and Recovery

In this example, the databases created by the organization are as follows:


APPLICATIONS:\MSDEWriter-SQL2000
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5CReportServer
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5CReportServerTempDB
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5CSPS01_Config_db
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5Ctest11_PROF
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5Ctest11_SERV
APPLICATIONS:\MSDEWriter-SQL2000\GALL%5Ctest11_SITE

In the example:
◆ The administrator determined the save sets available, and followed the steps for
creating a SQL Server backup as described in “Performing SQL Server backups”
on page 119.
◆ The administrator specified the save set
“APPLICATIONS:\MSDEWriter-SQL2000” to back up all of the SharePoint
databases.
◆ To back up just the “test11_PROF” database, the administrator would specify
“APPLICATIONS:\MSDEWriter-SQL2000\GALL%5Ctest11_PROF.”

Verifying that all databases are backed up through the UI


The administrator verified that the databases had been backed up by looking at the
available recovery sets in NMM. In the navigation tree, the administrator expanded
the Applications folder, the MSDEWriter-SQL2000 folder, and then the GALL (server)
folder.
Figure 33 on page 178 shows that all of the databases, including the three new
“test11...” databases, were backed up.

Figure 33 NMM backups available for recovery

Deleting the new databases


The administrator wants to test NMM recovery, and deletes the portal from the
SharePoint Server. This deletion of the portal deletes the three new “test11...”
databases from SQL. During deletion, SharePoint displays a message to verify that
the administrator wants to delete the databases. The administrator clicks Yes and the
databases are deleted.

178 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

Performing an NMM recovery of the databases


The administrator opens NMM again to recover the three databases. The
administrator selects the new databases that were just deleted from SharePoint.
Figure 34 on page 179 shows test11_PROF, test11_SERV, and test11_SITE databases
selected by the administrator.

Figure 34 SQL databases selected for recovery in NMM

The administrator clicks Start Recover. The recovery is successful.

Verifying database recovery through the SQL Enterprise Manager


The administrator launches SQL Enterprise Manager and verifies that all three
databases have been recovered. Figure 35 on page 179 shows that the three databases
were recovered to the SQL Server.

Figure 35 Databases recovered to SQL Server

SharePoint 2003 scenario of backup and recovery process 179


Microsoft SharePoint Server 2003 Backup and Recovery

Recovering the portal site through SharePoint Portal Server Central Administration
Recovering the SQL databases does not automatically bring them back into
SharePoint. In SharePoint, the administrator launches SharePoint Portal Server
Central Administration.
Figure 36 on page 180 shows the Portal Site and Virtual Server Configuration page.

Figure 36 SharePoint Server Central Administration page

The administrator clicks List and manage portal sites.


In Figure 37 on page 180, the Manage Portal Sites page does not display the portal
site.

Figure 37 SharePoint Portal Server Central Administration, Manage Portal Sites window

The administrator clicks Recover Portal Site.


Figure 38 on page 181 shows the options for creating and restoring the portal.

180 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

Figure 38 Portal creation and restore options

Figure 39 on page 181 shows the settings specified by the administrator: Restore a
portal, and the Site database name “test11_SITE,” User profile database name
“test11_PROF,” and Services database name “test11_SERV.”

Figure 39 Portal restore and database names

SharePoint 2003 scenario of backup and recovery process 181


Microsoft SharePoint Server 2003 Backup and Recovery

After typing information in this page, a confirmation page appears, as shown in


Figure 40 on page 182.

Figure 40 Confirmation page for request to create a portal site

The administrator clicks OK and portal creation begins. Figure 41 on page 182 shows
the status window that appears in SharePoint Portal Server Central Administration
during portal creation.

Figure 41 Status window for portal creation process

Figure 42 on page 182 shows the page that indicates that the portal creation was
successful.

Figure 42 Operation Successful page displayed when portal creation is complete

182 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

Verifying the creation of the portal site in SharePoint Server Central Administration
In SharePoint Portal Server Central Administration, the administrator launches the
Manage Portal Sites page, and the Portal Site is now listed as shown in Figure 43 on
page 183.

Figure 43 Recovered databases and SharePoint portal visible and available in SharePoint

Preparing a SharePoint farm for disaster recovery in stand-alone


configuration on Microsoft Windows 2008
In case of a disaster loss of the SharePoint farm, the farm must be recovered to the
same instance of the operating system (OS). To do this, perform a one-time backup of
the OS by using Windows Server backup. Any subsequent system state and
SharePoint backups can be performed using NMM.

Note: For Windows 2008 SYSTEM COMPONENTS backups:


— All registry keys that are created under HKCU will not be backed up.
— All user settings and logs related to PerfMon will not be backed up.

Before recovering the farm, you must recover the OS that the farm was installed on.
This disaster recovery procedure does not affect SharePoint Servers on Windows
2003.
Ensure that:
◆ The Windows Server Backup output is protected. Because this procedure involves
using Windows Server Backup to back up the system to a remote location, it is
critical that the system backup is protected with NetWorker. The remote backup
of the system that was created using Windows Server backup should be backed
up periodically from the remote client with NetWorker.
◆ Should a disaster of the remote server where the backup lies occur, a recovery of
the server should involve recovery of this backed up data (for the SharePoint
host). This is important because without this, the backed up data can expire on
the NetWorker server and eventually be overwritten.
◆ Multi-server farm is protected. Each node in the farm must be protected by using
this procedure.

Preparing a SharePoint farm for disaster recovery in stand-alone configuration on Microsoft Windows 2008 183
Microsoft SharePoint Server 2003 Backup and Recovery

Performing a disaster recovery


To prepare a SharePoint farm for disaster recovery in stand-alone configuration on
Microsoft Windows 2008, perform the following steps:
1. “Recover the operating system” on page 184
2. “Perform a SharePoint recovery” on page 185
3. “Recover the SharePoint farm” on page 186

Recover the operating system


In addition to successful OS recovery to the same hardware with reformatted hard
drive, these steps can be used for OS recovery on an alternate but the same type of
hardware with unknown state of the hard disk.
If the OS does not boot up and “Safeboot has been corrupted” error message appears,
format the drive, perform full installation of the OS, and then follow these steps.
To recover the operating system:
1. Start the computer by using Windows 2008 installation DVD:
a. In the first OS installation screen, click Next.
b. Instead of selecting Install now, which installs a brand new instance of the OS,
click Repair your computer option.
2. In the System Recovery Option dialog box, which assumes the existence of a
clean hardware and shows up empty, click Next.
3. Click Command Prompt. The command window appears.
4. Type the following command:
netsh interface ipv4 show interfaces
A list of all available network interfaces appears.
5. In the System Recovery Options dialog box:
a. Select Windows Complete PC Restore. The error message “A valid backup
location could not be found” appears.
b. Click Cancel.
6. Select Restore a different backup, and click Next.
7. In the Select the location of the backup dialog box:
a. Click Advanced.
b. Click Search for a backup on the network.
c. Click Specify the location. At this point the network adapter driver is
installed.
d. To verify, go back to the command window and type:
netsh interface ipv4 show interfaces
Two available network interfaces, loopback, and Local area Connection are
displayed. If the Local area Connection is not listed, you will have to install the
network driver provided by the manufacturer, which can be done from Install a
driver link on Windows Complete PC Restore Advanced… dialog box.

184 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

8. Configure the Local Area Connection network to the same static IP as the original
machine.
a. In the command window, type:
Start /w wpeinit
b. In the command window, type:
netsh interface ipv4 set address name = "<idx>"
source=static address=<staticIP>
mask=<SubnetMask> gateway=<DefaultGateway>
For example:
netsh interface ipv4 set address name="2" source=static
address=10.5.221.149 mask=255.255.2550 gateway=10.5.221.1
9. Type ipconfig to verify if the new IP is set. You should be able to ping the
machine that has the shared folder with the OS backup.
10. Go back to the Windows Complete PC Restore page:
a. Select Advanced.
b. Select Search for a backup on the network.
c. Type the location of the shared drive, where OS backup resides.
For example:
\\128.222.171.53\shared
d. Click OK.
11. Log in as required and the backup location should display.
12. Select the backup location and click Next.
13. In the next page, select the backup date and click Next.
14. In the Choose how to restore the backup page:
a. Select the Format and repartition disks option and click Next.
b. Click Finish and then OK.
15. After the restore completes, reboot the machine.

Perform a SharePoint recovery


To perform the SharePoint recovery:
1. Start the NMM GUI:
a. In the tree, select C: volume.
b. Expand the C: volume node.
c. Clear the Legato folder under Program Files.
d. In Options menu:
– Click System Recover Session Options.
– Open the NetWorker tab and clear the Use Microsoft best practices for
selecting the system state checkbox.
e. In the browse tree:
– Select SYSTEM COMPONENTS node.

Preparing a SharePoint farm for disaster recovery in stand-alone configuration on Microsoft Windows 2008 185
Microsoft SharePoint Server 2003 Backup and Recovery

– Clear the Microsoft Office Search and the Microsoft Office SharePoint
Search options. These are recovered later as a part of SharePoint recovery.
2. Start the recovery and reboot when completed.
3. Recover SQL system databases:
a. In the NMM tree view, expand the SqlServerWriter node which is under
APPLICATIONS.
b. Select the following:
– master
– model
– msdb
– ReportServer
– ReportServerTempDB
4. Start the Microsoft Office SharePoint Service, and then reboot when completed.
5. Recover MOSS:
a. In the NMM tree view, expand APLICATIONS node.
b. Select Microsoft Office SharePoint Service.
6. Start the SharePoint farm recovery.

Recover the SharePoint farm


To recover the SharePoint farm:
1. Install Windows Server Backup by using Server Manager:
a. Log in to the Windows Server 2008 system as an administrator.
b. Click Start > All Programs > Administrative Tools, and select Server
Manager.
c. In the tree pane, select the Features node.
d. In the tasks pane, select the Add Features link.
e. Select the following options and complete the feature installation:
– Windows PowerShell
– Windows Server Backup Features
2. Run a manual backup to remote server share:
a. On the Storage node, start Server Manager.
b. Select Windows Server Backup.
c. In the Actions pane, click on the Backup Once link to start the wizard.
d. Select different options and click Next.
3. In the Select Backup Configuration page, click Custom and then click Next.
4. In Select Backup Items page:
a. Verify that the following options are selected:
– System volume
– Enable system recovery
b. Click Next.

186 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2003 Backup and Recovery

5. In Specify Destination Type page:


a. Select Remote Shared Folder and then click Next.
b. Type the UNC path of the remote server share.
6. In Specify Advanced Options page:
a. Leave the default VSS copy backup.
b. Complete the wizard, and the backup.
7. Back up the SharePoint farm using NMM.
8. Configure NetWorker to back up the following:
• System volume
• System components
• SQL system databases
• SharePoint
For example, the saveset might look like this:
C:\
SYSTEM COMPONENTS:\
APPLICATIONS:\SqlServerWriter\<instance name>\master
APPLICATIONS:\SqlServerWriter\<instance name>\model
APPLICATIONS:\SqlServerWriter\<instance name>\msdb
APPLICATIONS:\SqlServerWriter\<instance name>\ReportServer
APPLICATIONS:\SqlServerWriter\<instance
name>\ReportServerTempDB
APPLICATIONS:\Microsoft Office SharePoint Services
9. Reboot the system.

Preparing a SharePoint farm for disaster recovery in stand-alone configuration on Microsoft Windows 2008 187
Microsoft SharePoint Server 2003 Backup and Recovery

188 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
10
Microsoft SharePoint
Server 2007 Backup
and Recovery

This chapter includes the following topics:


◆ NMM solutions for protecting a Microsoft SharePoint farm................................ 190
◆ SharePoint Server versions supported by NMM client......................................... 190
◆ SharePoint Server 2007 overview ............................................................................. 190
◆ Performing SharePoint 2007 backups ...................................................................... 199
◆ Performing SharePoint 2007 recovery...................................................................... 208
◆ SharePoint 2007 disaster recovery ............................................................................ 212
◆ Preparing a SharePoint farm for disaster recovery in stand-alone configuration on
Microsoft Windows 2008............................................................................................ 215
◆ Keeping backups and recoveries in sync................................................................. 215

Microsoft SharePoint Server 2007 Backup and Recovery 189


Microsoft SharePoint Server 2007 Backup and Recovery

NMM solutions for protecting a Microsoft SharePoint farm


NMM provides three solutions to protect a SharePoint farm. “NMM solutions for
protecting a Microsoft SharePoint farm” on page 164 provides details.

SharePoint Server versions supported by NMM client


The EMC Information Protection Software Compatibility Guide provides the most
up-to-date lists of hardware, operating system, service pack, and application versions
supported by the NMM client.
The backup and recovery procedures are different for Microsoft Office SharePoint
Server 2003 and Microsoft Office SharePoint Server 2007.
◆ Chapter 10, “Microsoft SharePoint Server 2007 Backup and Recovery,” describes
the backup and recovery procedures are different for Microsoft Office SharePoint
Server 2007.
◆ Chapter 9, “Microsoft SharePoint Server 2003 Backup and Recovery,” describes
the backup and recovery procedures are different for Microsoft Office SharePoint
Server 2003.
◆ Chapter 2, “Configuring a Scheduled Backup,” supplements the overall NMM
backup procedures in this chapter.

Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0
The different versions of Microsoft Office SharePoint Server and Windows SharePoint
Services are supported.
Backup and disaster recovery use the SharePoint VSS writers and Microsoft SQL
Server VSS writers. “Performing SharePoint 2007 backups” on page 199 provides
examples and steps for Microsoft Office SharePoint Server 2007 backup and recovery.
This section also applies to Windows SharePoint Services 3.0.
NMM also provides granular backup and recovery of SharePoint 2007 items.
Chapter 11, “Microsoft SharePoint 2007 Granular Backup and Recovery” provides
steps for performing granular backup and recovery.

SharePoint Server 2007 overview


This section contains the following:
◆ “Types of SharePoint Server 2007 backup and recovery” on page 191
◆ “Microsoft Office SharePoint 2007 farm configurations” on page 192
◆ “Components used by NMM for SharePoint 2007 backup and recovery” on
page 197
◆ “Specifying SharePoint 2007 save sets for application data” on page 197
◆ “Displaying valid SharePoint 2007 data save sets” on page 197
◆ “SharePoint 2007 application information variable settings” on page 198
◆ “SharePoint 2007 application information variable settings” on page 198
◆ “Backup and recovery of SharePoint data by using NMM and NMSQL” on
page 198

190 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

Types of SharePoint Server 2007 backup and recovery


The NMM client provides these backup features:
◆ Backup types:
• Farm backup, to back up all SharePoint data in the farm, including:
– Content/configuration databases
– Search/index databases
• Web application backup, to provide backup of single web application
• SharePoint object backup
Chapter 11, “Microsoft SharePoint 2007 Granular Backup and Recovery,”
describes NMM support for granular backup of web applications and
SharePoint objects.

! IMPORTANT
When the Search/Content Index folder is backed up, only the APPLICATIONS
folder is backed up and available for recovery. The Config and Office servers
folders are not backed up and cannot be recovered.

◆ Backup level — Full, content/configuration database, search/content indexes,


SharePoint object
NMM client provides these recovery features:
◆ Recovery types:
• Conventional
• Restore from snapshot
• Content recovery and disaster recovery
• Recovery for stand-alone and distributed SharePoint farms
• Granular recovery
Chapter 11, “Microsoft SharePoint 2007 Granular Backup and Recovery,”
describes NMM support for granular recovery of web applications and
SharePoint objects.

Note: Rollback is unsupported.

◆ Recovery level — The recovery levels are:


• Full
• content/configuration database, which includes SQL content database and
SQL configuration database
• SharePoint search, which includes SharePoint Search Index and associated
SQL database
• Office search, which includes Office Search Index and associated SQL
database

Note: The Search and Index databases cannot be backed up by themselves.


Search/Index databases are backed up and recovered as part of farm-level backup and
recovery.

SharePoint Server 2007 overview 191


Microsoft SharePoint Server 2007 Backup and Recovery

◆ Advanced search — The backup data can be searched by:


• Document
• Date Range
• Creation date
• Modification date
• Author
• Size

Note: Any major changes made to the SharePoint configuration or database structure requires
a full backup. For example, if a full farm backup is performed on Monday, and then a new
content database is added on Tuesday, a full backup needs to be performed to keep the backups
up-to-date. The save set list also needs to be updated to include the new SharePoint objects.

Microsoft Office SharePoint 2007 farm configurations


A Microsoft Office SharePoint 2007 farm can be deployed in a:
◆ Stand-alone farm system — The stand-alone configuration runs all the services
on one machine, as shown in Figure 44 on page 193.
◆ Distributed farm configuration — The distributed farm configuration includes
several servers that host separate services, as shown in Figure 45 on page 193.

! IMPORTANT
To back up the entire SharePoint farm, the NMM client must be installed on each
server that hosts SharePoint data (even on servers that host content index and
search index), and at least one front-end web server.

A SharePoint farm includes the following services and servers:


◆ Central Administration site and shared services — This is usually installed on
an application server.
◆ Front-end web servers — This is the web page-based user interface to manage
the server.
◆ Index server — Can be included on the query server if there is only one query
server.
◆ Query servers — If there is more than one query server, the index server cannot
be included on a query server.
◆ Application servers — For example, Excel Calculation Services.
◆ Microsoft SQL Server — This server contains the SharePoint databases:
– Configuration database (only one per farm)
– Content databases (one or more per farm)
– Search database (one or more per farm)

192 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

Configuration
Database

Content
Database

NetWorker Server Web Front End


7.3.3 or later: Index Server
Administers protection Query Server
for NetWorker clients
Microsoft SQL Server
such as NMM
NetWorker Module for
Microsoft Applications

GEN-000751

Figure 44 SharePoint 2007 stand-alone farm configuration

Query Server
Index Server
If there is more than Query
Server, the Query Servers
cannot be included on the
Index Server
NetWorker Module for
Microsoft Applications

Configuration Database
(1 per farm)

Content Database 1
NetWorker Server Web Front End
(1 or more per farm)
7.3.3 or later: On an application server
Administers NetWorker Module for
protection for Microsoft Applications Content Database 2
NetWorker clients
such as NMM
Microsoft SQL Server
Contains all SharePoint
databases
NetWorker Module for
Microsoft Applications

GEN-000752

Figure 45 SharePoint 2007 distributed farm configuration

SharePoint Server 2007 overview 193


Microsoft SharePoint Server 2007 Backup and Recovery

Example 1: SharePoint A stand-alone farm in which the host contains the SharePoint Server and SQL Server.
stand-alone farm The NetWorker Server has two client instances. Each client instance has different save
sets.
◆ Save set for instance 1: APPLICATIONS:\Microsoft Office SharePoint Services
◆ Save set for instance 2: APPLICATIONS:\SqlServerWriter
Example 2: SharePoint A distributed farm with two servers, of which one contains the web front-end and
distributed farm Central Admin, and the other contains the SQL Server.
The NetWorker Server has two client instances. Each client instance has different save
sets.
◆ SharePoint web front-end host save set for instance 1:
APPLICATIONS:\Microsoft Office SharePoint Services
◆ SQL Server host save set for instance 2:
APPLICATIONS:\SqlServerWriter
Example 3: SharePoint A distributed farm with three servers, running the following services:
distributed farm
Server 1
Server 1 runs the following services:
◆ Windows SharePoint Services Incoming E-Mail
◆ Windows SharePoint Services Web Application
Server 1 has the following roles:
◆ Web Frontend Server
◆ Windows SharePoint Services Writer (registered on this machine)
The output for Server 1 is as follows:
nsrsnap_vss_save -?

"APPLICATIONS:\Microsoft Office SharePoint Services"


"APPLICATIONS:\Microsoft Office SharePoint Services\Server 2"
"APPLICATIONS:\Microsoft Office SharePoint Services\Server 2\Content
Database WSS_Content_APP2"
"Ensure NetWorker client 'Server 2' is part of the snapshot group with
saveset for 'SQL Writer' component 'Server 2\WSS_Content_APP2'"
"APPLICATIONS:\Microsoft Office SharePoint Services\Server 2
\Content Database
SharePoint_AdminContent_31738766-6d23-4bea-b528-ce56a97c66de"
"Ensure NetWorker client 'Server 2' is part of the snapshot group with
saveset for 'SQL Writer' component 'Server 2\
SharePoint_AdminContent_31738766-6d23-4bea-b528-ce56a97c66de'"
"APPLICATIONS:\Microsoft Office SharePoint Services\Server 2\Content
Database WSS_Content_APP1"
"Ensure NetWorker client 'Server 2' is part of the snapshot group with
saveset for 'SQL Writer' component 'Server 2\WSS_Content_APP1'"
"APPLICATIONS:\Microsoft Office SharePoint Services\Server 3"
"APPLICATIONS:\Microsoft Office SharePoint Services\Server 3\SPSearch
Content Index Catalog"
"Ensure NetWorker client 'Server 3' is part of the snapshot group with
saveset for 'SPSearch VSS Writer' component 'Server 3
\ContentIndex_SPSearch'"
"APPLICATIONS:\Microsoft Office SharePoint Services\Server 3
\OSearch Content Index Catalog"
"Ensure NetWorker client 'Server 3' is part of the snapshot group with
saveset for 'OSearch VSS Writer' component 'Server 3
\ContentIndex_OSearch_SPP1'"

194 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

Server 2
Server 2 runs the following services:
◆ Runs the Windows SharePoint Services Database service
◆ Maintains the Content Database Server role.
The output for Server 2 is as follows:
nsrsnap_vss_save -?
"APPLICATIONS:\SqlServerWriter"
"APPLICATIONS:\SqlServerWriter\Server 2"
"APPLICATIONS:\SqlServerWriter\Server 2\master"
"APPLICATIONS:\SqlServerWriter\Server 2\model"
"APPLICATIONS:\SqlServerWriter\Server 2\msdb"
"APPLICATIONS:\SqlServerWriter\Server 2\ReportServer"
"APPLICATIONS:\SqlServerWriter\Server 2\ReportServerTempDB"
"APPLICATIONS:\SqlServerWriter\Server 2\SharePoint_Config"
"APPLICATIONS:\SqlServerWriter\Server 2
\SharePoint_AdminContent_8cc9f1f8-9062-4be1-9c6f-3cc130eaebe2"
"APPLICATIONS:\SqlServerWriter\Server 2\SharePoint_Config2"
"APPLICATIONS:\SqlServerWriter\Server 2
\SharePoint_AdminContent_31738766-6d23-4bea-b528-ce56a97c66de"
"APPLICATIONS:\SqlServerWriter\Server 2\WSS_Search_Server 3"
"APPLICATIONS:\SqlServerWriter\Server 2\WSS_Content_APP1"
"APPLICATIONS:\SqlServerWriter\Server 2\WSS_Content_APP2"
"APPLICATIONS:\SqlServerWriter\Server 2\SPP1_DB"
"APPLICATIONS:\SqlServerWriter\Server 2\SharedServices1_Search_DB"
Server 3
Server 3 runs the following services:
◆ Central Administration
◆ Document Conversions Launcher Service
◆ Document Conversions Load Balancer Service
◆ Office SharePoint Server Search
◆ Windows SharePoint Services Help Search
◆ Windows SharePoint Services Incoming E-Mail
◆ Windows SharePoint Services Web Application
Server 3 has the following roles:
◆ Web Frontend Server
◆ Windows SharePoint Services Help Search
◆ Office Sharepoint Server Search
◆ Index and Search Server
◆ Query Server
Server 3 Registered
The output for Server 3 if registered is as follows:
nsrsnap_vss_save -?
APPLICATIONS:\Microsoft Office SharePoint Services"
APPLICATIONS:\Microsoft Office SharePoint Services\Server 2"
APPLICATIONS:\Microsoft Office SharePoint Services\Server 2\Content
Database WSS_C Intent_shilpa"
Ensure NetWorker client 'Server 2' is part of the snapshot group with
saveset for SQL Writer' component 'Server 2\WSS_Content_shilpa'"

SharePoint Server 2007 overview 195


Microsoft SharePoint Server 2007 Backup and Recovery

APPLICATIONS:\Microsoft Office SharePoint Services\Server 2


\Content Database
SharePoint_AdminContent_f22bb250-f12c-4536-a2b6-e59b213d276e"
Ensure NetWorker client 'Server 2' is part of the snapshot group with
saveset for SQL Writer' component 'Server 2
\SharePoint_AdminContent_f22bb250-f12c-4536-a2b6-e5b213d276e'"

APPLICATIONS:\Microsoft Office SharePoint Services\Server 2\Content


Database WSS_C intent_vikas"
Ensure NetWorker client 'Server 2' is part of the snapshot group with
saveset for SQL Writer' component 'Server 2\WSS_Content_vikas'"
APPLICATIONS:\Microsoft Office SharePoint Services\Server 1"
APPLICATIONS:\Microsoft Office SharePoint Services\Server 1\SPSearch
Content Index Catalog"
Cannot retrieve dependent writer for APPLICATIONS:\SharePoint Services
Writer\CotentIndex_SPSearch
Depends on 'null' on Client 'Server 1'".
APPLICATIONS:\Microsoft Office SharePoint Services\Server 1\OSearch
Content Index Catalog"
Depends on 'SYSTEM COMPONENTS:\Microsoft Office
Search\ContentIndex_OSearch_SharedServices1' on Client 'Server 1'".

Server 3 Not Registered


The output for Server 3 if not registered is as follows:
nsrsnap_vss_save -?
SYSTEM COMPONENTS:\Microsoft Office SharePoint Search
SYSTEM COMPONENTS:\Microsoft Office Search

Conclusion
In this example, the following save sets are backed up on each server.

Table 10-1 Example: Minimum required save sets to be backed up

Type of backup data Minimum required save sets to be backed up

Server 1 • APPLICATIONS:\Microsoft Office SharePoint Services


• SYSTEM COMPONENTS:\
• C:\ (All Volumes)
• D:\ (All Volumes)

Note: If the client is using a hardware backup with a Data mover this
combination might fail because both hardware and software backup
operations are used.

Server 2 • APPLICATIONS:\SqlServerWriter
• SYSTEM COMPONENTS:\
• C:\ (All Volumes)
• D:\ (All Volumes)

Server 3 If registered:
• SYSTEM COMPONENTS:\Microsoft Office SharePoint Search
• SYSTEM COMPONENTS:\Microsoft Office Search
• C:\ (All Volumes)
• D:\ (All Volumes)

If not registered:
• SYSTEM COMPONENTS:\Microsoft Office SharePoint Search
• SYSTEM COMPONENTS:\Microsoft Office Search

196 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

Components used by NMM for SharePoint 2007 backup and recovery


NMM uses the following VSS writers provided by Microsoft for SharePoint 2007, as
well as a writer to back up the SQL database:
◆ SqlServer Writer, backs up the SQL databases.
◆ SharePoint Services Writer, the writer for SharePoint 2007, which runs on the Web
front end.
◆ SharePoint Search Writer, the writer for SharePoint 2007 search.
◆ Office Server Search Writer, the writer for Microsoft Office Server search.

Specifying SharePoint 2007 save sets for application data


Table 30 on page 197 lists the SharePoint 2007 save set syntax that specifies the
supported types of SharePoint 2007 data.
Specify the SharePoint 2007 data save sets in the Save Set attribute of a Client
resource. “Configuring a SharePoint 2007 Client resource” on page 201 provides
details about configuring a SharePoint 2007 Client resource.

Table 30 SharePoint save set syntax

Type of backup data Description Save set syntax

SharePoint databases on SQL Server All SharePoint databases. APPLICATIONS:\SqlServerWriter

Full SharePoint backup The SharePoint Search Index and APPLICATIONS:\Microsoft Office
SharePoint Content Index are included SharePoint Services
when this save set is specified.

SharePoint content database A specific content database. For example, APPLICATIONS:\Microsoft Office
on the host Mars1, a database named SharePoint
Services\Mars1\generic_database_1
generic_database_1

SharePoint Search Index and SharePoint Search/Index databases are backed up. SYSTEM COMPONENTS:\Microsoft Office
Content Index SharePoint Search
These save sets may be used when
or
Search service is running on different web SYSTEM COMPONENTS:\Microsoft Office
front-end and SharePoint writer is not Search
registered.

Displaying valid SharePoint 2007 data save sets


To display a list of the SharePoint 2007 save sets that are available for backup:
1. Open a command prompt on the application server.
2. From the command prompt, type the following command to list the valid
application data save set names.
nsrsnap_vss_save -?
3. Press Enter.
• Each line of output corresponds to a save set entry that you can add to the
Save Set attribute of a Client resource.
• Each entry that you add to the Save Set attribute must be typed on a separate
line.

SharePoint Server 2007 overview 197


Microsoft SharePoint Server 2007 Backup and Recovery

The application data save sets that are available for backup are listed in a format
similar to the following:
APPLICATIONS:\Microsoft Office SharePoint Services

SharePoint 2007 application information variable settings


Table 31 on page 198 lists the variables that can be specified in the application
information attribute of the Client resource.

Table 31 SharePoint application information variable settings

Attribute name Description Values

NSR_SNAP_TYPE=value Specifies the snapshot service provider name. vss


This value is required.

NSR_DATA_MOVER=value • Specifies the hostname of the NMM Client that • The local host
application information attribute moves snapshots from the NMM Client to primary • The proxy client hostname
and secondary (conventional) storage. Consider the following:
• The host can be either a local host or a proxy client • If no value is typed, the local host is used as the
host. data mover.
• If you are setting up a proxy client for a virtual
cluster server, you must also type the proxy client
hostname in the Remote Access attribute of the
Client resource.
• For serverless backups, specify a proxy client.
• If setting up an SQL Client resource, use a proxy
client.
• If a proxy client is specified, SQL consistency
checks are performed on the proxy client. Related
messages are written to the Replication Manager
log files (erm_clientxx.log) on the proxy client.
• If no proxy client is specified for an SQL Client
resource, consistency checks are performed on the
Client resource host. Related messages are logged
on the Client resource host in both the Replication
Manager log files and the nmm.raw file.

Backup and recovery of SharePoint data by using NMM and NMSQL


The advantages of backing up data using NMM and NMSQL include the use of full,
differential, and incremental backups for SharePoint content databases and directed
recoveries to alternate locations for use with third-party data mining applications.
This procedure also allows direct SAN backups for SharePoint content databases
using NetWorker dedicated storage node capabilities with NMSQL.
For example, you could be using:
◆ One web front-end, which is protected by NMM and configured for NMM
SharePoint granular backup (full or differential).
◆ One SharePoint CFG database server, protected by NMM.
◆ One SharePoint Search database or index server, protected by NMM.
◆ One SharePoint or SQL content database cluster, protected by NMSQL and
configured with dedicated storage node, SAN backups, and full or differential
backups. The dedicated storage node can be created by installing NetWorker
Storage Node and NMSQL on the host.

198 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

Use the following procedure for backup:


1. Configure SharePoint Web Front-end and SharePoint Central Administration in
NMM for backup. Use the command nsrsnap_vss_save -? and provide the save
set from the command for the configuration.
2. Configure a separate group for SQL database backup through NMSQL. Backup is
successful for both groups.
Use the following procedure for recovery:
1. Make sure to stop all SharePoint services because recovery will fail when
database is in use.
2. Start recovery of SharePoint database from Web Front-end.
The dependency dialog box to recover SQL databases appears.
3. Recover SharePoint database from SharePoint Server Central Administration.
The dependency dialog box to recover SQL databases appears. You must first
recover SQL.
4. Recover SQL through NMSQL.
5. Recover all SQL databases protected by SharePoint.
Now continue to recover NMM SharePoint data on both Web Front-end and Central
Administration.

Performing SharePoint 2007 backups


The NMM client must be installed on each machine in the SharePoint farm. In
addition, for distributed configurations, the SharePoint writer must be registered on
only one of the web front-end servers. This web front-end server will be included in
the NetWorker backup schedule, and will be used to perform any recoveries.
Follow these steps for SharePoint 2007 backups:
1. “Enable services for backup” on page 199
2. “Schedule backup” on page 200
3. “Configure a backup” on page 201

! IMPORTANT
As part of disaster recovery plan, back up either of the following on the application
hosts:
- The save set All attribute in the save set field of the Client Resource.
- The SYSTEM COMPONENTS:\ save set along with the system volume, for
example C:\.

Enable services for backup


All of the following services must be enabled and started on the computers where the
VSS writers will be run, or else backup will fail:
◆ SharePoint Services Writer, on the web front-end computer only
◆ SQLServer Services VSS Writer, on any computer that contains the Configuration
database or one or more content databases

Performing SharePoint 2007 backups 199


Microsoft SharePoint Server 2007 Backup and Recovery

In addition, the following services should already be enabled and started on the
computers where SharePoint search activities are being performed. There will be VSS
Writers associated with them:
◆ Office SharePoint Server Search
◆ Windows SharePoint Server Search

Note: On a stand-alone farm, all of these writers and services run on one computer. In a
distributed farm, the SQL Server and SharePoint Servers may run on separate computers. The
service for the writers must be enabled on the computer running the service.

To register SharePoint writer, type the following at the command line:


STSADM.EXE –o registerwsswriter

The default location for STSADM.EXE is in the following folder:


C:\Program Files\Common Files\Microsoft Shared\web server
extensions\12\BIN

To determine the writers available on a specific machine, follow the steps in


“Displaying valid SharePoint 2007 data save sets” on page 197.

To start the SharePoint and SQL Server writers, complete the following steps on the
computer where the writer is registered. These steps must be completed on each
machine where the VSS writers will be run.
1. Start Windows Services by using the appropriate steps for your operating system:
a. In Windows Server 2003, click Start, click Control Panel, click Administrative
Tools, and then double-click Services.
b. In Windows Server 2008, click Start, point to Administrative Tools, and then
click Services.
2. Right-click one of the following services, and then click Properties:
• SharePoint Services Writer (on the web front-end machine only)
• SQLServer Services VSS Writer (on any machine that contains the
configuration database or one or more content databases)
3. In Startup type, click Automatic, and then click OK.
4. Right-click the writer you just enabled, and then click Start.
5. Repeat step 2 through step 4 for each of the listed writers present on the
computer.
6. Repeat step 1 through step 5 as needed on each computer in the farm to enable
and start the appropriate writers on each computer.
Once these writers are registered and started, you can schedule a backup.

Schedule backup
NMM provides full backup, and backup of individual content databases, which
allows you to protect your SharePoint farm with individual content database backups
between full backups. Consider configuring separate backup schedules for full
backups and individual content database backups.

200 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

Perform the following tasks for scheduling a backup as described in Chapter 2,


“Configuring a Scheduled Backup”:
1. “Configure a backup schedule” on page 58
2. “Configure a backup group” on page 59

Configure a backup
After scheduling the backup, perform these steps:
◆ “Configuring a SharePoint 2007 Client resource” on page 201 describes how to
configure a SharePoint 2007 Client resource.
◆ “Configuring a SharePoint 2007 Client resource” on page 201
◆ “Performing a full backup for a stand-alone SharePoint farm” on page 206
◆ “Performing a full backup for a distributed SharePoint farm” on page 207

Configuring a SharePoint 2007 Client resource


For each machine in the SharePoint farm, create a Client resource in NetWorker
Management Console, and assign it to the same backup group.

The steps to create the Client resource depend on whether it is a stand-alone


SharePoint farm, distributed SharePoint farm, and a full or component backup:
◆ “Configuring a SharePoint Client resource to back up a stand-alone farm” on
page 201.
◆ “Configuring a SharePoint Client resource to perform a full backup of a
distributed farm” on page 203.
◆ “Configuring a SharePoint Client resource to back up a component on a machine
in a distributed farm” on page 205.
There are also special steps when running the distributed SharePoint farm backup, as
described in “Performing a full backup for a distributed SharePoint farm” on
page 207.

Configuring a SharePoint Client resource to back up a stand-alone farm


In a stand-alone SharePoint configuration, only one component is required in the
save set to perform a full backup.
To configure a SharePoint Client resource to back up a stand-alone farm:
1. In the Administration window of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the hostname of the NetWorker client computer.
5. In the Comment attribute, type a description.

Note: If you are creating multiple Client resources for the same NetWorker client host
computer, use this attribute to differentiate the purpose of each resource.

6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.

Performing SharePoint 2007 backups 201


Microsoft SharePoint Server 2007 Backup and Recovery

7. From the Retention Policy attribute, select a retention policy from the list. The
retention policy determines how long rolled-over data is available though not
necessarily quickly.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute, specify the components to be backed up.
• Place multiple entries on separate lines.
• To back up all SharePoint Server data, where all server components are located
on the same machine, specify the save set name:
APPLICATIONS:\Microsoft Office SharePoint Services
The SharePoint Server save set syntax is described in “Specifying SharePoint 2007
save sets for application data” on page 197.
10. If needed, use URL-encoded values when specifying save set names in the Save
Set attribute of the Client resource.
URL-encoded values are used to represent special characters such as the
backslash (\). A table of values is provided in “SharePoint 2007 application
information variable settings” on page 198.

Note: If a save set is copied from the nsrsnap_vss_save - ? output, it will already include
the URL encoding.

11. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: If Client resources for the same NMM Client host are added to different backup
groups, ensure that the Start Time attribute for each backup group is spaced far enough
apart so that the backups for the host’s Client resources do not overlap.

12. For the Schedule attribute, select a backup schedule.


13. Click the Apps & Modules tab.
14. In the Access area, leave the Remote user and Password fields empty.
15. In the Backup command attribute, type the backup command.
For all types of backup data except for Active Directory conventional backups,
type:
nsrsnap_vss_save.exe
16. In the Application information attribute, type the following variable and value:
NSR_SNAP_TYPE=vss
• Type SharePoint application variable settings and their values on separate
lines.
• These settings are described in Table 31 on page 198.
17. Click the Globals (1 of 2) tab.
18. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM Client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

19. Click OK.

202 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

Configuring a SharePoint Client resource to perform a full backup of a distributed farm


In a distributed configuration, you must set up a Client resource for the web
front-end server where the SharePoint 2007 VSS Writer was enabled using
STSADM.exe.
You do not need a Client resource on each web front-end unless you are
implementing a system-level disaster recover backup schedule for these hosts. The
Client resource can specify to perform a full farm backup, or to back up a content
database.
The components to specify in the save set for a particular machine are determined by
performing the steps in “Displaying valid SharePoint 2007 data save sets” on
page 197 on that machine.
To configure a SharePoint Client resource to perform a full backup of a distributed
farm:
1. For each machine in the farm:
• Repeat step 2 on page 203 through step 20 on page 205 . Ensure that you
specify the appropriate save set for the machine in step 10 on page 203 .
• For a distributed farm backup, add all client resources for the farm members
to the same NetWorker backup group.
2. In the Administration page of the NetWorker Management Console, click
Configuration.
3. In the expanded left pane, select Clients.
4. From the File menu, select New.
5. In the Name attribute, type the hostname of the NetWorker client computer.
6. In the Comment attribute, type a description.

Note: If you are creating multiple Client resources for the same NetWorker client host
computer, use this attribute to differentiate the purpose of each resource.

7. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
8. From the Retention Policy attribute, select a retention policy from the list. The
retention policy determines how long rolled-over data is available.
9. Select the Scheduled Backups attribute.
10. In the Save Set attribute, specify the components to be backed up:

Note: Each machine in a distributed farm requires a separate Client resource, and the
Client resource for a given machine should only contain the SharePoint save sets on that
machine.

• For the machine where the SharePoint VSS writer is registered:


a. Specify the save set name:
APPLICATIONS:\Microsoft Office SharePoint Services
b. Proceed to the next step.
• For the SQL Server machine:
a. Specify the save set name:
APPLICATIONS:\SqlServerWriter

Performing SharePoint 2007 backups 203


Microsoft SharePoint Server 2007 Backup and Recovery

b. Proceed to the next step.


• For all other SharePoint machines:
a. Determine the save sets available on the specific machine by following the
steps in “Displaying valid SharePoint 2007 data save sets” on page 197.
b. Specify the available save set names for that machine.
c. Proceed to the next step.

Note: The Search and Index databases cannot be backed up by themselves.


Search/Index databases are backed up as part of a Farm-level SharePoint backup.

The SharePoint Server save set syntax is described in “Specifying SharePoint 2007
save sets for application data” on page 197.
11. If needed, use URL-encoded values when specifying save set names in the Save
Set attribute of the Client resource.
URL-encoded values are used to represent special characters such as the
backslash (\). A table of values is provided in “SharePoint 2007 application
information variable settings” on page 198.

Note: If a save set is copied from the nsrsnap_vss_save - ? output, it will already include
the URL encoding.

12. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: For a distributed farm backup, add all client resources for the farm members to the
same NetWorker backup group.

13. For the Schedule attribute, select a backup schedule.


14. Click the Apps & Modules tab.
15. In the Access area, leave the Remote user and Password fields empty.
16. In the Backup command attribute, type the backup command.
For all types of backup data except for Active Directory conventional backups,
type:
nsrsnap_vss_save.exe
17. In the Application information attribute, type the following variable and value:
NSR_SNAP_TYPE=vss
• Type SharePoint application variable settings and their values on separate
lines.
• These settings are described in Table 31 on page 198.
18. Click the Globals (1 of 2) tab.
19. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM Client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

204 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

20. Click OK.


After the Client resources have been configured on each machine, the backup process
itself requires special steps as described in “Performing a full backup for a distributed
SharePoint farm” on page 207.

Configuring a SharePoint Client resource to back up a component on a machine in a distributed farm


To configure a SharePoint Client resource to back up a component on a machine in a
distributed farm:
1. In the Administration page of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the hostname of the NetWorker client computer.
5. In the Comment attribute, type a description.

Note: If you are creating multiple Client resources for the same NetWorker client host
computer, use this attribute to differentiate the purpose of each resource.

6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, select a retention policy from the list. The
retention policy determines how long rolled-over data is available though not
necessarily quickly.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute, specify the components to be backed up. Place multiple
entries on separate lines:
• To back up all SharePoint databases (Configuration database and Content
databases):
a. Specify the save set name:
APPLICATIONS:\SqlServerWriter

Note: The Configuration database cannot be backed up by itself.

b. Proceed to step 10 on page 205 .


• To back up a specific Content database:
a. Specify the save set name:
APPLICATIONS:\SqlServerWriter\<database name>
b. Proceed to step 10 on page 205 .

Note: The Search and Index databases cannot be backed up by themselves.


Search/Index databases are backed up as part of a farm-level SharePoint backup.

The SharePoint Server save set syntax is described in “Specifying SharePoint 2007
save sets for application data” on page 197.
10. If needed, use URL-encoded values when specifying save set names in the Save
Set attribute of the Client resource.

Performing SharePoint 2007 backups 205


Microsoft SharePoint Server 2007 Backup and Recovery

Note: URL-encoded values are used to represent special characters such as the backslash
(\). A table of values is provided in “SharePoint 2007 application information variable
settings” on page 198.

11. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: If Client resources for the same NMM Client host are added to different backup
groups, ensure that the Start Time attribute for each backup group is spaced far enough
apart so that the backups for the host’s Client resources do not overlap.

12. For the Schedule attribute, select a backup schedule.


13. Click the Apps & Modules tab.
14. In the Access area, leave the Remote user and Password fields empty.
15. In the Backup command attribute, type the backup command.
For all types of backup data except for Active Directory conventional backups,
type:
nsrsnap_vss_save.exe
16. In the Application information attribute:
a. Type the following variable and value:
NSR_SNAP_TYPE=vss
b. Type SharePoint application variable settings and their values on separate
lines.
These settings are described in “SharePoint application information variable
settings” on page 198.
17. Click the Globals (1 of 2) tab.
18. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM Client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

19. Click OK.

Performing a full backup for a stand-alone SharePoint farm


For full optimized backup, the backup can be performed using the NMC GUI, or
started manually from command line.

206 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

By using the NMC GUI


To perform backup and recovery by using NMC:
1. Create a client resource and specify the save set to back up in the Saveset
attribute. The save set can be obtained by running the nsr_moss_save command
on the NMM client web front-end where NMM is installed with the options
described in Table 32 on page 207.

Table 32 Save sets for backup

Command Results

nsr_moss_save –f This lists the name of the SharePoint farm. Two parts are listed. One is the URL
for the site, and the other is the save set that needs to be copied and pasted into
the Save Set field in NMC.

nsr_moss_save –w This lists all the web applications available in the farm. Two parts are listed. One
is the URL for the web application, and the other is the save set that needs to be
copied and pasted into the Save Set field in NMC.

nsr_moss_save –w <Url for This lists all the top level sites available in that web application. Two parts are
web application> listed. One is the URL for the web application, and the other is the save set that
needs to be copied and pasted into the Save Set field in NetWorker NMC.

2. After successful backup, start the NMM GUI in the web front-end. The GUI lists
all the backed up objects. The GUI does not display the objects in the granular
level when optimized backup is performed.
3. Select the object to be recovered and click the Recovery button. The recovery
location can be the original location or an alternate location.
4. In the Backup Command tab, specify nsr_moss_save.
5. In the Application Information tab, specify Optimized=True.
6. Create a group and assign the client to the group created. In the Group resource,
select the option to start the backup at a convenient time.
Command line backup or manual backup
The command line full backup can be performed in web front-end.
To perform a full optimized backup, type the following command:
nsr_moss_save -s <server name> -c <client name> -N <saveset> -l full
-A Optimized=True

Performing a full backup for a distributed SharePoint farm


In a distributed SharePoint farm, one or more SharePoint services may be located
remotely on separate machines from the SharePoint web front-end.
In order for NetWorker to successfully save all Client resources in the SharePoint
farm:
◆ Backups must be initiated through the Client resource on each remote machine, as
well as the web front-end, and all Client resources must be in the same
NetWorker group.
◆ If the backup is only initiated through the web front-end, recovery will fail
because even though NMM displays all of the SharePoint farm save sets on the
web front-end, the remote client backups were never performed.

Performing SharePoint 2007 backups 207


Microsoft SharePoint Server 2007 Backup and Recovery

To perform a full backup for a distributed SharePoint farm:


1. Configure a Client resource for each machine, as described in “Configuring a
SharePoint Client resource to perform a full backup of a distributed farm” on
page 203.

Note: All clients in the farm must be part of the same backup group.

2. Run the NetWorker group to back up the data for all of the members of the farm.
To perform a recovery after a full backup, it must be initiated from the web front-end.
In that process, NMM prompts you to recover each remote machine before recovering
the web front-end machine. These steps are described in “Full recovery of a
distributed SharePoint farm” on page 209.

Performing SharePoint 2007 recovery


After the backup is complete, NMM truncates the files.
You can perform the following types of recovery:
◆ “Full recovery of a stand-alone SharePoint farm” on page 209
◆ “Full recovery of a distributed SharePoint farm” on page 209
◆ “Recovery of individual SharePoint content databases” on page 210
◆ “Recovery of SharePoint Search/Content Indexes” on page 211
◆ “Preparing a SharePoint farm for disaster recovery in stand-alone configuration
on Microsoft Windows 2008” on page 215

! IMPORTANT
In all SharePoint recoveries, the recovery process must be performed in the
following sequence:
1. Configuration database
2. Content databases
Data loss will occur if this sequence is not followed in order.

! IMPORTANT
When the Search/Content Index folder is backed up, only the APPLICATIONS
folder is backed up and available for recovery. The Config and Office servers
folders are not backed up and cannot be recovered.

When a SharePoint Configuration database is recovered as part of the recovery of an


entire farm, all Content databases in that farm must also be recovered in order for the
Microsoft SharePoint Writer to ensure consistency. Previously, this was considered a
best practice, but Microsoft states that this is a requirement.
An individual Content database can still be recovered if the recovery is not part of an
entire farm recovery. “Recovery of individual SharePoint content databases” on
page 210 provides steps for recovering individual SharePoint Content databases.

208 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

To select items for recovery:


◆ All SharePoint items available for recovery are displayed in the APPLICATIONS
folder in NMM.
◆ A SYSTEM COMPONENTS node may be listed in NMM after a SharePoint
backup, but it might not contain valid save sets.
◆ If SharePoint items appear under both the APPLICATIONS folder and SYSTEM
COMPONENTS node, select the recovery items from the APPLICATIONS folder.

Full recovery of a stand-alone SharePoint farm


To perform a full recovery of Microsoft Office SharePoint Portal Server 2007:
1. Open NetWorker Module for Microsoft Applications.
2. In the navigation tree, expand the APPLICATIONS folder and select SharePoint
Services Writer.
3. From the System Recover Session toolbar, click Start Restore.
Recovery proceeds to completion. Details about the recovery appear in the
monitoring page.

Full recovery of a distributed SharePoint farm


A full recovery of a distributed SharePoint farm requires that each machine in the
farm is configured as a Client resource, and each remote machine was backed up
before the web front-end machine was backed up. These steps are described in
“Performing a full backup for a distributed SharePoint farm” on page 207.
To perform a full recovery of Microsoft Office SharePoint Portal Server 2007:
1. Open NetWorker Module for Microsoft Applications on the web front-end that
was used to perform the backups of the SharePoint 2007 Writer.
2. In the navigation tree, expand the APPLICATIONS folder and select SharePoint
Services Writer.
3. From the System Recover Session toolbar, click Start Restore. The Restore
Remote Dependencies dialog box appears, alerting you to go to the specified
hosts and start the recovery processes.
Figure 11 on page 210 shows an example of several remote hosts that must be
recovered.
In this example, though 13 service components are displayed, they are located on
three remote hosts. You would need to go to each of those three hosts once to
recover all 13 services.

Performing SharePoint 2007 recovery 209


Microsoft SharePoint Server 2007 Backup and Recovery

Figure 11 Restore Remote Dependencies dialog box

4. At each remote host listed in the Restore Remote Dependencies dialog box:
a. Open NetWorker Module for Microsoft Applications.
b. In the navigation tree, locate and mark the items.
c. Restore the items.
5. After all remote hosts have been recovered:
• Return to NetWorker Module for Microsoft Applications on the web
front-end and click Continue in the Restore Remote Dependencies dialog
box.
• Recovery proceeds to completion. Details about the recovery display in the
monitoring page.

Recovery of individual SharePoint content databases


One or more content databases can be recovered after the configuration database has
been restored. In the previous releases of NMM, a user was unable to select only
individual SharePoint content databases for restore. When any content database was
selected, the corresponding configuration and generic databases were also selected
for recovery. This release of NMM provides the ability to select individual SharePoint
content databases for recovery.
To perform a recovery of one or more individual Microsoft Office SharePoint Server
2007 content databases:
1. Open NetWorker Module for Microsoft Applications on the web front-end that
was used to perform the backups of the SharePoint 2007 Writer.
2. In the navigation tree, expand the APPLICATIONS folder and select the
SharePoint Services Writer.

210 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

3. Expand the SharePoint Services Writer folder until you find a database folder
with an entry similar to the following example:
APPLICATIONS:\Microsoft Office SharePoint Services\Mars1\db_1
where Mars1 is the name of the server and db_1 is the name of the database.
4. Select the databases to restore.
5. From the System Recover Session toolbar, click Start Restore. The Restore
Remote Dependencies dialog box appears, alerting you to go to the specified
hosts and start the recovery processes.
6. At the remote host:
a. Open NetWorker Module for Microsoft Applications.
b. In the navigation tree, locate and mark the items.
c. Restore the items.
7. Return to NetWorker Module for Microsoft Applications on the web front-end,
and click Continue in the Restore Remote Dependencies dialog box.
Recovery proceeds to completion. Details about the recovery appear in the
monitoring page.

Recovery of SharePoint Search/Content Indexes


To perform a full recovery of Microsoft Office SharePoint Server 2007:
1. Open NetWorker Module for Microsoft Applications.
2. In the navigation tree, expand the SYSTEM COMPONENTS folder and select
SPSearch VSS Writer and OSearch VSS Writer.
3. From the System Recover Session toolbar, click Start Restore. The Restore
Remote Dependencies dialog box appears, alerting you to go to the specified
hosts and start the recovery process.
4. Go to the remote host, and verify that the configuration database needs to be
recovered. If it needs to be recovered, then recover it.
5. Return to NetWorker Module for Microsoft Applications and click Continue in
the Restore Remote Dependencies dialog box.
Recovery proceeds to completion. Details about the recovery appear in the
monitoring page.

Rollback of SharePoint SQL databases


Consider the following:
◆ NMM does not support a SharePoint SQL rollback.
◆ SharePoint content databases are backed up by NMM, but the master SQL
database is not. The master database can be backed up separately and then used
in a SharePoint SQL rollback.
◆ To back up SharePoint for rollback of SharePoint SQL databases, take a backup of
the master database each time a NMM SharePoint backup is taken.
◆ To perform a full rollback, restore the backups created by the NMM SharePoint
backup and then restore the SharePoint SQL master database.

Performing SharePoint 2007 recovery 211


Microsoft SharePoint Server 2007 Backup and Recovery

SharePoint 2007 disaster recovery


One of the keys to successful disaster recovery is making sure you have a full and
complete backup available before disaster strikes. Plan your backup schedule and
strategy to ensure that you always have an up-to-date backup available in case of
disaster.
SharePoint disaster recovery is more than restoring a full backup. NMM backs up the
SharePoint configuration and content databases, and the query and index servers. In
a disaster recovery, you need to restore the Internet Information Service (IIS), SQL
Servers, and SharePoint Servers that make up the farm, including file systems and
registries of each machine.
This section contains the following:
◆ “Disaster recovery planning” on page 212
◆ “Performing a disaster recovery” on page 214

Disaster recovery planning


The following sections describe the steps you must take as part of your disaster
recovery plan.
◆ “SharePoint Server backup list” on page 212
◆ “Additional requirements for successful SharePoint disaster recovery” on
page 213
◆ “Backing up SharePoint critical components” on page 213
◆ “Backing up the Global Assembly Cache” on page 214

SharePoint Server backup list


Table 33 on page 212 lists each server type in the SharePoint farm and the items that
should be backed up on that server as part of your disaster recovery plan.

Table 33 SharePoint Server backup list for disaster recovery

Server type Items to back up

Web front-end SYSTEM COMPONENTS:\


All System Volumes, for example, C:\, D:\,
APPLICATIONS:\Microsoft Office SharePoint Services\

Web front-end without Microsoft Office SYSTEM COMPONENTS:\


SharePoint Services Writer All System Volumes, for example, C:\, D:\,

Search Server SYSTEM COMPONENTS:\


All System Volumes, for example, C:\, D:\,.

SQL Server SYSTEM COMPONENTS:\


All System Volumes, for example, C:\, D:\,
All SQL databases, including the "master" database

Stand-alone SharePoint Server SYSTEM COMPONENTS:\


All System Volumes, for example, C:\, D:\,
All system databases, including the "master" database
APPLICATIONS:\Microsoft Office SharePoint Services\

212 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

Additional requirements for successful SharePoint disaster recovery


The following conditions and requirements must be met for a successful disaster
recovery:
◆ The SYSTEM COMPONENTS:\ save set and all system volumes must be
recovered at the same time to ensure consistency on the system.
◆ For systems with remote dependencies, the remote machines must be recovered
first. Once all remote machines have been recovered, the primary system can then
be recovered.
◆ The recovery of the "master" database requires that SQL services are not running
at the time of recovery. If SQL services are running and an attempt to recover this
database is made, the recovery attempt will fail.
◆ The recovery of:
• SharePoint Servers that were backed up by NMM as described in “Performing
disaster recovery” on page 97.
• SharePoint farm as described in “Full recovery of a stand-alone SharePoint
farm” on page 209.

Backing up SharePoint critical components


The Microsoft Office SharePoint Server 2007 installation directory, web parts, IIS
virtual servers, <drive>:\Inetpub, and the Registry reside on all web front-end
servers, application servers, and database server. To protect these critical
components, ensure that you have a backup strategy that includes file system and
system state backups of each Sharepoint Server.
Back up the following folders by using NMM:
◆ Microsoft Office SharePoint Server 2007 installation directory on all the servers in
the farm
◆ SQL installation directory on database server
◆ Virtual directories of following IIS websites on all servers in the farm:
• Default website
• SharePoint Central Admin
• Web application
• SSP web application
◆ IIS, Microsoft Office SharePoint Server 2007, and SQL logs:
• Internet Information Services logs (*.log) at
C:\Winnt\System32\Logfiles\W3svc1\
• Usage analysis log at C:\Windows\System32\LogFiles\STS\ if usage
analysis is enabled
• Other Windows SharePoint Services logs, STSAdm.log and OWSTimer.log,
from the following location:
C:\Documents and Settings\Windows_SharePoint_Services
_Administrator_Account\Local Settings\Temp directory
◆ SharePoint configuration files. The directory at C:\Program Files\Common
Files\Microsoft Shared\web server extensions
◆ IIS backup
◆ Registry backup on all servers

SharePoint 2007 disaster recovery 213


Microsoft SharePoint Server 2007 Backup and Recovery

Backing up the Global Assembly Cache


Consider the following:
◆ The .NET assemblies installed in Global Assembly Cache (GAC) are not backed
up by any of the SharePoint writers. To back up the GAC, back up the items as
regular file system objects.
◆ The DLLs located in GAC are installed by applications and can be reinstalled
during Disaster Recovery. The GAC includes SharePoint assemblies, and possibly
your own custom assemblies.
◆ The GAC files are represented in Windows Explorer under
C:\WINDOWS\assembly.
◆ The actual location can only be navigated to by using the command line. You
cannot use GUI navigation such as Windows Explorer. For example,
Microsoft.SharePoint.dll assembly is located in the following folder:
C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SharePoint
\12.0.0.0__71e9bce111e9429c

Performing a disaster recovery


To perform a disaster recovery:
1. Back up the following:
• APPLICATIONS:\Microsoft Office SharePoint Services
• APPLICATIONS:\SqlServerWriter
• C:\
• SYSTEM COMPONENTS:\
In addition, you may want to back up various servers, folders, and other
components as described in “Disaster recovery planning” on page 212.
2. Prepare a setup similar to the one that is currently being used. Ensure that you
use the same:
• OS
• Service packs
• IP address
• Hostname
• Domain
3. Install the same versions of SQL Server and SharePoint Server as currently being
used on the new setup.
4. Recover the following in the specified order:
a. c:\
b. SYSTEM COMPONENTS:\
c. SQL data
5. Perform a full recovery of the SharePoint writer.
“Performing SQL Server disaster recovery” on page 133 provides information for
disaster recovery of SQL Server on Windows Server.

214 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint Server 2007 Backup and Recovery

! IMPORTANT
Make sure to restart the system after performing a disaster recovery of SharePoint.
Currently a message about the completion of disaster recovery and the need to
restart the system appears in the Monitor window and the logs. Check the Monitor
page and the logs before restarting the system.

Preparing a SharePoint farm for disaster recovery in stand-alone


configuration on Microsoft Windows 2008
“Preparing a SharePoint farm for disaster recovery in stand-alone configuration on
Microsoft Windows 2008” on page 183 provides details.

Keeping backups and recoveries in sync


Set up a consistent schedule of full farm-level backups. If backing up individual
content databases, schedule these in between the full farm-level backups. However,
whenever there are significant changes to the SharePoint farm, you should
immediately update the NetWorker backup configuration with any new SharePoint
objects, and perform a new full farm-level backup as soon as possible.
◆ Configuration or database structure changes — Any major changes made to the
SharePoint configuration or database structure requires an update of the save set
lists and a full backup.
For example, if a full farm backup is performed on Monday, and then the user
adds a new content database on Tuesday, a full backup needs to be performed to
keep the backups up-to-date. For the full backup to be up-to-date, the NetWorker
backup configuration must be manually updated to include the new database
save sets.
◆ Out-of-sync expiration policies between clients — In a distributed farm, a
snapshot policy is specified at the group level, to apply uniformly to all
SharePoint clients in a group. The snapshot policy is then applied to each client
independently. As long as the farm is working properly in a steady state, the
snapshot expiration policy for the group and for each client stay in sync. But if
one of the clients fails, and you do a manual rollover or a delete on one of the
hosts, the rest of the hosts fall out-of-sync. When they get out-of-sync, some of the
snapshots will expire and a full recovery is no longer possible from those
snapshots.
To bring the snapshots up-to-date, run a new full backup.
A full backup of a distributed farm requires special steps in configuring the Client
resources and running the backup:
• “Configuring a SharePoint Client resource to perform a full backup of a
distributed farm” on page 203
• “Performing a full backup for a distributed SharePoint farm” on page 207

Preparing a SharePoint farm for disaster recovery in stand-alone configuration on Microsoft Windows 2008 215
Microsoft SharePoint Server 2007 Backup and Recovery

216 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
11
Microsoft SharePoint
2007 Granular Backup
and Recovery

This chapter includes the following topics:


◆ NMM support for granular backup and recovery of SharePoint objects ........... 218
◆ Better backup performance for large SharePoint farms using NMM ................. 225
◆ Setting user permissions for granular backup ........................................................ 226
◆ Using administrator account other than that created during installation .......... 228
◆ SharePoint Connector Service administrator privileges ....................................... 228
◆ Configuring SharePoint Connector Service ............................................................ 229
◆ Performing SharePoint 2007 non-optimized granular backups........................... 229
◆ Performing SharePoint 2007 optimized granular backups ................................... 231
◆ SharePoint recovery search........................................................................................ 233
◆ SharePoint Pre-recovery options .............................................................................. 236
◆ Performing directed recovery to an original or alternate location ...................... 237
◆ SharePoint recovery options...................................................................................... 238
◆ Performing a granular recovery of SharePoint items ............................................ 239
◆ SharePoint limitations on object metadata recovery.............................................. 240

Microsoft SharePoint 2007 Granular Backup and Recovery 217


Microsoft SharePoint 2007 Granular Backup and Recovery

NMM support for granular backup and recovery of SharePoint objects


NMM supports granular backup and recovery of SharePoint 2007 objects.
◆ “SharePoint objects available in NMM granular backup and recovery” on
page 218
◆ “Staging requirements in SharePoint backup” on page 220
◆ “Components on SQL cluster node” on page 220
◆ “SharePoint backup performance tips” on page 221
◆ “Using the nsr_moss_save.exe command to get save set syntax” on page 221
◆ “Specifying save sets for SharePoint granular backup” on page 221
◆ “Displaying valid SharePoint 2007 syntax for granular backup” on page 222
◆ “SharePoint 2007 granular application information variable settings” on page 224
◆ “Using the nsr_moss_recover.exe command to display granular recovery
options” on page 224

SharePoint objects available in NMM granular backup and recovery


The following SharePoint objects are available for NMM granular backup:
◆ Farm
◆ Application
◆ Site collection
◆ Site
◆ Sub-site
◆ List
You can individually select SharePoint items for recovery, from a granular
SharePoint 2007 object backup. The items can be located and selected by browsing the
navigation tree, or by searching for specific items.
NMM supports granular recovery across a wide variety of items and objects,
including:
◆ List/Library:
• Object Library
• Form Library
• Picture Library
• Import Spreadsheet
• Announcements
• Contacts
• Discussion Board
• Links
• GenericList
• XMLForm
• Calendar
• Tasks

218 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

• Issue Tracking
• Survey
• List Template Gallery
• Site Template Gallery
• Reporting Metadata
• Custom List in Data Sheet View
• Blogs
• Wiki Page Library
• Custom List
• Translation Management Library
• Data Connection Library
• Slide Library
• Report Library
• Project Tasks
• Languages and Translators
◆ Site-Collection Template:
• Team Site
• Blank Site
• Object Workspace
• Basic Meeting Workspace
• Blank Meeting Workspace
• Decision Meeting Workspace
• Social Meeting Workspace
• MultiPage Meeting Workspace
• Object Center
• Record Center
• Personalization Site
• Site Directory
• Report Center
• My Site Host
• Collaboration Portal
• Publishing Portal
• News Site
• Publishing Site
• Publishing Site With WorkFlow
• Wiki Site
• Blog Site
• Search Center with Tabs
• Search Center
◆ Miscellaneous:
• SharePoint Farms

NMM support for granular backup and recovery of SharePoint objects 219
Microsoft SharePoint 2007 Granular Backup and Recovery

• Sites and Workspaces


• Web Applications
• Site Collections
• Sites
To locate SharePoint items to recover, NMM provides a navigation tree and
advanced search features for SharePoint. “SharePoint recovery search” on page 233
describes how to use the SharePoint recovery search features.
“Performing a granular recovery of SharePoint items” on page 239 provides detailed
information on how to recover SharePoint items.

Staging requirements in SharePoint backup


NMM performs the backup process in stages, so that you do not need as much free
space for the backup as the data in the SharePoint databases. During backup, the
objects are staged on the web front-end, and then sent to the NetWorker Server. The
data staging operations and sending to the NetWorker Server operations occur in
parallel.
Example of staging process
In this example, a SharePoint Farm has 8 top level sites, Site 1 to Site 8. Each site has a
maximum size of 0.25 TB, so the total database size is 2 TB.
To back up this SharePoint farm, only 0.25 TB space is needed on the web front-end:
1. Site 1 is staged to a local disk on the web front-end. This consumes a maximum of
0.25 TB of disk space.
2. Once the staging for Site 1 is completed, the staged data is sent to the NetWorker
Server.
3. After sending the staged data to the NetWorker Server, the consumed space is
reclaimed and is free disk space again.
4. Site 2 is staged, and steps 2 and 3 are performed again. This repeats for each site
until all are backed up to the NetWorker Server.
Before staging of any site, the NetWorker SharePoint Service Controller service
calculates the available free disk space and required disk space for the staging. If the
available disk free space is less than the space required for staging, NetWorker
SharePoint Service Controller service waits for nsr_moss_save.exe to free the used
space. Once nsr_moss_save.exe frees the temporary staging after sending data to the
NetWorker Server, NetWorker SharePoint Service Controller service starts staging
the site.

Components on SQL cluster node


When the SQL Server farm is configured for a SQL Server failover, no other
SharePoint farm components should be running on any of the cluster nodes. These
components can include the following:
◆ Web front-end where the SharePoint VSS Writer is enabled
◆ SharePoint Search Service
◆ Microsoft Office Search Service
If these components are running on the same host as the SQL cluster, you must
provide additional servers and move these components from the SQL cluster.

220 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

SharePoint backup performance tips


Follow these performance tips:
◆ Use frequent incremental backups between full backups to reduce the need for
full backups. Incremental backups require less network, processor, and data
storage resources.
◆ To decrease wait time for the NetWorker SharePoint Service Controller service,
and increase system performance on the web front-end, provide as much free
disk space as you can.
◆ A public network is used to transfer data from the SQL Server back end to the
web front-end during data extraction.
To improve data transfer rates and network performance, install a web front-end and
the NMM client on the system where the SQL Server resides, and use this web
front-end for backup and restore purposes only.

Using the nsr_moss_save.exe command to get save set syntax


The nsr_moss_save.exe command is used to query or display the save set syntax of
SharePoint objects. You can configure this command in the Backup Command field of
the Client resource in the NMC. Once the save set is retrieved, use the save set in the
Save Set field of the Client resource in the NMC. Multiple save set commands are
supported in this release.
To display information about SharePoint 2007 granular backup options, operations,
and parameters, at the command line type:
nsr_moss_save.exe -?
This command can be used to display save set syntax for SharePoint farm name, web
applications, site-collections, sub-site collections, and list.

Specifying save sets for SharePoint granular backup


Table 34 on page 221 lists the SharePoint save set syntax to specify for granular
backup of SharePoint objects.
Specify SharePoint object save sets in the Save Set attribute of a Client resource.

Table 34 SharePoint granular recovery save set syntax for SharePoint 2007 objects

Type of data to back up Save set syntax

Entire SharePoint farm NMMOSS:/ or NMMOSS:/<FARM_NAME>

Single web application NMMOSS:/<FARM_NAME>/<WEB_APPLICATION>

A SharePoint object specified by URL, such NMMOSS:/URL=<url>


as a site-collection, site, or sub-site

A SharePoint list specified by URL and list NMMOSS:/Url=<url>;Name=/<List


name Name>;Type=List

NMM support for granular backup and recovery of SharePoint objects 221
Microsoft SharePoint 2007 Granular Backup and Recovery

Displaying valid SharePoint 2007 syntax for granular backup


The nsr_moss_save command is used to display valid save sets that are available for
granular backup. Figure 12 on page 222 displays the output of the nsr_moss_save
command when used with several different switches.

Figure 12 Sample output from nsr_moss_save

Example The following example shows the Name and Save Set Syntax displayed at the
command line. The save set syntax for a SharePoint object may include long names,
so when you run nsr_moss_save command, the output may wrap to more than one
line in the command window for each save set:
nsr_moss_save -f
Name Save Set Syntax
SharePoint_Config_5e687d39-3cf4-4769-b88b-1d3ead776569 NMMOSS:/SharePoint_Config_5e
687d39-3cf4-4769-b88b-1d3ead776569

The save set syntax from the previous example is the following string:
NMMOSS:/SharePoint_Config_5e687d39-3cf4-4769-b88b-1d3ead776569

Note: When copying Save Set Syntax from a command window, be sure to get the entire string.
Always use the full Save Set Syntax for backups.

To display a list of the SharePoint 2007 save sets that are available for granular
backup:
1. Open a command prompt on the application server.
2. Type one of the following commands to list the valid SharePoint objects available:
nsr_moss_save -f
This displays the current SharePoint farm name and save set syntax:
• The save set syntax is the type of data to back up combined with the object
name.
• Each line of output provides a save set entry that you can add to the Save Set
attribute of a Client resource.
• Each entry that you add to the Save Set attribute must be typed on a separate
line.

222 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

For example:
nsr_moss_save -f
nsr_moss_save -f
Name Save Set Syntax
SharePoint_Config_5e687d39-3cf4-4769-b88b-1d3ead776569 NMMOSS:/SharePoint_Config_5e
687d39-3cf4-4769-b88b-1d3ead776569

nsr_moss_save -w

This command displays all web applications and save set syntax. For example:
nsr_moss_save -w
All Web Applications:
Name Save Set Syntax
SharePoint - 80 NMMOSS:/SharePoint_Config_5e
687d39-3cf4-4769-b88b-1d3ead776569/SharePoint - 80
@CentralAdmin NMMOSS:/SharePoint_Config_5e
687d39-3cf4-4769-b88b-1d3ead776569/@CentralAdmin
SharePoint - 26061 NMMOSS:/SharePoint_Config_5e
687d39-3cf4-4769-b88b-1d3ead776569/SharePoint - 26061

nsr_moss_save -w [webapplication]

This command displays all site-collections of a web application and save set syntax.
For example, the site-collections in the web application SharePoint - 80:
nsr_moss_save -w “SharePoint - 80”
All site-collections for Web Application: SharePoint - 80
Name Save Set Syntax
http://mj-hvmoss NMMOSS:/Url=http:/mj-hvmoss
http://mj-hvmoss/sites/Sunil NMMOSS:/Url=http://mj-hvmoss/sites/Sunil
http://mj-hvmoss/MySite NMMOSS:/Url=http://mj-hvmoss/MySite

nsr_moss_save -u [site-collectionl url]

This command displays all sub-sites of a site-collection and save set syntax. For
example, the sub-sites for the site-collection http://inenbeherad2c:48137/sites/dsd:
nsr_moss_save.exe -u http://inenbeherad2c:48137/sites/dsd
All Sites for Site-Collection: http://inenbeherad2c:48137/sites/dsd
Name Saveset Syntax
http://inenbeherad2c:48137/sites/dsd/subsite NMMOSS:/Url=http://inenbehera
d2c:48137/sites/dsd/subsite
http://inenbeherad2c:48137/sites/dsd NMMOSS:/Url=http://inenbehera
d2c:48137/sites/dsd
http://inenbeherad2c:48137/sites/dsd/subsite/subsite NMMOSS:/Url=http://inenbehera
d2c:48137/sites/dsd/subsite/subsite

nsr_moss_save -k [website or sub-web url]

This command displays all the lists of specified websites or sub-web. For example,
the sub-site for website http://inenbeherad2c:48137/sites/dsd:
nsr_moss_save.exe -k http://inenbeherad2c:48137/sites/dsd
All Lists for Web: http://inenbeherad2c:48137/sites/dsd
Name Saveset Syntax
Links
NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Links;Type=List
Tasks
NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Tasks;Type=List
List Template Gallery NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/List
Template Gallery;Type=List Shared objects
NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Shared objects;Type=List
Form Templates NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Form
Templates;Type=List

NMM support for granular backup and recovery of SharePoint objects 223
Microsoft SharePoint 2007 Granular Backup and Recovery

Reporting Metadata NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Reporting


Metadata;Type=List
Converted Forms NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Converted
Forms;Type=List
Team Discussion NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Team
Discussion;Type=List
Calendar
NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Calendar;Type=List
Master Page Gallery NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Master
Page Gallery;Type=List
Announcements
NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Announcements;Type=List
Reporting Templates NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Reporting
Templates;Type=List
Web Part Gallery NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Web Part
Gallery;Type=List
User Information List NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/User
Information List;Type=List
Site Template Gallery NMMOSS:/Url=http://inenbeherad2c:48137/sites/dsd;Name=/Site
Template Gallery;Type=List

SharePoint 2007 granular application information variable settings


Table 35 on page 224 describes the variable that can be specified in the application
information attribute of the Client resource.

Table 35 Application information variable settings

Attribute name Description Values

-A OPTIMIZED=value For granular backup use true | false


-A OPTIMIZED=false.
The default value is false. For example,
This value is required. nsr_moss_save.exe –s
<server> -c <client> -A
OPTIMIZED=false

Using the nsr_moss_recover.exe command to display granular recovery options


The nsr_moss_recover.exe command is used at the command line to display
SharePoint 2007 granular recovery options. The syntax for specifying SharePoint 2007
granular recovery save sets is different from the VSS writer syntax used for other
applications in NMM.
To display information about SharePoint 2007 granular recovery options, operations,
and parameters, at the command line, type:
nsr_moss_recover.exe -?

224 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

Table 36 on page 225 lists the options that can be used with nsr_moss_recover.exe
command.

Table 36 nsr_moss_recover command options

Command option Description

site-url URL of the site-collection

web-application Name of the destination web application in the case of recovery to alternate location

web-url URL of the website

web-guid Guid of the website

retain-identity 0(default) - No, 1 - Yes

update-versions 1(defualt) - Append, 2 - Overwrite, 3 - Ignore, 4 - Error

update-user 0(default) - None, 1 - Replace, 2 - ImportAll

update-security 0(default) - Default, 1 - Inherit from parent, 2 - Do not inherit from parent

halton-warning 0(default) - No, 1 - Yes

halton-nonfatal 0(default) - No, 1 - Yes

apply-locks 0(default) - Read Unlocked/Write Unlocked, 1 - Read Unlocked/Write Locked, 2 -


Read Locked/Write Unlocked, 3 - Read Locked/Write Locked

Examples of how to use the nsr_moss_recover.exe command:


nsr_moss_recover.exe [-fnqu] [-i {nNyYrR}] [-s server] [-c client] [-t
<date | "l locale_date">]
[-d staging-location] [-W web-application] [-T site-url] [-w web-url]
[-g web-guid] [-O retain-identity <0|1>]
[-V update-versions <1|2|3|4>] [-U update-user <0|1|2>] [-S
update-security <0|1|2>] [-E halt-onwarning <0|1>]
[-F halt-onnonfatal <0|1>] [-l apply-locks <0|1|2|3>] [dir]
or
nsr_moss_recover.exe [-fnqu] [-i {nNyYrR}] [-I input-file] [-s server]
[-c client] [-t <date | "l locale_date">]
[-d staging-location] [-W web-application] [-T site-url] [-w web-url]
[-g web-guid] [-O retain-identity <0|1>]
[-V update-versions <1|2|3|4>] [-U update-user <0|1|2>] [-S
update-security <0|1|2>] [-E halt-onwarning <0|1>]
[-F halt-onnonfatal <0|1>] [-l apply-locks <0|1|2|3>] [path...]

Better backup performance for large SharePoint farms using NMM


NMM provides better granular and optimized backup performance for large
SharePoint farms:
◆ Parallel staging for multiple site collections at once
You can run multiple save sets in parallel, thereby increasing backup throughput
and reducing backup time. The number of parallel staging operations is limited to
the number of processors on the web front-end machine.

Note: A processor or CPU is an electronic circuit that can execute the programs. System
environment variable 'NUMBER_OF_PROCESSORS' stores the number of processors on a
current machine. For example, a quad-core processor is considered four, and four staging
threads run concurrently.

Better backup performance for large SharePoint farms using NMM 225
Microsoft SharePoint 2007 Granular Backup and Recovery

◆ Parallel backups from staging area to NetWorker Server for multiple


site-collections
The number of parallel backups to NetWorker Server is controlled by parallelism
set in NetWorker Client Configuration, when -P <number> option is passed to the
nsr_moss_save.exe process, where number is supplied by the user but is optional.
The number of backup threads is equal to the minimum of the following:
• User supplied number passed along with -P option. When used, this number
for backup threads overrides the client side parallelism number.
• Client-side parallelism number
• Server-side parallelism number
◆ Running multiple save sets on a single web front-end

Setting user permissions for granular backup


Make sure the user has proper user permissions before performing granular backup.

Note: The information in this section may be used to troubleshoot any authentication related
error that might appear during granular backup.

This section provides details for:


◆ “Adding a user and setting user permissions” on page 226
◆ “Checking farm administrator, SQL database, and site-collection administration
settings” on page 227

Adding a user and setting user permissions


To add a user in SharePoint and SQL Server for SharePoint granular backup and set
user permissions, follow these steps:
1. In the Service Control Manager, right-click NetWorker SharePoint Service
Controller Properties and select Properties.
The NetWorker SharePoint Service Controller Properties page appears.
2. Configure the service. Click OK.
Make sure that the user whose details are used to configure this service has
administrative privileges to SharePoint farm and SQL database and is the site
administrator for the site-collections that need to be backed up.
If the service is already configured, as shown in Figure 13 on page 227, make a
note of this username and check that the user has proper permissions to
SharePoint Farm and SQL database.
“Checking farm administrator, SQL database, and site-collection administration
settings” on page 227 provides details.

226 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

Figure 13 NetWorker SharePoint Service Controller Properties page

Checking farm administrator, SQL database, and site-collection administration settings


To check farm administrator settings, SQL database setting and site-collection
administration settings:
1. Check if the user has correct administrative privileges to the SharePoint site
collections and SQL databases.
In the SharePoint Central Administration page, go to Central Administration >
Site Actions > Site Settings > People and Groups. The user must be listed under
Farm Administrators.
If the user is not listed under Farm Administrators, then:
a. Select New > Add Users.
The Add Users: Central Administration page appears.
b. In the Users/Groups field, type the user.
c. Select the Add users to SharePoint groups option, and select Farm
Administrators (Full control) from the menu.
d. Click OK.
2. Check if the user is a site administrator.
Go to Central Administration > Application Management > Site Collection
Administrators. The user must be listed as the site administrator.
If the user is not listed as the site administrator, then:
a. Browse the desired site and go to Site Action > Site Settings > Site
Collections Administrators.
b. Add the user as site administrator.
c. Click OK.

Setting user permissions for granular backup 227


Microsoft SharePoint 2007 Granular Backup and Recovery

3. Check that the user has administrative privilege to the configuration and content
databases:
a. Go to the SharePoint SQL database server. Use SQL Server Management
Studio to open the SQL server instance.
b. Go to Security > Logins and locate the user.
c. Right-click the user and select Properties > User Mapping.
4. Check that the user permission is mapped to the configuration database and
content databases with ‘db_onwer’ privilege:
a. To know the name of the configuration database, go to Central
Administration > Operations > Servers in Farm, and check the configuration
database name.
b. To know the name of the content database, go to Central Administration >
Application Management > Content Databases.

Using administrator account other than that created during installation


To run SharePoint granular backup and recoveries in NMM using an administrator
account other than that created during NMM installation, the following permissions
are required:
◆ Make user the domain user.
◆ Add user to SharePoint Farm Administrators list giving full control.
◆ Add user to the list of site administrators for each site collection in the farm.
◆ Using SQL Server Enterprise manager, assign db_creator, public, and security admin
server roles to the user.
◆ Using SQL Server Enterprise manager, assign db_owner and public user mappings
for each databases in the SharePoint farm.

SharePoint Connector Service administrator privileges


In a scenario, where there are several site-collections, each site-collection with its own
SharePoint administrator, and there is no SharePoint administrator account for the
entire farm, it is not mandatory to add a service account for each site collection.
However, you must add a service account for each web application that needs to be
backed up. Perform the following steps:
1. Using SharePoint Central UI, add a service account as farm administrator in
SharePoint farm with full control.
2. Go to Central Administration > Application Management > Policy for Web
Application, and add a service account in each web application's policy settings
with full control.
For example, if there are 10 web applications, you must add the service account
for each of the 10 web applications. If a service account is not added for a web
application, backup fails for that particular web application.
3. Add a service account in SQL database. The server role must be defined as
dbcreater and securityadmin. “Setting user permissions for granular backup” on
page 226 provides the procedure for adding a service account in SQL database.

228 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

Configuring SharePoint Connector Service


To configure SharePoint Connector Service:
1. Create a Microsoft Office SharePoint Server Connector user and assign the correct
option for Log in as a service.
2. Using Central Administration > Application Management > Policy for Web
Application, add service account in each web application's policy settings with
full control. Make sure to add the service account as the farm administrator in
SharePoint farm with full control.
If there are 10 web applications, add a service account on all the 10 web
applications. If you fail to add a service account on a particular web application,
the backup will fail.
3. Add service account in SQL database and give the server role as dbcreater and
securityadmin.

Performing SharePoint 2007 non-optimized granular backups


Granular backup of SharePoint 2007 uses a different save set syntax than that used
for optimized SharePoint 2007 backup. “Displaying valid SharePoint 2007 syntax for
granular backup” on page 222 describes how to view and use this syntax to configure
a Client resource for NMM backup.
To configure a SharePoint 2007 granular backup:
1. Complete the following configuration tasks:
a. “Configure a backup schedule” on page 58
b. “Configure a backup group” on page 59
Chapter 2, “Configuring a Scheduled Backup,” describes the first four tasks for
scheduling a backup.

! IMPORTANT
Although you are required to perform the first four tasks in Chapter 2,
“Configuring a Scheduled Backup” for scheduling a backup, the task
“Configure snapshot policies” on page 56 in the chapter is not required for
SharePoint on-optimized granular backups.

Also, a SharePoint 2007 granular backup does not use the SQL and SharePoint
VSS writers, so it is not necessary to register these writers prior to creating a
Client resource for SharePoint 2007 granular backup.

2. Configuring a SharePoint 2007 Client resource for a granular backup.


“Configuring a SharePoint 2007 Client resource for granular backup” on page 230
provides detailed information.
In a multi-server SharePoint farm, make sure to configure the web front-end
server as the Client resource for granular backup. For example, in a multi-server
SharePoint farm that consists of Host A and Host B, where Host A is the web
front-end server and Host B is the content and configuration database server. The
nsr_moss_save -f command gives the same output. You must configure Host A
for the granular back. If Host B is configured, then the backup fails.

Configuring SharePoint Connector Service 229


Microsoft SharePoint 2007 Granular Backup and Recovery

Configuring a SharePoint 2007 Client resource for granular backup


To configure a SharePoint 2007 Client resource for granular backup:
1. In the Administration page of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the hostname of the NetWorker client computer.
5. In the Comment attribute, type a description.

Note: If you are creating multiple Client resources for the same NetWorker client host
computer, use this attribute to differentiate the purpose of each resource.

6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, select a retention policy from the list. The
retention policy determines how long rolled-over data is available though not
necessarily quickly.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute, specify the components to be backed up. Place multiple
entries on separate lines:
• To back up the entire SharePoint farm, specify the save set name:
NMMOSS:/<FARM_NAME>
• To back up a single web application, specify the save set name:
NMMOSS:/<FARM_NAME>/<WEB_APPLICATION>
• To back up a SharePoint object by URL, such as a site-collection, site, or
sub-site, specify the save set name:
NMMOSS:/URL=<url>
The SharePoint Server save set syntax is described in “Specifying save sets for
SharePoint granular backup” on page 221.
10. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: If Client resources for the same NMM Client host are added to different backup
groups, ensure that the Start Time attribute for each backup group is spaced far enough
apart so that the backups for the host’s Client resources do not overlap.

11. For the Schedule attribute, select a backup schedule.


12. Click the Apps & Modules tab.
13. In the Access area, leave the Remote user and Password fields empty.
14. In the Backup command attribute, type the backup command. For all types of
backup data except for Active Directory conventional backups, type:
nsr_moss_save.exe

230 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

15. For the Application information attribute:


a. Type the following variable and value:
OPTIMIZED=false
b. Type SharePoint application variable settings and their values on separate
lines.
These settings are described in Table 35 on page 224.
16. Click the Globals (1 of 2) tab.
17. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM Client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

18. Click OK.

Performing SharePoint 2007 optimized granular backups


Optimized backup is taken when you want to restore a complete web application and
site collection. The use of optimized backup drastically reduces the backup window
for large SharePoint site backups and therefore enhances backup performance. Using
optimized backup, you cannot recover at a granular or object level. Optimized
backups can only be restored in full. There can be no partial or item-level restores
from an optimized backup.
Optimized backup is not the default backup type that is supported. In order to
perform optimized backup, the parameter “Optimized =True” should be set in the
Application information of the Client resource in NMC.
Using optimized backups, a web application and site collection can be recovered back
to the original location or to an alternate location in the same SharePoint farm or to a
different farm. Optimized backup is always performed at full level because
incremental backup is not supported.

Performing an optimized backup for a stand-alone SharePoint farm


For full optimized backup, the backup can be performed using the NMC GUI, or
started manually from command line.
By using the NMC GUI
To perform backup and recovery by using NMC:

Performing SharePoint 2007 optimized granular backups 231


Microsoft SharePoint 2007 Granular Backup and Recovery

1. Create a client resource and specify the save set to back up in the Saveset
attribute. The save set can be obtained by running the nsr_moss_save command
on the NMM client web front-end where NMM is installed with the options
described in Table 37 on page 232.

Table 37 Save sets for backup

Command Results

nsr_moss_save –f This lists the name of the SharePoint farm. Two parts are listed. One is the URL
for the site, and the other is the save set that needs to be copied and pasted into
the Save Set field in NMC.

nsr_moss_save –w This lists all the web applications available in the farm. Two parts are listed. One
is the URL for the web application, and the other is the save set that needs to be
copied and pasted into the Save Set field in NMC.

nsr_moss_save –w <Url for This lists all the top level sites available in that web application. Two parts are
web application> listed. One is the URL for the web application, and the other is the save set that
needs to be copied and pasted into the Save Set field in NetWorker NMC.

2. After successful backup, start the NMM GUI in the web front-end. The GUI lists
all the backed up objects. The GUI does not display the objects in the granular
level when optimized backup is performed.
3. Select the object to be recovered and click the Recovery button. The recovery
location can be the original location or to an alternate location.
4. In the Backup Command tab, specify nsr_moss_save.
5. In the Application Information tab, specify Optimized=True.
6. Create a group and assign the client to the group created. In the Group resource,
select the option to start the backup at a convenient time.
Command line backup or manual backup
The command line full backup can be performed in web front-end.
To perform a full optimized backup, type the following command:
nsr_moss_save -s <server name> -c <client name> -N <saveset> -l full
-A Optimized=True

Performing an optimized backup of a distributed SharePoint farm


In a distributed SharePoint farm, one or more SharePoint services may be located
remotely on separate machines from the SharePoint web front-end.
In order for NetWorker to successfully save all Client resources in the SharePoint
farm:
◆ Backups must be initiated through the Client resource on each remote machine,
as well as the web front-end, and all Client resources must be in the same
NetWorker group.
◆ If the backup is only initiated through the web front-end, recovery will fail
because even though NMM displays all of the SharePoint farm save sets on the
web front-end, the remote client backups were never performed.

232 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

To perform a full backup for a distributed SharePoint farm:


1. Configure a Client resource for each machine, as described in “Configuring a
SharePoint Client resource to perform a full backup of a distributed farm” on
page 203.

Note: All clients in the farm must be part of the same backup group.

2. Run the NetWorker group to back up the data for all of the members of the farm.
To perform a recovery after a full backup, it must be initiated from the web front-end.
In that process, NMM prompts you to recover each remote machine before
recovering the web front-end machine. These steps are described in “Full recovery of
a distributed SharePoint farm” on page 209.

SharePoint recovery search


NMM provides two methods for locating and selecting SharePoint items for
recovery:
◆ Browsing through the navigation tree
◆ Searching the NetWorker index
To support locating and selecting individual items for recovery, NMM’s SharePoint
advanced search allows you to search backup data by:
◆ Object Name
◆ Object Type
◆ Backup Time
◆ Creation Date
◆ Modification Date
◆ Author
◆ Minimum Size
◆ Object Title
The items available for recovery depend on the actual items contained in your
specific databases.
Figure 14 on page 234 provides an example of how items are displayed in the NMM
Recover page. You can browse the navigation tree and expand folders.

SharePoint recovery search 233


Microsoft SharePoint 2007 Granular Backup and Recovery

Folders can be selected for recovery in the navigation tree, or individual items can be
recovered in the item list.

Figure 14 NMM displaying SharePoint 2007 browsing for recovery items

If you are looking for a particular item it may be easier to locate the item by
searching, instead of browsing folders until you find it.
Figure 15 on page 234 shows the search fields available on the Search tab.

Figure 15 NMM displaying Search tab for SharePoint 2007 recovery

234 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

Table 13 on page 227 describes the search fields that are available.

Table 38 SharePoint recovery search fields

Field Description

Name The search criteria. What you are searching for.

Type Select an object type from the list of supported SharePoint 2007 object types.

Backup Time Select the type of range, Before, Between, or After and then specify the date or date range. If not selected, the default for
this field is Before and a range of 90 days back from the current date.

Creation Date Select the type of range, Before, Between, or After and then specify the date or date range. If not selected, this field is
ignored.

Modification Date Select the type of range, Before, Between, or After and then specify the date or date range. If not selected, this field is
ignored.

Author Type the name of the author of the item. This search field is usually associated with
list item objects and files.

Minimum Size Type a number that represents the minimum size to search for in kilobytes (Kb), megabytes (Mb) or gigabytes (Gb)
depending on the selection. This field only accepts integers. Alphabetical or special characters are not valid entries.

Title Type the title of the object. This field is usually associated with list item objects.

Searching and marking tips


There are several ways you can improve your searching and marking:
◆ Each search criteria is treated as an AND item in the search query. Search will
only return items that match all criteria specified.
For example, if you specify to search for an Object Name “Status.doc” and
Minimum Size “150 Kb,” the search will only return items that match all of the
criteria: Status.doc and at least 150 Kb. It will not return any items named
Status.doc that are less than 150 Kb, or any other .doc files that are at least 150 Kb.
◆ Marked search items will not appear in the task pane.
• For “list item” object type, multiple items may be marked and restored.
• Multiple versions of the same item may not be marked.
• For all other object type searches, only a single item may be marked at a time.
◆ The maximum number of search results returned is 5000. If the search item does
not appear in the results, reduce the Backup Time range.

Searching for a SharePoint item


To search for a SharePoint item:
1. Start the NMM Client program.
2. From the application toolbar, click the NetWorker Server icon to select the
NetWorker Server on which the NetWorker client was configured for backup.
3. In the left pane, select SharePoint Recovery.
4. Click the Browse tab.
5. Navigate to the level in the tree you want to search from, or select root if you do
not know where the item resides.

SharePoint recovery search 235


Microsoft SharePoint 2007 Granular Backup and Recovery

6. Right-click the node in the browse tree, and then click Search.
7. Select the checkbox for each search type to include in the search.
8. Specify what to search for in each field.
9. In the Search Results pane, mark the item to restore.
10. Select recover options.
11. Click Start Recovery.

SharePoint Pre-recovery options


The Pre-Recovery Options dialog box as shown in Figure 16 on page 236, specifies
where to place the restored items, how to update items, and the security permissions
required.

Figure 16 Pre-Recovery Options dialog box

The default settings for this dialog box are:


◆ Recover Type: Recover to original location
◆ Update Version: Add as a new version
◆ Security Permissions: Default
“Performing directed recovery to an original or alternate location” on page 237
provides information about the Pre-Recovery Options page and how to perform a
directed recovery to an original or alternate location.
“Performing a granular recovery of SharePoint items” on page 239 describes the
recovery process and steps in detail.

236 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

Performing directed recovery to an original or alternate location


For SharePoint, NMM provides directed recovery through restore to an alternate location.
You can choose to restore objects to an alternate web application. The alternate
location can be within the same farm as the backed up object or to an alternate farm.
Restore to an alternate location is useful for the following:
◆ Back up site collection and restore to an alternate web application.
◆ Back up website and restore to alternate site-collection or sub-site.
◆ Back up list and restore to sub-site or sub-web or root-web.
◆ Back up list items and restore to same list and same hierarchy in alternate
location.
To specify Pre-Recovery Options:
1. Specify the Recovery Type.
• If Restore to Original Location is selected, proceed to step 4 .
• If Restore to Alternate Location is selected, proceed to step 3 .
2. Click Refresh to make sure that all alternate locations in the same or alternate
farm appear in the lists that are provided.
3. Select the alternate location from the lists:
• The Farm list contains all the available farms. The farm may be the same as the
backed up object or an alternate farm.
• The Web Front End list contains all the web front-end machines that
constitutes the selected Farm. One SharePoint farm may constitute of many
web front-ends, such as application sever, database server, index server, and
normal web front-ends.
• The Web Applications list contains all of the web applications available in this
SharePoint farm. If restoring a site object, only the web applications must be
selected.
• The Site Collection list contains all of the site collections available from the
selected web application. if restoring a web object, both the web application
and site-collection must be specified.
• The Web Site list contains all of the websites available from the selected Site
Collection. If restoring a list object, the web applications, site-collection, and
website must be specified.
4. The options under Conflict Resolution specify how to handle different versions
when there are conflicts between the recovery version and the current version in
the selected original or alternate location:
• Select Restore over existing items to overwrite the existing version in the
original or alternate location with the recovered version. After recovery, only
the recovered version is available.
• Select Skip if the item exists to retain the existing version in the original or
alternate location, and ignore the recovery version if it is different from the
existing version.
• Select Add as a new version to add the recovered version in the original or
alternate location. After recovery, the current version and the recovered
version are both available. If version control is not enabled, then the existing
version is overwritten by the new version.

Performing directed recovery to an original or alternate location 237


Microsoft SharePoint 2007 Granular Backup and Recovery

5. Select one of the following options under Security Permissions:


• Default — The recovered item will continue to have the same security settings
that was set at the time of backup.
For example, if the security setting for an item was Inherit from parent at the
time of backup, after recovery the item will continue to have Inherit from parent
as its security setting. Similarly, if the security setting for an item was Do not
inherit from parent at the time of backup, after recovery the item will continue
to have Do not inherit from parent as its security setting. Use this option when
items are restored to their original locations.
• Inherit from Parent — If the security setting for an item at the time of backup
is other than Inherit from Parent, then that security setting is ignored and after
recovery the selected item has the same security permission as its parent.
For example, if the security setting for an item is set as Do not inherit from
parent during backup, then this setting is ignored and the item has the same
security permission as its parent after recovery.
• Do not inherit from parent — The security permission set at the time of
recovery of an item will be the same as that set during backup.
For example, if the security setting for an item is set as Do not inherit from
parent during backup, then the item will not have the security permission of its
parent after recovery. The security permissions set at the time of backup will
prevail.

Note: If recovery is performed across SharePoint farms, the user should exist in the
destination farm. Because if a user does not exist in the destination active directory or
domain, the user is not created.

6. Click Start Recovery.


The SharePoint Configuration Options dialog box appears. “SharePoint
recovery options” on page 238 describes in detail how to specify these settings.
After performing recovery to an alternate location, click Refresh for NMM to
discover all the remote SharePoint farms on the network. The details about these
farms are stored in the ../nsr/bin/winclient_moss.cfg file and are used to save
discover time when the user chooses to click on Refresh again. You are
recommended to keep a copy of the winclient_moss.cfg file if you are planning to
perform an upgrade.

SharePoint recovery options


The SharePoint Recovery Option dialog box specifies for all recovery jobs where to
restore items from, the location of the Restore Log folder, and how to lock the files
after the restore job. These settings are applied to every restore job. “Performing a
granular recovery of SharePoint items” on page 239 describes the recovery process
and steps in detail.
Once a restore is complete, NMM automatically enables SharePoint write-protect.
This allows you to review the restored SharePoint Object before allowing other users
to visit and make changes to the SharePoint Object. If a user attempts to use the
website while the write-protect is in place, the following message appears,
“Additions to this website have been blocked. Contact the administrator to resolve
this problem. Troubleshoot issues with Windows SharePoint Services.”
To specify recovery options:

238 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft SharePoint 2007 Granular Backup and Recovery

1. In the Restore From box, type the file path or click the Browse button to specify
the temporary staging area location.
The Restore From location is a temporary staging area for the data from the
NetWorker Server. NetWorker SharePoint Service Controller service picks up this
data and sends it to the SharePoint databases. The staging area space is reclaimed
after recovery.
2. In the Restore Log Folder, type the file path where the restore log file should be
placed. When NMM restores SharePoint Objects, a restore log file is created
during the restore.
3. In the Lock - Apply lock after restore job group, specify the read and write lock
settings for the items after restore is complete.
4. Specify the SharePoint Configuration options and then click OK.

Performing a granular recovery of SharePoint items


To recover a SharePoint object:
1. Start the NMM Client program.
2. From the application toolbar, click the NetWorker Server icon to select the
NetWorker Server on which the NetWorker client was configured for backup.
3. In the left pane, select SharePoint Recovery.
4. In the navigation tree, select the SharePoint objects to be recovered. By default,
the objects displayed in the navigation tree are from the most recent backup.
To recover objects from a previous backup:
• From the application toolbar, click the Browse calendar icon and select an
earlier browse time.
• To view all versions of a backup object prior to the selected browse time, select
an object in the navigation tree, right-click and select Versions.
• To search for specific items, click the Search tab.
5. Locate and select the items for recovery. To view more information about a
SharePoint object, right-click the object and then click Properties.
6. From the Advanced Recover toolbar, click Start Recover. The Pre-Recovery
Options dialog box appears.
This dialog box specifies where to place the restored items, how to update items,
and the security permissions required. “From the left pane, select Monitor to view
the progress of the recovery.” on page 239 describes these options in detail.
7. Specify the options in Pre-Recovery Options and click OK. The SharePoint
Recover Options dialog box appears.
This dialog box specifies where to restore items from, the location of the restore
log folder, and how to lock the files after the restore job. “SharePoint recovery
options” on page 238 describes these options in detail.
8. Specify the options in the SharePoint Recover Options and then click OK.
9. From the left pane, select Monitor to view the progress of the recovery.

Performing a granular recovery of SharePoint items 239


Microsoft SharePoint 2007 Granular Backup and Recovery

SharePoint limitations on object metadata recovery


Due to limitations in the Microsoft SharePoint APIs, some metadata associated with
an object may not be restored when an individual object is recovered in a granular
recovery. The object itself is recovered successfully, but some metadata changes that
occurred after the last successful data may be lost.
This is most likely to occur when a object is deleted from SharePoint, and then it is
retrieved in a granular recovery.
The metadata that is not recovered is not critical. However, there are several methods
for recovering the metadata when the object is recovered:
◆ Recover the entire top level website with NMM, and then retrieve the object from
that recovery. This will restore all content in the website, so all objects and data on
that website will be restored to the state they were in at the time of the last
backup.
Or
◆ Within the SharePoint UI, retrieve the lost object from the SharePoint recycle bin.

240 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
12
Microsoft Exchange
Server Backup and
Recovery

This chapter includes the following topics:


◆ Exchange Server backup and recovery .................................................................... 242
◆ Performing Exchange Server backups ..................................................................... 254
◆ Exchange Client resource........................................................................................... 256
◆ Performing Exchange Server recovery..................................................................... 267
◆ Performing recovery to storage groups ................................................................... 272
◆ Performing Microsoft Exchange Server 2007 directed recovery .......................... 284
◆ Performing Microsoft Exchange Server 2007 disaster recovery........................... 286
◆ Setting up dual-NIC for Exchange backup ............................................................. 291
◆ Quick recovery of a deleted mailbox........................................................................ 292

Microsoft Exchange Server Backup and Recovery 241


Microsoft Exchange Server Backup and Recovery

Exchange Server backup and recovery


Chapter 2, “Configuring a Scheduled Backup.”supplements the overall NetWorker
Module for Microsoft Applications (NMM) backup procedures in this chapter.
Microsoft Exchange Server 2003 and Exchange Server 2007 support Volume Shadow
Copy Service (VSS) through Microsoft-supplied application writers. Using the VSS
writers, you can back up and restore Exchange databases and transaction log files.
NMM can restore storage groups to the original Exchange Server and Storage Group,
to an alternate Storage Group on the same Exchange Server, to the Exchange
Recovery Storage Group (RSG) or to an alternate Exchange Server. NMM can also
recover Exchange mailboxes and email messages quickly by allowing Exchange RSG
recoveries and integrated RSG browsing for recovery.
NMM allows the creation of a point-in-time copy of data. The snapshot includes exact
copies of data and open files. This allows the backup of the Exchange server while the
Exchange database is online or in use.
This section contains information on:
◆ “Microsoft Exchange Server MAPI client and Collaboration Data Objects
support” on page 242
◆ “Exchange Server versions supported by NMM client” on page 243
◆ “NMM and Exchange Server support for L18N” on page 243
◆ “Exchange Server backup and recovery types” on page 243
◆ “Updating and modifying Exchange credentials” on page 244
◆ “Compatibility with previous Exchange Server backups” on page 245
◆ “Exchange Server data backed up by NMM” on page 245
◆ “Components used by NMM for Exchange Server backup and recovery” on
page 245
◆ “Specifying Exchange save sets for application data” on page 246
◆ “Exchange application information variable settings” on page 248
◆ “Creation of shadow copy and snapshot process in an Exchange Server
production” on page 250
◆ “Proxy client setup” on page 250
◆ “Best practices for Exchange backup and recovery” on page 252

Microsoft Exchange Server MAPI client and Collaboration Data Objects support
Access to Exchange messaging stores utilized by NMM mailbox backups requires the
Messaging API (MAPI) and Collaboration Data Objects (CDO) kit. The MAPI client
libraries and CDO are not included with Exchange Server 2007. This package is also
required for RSG support in Exchange Server 2007.
The package with these objects can be downloaded from Microsoft’s website. For
information on downloading and installing this package, search for "Microsoft
Exchange Server MAPI Client and Collaboration Data Objects 1.2.1" on the Microsoft
Download Center website. Download version 6.5.8131.0.

242 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

Exchange Server versions supported by NMM client


NMM client supports the following versions of Microsoft Exchange Server:
◆ Microsoft Exchange Server 2003 (x86) SP2
◆ Microsoft Exchange Server 2007 (x64) SP1 or later

Note: Restore to Recovery Storage Group or alternate storage group is only available with
Microsoft Exchange Server 2007.

NMM does not support Microsoft Exchange Server 2000 or earlier.


The EMC Information Protection Software Compatibility Guide provides the most
up-to-date lists of hardware, operating system, service pack, and application versions
that are supported by the NMM client.

NMM and Exchange Server support for L18N


Microsoft requires that Exchange Server 2003 Storage Group names to be in the same
locale as the Microsoft Exchange Server.

Exchange Server backup and recovery types


NMM supports several types of backup and recovery:
◆ Backup Level
• Full and incremental backup for Microsoft Exchange Server 2007.
• Only full backup for Microsoft Exchange Server 2003.
◆ Microsoft Exchange Server 2003
• VSS Shadow Copy Service (VSS) — Uses Microsoft-supplied Exchange VSS
writers to back up and restore Exchange databases and transaction log files.
• Point-in-time snapshot— A backup of exact copies of files and open files.
• Exchange Server backup — Backup of Exchange Server databases, logs, and
storage groups.
• Storage group backup — Backup of an individual storage group by creating a
save set that specifies just that storage group.
• Roll-forward recovery
– This recovery can be performed when the current log LUN is available.
– No data is lost when restoring from backup.
– Recovers the Exchange Server data from the last backup, and allows
granular recovery selection down to the individual mailbox database level.
– Deleted email is not recovered.
• Point-in-time recovery
– Use when log files have been lost.
– All new data after the last backup is lost. Only the transaction files that
were part of the backup set are restored.
– Deleted mail can be recovered.
◆ Microsoft Exchange Server 2007 — NMM supports the backup and recovery
options listed for Exchange Server 2003, and in addition supports:

Exchange Server backup and recovery 243


Microsoft Exchange Server Backup and Recovery

• Backup in a Cluster Continuous Replication (CCR) environment that is


running on the active node or the passive node.
• Backup in a Local Continuous Replication (LCR) environment of the
production data, but not of the replicated data.
• Database recoveries to the Exchange Recovery Storage Group (RSG).
• Mailbox items recoveries from RSG databases with Exchange 2007.
• Exchange RSG mailbox browsing; mailbox, folder, and message recovery.
• Exchange database recoveries to alternate servers and alternate storage
groups.

Updating and modifying Exchange credentials


Exchange credentials are configured during NMM installation. Usually, you will
have a specific account that you run your Exchange Services under.
If Exchange Server is installed after NMM is installed, or if the Exchange credentials
have changed, NMM must be updated with the new credential information.
The following sections provide more information about updating and modifying
Exchange credentials:
◆ “Modifying Exchange Server 2003 credentials” on page 244
◆ “Adding Exchange Server 2007 credentials” on page 244
◆ “Modifying Exchange Server 2007 credentials” on page 244

Modifying Exchange Server 2003 credentials


When installing NMM or when running the nwexinfo utility, type the correct
credentials. Otherwise backup of Client resource fails, even when the backup does
not include Exchange data.
To update Exchange Server 2003 credentials, run the nwexinfo.exe utility.
The EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Installation Guide
provides more information about initial setup of Exchange credentials during NMM
installation.

Adding Exchange Server 2007 credentials


If Exchange Server 2007 is installed after NMM is installed, then NMM must be
reinstalled after Exchange is installed. During NMM installation, add Exchange
credentials.
The EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Installation Guide
provides more information about initial setup of Exchange credentials during NMM
installation.

Modifying Exchange Server 2007 credentials


NMM installation configures your Exchange Server access with the username and
account information you specify. If the credentials for the Exchange Server 2007
account change after the initial NMM installation, then NMM must be updated with
the new credentials. You can use the following procedure to change the user account
or password information for the COM+ component and the Replication Manager
Exchange Interface Service.
To update Exchange Server 2007 credentials:
1. Start component services.

244 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

2. Expand Computers > My Computer > DCOM Configuration.


3. Right-click Replication Manager Exchange Interface and select Properties from
the context menu.
4. Click the Identity tab.
5. Modify the domain user account or password and click OK.
This will also modify the account information for the Replication Manager Exchange
Interface Service.

Compatibility with previous Exchange Server backups


The Exchange database and logs that are backed up by using previous releases of
NetWorker software may not be restored by using NetWorker Module for Microsoft
Applications.
After upgrading to NMM, perform a full backup of Exchange Server in order to use
NMM to perform point-in-time restores in the future:
◆ To restore Exchange backups created with NetWorker Module for Exchange 5.x,
use NetWorker Module for Exchange. After the recovery, perform a full backup
of the Exchange server with NMM.
◆ To restore backups created with NetWorker VSS Client for Microsoft Windows
1.0 or backups created before upgrade to NetWorker Module for Microsoft
Applications 2.0, use NMM 2.2 SP1.

Note: Upgrades to Microsoft Exchange Server, including Exchange Service Pack upgrades, do
not allow recovery from a backup created before the upgrade. After an Exchange Server
upgrade, perform a full backup to ensure that you have a new recoverable backup.

Exchange Server data backed up by NMM


NetWorker Module for Microsoft Applications supports full and incremental
backups of Microsoft Exchange Server 2007, and full backups of Microsoft Exchange
Server 2003. It backs up the following Exchange Server data:
◆ Mounted Exchange Server databases
◆ Transaction log files
◆ Checkpoint files in a storage group

Components used by NMM for Exchange Server backup and recovery


NMM uses the following components:
◆ Application writers — The application writers provided by Exchange Server are
used:
• Exchange 2003 uses one writer.
• Exchange 2007 uses the following two writers: an Information Store writer,
and a Replication Service writer. The Replication Service writer is only used in
a CCR environment.
◆ Commands — NMM uses the following commands to back up Exchange data:

Exchange Server backup and recovery 245


Microsoft Exchange Server Backup and Recovery

• nsrsnap_vss_save.exe — This command is used to initiate the VSS-based


backup. This command can be used with options for database consistency and
Jet error checking.
• nsrsnap_vss_recover.exe — This command is used to initiate the VSS-based
recovery. This command cannot be run manually by users.
• eseutil.exe — This program provided by Microsoft Exchange Server 2003 is
used to check that the database and log files do not contain errors, and that the
Exchange Server is valid before performing the restore. For Microsoft
Exchange Server 2007, Replication Manager uses the CHKSGFILES API
instead of running eseutil. The CHKSGFILES API provides the same
functionality as eseutil.
◆ Attributes — NMM uses the following Exchange Server-specific attributes to
back up Exchange data:
• NSR_VIRT_SERV — This attribute is used to specify the name of the
Exchange Virtual Server Client resource in a CCR passive node backup.
• NSR_INDEX_CLIENT — This attribute is used to specify the backup to be
indexed under the client name of the Exchange Virtual Server; not the passive
node client name in a CCR passive node backup.
• NSR_CHECK_JET_ERRORS — This attribute is used with the
nsrsnap_vss_save.exe command to detect Jet errors in the Exchange backup.
NSR_CHECK_JET_ERRORS is run before committing the shadow copy for
Exchange.
• NSR_EXCHANGE_LIMIT_SG — This attribute is used to set the number of
storage groups for a save set. This is a yes or no attribute, and if set to yes then
the save set is restricted to a maximum of 10 storage groups.

Specifying Exchange save sets for application data


Table 39 on page 246 lists the Exchange save set syntax to specify for supported types
of Exchange data. Specify Exchange data save sets in the Save Set attribute of a Client
resource.

Table 39 Exchange save set syntax

Type of data to back up Save set syntax

Exchange Server 2003, APPLICATIONS:\Microsoft Exchange Writer


all Exchange storage groups.

Exchange Server 2003, APPLICATIONS:\Microsoft Exchange


a specific Exchange storage group. Writer\first_group
For example, a storage group named Some special characters in an Exchange storage group name
first_group. must be replaced with URL-encoded values. “URL encoding for
Exchange save sets” on page 247 provides more information
about URL encoding.

Exchange Server 2007 (Information Store), APPLICATIONS:\Microsoft Exchange 2007


all Exchange storage groups.

Exchange Server 2007 (Information Store), APPLICATIONS:\Microsoft Exchange


a specific storage group. 2007\first_storage_group
For example, a storage group named Some special characters in an Exchange storage group name
first_storage_group. must be replaced with URL-encoded values. “URL encoding for
Exchange save sets” on page 247 provides more information
about URL encoding.

246 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

Displaying valid Exchange data save sets


After the NMM client is installed on the Exchange server, you can display a list of
Exchange save sets available for backup.

How to display a list of the Exchange save sets that are available for backup
To display a list of the Exchange save sets that are available for backup:
1. Open a command prompt on the Microsoft Exchange server.
2. From the command prompt, type the following command to list the valid
application data save set names:
• If the Microsoft Exchange server is a stand-alone node or Local Continuous
Replication (LCR) active node, type:
nsrsnap_vss_save -?
• If the Microsoft Exchange server is on an Exchange 2007 Single Copy Cluster
(SCC) node, type:
nsrsnap_vss_save -c virtual_server_name -?

Note: If the application server is on a virtual host, run this command from the physical
node that is currently hosting the application server.

• In an Exchange 2007 CCR environment, type the following on both the active
and passive nodes as one line:
nsrsnap_vss_save -c physical_server_name -A
NSR_VIRT_SERV=virtual_server_name -?
3. Press Enter:
• Each line of output corresponds to a save set entry that you can add to the
Save Set attribute of a Client resource.
• Each entry that you add to the Save Set attribute must be typed on a separate
line.
• In the Save Set attribute, you can specify either the writer name or the storage
group names, but not both in the same save set.
The application data save sets that are available for backup are listed in a format
similar to the following:
"APPLICATIONS:\Microsoft Exchange Writer"
"APPLICATIONS:\Microsoft Exchange Writer\first_group"
"APPLICATIONS:\Microsoft Exchange 2007"
"APPLICATIONS:\Microsoft Exchange 2007\second_group"

URL encoding for Exchange save sets


When specifying save set names in the Save Set attribute of the Client resource, there
are cases where special characters, such as the backslash (\), must be specified by
their URL-encoded values. URL-encoded values are used to represent special
characters when naming Exchange storage groups.
For example, a storage group named:
Accounting\Bellevue

Exchange Server backup and recovery 247


Microsoft Exchange Server Backup and Recovery

would be represented in the Save Set attribute as:


APPLICATIONS:\Microsoft Exchange 2007\Accounting%5CBellevue

Table 40 on page 248 lists the most commonly used special characters and their
URL-encoded values.

Table 40 Special characters and their URL-encoded values

Special character URL-encoded value Special character URL-encoded value

\ %5C ? %3F

/ %2F ] %5D

" %22 [ %5B

% %25 } %7D

# %23 { %7B

& %26 ^ %5E

< %3C ‘ %60

> %3E | %7C

Exchange application information variable settings


Table 41 on page 248 lists the variables that can be specified in the Application
information attribute of the Client resource.

Table 41 Exchange application information variable settings (page 1 of 3)

Attribute name Description Values

NSR_SNAP_TYPE=value Specifies the snapshot service provider vss


name. This value is required.

248 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

Table 41 Exchange application information variable settings (page 2 of 3)

Attribute name Description Values

NSR_DATA_MOVER=value This attribute: The values include:


application information attribute • Specifies the hostname of the NMM • The local host
client that moves snapshots from the • The proxy client hostname
NMM client to primary and secondary Consider the following:
(conventional) storage.
• If no value is entered, the local host is used
• The host can be either a local host or as the data mover.
a proxy client host.
• If you are setting up a proxy client for a
virtual cluster server, you must also type
the proxy client hostname in the Remote
Access attribute of the Client resource.
• For serverless backups, specify a proxy
client.
• If you are setting up an Exchange Client
resource, it is recommended that you use a
proxy client. A proxy client requires
hardware for transportable snapshots. If a
proxy client is specified, Exchange
consistency checks are performed on the
proxy client. Related messages are written
to the Replication Manager log files
(erm_clientxx.log) on the proxy client.
• If no proxy client is specified for an
Exchange Client resource, consistency
checks are performed on the Exchange
server. Related messages are logged on
the Client resource host in both the
Replication Manager log files and the
nmm.raw file.

NSR_DM_PORT=value This attribute: The RM client control port number. For


• Specifies the control port number to example:
use in communicating with the data NSR_DM_PORT=6728
mover client. • An RM client control port number must be
• This is the control port that the specified, and must match the value
Replication Manager (RM) client specified during installation.
service is running on. • The default value that NMM uses during
EMC NetWorker Module for Microsoft installation is 6728. If you specify a different
Applications Release 2.2 SP1 Installation value during installation, you must specify
Guide provides more information about that value here.
RM ports.

NSR_ALT_PATH=value This attribute: A mount path.For example:


• Specifies the path on which to mount NSR_ALT_PATH=G:\mount_replica\
Exchange snapshots during the If a proxy client is specified in the
backup process. NSR_DATA_MOVER attribute, type the mount
• Exchange snapshots are mounted so path on the proxy client.
that the database consistency check
utility, eseutil.exe, can be run. Note: If the file system path specified for
NSR_ALT_PATH in Exchange client does not
exist, it is automatically created in NMM.

Exchange Server backup and recovery 249


Microsoft Exchange Server Backup and Recovery

Table 41 Exchange application information variable settings (page 3 of 3)

Attribute name Description Values

NSR_CHECK_JET_ERRORS=value Specifies which JET database errors to Values include the following:
check for in the event log before taking a • 447 (Exchange Server 2007 only)
snapshot. • 448 (Exchange Server 2007 only)
Note: If errors are found, the snapshot • 1018
will fail. • 1019
• 1022
• all
• none
Values can be separated with a comma, for
example:
NSR_CHECK_JET_ERRORS=1018,1019
The default is none.

NSR_VIRT_SERV=value Specifies the name of the Exchange The name of the Exchange Virtual Server. For
Virtual Server Client resource in a CCR example:
passive node backup. NSR_VIRT_SERV=virtual_server_name
This value is required in a CCR passive node
Note: Do not use this attribute for CCR backup.
active node backup.

NSR_INDEX_CLIENT=value Specifies to index the backup under the The name of the Exchange Virtual Server. For
client name of the Exchange Virtual example:
Server, not the passive node client name NSR_INDEX_CLIENT=virtual_server_name
in a CCR passive node backup. This value is required in a CCR passive node
backup.
Note: Do not use this attribute for CCR
active node backup.

Creation of shadow copy and snapshot process in an Exchange Server production


In NMM 2.2 SP1, the creation of shadow copy is separated from the notification to
VSS writers that backup is complete. NMM registers the shadow copy as a snapshot
and backs it up to media successfully before the notification is sent to the VSS writers.
If the backup to media fails, that failure is reported to the Exchange VSS writer and
log truncation does not occur.
Exchange snapshot policy
In NMM2.2 SP1, Exchange backups require the following settings for the snapshot
policy before a backup is started:
The snapshot policy must be set to “Backup Snapshots = ALL,” If it is not, then there
is a backup failure and an appropriate error message is sent to savegrp. This
validation is also done for “Retain = 0" to make sure that shadow copies are all
deleted immediately after rollover. When the retention of shadow copies is set to
zero, the rollover is always performed within the NMM workflow.
The upgrade from NMM 2.2 to NMM 2.2 SP1 is only impacted for the backups
completed before the upgrade. In such a case, full backups must be taken.

Proxy client setup


Figure 17 on page 252 illustrates LAN-based Exchange Server configuration with a
storage area network and a proxy client:

250 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

◆ Both the Exchange server and the proxy client have the NMM client installed.
◆ The proxy client frees resources on the Exchange server by offloading from the
Exchange Server the work of processing and backing up snapshots.
◆ When a backup operation uses a proxy client, it is known as a serverless backup.
The data moves as follows:
1. The NetWorker Server initiates the process by contacting the Exchange server
where the NMM client software is installed.
2. The Exchange server with the NMM client software creates a snapshot of the data
on the storage volume.

Note: In Figure 17 on page 252, snapshots are represented by S1 through S5.

3. The snapshot is made visible to the proxy client.


4. NMM runs the eseutil consistency check for Exchange on the proxy host.
5. If the consistency check is successful, NMM commits the shadow copy.
6. The proxy client uses a snapshot in primary storage to transfer the data over the
LAN and into a conventional backup medium such as a file type disk, advanced
file type disk, or tape.
7. Once backup is complete and successful, a notification is sent by NMM to VSS
about it. VSS in turn notifies the Exchange writer that the backup is complete and
successful. Logs may or may not be truncated and this decision is taken by
Exchange. Exchange also decides which logs to be truncated and when. Logs may
be truncated but not immediately.
The EMC VSS provider is used for the transportable snapshot.
When the administrator moves the shadow copy to the traditional storage medium
connected to the proxy host, NMM provides the option to move the transportable
snapshot from the proxy host to the traditional storage medium. For this setup, the
administrator must configure a SAN storage node as a proxy client.

Exchange Server backup and recovery 251


Microsoft Exchange Server Backup and Recovery

NetWorker Server
7.3.3 or later

LAN

Exchange Server Proxy client


NetWorker Module for NetWorker Module for
Microsoft Applications Microsoft Applications

SAN

NetWorker Traditional
Storage storage
Primary storage S4 Node 7.3.x
(For example, S5 S3
CLARiiON or Symmetrix)
S1 S2
GEN-000749

Figure 17 Snapshot process with Exchange production server and proxy client

Best practices for Exchange backup and recovery


In addition to “Best practices and considerations for backing up application data” on
page 52, this section lists the best practices and recommendations to follow when
using NetWorker Module for Microsoft Applications to back up and recover
Exchange Server.
This section includes the following:
◆ “Backups should be grouped with no more than 10 Storage Groups at a time” on
page 252
◆ “Use consistency check parameters to set threading and throttling to handle
performance issues” on page 253
◆ “Additional Exchange backup and recovery best practices” on page 253

Backups should be grouped with no more than 10 Storage Groups at a time


When backing up Exchange 2007, backups should be grouped with no more than 10
Storage Groups at a time. This is especially important when parallel consistency
checking has been turned on. Grouping more than 10 Storage Groups consumes the
available resources of the CPU, I/O and memory, which can lead to backup failures.
Set the NSR_EXCHANGE_LIMIT_SG attribute to yes to set the number of Storage
Groups to 10. “Components used by NMM for Exchange Server backup and
recovery” on page 245 provides details about the NSR_EXCHANGE_LIMIT_SG
attribute.

252 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

Use consistency check parameters to set threading and throttling to handle performance issues
Exchange backup performance is greatly affected by the consistency check utility.
The larger the databases and logs, the longer it takes to run the consistency checker.
NMM provides the options to run the consistency check on multiple storage groups
in parallel. NMM provides the ability to set threading and throttling to handle
performance issues through the use of the -A attribute values for eseutil
configuration settings.

Note: If multiple consistency checks are run in parallel without setting proper throttle limits, it
may cause performance problems on the proxy system. In extreme cases, this can cause I/O
bottlenecks so severe that consistency checks will fail and other operations with the system are
adversely affected.

The following attributes have been added. These are set in the Application
Information attribute of the Client resource:
◆ NSR_ESE_UTIL_SEQUENTIAL — Set to true or false to specify if eseutil should
be run sequentially (single threaded) or in parallel against multiple SGs
(multi-threaded).
◆ NSR_ESE_UTIL_THROTTLE — Set to true or false to specify if eseutil should be
throttled.
◆ NSR_ESE_THROTTLE_IOS — Number of I/Os between pauses when
throttling, value range of 100 < 10000. the default value is 100.
◆ NSR_ESE_THROTTLE_DURATION — Duration of pause in milliseconds when
throttling, value range of 1000 < 60000. The default value is 1000.
For example:
◆ A NSR_ESE_UTIL_SEQUENTIAL=false -A NSR_ESE_UTIL_THROTTLE=true
◆ A NSR_ESE_THROTTLE_IOS=500 -A
NSR_ESE_THROTTLE_DURATION=5000

Additional Exchange backup and recovery best practices


◆ Backup time can be reduced by spreading data across different storage groups.
For example, it takes longer to back up a single Storage Group with 200 GB of
data, than it does to back up 200 GB of data spread across 10 different Storage
Groups.
◆ Avoid using mount points for creating Storage Groups. It takes longer to run a
snapshot operation for a Storage Group with mount points, than it does for a
Storage Group with no mount points.
◆ In addition to your scheduled full backups, you should also perform a full
backup copy of Exchange Server after:
• Every successful recovery.
• Upgrading to NMM from previous releases of NetWorker clients.
• The database directory path is changed or the storage group Log Path or
System Path are changed.
◆ Ensure that all databases in a specified storage group are mounted before backing
up the Exchange servers. Unmounted databases are not backed up.
◆ Ensure that database (mailbox and public folder) files and transaction log files
reside on separate volumes for backup, otherwise the backup will fail.

Exchange Server backup and recovery 253


Microsoft Exchange Server Backup and Recovery

◆ If Exchange objects like storage groups and databases are deleted by using
Exchange System Manager in Exchange Server 2003, or Exchange Management
Console in Exchange Server 2007, these objects cannot be recovered until disaster
recovery is performed. Objects from the Exchange Server should not be deleted
unless they no longer need to be recovered.
◆ After upgrading to the NMM client, you cannot recover Exchange backups that
were performed with a previous version of the NetWorker client. To ensure that
all Exchange data can be recovered to the point-in-time of the upgrade, perform a
full backup of Exchange data immediately after upgrading to the NMM client.
◆ In Exchange Server 2003 backups, save sets and backup groups that include the
Exchange writer cannot include other application writers or the SYSTEM
COMPONENTS writer. The Exchange writer can however, be included in the
same save set with volume components such as D:\.
◆ In Exchange Server 2007, save sets and backup groups that include the Exchange
writer cannot include any other volumes, applications, or non-Exchange items in
the save set.
◆ The Exchange consistency checker utility (eseutil.exe) must be installed on the
proxy host using the Exchange Management tools installation. Ensure that the
version of eseutil (Service Pack level) is the same as the Exchange server. For
example, if Exchange Server 2003 SP1 is installed on the Exchange server, then the
version of eseutil that is installed on the proxy client, the Data Mover host, must
be from the Exchange Server 2003 SP1 management utilities. Failure to do so
causes the consistency checker utility to report errors even when the database is
valid.

Performing Exchange Server backups


NMM supports the following levels of backup:
◆ Full and incremental backups. Incremental backups are available for Microsoft
Exchange Server 2007, but only full backups are available for Microsoft Exchange
Server 2003.
◆ Point-in-time snapshots, which include exact copies of files and open files.
◆ Exchange databases, logs, and storage groups backups.
NMM supports several types of backup:
◆ Single server backup with VSS software provider
◆ Single copy cluster (SCC) backup
◆ Microsoft Exchange Server 2007 Cluster Continuous Replication (CCR) active
node and passive node backup with a VSS software provider

Note: In an Exchange CCR configuration, backups can occur from both the active node and
the passive node. However, recoveries always go to the active node.

◆ Local Continuous Replication (LCR) backup of the production data, but not of the
replicated data
◆ Proxy node and proxy storage node backups with EMC CLARiiON and EMC
Symmetrix VSS Hardware Providers
◆ Global source-based deduplication

254 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

“Configuring Exchange Server backups” on page 255 provides details about how to
perform Exchange system backups.

! IMPORTANT
As part of disaster recovery plan, back up either of the following on the application
hosts:
- The save set All attribute in the save set field of the Client Resource.
- The SYSTEM COMPONENTS:\ save set along with the system volume, for
example C:\.

Configuring Exchange Server backups


When backing up data for a Microsoft Exchange application, ensure that all databases
are mounted. Unmounted databases are not backed up, and no warning appears
during the backup operation to indicate if any databases are unmounted.
To perform Exchange system backups, complete the tasks outlined in Table 42 on
page 255. The first four tasks for scheduling a backup are the same for all VSS writers
supported by NMM.“Configuring an Exchange Client resource for Exchange
standalone, LCR, or SCC” on page 256 is specific for an Exchange client resource.

Table 42 Tasks for configuring an Exchange Server backup

Backup task Consideration

1. “Configure a backup pool for snapshot operations” on page 53 No special configuration is required.

2. “Configure snapshot policies” on page 56 NMM supports incremental backups


through the snapshot policies.

3. “Configure a backup schedule” on page 58 No special configuration is required.

4. “Configure a backup group” on page 59 No special configuration is required.

5. “Exchange Client resource” on page 256 This task is specific for configuring an
Exchange Client resource.

Note: Once you have started a snapshot of a save group, do not interrupt or halt the snapshot
process. For example, in Exchange backup, the nsrsnap_vss_save.exe process on the
production server and the eseutil process on the proxy may continue to run after the snapshot
is halted. Any attempt to stop a save group in NetWorker Management Console will take a
long time to complete.

Incremental backup of Exchange Server 2007 requires NetWorker 7.5.1, or NetWorker 7.4
The initial release of NetWorker 7.5 prevents Exchange incremental backups from
occurring. Only Exchange Full backups will be requested by the server. A fix was
provided for this in the NetWorker 7.5.1. There will be no NetWorker 7.5 hotfixes, so
in order to perform Exchange Server incremental backups, NetWorker 7.5 users must
obtain and install the NetWorker 7.5.1.
NetWorker 7.4 users are not impacted, and no upgrades or hotfixes are required in
order to perform Exchange Server incremental backups.

Performing Exchange Server backups 255


Microsoft Exchange Server Backup and Recovery

Default backup schedule now includes incremental backups in NMM 2.2 SP1
NMM supports incremental backups of Exchange Server 2007.
Because NMM 2.1 and earlier releases did not support incremental or differential
backups, the default NMM backup schedule was Full only. When you upgrade the
client machine to NMM 2.2 SP1 from an earlier version, the Default schedule is
automatically changed to perform a full backup on Sundays and incremental
backups the rest of the week. If you used a Default schedule, but the schedules have
not been set for rollovers, those save sets are automatically promoted to full backups.
If you upgraded the client to NMM 2.2 SP1 and use a Default schedule, but do not
want to use or include incremental backups, configure your Default backup schedule
to take only Full backups.

Configuring incremental backups


Incremental backups improve backup performance by reducing the amount of data
that is processed. However, recovery may take longer because you are recovering the
last full backup plus each incremental backup that was performed since the full
backup.

Exchange Client resource


A Client resource specifies what to include in a snapshot of a NMM client. Client
resources are associated with other backup resources such as groups and snapshot
policies:

◆ An Exchange Client resource can specify to perform a full backup, or back up a


storage group. “Configuring an Exchange Client resource for Exchange
standalone, LCR, or SCC” on page 256 provides the steps for configuring
standard Exchange Client resources for standalone, LCR, or SCC.
For Exchange SCC backups, make sure that a Client resource is created for the
virtual client because the backups are always done by using the virtual client
resource.
◆ An Exchange Client resource can be configured for an Exchange CCR.
“Configuring backup for an Exchange CCR active node” on page 259 and
“Configuring backup for an Exchange CCR passive node” on page 261 provide
details. The steps vary depending on whether the node is the active node or
passive node, whether a data mover is used, or you want to use deduplication.
For all Exchange cluster backups, make sure that Client resources are created for
the virtual client and all the cluster nodes, which are part of the cluster. Both
active and passive node backups use separate Group resources in the NetWorker
Server for backup.
◆ An Exchange Client resource can also be configured to use deduplication.
Chapter 4, “Deduplication Backup and Recovery,” provides in-depth information
about deduplication. “Configuring deduplication backup for a passive node in a
CCR environment” on page 266 provides the additional steps for creating an
Exchange Client resource in a CCR environment.

Configuring an Exchange Client resource for Exchange standalone, LCR, or SCC


To create an Exchange Client resource for Exchange standalone, LCR, or SCC:

256 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

1. In the Administration page of the NetWorker Management Console, click


Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the fully qualified domain name (FQDN) or hostname
of the NetWorker client computer.
5. In the Comment attribute, type a description.

Note: If you are creating multiple Client resources for the same NetWorker client host
computer, use this attribute to differentiate the purpose of each resource.

6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
Ensure that the browse policy is long enough for your expected recovery needs. If
your recovery needs are beyond the browse policy, an index recovery can be
performed and should be the preferred first step. If index recovery is not possible,
you can scan tapes to rebuild the index but this should be the last option.
7. From the Retention Policy attribute, set the retention policy to zero. The retention
policy determines how long rolled-over data is available though not necessarily
quickly. “Exchange snapshot policy” on page 250 provides details.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute, specify the components to be backed up. Place multiple
entries on separate lines:
• To back up all Exchange Server 2003 data, specify the save set name:
APPLICATIONS:\Microsoft Exchange Writer
• To back up all Exchange Server 2007 data, specify the save set name:
APPLICATIONS:\Microsoft Exchange 2007
• To back up a specific Exchange Server 2003 storage group, for example, a
storage group named Group_1, specify the save set name:
APPLICATIONS:\Microsoft Exchange Writer\Group_1
• To back up a specific Exchange Server 2007 storage group, for example a
group named Group_2, specify:
APPLICATIONS:\Microsoft Exchange 2007\Group_2
• To back up all Exchange Server 2007 data in a CCR environment on the active
or passive CCR node, specify:
APPLICATIONS:\Microsoft Exchange 2007
• To back up a specific Exchange Server 2007 storage group in a CCR
environment on the active or passive CCR node, for example a group named
Group_1, specify:
APPLICATIONS:\Microsoft Exchange 2007\Group_1
• To back up all Exchange Server 2007 data on a virtual server, on the active
CCR node, specify:
APPLICATIONS:\Microsoft Exchange 2007

Exchange Client resource 257


Microsoft Exchange Server Backup and Recovery

Note: When backing up an Exchange Server 2007 in a CCR environment on a passive


CCR system, you must use the NSR_INDEX_CLIENT and NSR_VIRT_SERV attributes.

• To back up all Exchange Server 2007 data in a LCR environment, specify:


APPLICATIONS:\Microsoft Exchange 2007
• To back up a specific Exchange Server 2007 storage group in a LCR
environment, for example a group named Group_1, specify:
APPLICATIONS:\Microsoft Exchange 2007\Group_1
The Exchange Server save set syntax is described in “Specifying Exchange save
sets for application data” on page 246.

Note: When backing up data for a Microsoft Exchange application, ensure that all
databases in a specified Storage Group are mounted. If at least one database in a selected
Storage Group is not mounted, the entire backup of the Storage Group will fail.

10. If needed, use URL-encoded values when specifying save set names in the Save
Set attribute of the Client resource.
URL-encoded values are used to represent special characters such as the
backslash (\), and a table of values is provided in “URL encoding for Exchange
save sets” on page 247.
11. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: The backup group must be a snapshot group.

If Client resources for the same NMM client host are added to different backup
groups, ensure that the Start Time attribute for each backup group is spaced far
enough apart so that the backups for the host’s Client resources do not overlap.
12. For the Schedule attribute, select a backup schedule.
13. Click the Apps & Modules tab.
14. In the Access area, leave the Remote user and Password fields empty.
15. In the Backup command attribute, type the backup command.
For all types of backup data except for Active Directory conventional backups,
type:
nsrsnap_vss_save.exe
16. In the Application information attribute:
a. Type the following variable and value:
NSR_SNAP_TYPE=vss
b. Type Exchange application variable settings and their values on separate lines.
These settings are described in Table 41 on page 248.
17. Click the Globals (1 of 2) tab.
18. Verify that the Aliases attribute displays the NETBIOS name for the client. This
name should have already been filled in automatically.

258 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

Note: NMM client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

19. Click OK.

Configuring backup for Microsoft Exchange Server 2007 CCR


The steps for configuring backup for Exchange CCR are the same as those in
“Configuring an Exchange Client resource for Exchange standalone, LCR, or SCC” on
page 256, but with some additional settings for the Application information.

Types of CCR Exchange configurations


The following procedures describe the types of CCR Exchange configurations:
◆ “Configuring backup for an Exchange CCR active node” on page 259
◆ “Configuring backup for an Exchange CCR passive node” on page 261
◆ “Configuring backup for an Exchange CCR active node with a data mover” on
page 263
◆ “Configuring backup for an Exchange CCR passive node with a data mover” on
page 264
◆ “Configuring deduplication backup for a passive node in a CCR environment” on
page 266

Note: Backups can be performed from both the CCR active node and the CCR passive node.
However, recoveries cannot be done from the CCR passive node.

Configuring backup for an Exchange CCR active node


In an active node backup, only one client resource is required.
To create an Exchange Client resource if backup is performed from an Exchange CCR
active node:

1. In the Administration page of the NetWorker Management Console, click


Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, create Client resources for the Virtual Server and all
physical machines, which are part of CCR environment.
For example:
• For active node:
Type <Exchange Virtual Server hostname>.
5. In the Comment attribute, type a description.

Note: If you are creating multiple Client resources for the same NetWorker client host
computer, use this attribute to differentiate the purpose of each resource.

6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.

Exchange Client resource 259


Microsoft Exchange Server Backup and Recovery

7. From the Retention Policy attribute, set the retention policy to zero. The retention
policy determines how long rolled-over data is available though not necessarily
quickly. “Exchange snapshot policy” on page 250 provides details.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute:
a. Specify the following:
APPLICATIONS:\Microsoft Exchange 2007
b. Place multiple entries on separate lines.
The Exchange Server save set syntax is described in “Specifying Exchange save
sets for application data” on page 246.

Note: When backing up data for a Microsoft Exchange application, ensure that all
databases in a specified Storage Group are mounted. If at least one database in a selected
Storage Group is not mounted, the entire backup of the Storage Group will fail.

10. If needed, use URL-encoded values when specifying save set names in the Save
Set attribute of the Client resource.
URL-encoded values are used to represent special characters such as the
backslash (\), and a table of values is provided in “URL encoding for Exchange
save sets” on page 247.
11. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: The backup group must be a snapshot group.

If Client resources for the same NMM client host are added to different backup
groups, ensure that the Start Time attribute for each backup group is spaced far
enough apart so that the backups for the host’s Client resources do not overlap.
12. For the Schedule attribute, select a backup schedule.
13. Click the Apps & Modules tab.
14. In the Access area, leave the Remote user and Password fields empty.
15. In the Backup command attribute, type the backup command:.
nsrsnap_vss_save.exe
16. In the Application information attribute:
a. Type the following variables and values:
NSR_SNAP_TYPE=vss
NSR_ALT_PATH=<mount_path_on_local_host>
b. Type Exchange application variable settings and their values on separate lines.
These settings are described in Table 41 on page 248.
17. Click the Globals (1 of 2) tab.
18. Verify that the Aliases attribute displays the NETBIOS name for the client. This
name should have already been filled in automatically.

260 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

Note: NMM client user interface can use either the NETBIOS name or the fully qualified
domain name (FQDN) when connecting to the NetWorker Server to browse backups.

19. Click OK.


Configuring backup for an Exchange CCR passive node
When backing up Exchange from the passive node in the Exchange CCR
environment, client resources need to be created for the virtual server and all physical
machines.
The configuration of the two client resources is similar, but there are differences
depending on whether it is the virtual server or physical node:
◆ A client resource using the passive node’s physical name in the Name attribute.
This backs up the Exchange database files, and must be backed up by NetWorker.
◆ A client resource using the Exchange virtual server name in the Name attribute.
This resource does not need to be backed up by NetWorker, but is required so
that the necessary index entries are created within the NetWorker Server.
To create an Exchange Client resource if backup is performed from an Exchange CCR
passive node:

Note: “Configuring deduplication backup for a passive node in a CCR environment” on


page 266 provides additional steps for enabling deduplication.

1. In the Administration page of the NetWorker Management Console, click


Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, create Client resources for the Virtual Server and all
physical machines, which are part of CCR environment.
For example:
• For passive node:
– Create a Client resource for the Exchange Virtual Server.
Type <Exchange Virtual Server hostname>.
– Create a Client resource for each physical machine of the CCR
environment.
Type <physical machine hostname>.
5. In the Comment attribute, type a description.

Note: If you are creating multiple Client resources for the same NetWorker client host
computer, use this attribute to differentiate the purpose of each resource.

6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, set the retention policy to zero. The retention
policy determines how long rolled-over data is available though not necessarily
quickly. “Exchange snapshot policy” on page 250 provides details.
8. Select the Scheduled Backups attribute.

Exchange Client resource 261


Microsoft Exchange Server Backup and Recovery

9. In the Save Set attribute.


a. Specify the following:
APPLICATIONS:\Microsoft Exchange 2007
b. Place multiple entries on separate lines.
“Specifying Exchange save sets for application data” on page 246 describes the
Exchange Server save set syntax.

Note: When backing up data for a Microsoft Exchange application, ensure that all
databases in a specified Storage Group are mounted. If at least one database in a selected
Storage Group is not mounted, the entire backup of the Storage Group will fail.

10. If needed, use URL-encoded values when specifying save set names in the Save
Set attribute of the Client resource.
URL-encoded values are used to represent special characters such as the
backslash (\), and a table of values is provided in “URL encoding for Exchange
save sets” on page 247.
11. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: The backup group must be a snapshot group.

If Client resources for the same NMM client host are added to different backup
groups, ensure that the Start Time attribute for each backup group is spaced far
enough apart so that the backups for the host’s Client resources do not overlap.
12. For the Schedule attribute, select a backup schedule.
13. Click the Apps & Modules tab.
14. In the Access area, leave the Remote user and Password fields empty.
15. In the Backup command attribute, type the backup command:.
nsrsnap_vss_save.exe
16. In the Application information attribute, type the following variables and
values. These steps should be performed for both the physical nodes as it will
cover a failover situation. However, only the current passive node should be
enabled for backups:
NSR_SNAP_TYPE=vss
NSR_ALT_PATH=<mount_path_on_local_host>
For a passive node client resource, but not the virtual server resource, specify the
following:
NSR_VIRT_SERV=<Exchange_Virtual_Server_hostname>
NSR_INDEX_CLIENT=<Exchange_Virtual_Server_hostname>
Type Exchange application variable settings and their values on separate lines.
These settings are described in Table 41 on page 248.
17. Click the Globals (1 of 2) tab, and verify that the Aliases attribute displays the
NETBIOS name for the client. This name should have already been filled in
automatically.

262 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

Note: NMM client user interface can use either the NETBIOS name or the fully-qualified
domain name (FQDN) when connecting to the NetWorker Server to browse backups.
These are only specified for the passive node.

18. Click OK.


Configuring backup for an Exchange CCR active node with a data mover
In an active node backup, only one client resource is required.
To create an Exchange Client resource if backup is performed from an Exchange CCR
active node with a data mover:

1. In the Administration page of the NetWorker Management Console, click


Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the following:
<Exchange Virtual Server hostname>

Note: The passive node client uses the physical node name, but the virtual server client
uses the Exchange virtual server name.

5. In the Comment attribute, type a description. If you are creating multiple Client
resources for the same NetWorker client host computer, use this attribute to
differentiate the purpose of each resource.
6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, set the retention policy to zero. The retention
policy determines how long rolled-over data is available though not necessarily
quickly. “Exchange snapshot policy” on page 250 provides details.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute, specify APPLICATIONS:\Microsoft Exchange 2007.
Place multiple entries on separate lines:
The Exchange Server save set syntax is described in “Specifying Exchange save
sets for application data” on page 246.

Note: When backing up data for a Microsoft Exchange application, ensure that all
databases in a specified Storage Group are mounted. If at least one database in a selected
Storage Group is not mounted, the entire backup of the Storage Group will fail.

10. If needed, use URL-encoded values when specifying save set names in the Save
Set attribute of the Client resource.
URL-encoded values are used to represent special characters such as the
backslash (\), and a table of values is provided in “URL encoding for Exchange
save sets” on page 247.
11. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: The backup group must be a snapshot group.

Exchange Client resource 263


Microsoft Exchange Server Backup and Recovery

If Client resources for the same NMM client host are added to different backup
groups, ensure that the Start Time attribute for each backup group is spaced far
enough apart so that the backups for the host’s Client resources do not overlap.
12. For the Schedule attribute, select a backup schedule.
13. Click the Apps & Modules tab.
14. In the Access area, leave the Remote user and Password fields empty.
15. In the Backup command attribute, type the backup command:.
nsrsnap_vss_save.exe
16. In the Application information attribute.
a. Type the following variables and values:
NSR_SNAP_TYPE=vss
NSR_ALT_PATH=<mount_path_on_proxy_client>
NSR_DATA_MOVER=<proxy_client_hostname>
NSR_DM_PORT=6728

Note: The default value in NMM installation is 6728. If you changed the DM Port
number to a different value in your NMM client configuration or installation, use that
value for NSR_DM_PORT.

b. Type Exchange application variable settings and their values on separate lines.
These settings are described in Table 41 on page 248.
17. Click the Globals (1 of 2) tab.
18. Verify that the Aliases attribute displays the NETBIOS name for the client. This
name should have already been filled in automatically.

Note: NMM client user interface can use either the NETBIOS name or the fully-qualified
domain name (FQDN) when connecting to the NetWorker Server to browse backups.

19. Click OK.


Configuring backup for an Exchange CCR passive node with a data mover
When backing up Exchange from the passive node in the Exchange CCR
environment, two client resources need to be created:
◆ A client resource using the passive node’s physical name in the Name attribute.
This backs up the Exchange database files, and must be backed up by NetWorker.
◆ A client resource using the Exchange virtual server name in the Name attribute.
This resource does not need to be backed up by NetWorker, but is required so
that the necessary index entries are created within the NetWorker Server.
To create an Exchange Client resource if backup is performed from an Exchange CCR
passive node with a data mover:

1. In the Administration page of the NetWorker Management Console, click


Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.

264 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

4. In the Name attribute, specify the physical node name for the passive node client
resource or the Exchange server name for the virtual server client resource.
5. In the Comment attribute, type a description. If you are creating multiple Client
resources for the same NetWorker client host computer, use this attribute to
differentiate the purpose of each resource.
6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, set the retention policy to zero. The retention
policy determines how long rolled-over data is available though not necessarily
quickly. “Exchange snapshot policy” on page 250 provides details.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute, specify APPLICATIONS:\Microsoft Exchange 2007.
Place multiple entries on separate lines:
The Exchange Server save set syntax is described in “Specifying Exchange save
sets for application data” on page 246.

Note: When backing up data for a Microsoft Exchange application, ensure that all
databases in a specified Storage Group are mounted. If at least one database in a selected
Storage Group is not mounted, the entire backup of the Storage Group will fail.

10. If needed, use URL-encoded values when specifying save set names in the Save
Set attribute of the Client resource.
URL-encoded values are used to represent special characters such as the
backslash (\), and a table of values is provided in “URL encoding for Exchange
save sets” on page 247.
11. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: The backup group must be a snapshot group.

If Client resources for the same NMM client host are added to different backup
groups, ensure that the Start Time attribute for each backup group is spaced far
enough apart so that the backups for the host’s Client resources do not overlap.
12. For the Schedule attribute, select a backup schedule.
13. Click the Apps & Modules tab.
14. In the Access area, leave the Remote user and Password fields empty.
15. In the Backup command attribute, type the backup command:
nsrsnap_vss_save.exe
16. In the Application information attribute, type the following variables and
values:
NSR_SNAP_TYPE=vss
NSR_ALT_PATH=<mount_path_on_proxy_client>
NSR_DATA_MOVER=<proxy_client_hostname>
NSR_DM_PORT=6728

Exchange Client resource 265


Microsoft Exchange Server Backup and Recovery

Note: The default value in NMM installation is 6728. If you changed the DM Port number
to a different value in your NMM client configuration or installation, use that value for
NSR_DM_PORT.

In addition, for the passive node only:


a. Specify the following:
NSR_VIRT_SERV=<Exchange_Virtual_Server_hostname>
NSR_INDEX_CLIENT=<Exchange_Virtual_Server_hostname>
b. Type Exchange application variable settings and their values on separate lines.
These settings are described in Table 41 on page 248.
17. Click the Globals (1 of 2) tab.
18. Verify that the Aliases attribute displays the NETBIOS name for the client. This
name should have already been filled in automatically.

Note: NMM client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

19. Click OK.


Configuring deduplication backup for a passive node in a CCR environment
To perform deduplication backup of a passive node in a CCR environment:
1. In the server’s Administration interface, click the Configuration button.
2. Select Clients in the navigation tree. The Clients table appears and lists any
deduplication clients that have already been created.
3. Right-click Clients in the navigation tree and select New. The General tab
appears in the Create Client page.
4. On the General tab, type the information for each client and consider the
following exceptions:
a. Clear the Scheduled backup checkbox.
b. In the Save set list, add the same save set list that is in the passive node.
5. Click the Apps & Modules tab:
a. In the Access area, leave the Remote user and Password fields empty.
b. In the De-duplication area, select the De-duplication backup attribute to
enable this client for deduplication backups.
c. Select the name of the deduplication node to which this client’s backup data
will be sent. This should be the same deduplication node specified for the
passive node. This step links this client with its own deduplication node. Do
not select the name of a replication node here.

! IMPORTANT
If the deduplication node for this client’s backup data changes, the next backup
performed must be a level 0 (full) backup.

6. Complete the remaining configuration information as for any regular client and
then click OK.

266 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

7. Select Groups in the navigation tree.


8. Add the new client resource to the group that contains the passive node backup.

Performing Exchange Server recovery


After the files are backed up, administrators can restore:
◆ All databases in a storage group.
◆ Individual mailbox or public folder databases.
◆ User email messages.
Several types of recovery are available:
◆ Point-in-time
◆ Roll forward
◆ Recovery to Recovery Storage Group (RSG) from conventional save sets
◆ Recovery to an alternate storage group
◆ Restore email messages from RSG databases
◆ Disaster recovery
This section provides information on:
◆ “Exchange recovery requirements and limitations” on page 267
◆ “Exchange recovery options” on page 269
◆ “Roll-forward recovery” on page 270
◆ “Point-in-time recovery” on page 271
◆ “Mounting the database after recovery” on page 272

Note: Backups can be performed from both the CCR active node and the CCR passive node.
However, recoveries cannot be done from the CCR passive node

Exchange recovery requirements and limitations


The following requirements must be met before recovering Microsoft Exchange data:
◆ The writer set or storage group save set must have been backed up:
• APPLICATIONS:\Microsoft Exchange Writer save set (Exchange Server
2003 writer)
• APPLICATIONS:\Microsoft Exchange 2007 save set (Exchange Server 2007
writer)
• APPLICATIONS:\Microsoft Exchange Writer\first_group (Exchange Server
2003 storage group)
• APPLICATIONS:\Microsoft Exchange 2007\second_group (Exchange
Server 2007 storage group)
Chapter 2, “Configuring a Scheduled Backup,” provides more information about
backups.
◆ For each Exchange database to be recovered, you must select the following:

Performing Exchange Server recovery 267


Microsoft Exchange Server Backup and Recovery

• For Exchange Server 2003: The Exchange checkbox titled “This database can
be overwritten by a restore” must be selected in the Exchange System
Manager ()
• Exchange Server 2007: The Exchange checkbox titled “This database can be
overwritten by a restore” must be selected in the Exchange Management
Console
This is a Microsoft requirement. The Microsoft Exchange documentation provides
more information about this checkbox.
◆ When new Microsoft service packs for Exchange Server are installed, transactions
(log files) created with previous service pack versions of Exchange Server
generally cannot be recovered onto the updated Exchange Server. Microsoft
sometimes provides hotfix kits to address this Microsoft restriction.

Note: It is recommended that you perform a full backup after any Exchange server
software upgrade.

◆ If you are recovering Exchange data that was backed up from a legacy NetWorker
client by using the save set VSS USER DATA:\ in a NMM File System Recovery
Session:
a. The Exchange databases to which data is being recovered must be unmounted
before the recovery operation.
b. After the recovery, the databases must be mounted.
There are several limitations when backing up and restoring Exchange objects with
NMM:
◆ A single mailbox database cannot be restored by using point-in-time recovery of
Exchange, because it requires both logs and databases to be selected for restore:
• VSS-marking semantics do not allow selecting logs for backup or restore.
• Logs are included only when the a storage group is selected for either backup
or restore.
• Logs are not included when a database is selected.
◆ Roll-forward recovery may not be possible after point-in-time restore. After you
complete a successful point-in-time restore, perform a full backup of the
Exchange server so that you can perform roll-forward recovers.
◆ Microsoft Exchange server supports an RSG configuration where the RSG system
path restore location and RSG logs restore location can be different:
• NMM does not currently support that configuration.
• Specify the same location for the RSG system path and the RSG log path.

MAPI memory errors when recovering mailbox items from RSG databases
There is a known memory error that may occur with Microsoft Exchange MAPI when
recovering mailbox items from RSG databases. The error
MAPI_E_NOT_ENOUGH_MEMORY may be reported in the NMM logs.
When this error occurs, NMM recovers the mailbox item, but may lose properties
such as the original font and formatting.
This is a known problem, but Microsoft has no workaround or fix for this issue at this
time.

268 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

IPv6 issues affect browsing RSG mailboxes


There is a known issue with IPv6 affecting MAPI calls. NMM uses MAPI calls to
browse RSG mailboxes. This may occur when the NMM client is running Windows
Server 2008 x64 and Exchange Server 2007, and IPv6 is enabled. IPv6 is enabled by
default by Windows Server 2008 installation. When IPv6 is enabled on the client, and
there is no IPv6 network present, RSG mailbox browsing will fail. This can prevent
you from viewing and selecting RSG mailboxes. This problem must be fixed through
the registry, not the network connections dialog box.
To fix RSG browsing issue in the registry:
1. Open the registry.
2. Navigate to HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters.
3. Edit or create the 32-bit DWORD value DisabledComponents, and type the hex
value FFFFFFFF.
4. Reboot the machine.

Exchange recovery options


To specify recovery options for Exchange data:
1. Open the NMM client software and select the NetWorker Server on which the
NMM client software was configured for backup.
2. If the NMM client is part of a cluster, select the virtual client to which you are
recovering data. The virtual client can be selected from the Client list attribute in
the application toolbar.
3. From the left pane, select Exchange Recover Session, and then select one of the
following:
• Database Recover (default) to view Exchange database backups.
• RSG Mailbox Recover to browse and recover items from existing RSG
databases.
4. In the Exchange Server Session toolbar, click Recover Options.
5. Select the type of recovery to perform:
• To recover data for Exchange Server 2003 or 2007 and retain all existing
Exchange transactions that occurred after the time of backup, select Include
existing logs (Roll forward recovery). “Roll-forward recovery” on page 270
describes this type of recovery in detail.
• To recover data for Exchange Server 2003 or 2007 up to the time of backup
only and to not include subsequent transactions, select Include logs only from
this restore (Point-in-time recovery).

Note: If you select point-in-time recovery, you cannot select an individual database for
recovery. However, you can select to recover items at the Storage Group level or later.
“Point-in-time recovery” on page 271 describes this type of recovery in detail.

6. To make the Exchange database available after the recovery, select Put databases
online after restore.
7. Click OK to close the Exchange Recover Options dialog box.
8. From the navigation tree, expand the Applications folder and the appropriate
Microsoft Exchange writer folder:

Performing Exchange Server recovery 269


Microsoft Exchange Server Backup and Recovery

• Microsoft Exchange Writer for Microsoft Exchange Server 2003


• Microsoft Exchange 2007 for Microsoft Exchange Server 2007
9. Select the Exchange storage groups and databases that are to be recovered.
10. From the Exchange Recover toolbar, click Start Restore.

Roll-forward recovery
This option recovers the Exchange databases from the last full backup, and logs from
incremental backups. All existing Exchange transactions that occurred after the time
of the last backup are retained. This recovery is carried out when the Exchange server
or database fails but the current log LUN is available.
NMM restores the database files and transaction logs from backups and uses the
current logs on the server to roll the database forward. No data is lost by restoring
from backup. A single mailbox database can be marked for this type of recovery in
NetWorker Module for Microsoft Applications. While performing the roll-forward
recover, all of the mailboxes pertaining to that storage group are dismounted and
once the recovery is successful, all of the mailboxes are remounted.

Note: If you perform a roll-forward recovery, perform a full backup after the recovery. Doing
so enables you to recover data to a point-in-time that is after the point-in-time of the
roll-forward recovery, if necessary. Also, a roll-forward recovery is not possible after
performing a point-in-time recovery.

To perform a roll-forward recovery of an Exchange Server 2007 in a CCR


environment:
1. Perform the recovery from the active node, failing over the passive node to the
active node if necessary.
2. In the Exchange Management Console application, select the Microsoft
Exchange checkbox This database can be overwritten by a restore.
3. In the Exchange Management shell, stop replication to the passive node with the
suspend-StorageGroupCopy command. For example:
Suspend-StorageGroupCopy -Identity "bv-hood-cluse12\First
Storage Group"
4. Open the NMM client.
5. In the main toolbar, click the Client list, and then select the client that is the
Exchange Virtual Server.
6. From the left pane, select Exchange Recover, and then select one of the following:
• Database Recover (default) to view Exchange database backups.
• RSG Recover to browse and recover items form existing RSG databases.
7. In Transaction Log File Replay, make sure Include existing logs (Roll-forward
recovery) is selected. This is the default setting, but it may have been changed if
the previous recovery was a point-in-time recovery.
8. From the navigation tree, expand the Applications folder and select the
Microsoft Exchange 2007 folder.
9. Select the Exchange Server items you want to restore.
10. From the Exchange Recover Session toolbar, click Recover. The Exchange
Recovery Options Summary dialog box is displayed.

270 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

11. Review the options:


• If you need to change the options, click Recover Options. This opens the
NetWorker Recovery Options dialog box, where you can change settings on
the General, NetWorker, Security, and Exchange tabs.
• If the options are okay, click the Start Recover button. This closes the
Exchange Recovery Options dialog box, and starts the recovery.
12. Restore replication between the nodes with the resume-StorageGroupCopy
command. For example:
resume-StorageGroupCopy -Identity
"bv-hood-cluse12\First Storage Group”

Point-in-time recovery
This recovery type is useful when log files have been lost or databases must be
restored to a specific backup time. At this level, data can be selected at a Storage
Group level, but not at an individual database level. Point-in-time recovers Exchange
data only up to the time of the backup that is being recovered, and does not include
subsequent transactions. All new data after that backup is lost.
When point-in-time recovery is used, only the transaction log files that were part of
the backup set are restored. Additional log files generated since the time of backup
are not restored, and the databases are recovered only to the point of the backup.
With this type of recovery the administrator gets back the deleted mail because the
transaction logs are restored.
In order to perform point-in-time restore, the administrator must first select the
whole storage group and then perform the recover. The log files currently on disk are
moved to another directory before the restore takes place. They can be manually
deleted by the user if they are no longer needed after a successful restore.
To perform a point-in-time recovery of an Exchange Server 2007 in a CCR
environment:
1. Perform the recovery from the active node, failing over the passive node to the
active node, if necessary.

Note: In an Exchange CCR configuration, backups can occur from both the active node and
the passive node. However, recoveries always go to the active node.

2. In the Exchange Management Console application, select the Microsoft


Exchange checkbox This database can be overwritten by a restore.
3. In the Exchange command shell, stop replication to the passive node with the
suspend-StorageGroupCopy command. For example:
suspend-StorageGroupCopy -Identity "bv-hood-cluse12\First
storage Group"
4. Open the NMM client.
5. In the main toolbar, click the Client list, and then select the client that is the
Exchange Virtual Server.
6. From the left pane, select Exchange Recover, and then select one of the following:
• Database Recover (default) to view Exchange database backups.
• RSG Recover to browse and recover items form existing RSG databases.

Performing Exchange Server recovery 271


Microsoft Exchange Server Backup and Recovery

7. In Transaction Log File Replay, select Include only logs from this restore
(Point-in-time recovery).
8. From the navigation tree, expand the Applications folder and select the
Microsoft Exchange 2007 folder.
9. Select the Exchange Server items you want to restore.
10. From the Exchange Recover Session toolbar, click Start Restore.
11. After restore, on the passive node manually delete log files and database file.
12. On the passive node, in the Exchange command shell, re-seed the passive node
with the Update-StorageGroupCopy command. For example:
Update-StorageGroupCopy -Identity
"bv-hood-cluse12\First Storage Group"
13. Restore replication between the nodes with the resume-StorageGroupCopy
command. For example:
resume-StorageGroupCopy -Identity
"bv-hood-cluse12\First Storage Group”

Mounting the database after recovery


Certain pre- and post-restore operations provided for Exchange enable quick access
to email after recovery. Until Exchange databases are remounted, email is not
available for users to browse and verify. NMM provides options to automatically
mount Exchange databases after restore.
The Exchange administrator can decide if restore of a particular Exchange database is
required and if automatic mounting of the database must be done after the restore is
complete. If this option is specified, then the database is mounted after successful
restore of the Exchange Server. If this option is disabled, then the administrator must
manually mount the database. By default, this option is enabled in NMM.
Select or disable this option with the Put databases online after restore checkbox as
described in “Exchange recovery options” on page 269.

Performing recovery to storage groups


NMM can recover an NMM point-in-time or rollover backup to an Exchange Server
2007 Recovery Storage Group (RSG), the original storage group, or to an alternate
storage group. When restoring from a rollover, files are copied from a NetWorker
device such as tape, file, or adv_file, to the specified location.

! IMPORTANT
When you use the restore to an RSG feature, always delete the existing RSG and
then create a new clean RSG.

“Selecting a storage group restore destination” on page 273 provides details.

272 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

Selecting a storage group restore destination


NMM provides several options for selecting the target storage group. These options
are specified in the Select Storage Group Restore Destination dialog box, which is
accessed in the Exchange Recover Session. Figure 18 on page 273 displays the options
available in this dialog box.

Figure 18 Select Storage Group Restore Destination dialog box

The steps to specify which location to restore to are described in the separate
procedures for each location type:
◆ “Recovery to the original storage group” on page 274
◆ “Recovery to an Exchange RSG” on page 274
◆ “Recovery to an alternate storage group” on page 282
The Select Storage Group Restore Destination dialog box provides the following
settings and information:
◆ <Storage Group Name> Storage Group (Source) — This box displays the name of
the storage group selected in the Browse tab in the Exchange Recover Session
page.
◆ Restore To (Destination) — Specifies where you want the storage group restored
to.
◆ Exchange Server — By default, this is server where the source storage group is
located. You can select a different server here if you are recovering to an RSG or
alternate storage group that is not on the source server.
◆ Original Storage Group — Specifies to restore the content to the original storage
group, which will overwrite the content currently in that storage group.
◆ Recovery Storage Group — Specifies to restore the storage group to a separate
RSG you have already created. Recovering to an RSG allows you to browse and
select items to restore without overwriting the entire storage group. When this
option is selected, the Check Recovery Storage Group box is displayed. The
Check button is used to verify that the Recovery Storage Group exists and
databases are configured properly.

Performing recovery to storage groups 273


Microsoft Exchange Server Backup and Recovery

◆ Alternate Storage Group — Specifies to restore databases to a different storage


group. When this option is selected, the Select Alternate Storage Group box
provides a list box where you can select from the available storage groups
available on the Exchange Server listed in the Restore To box.

Note: Exchange Server 2007 does not support restoring a public folder to the RSG. If a storage
group contains a public folder, it cannot be selected, only the mailboxes within that storage
group can be selected.

Recovery to the original storage group


Recovery to the original storage group overwrites all of the current content of the
selected databases in the storage group.
To recover to the original storage group:
1. Open the NMM client software and select the NetWorker Server on which the
NMM client software was configured for backup.
2. If the NMM client is part of a cluster, select the virtual client to which you are
recovering data. The virtual client can be selected from the Client list attribute in
the application toolbar.
3. From the left pane, select Exchange Recover, and then select Database Recover
4. In the navigation tree, expand the Exchange server you want to recover from.
NMM displays the contents of the storage groups that have been backed up.
5. Right-click the storage group that you want to recover, and then click Restore To.
6. In the Select Storage Group Restore Destination dialog box, verify that Original
Storage Group is selected and then click OK. The Original Storage Group option
is selected by default.
7. Click Start Recover.
8. After the restore, the administrator may need to mount the databases if the option
to put databases online was automatically selected.

Recovery to an Exchange RSG


NMM does not back up the contents of an RSG. The RSG is used only as a location for
restoring backups from normal storage groups.
There are two parts to the recovery process:
◆ “Creating an RSG and adding target databases” on page 275
◆ “Recovering to the RSG” on page 276
Review the following sections for other details on recovery to an Exchange RSG:
◆ “Setting a different Exchange Server for recovery” on page 278
◆ “Setting Exchange Server 2007 permissions to enable NMM browsing of RSG
mailboxes” on page 279
◆ “Additional requirements for browsing RSG mailboxes” on page 279

274 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

Creating an RSG and adding target databases


Before NMM can restore to an RSG, an RSG must be created and linked to a storage
group. Exchange Server 2007 only supports one RSG at a time per server.

! IMPORTANT
When you use the restore to an RSG feature, always delete the existing RSG and
then create a new clean RSG. If you are performing a directed recovery, delete the
existing RSG on the original server as well as the RSG on the destination server.

There are two methods available within Microsoft Exchange to configure an RSG
database:
◆ Exchange Management Shell at command line (Recommended)
◆ Exchange Management Console Database Recovery Management tool
To configure an RSG with Exchange Management Shell:
1. On the Microsoft Exchange Server, select the Start menu and then select
Exchange Management Shell.
2. Use the new-storage group command to create the Recovery Storage Group:
new-storagegroup –server exch_server –name rsg_name
–LogFolderPath rsg_path –SystemFolderPath rsg_path –Recovery
where:
• exch_server is the Exchange 2007 server name.
• rsg_name is the desired RSG name.
• rsg_path is the path to the RSG directory.
The –Recovery option is also needed to specify that an RSG is created.
For example:
new-storagegroup –server bv-rmx64-1 –name SG2_RSG
–LogFolderPath T:\exchsrvr\SG2\SG2_RSG –SystemFolderPath
T:\exchsrvr\SG2\SG2_RSG –Recovery
3. Use the new-mailboxdatabase command to add target databases to the RSG:
new-mailboxdatabase -Name db_name -MailboxDatabaseToRecover
db_name -StorageGroup exch_server\rsg_name -EdbFilePath
edb_path
where:
• db_name is the name of the database that will be recovered.
• -EdbFilePath is the path of the database in the RSG, not the original storage
group.
• edb_path is the path to the database file in the RSG directory.
Use the same name for the RSG database as the original database to avoid
confusion. For example:
new-mailboxdatabase -Name DB1 -MailboxDatabaseToRecover DB1
-StorageGroup bv-rmx64-1\SG2_RSG -EdbFilePath
U:\exchsrvr\SG2\SG2_RSG\DB1.edb
4. Repeat the new-mailboxdatabase for each database that will recovered. Be sure
to specify the correct database name and edb path.

Performing recovery to storage groups 275


Microsoft Exchange Server Backup and Recovery

5. NMM allows the administrator to leave the database offline or have it


automatically put online after the restore.
• If you choose to leave the database offline after the restore it will need to be
manually mounted.
This can be done with the mount-database command:
mount-database –Identity exch_server\sg_name\db_name
For example:
mount-database –Identity bv-rmx64-1\SG2_RSG\DB1
• Databases can be dismounted with the dismount-database command:
dismount-database –Identity exch_server\sg_name\db_name
For example:
dismount-database –Identity bv-rmx64-1\SG2_RSG\DB1
6. To repeat an RSG restore by using the same database after it has been mounted,
set the database can be overwritten property:
set-mailboxdatabase –Identity “exch_server\rsg_name\db_name”
–AllowFileRestore:$true
For example:
set-mailboxdatabase –Identity “bv-rmx64-1\RSG\DB1”
–AllowFileRestore:$true

Recovering to the RSG


When an RSG has been created and linked to a storage group, it is enabled in NMM
and can be selected as a restore destination. After databases have been recovered to
the RSG, NMM can perform item-level recovery for folders or individual items.

! IMPORTANT
When you use the restore to an RSG feature, always delete the existing RSG and
then create a new clean RSG.

To recover to an RSG:
1. Open the NetWorker User UI and select the NetWorker Server on which the
NMM client software was configured for backup.
2. If the NMM client is part of a cluster, select the virtual client to which you are
recovering data. The virtual client can be selected from the Client list attribute in
the application toolbar.
3. From the left pane, select Recover Session > Exchange Recover, and then select
Database Recover. This displays the available Exchange database backups.

276 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

4. In the navigation tree, expand the Exchange server you want to recover from.
NMM displays the contents of the storage groups that have been backed up.
Figure 19 on page 277 shows the “SG2” storage group has been selected, so the
“First Storage Group” and “Public_SG” are unavailable and cannot be selected.
This prevents simultaneous restore of one storage group to the RSG and another
storage group to the original location.

Figure 19 Available and unavailable storage groups

5. Right-click the storage group that is linked to the RSG.


6. Select Restore To, and then select RSG Configuration.
This verifies that all RSG databases exist and can be overwritten. It checks all
databases, in case the administrator marks the entire storage group. If an error
message like the one in Figure 20 on page 277 appears, there is a configuration
problem. The configuration problem must be fixed before the database with the
configuration problem can be restored. Then the restore operation can be started.
In the example shown in Figure 20 on page 277, DB1 and DB2 could be restored,
but DB3 cannot until the configuration problem is fixed.

Figure 20 RSG Configuration error message

When a message like the one in Figure 21 on page 278 appears, the RSG
configuration is correct.

Performing recovery to storage groups 277


Microsoft Exchange Server Backup and Recovery

Figure 21 RSG Configuration correct message

RSG configuration is also checked when a restore is started, but only marked
databases are checked. If a configuration problem is detected, NMM stops the
restore operation.
7. Select the storage group linked to the RSG you want to recover. You can also
select individual mailbox databases in that storage group.
Only one storage group can be selected when “Restore to RSG” is enabled.
8. Click Start Recover.
When Restore to RSG is enabled, Public Folders cannot be selected because
Exchange Server 2007 does not support restoring a public folder to the RSG.
Figure 22 on page 278 shows the entire SG2 storage group cannot be selected.
Only the Mailbox Database is selectable.

Figure 22 Public folders cannot be recovered to an RSG

9. After the restore, the administrator may need to mount the databases if the option
to put databases online was automatically selected.

Setting a different Exchange Server for recovery


NMM supports restoring to an RSG in a cluster environment. When an Exchange
server is set up in a cluster, and there are multiple active Exchange servers, you can
select the RSG you want to use for an Exchange recover session.
To select an active Exchange server RSG:
1. Open the NMM client software and select the NetWorker Server on which the
NMM client software was configured for backup.
2. On the browse tab, right-click the Exchange server, and then click Change
Exchange Server. The Change Exchange Server dialog box appears.

Note: If the Exchange server is a stand-alone installation, this menu item will be
unavailable.

278 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

3. In Available Exchange Servers, click the server you want to browse and then
click OK. The browse tree is displayed with the RSG associated with the selected
Exchange server.

Setting Exchange Server 2007 permissions to enable NMM browsing of RSG


mailboxes
An Exchange administrator must configure Exchange Server 2007 to enable browsing
of an RSG mailbox. If the Send-As and Receive-As permissions are not configured
correctly, if browsing the RSG is attempted, an error message dialog box will be
displayed stating that NMM is unable to browse mailboxes because the required
permission is not configured correctly.
To configure permissions for browsing an RSG mailbox:
1. On the Microsoft Exchange Server, select the Start > All Programs > Exchange
Management Shell.
2. Enable Send-As and Receive-As permission.
For example:
get-ExchangeServer <Exchange Server name> | Add-AdPermission
-user <username> -extendedrights Receive-As, Send-As
where:
• <Exchange Server name> is the server where the RSG mailbox is located.
• <username> is the name of the user being granted permissions.
Additional requirements for browsing RSG mailboxes
There are other requirements for browsing RSG mailboxes:
◆ An RSG must exist.
◆ The RSG must contain one or more databases.
◆ Databases must be online. NMM does not display mailboxes in offline databases.
◆ The MAPI/CDO kit must be installed, as described in “Microsoft Exchange
Server MAPI client and Collaboration Data Objects support” on page 242.
◆ IPV6 must be disabled on Windows Server 2008, as described in “IPv6 issues
affect browsing RSG mailboxes” on page 269.
◆ Exchange System Attendant and Information Store services must be running.

Selecting and recovering items in the RSG database


Once the databases have been recovered to an RSG, you can browse the user
mailboxes, folders, and messages, in the navigation tree, and then select which items
to recover to the user mailboxes. You can also search for items in the navigation tree
through the Search tab.
The following sections provide information on:
◆ “Selecting an item for recovery” on page 280
◆ “Searching for an item” on page 280
◆ “Recovering selected items” on page 281

Performing recovery to storage groups 279


Microsoft Exchange Server Backup and Recovery

Selecting an item for recovery


Items can be selected for recovery at the storage group, mailbox, mail folder, and mail
message level.
To select items for recovery, select the checkbox beside a node in the navigation tree.
A check mark indicates that the node is selected.
To clear an item contained in a selected node, expand the node and clear the
checkbox beside the item. The check mark disappears.
When you select a node, the items contained in the node such as mailboxes, mail
folders, and messages, are also selected for recovery.
If you want to mark an item for recovery without marking all the items at the same
level, expand down to the level you want, without selecting. When you have located
the item, select the checkbox for the item. The containers above that item are
automatically partially selected. For example, in Figure 23 on page 280, the mail
message “Is everybody online?” has been selected for recovery, without selecting all
items in the containing mail folder, user mail box, or storage group. A gray check
mark in a checkbox with a gray background indicates that the item is partially
selected. When “Is everybody online” was selected, the nodes above were partially
selected all the way up to the server.
Figure 23 on page 280 depicts one selected mail message and several partially
selected nodes in the navigation tree.

Figure 23 Selected and partially selected items

Searching for an item


You can also search for a recovery item. Once you have located an item, you can
select it for recovery
To search for a recovery item:
1. Click Search above the navigation tree.
2. In the Path field, type a directory path.
3. Optionally, in the Name field, type the name of the search item. You can refine
your search as follows:
• Literal match (case-insensitive) — Type abc to return abc, ABC, or AbC but not
abcd or ABCD.

280 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

• Literal match (case-sensitive) — Type "abc" to return abc but not ABc or abcd.
• Name contains (case-insensitive) — Type %abc% to return abc, abcd, ABCD, or
xyzABCde.
• Name starts with (case-insensitive) — Type abc% to return abcd or ABCde but
not xyzABCde.
• Name ends with (case-insensitive) — Type %abc to return xyzAbc but not
ABCde.
• Single-character match search using the ? wildcard
– Type ? to return single character entries and drive volumes, such as C or D.
– Type WMI?Writer to return WMI Writer.
• Multiple-character match search by using the * wildcard
– Type *.txt to return all entries with a .txt extension.
– Type * to return all items within the selected container.
– Type *writer* to return all writers.
• Search by using both the * and ? wildcard — Type *??I*writer* to return WMI
Writer.
4. Click Search. The Details pane displays the results of the search.

Recovering selected items


Once you have completed selecting items through browsing or searching, you can
recover the items to the users’ mailboxes.
To recover the selected items, from the Exchange Recover Session toolbar, click Start
Recovery.

Note: Recovered items do not overwrite existing items. They are placed in separate folders in
the user’s mailbox.

When NMM performs an RSG item level recovery, the items are placed in a new
“Recovered Items” folder created in the user’s mailbox on the production server.
Figure 24 on page 281 shows an example of two Recovered Items folders in the
mailbox of user Steve M.

Figure 24 Recovered items folders in user mailbox

Performing recovery to storage groups 281


Microsoft Exchange Server Backup and Recovery

The name of the folder begins with a time and date stamp. For example, “14:35:171
3/13/2009 Recovered Items.” A new Recovered Items folder is created for each
recovery. This prevents the selected items from overwriting the existing items in the
user’s mailbox, and allows the user to view and work with existing and recovered
items without overwriting either. When the user is done sorting through the
recovered items, the user can delete the Recovered Items folder.

Recovery to an alternate storage group


Recovery to an alternate storage group allows you to recover the storage group data
to a different Exchange server than the original source
Before NMM can restore to an alternate storage group a new database must be
created in the alternate storage group, with the same name as the original database.
There are two methods available within Microsoft Exchange to configure an alternate
storage location database:
◆ Exchange Management Shell at command line (Recommended)
◆ Exchange Management Console Database Recovery Management tool
To configure an alternate storage group with Exchange Management Shell:
1. On the Microsoft Exchange Server, select the Start menu and then select
Exchange Management Shell.
2. Use the new-storage group command to create the alternate storage group:
new-storagegroup –server exch_server –name alt_name
–LogFolderPath alt_path –SystemFolderPath alt_path
where:
• exch_server is the Exchange 2007 server name.
• alt_name is the desired alternate storage group name.
• alt_path is the path to the alternate storage group directory.
For example:
new-storagegroup –server bv-rmx64-1 –name Alternate_SG
–LogFolderPath T:\exchsrvr\SG2\Alternate_SG
–SystemFolderPath T:\exchsrvr\SG2\Alternate_SG
3. Use the new-mailboxdatabase command to add target databases to the alternate
storage group:
new-mailboxdatabase -Name db_name -MailboxDatabaseToRecover
db_name -StorageGroup exch_server\alt_name -EdbFilePath
edb_path
where:
• db_name is the name of the database that will be recovered.
• -EdbFilePath is the path of the database in the alternate storage group, not the
original storage group.
• edb_path is the path to the database file in the alternate storage group
directory.

Note: The alternate storage group database name must match exactly the original database
name.

282 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

For example, the name for the alternate storage group specified in
new-mailboxdatabase -Name: is DB1, the same as the name of the original
database name specified in MailboxDatabaseToRecover, DB1:
new-mailboxdatabase -Name DB1 -MailboxDatabaseToRecover DB1
-StorageGroup bv-rmx64-1\Alternate_SG -EdbFilePath
U:\exchsrvr\SG2\Alterenate_SG\DB1.edb
4. Repeat the new-mailboxdatabase for each database that will recovered. Be sure
to specify the correct database name and edb path.
5. NMM allows the administrator to leave the database offline or have it
automatically put online after the restore.
• If you choose to leave the database offline after the restore it will need to be
manually mounted. This can be done with the mount-database command:
mount-database –Identity exch_server\sg_name\db_name
For example:
mount-database –Identity bv-rmx64-1\Alternate_SG\DB1
• Databases can be dismounted with the dismount-database command:
dismount-database –Identity exch_server\sg_name\db_name
For example:
dismount-database –Identity bv-rmx64-1\Alternate_SG\DB1
6. To repeat an alternate storage group restore by using the same database after it
has been mounted, set the database can be overwritten property:
set-mailboxdatabase –Identity
“exch_server\alt_sg_name\db_name” –AllowFileRestore:$true
For example:
set-mailboxdatabase –Identity “bv-rmx64-1\Alternate_SG\DB1”
–AllowFileRestore:$true
To recover to an alternate storage group:
1. Open the NMM client software and select the NetWorker Server on which the
NMM client software was configured for backup.
2. If the NMM client is part of a cluster, select the virtual client to which you are
recovering data. The virtual client can be selected from the Client list attribute in
the application toolbar.
3. From the left pane, select Exchange Recover, and then select Database Recover.
4. In the navigation tree, expand the Exchange server you want to recover from.
NMM displays the contents of the storage groups that have been backed up.
5. Right-click the storage group that you want to recover, and then click Restore To.
6. In the Select Storage Group Restore Destination dialog box, select Alternate
Storage Group.
7. In the Exchange Server list, select the Exchange server that contains the alternate
storage group.
8. In Select Alternate Storage Group select the storage group, and then click OK.

Performing recovery to storage groups 283


Microsoft Exchange Server Backup and Recovery

9. Click Start Recover.


10. After the restore, the administrator may need to mount the databases if the option
to put databases online was automatically selected.

Performing Microsoft Exchange Server 2007 directed recovery


In the event of a problem recovering to the original Exchange server host, such as
disk drive failure, you can perform a directed recovery to recover Exchange data to a
different Exchange server.
The database portability feature in Microsoft Exchange Server 2007 allows a mailbox
to be mounted on any server in the same organization. “Database Portability” on
Microsoft TechNet at http://technet.microsoft.com/en-us/library/bb123954.aspx
describes this feature in more detail.
In the normal NMM backup and recovery process, the backup flows in the following
direction:
1. The NMM client is installed on the computer that will be backed up. For example,
ExchangeServer1.
2. That NMM client is configured to work with a specific NetWorker Server on
another computer. For example, NetWorkerServer1.
3. Backups are configured on and performed by the NetWorker Server, NetWorker
Server1.
4. Recovery is performed through the NMM client UI on the NMM client computer,
ExchangeServer1, and recovered to the same NMM client computer.
In a directed recovery, the NMM client is also installed on another server, for
example Server2. The recovery of ExchangeServer1 is “directed” from the NMM client
on Server2:
1. The NMM client is installed on the computer that will be backed up. For example,
ExchangeServer1.
2. The NMM client is also installed on another computer that will direct the
recovery. For example, Server2.
3. The NMM client on both machines are configured to work with the same
NetWorker Server on another computer. For example, NetWorkerServer1.
4. Backups are configured on and performed by the NetWorker Server, NetWorker
Server1.
5. Recovery of ExchangeServer1 is performed through the NMM client UI on another
NMM client computer, Server2, and recovered to another location.

Perform a directed recovery


To perform a directed recovery of an Exchange Server with NMM:
1. In NetWorker, create a backup of the NMM client, the Exchange Server.
2. Run NMM on the machine that will receive the data.
3. Connect to the NetWorker Server that hosts the NMM Exchange Server client.
4. Add the NMM Exchange Server client that created the backup as a locally
viewable client.

284 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

Figure 25 on page 285 shows the default of only one NMM client available, the
local client.

Figure 25 Local client on the taskbar next to Client

5. On the Options menu, click Configure Options.


6. Click the Refresh button, which is to the right of the Client name. Figure 26 on
page 285 shows the Select Viewable Clients dialog box. The clients available on
the NetWorker Server that you are attached to are listed under Available clients
on.

Figure 26 Select Viewable Clients dialog box

7. Click the client to add in the Available clients on list box, and then click Add.
Add or remove clients as needed.
8. Click OK. Figure 27 on page 285 shows the NMM page with the Client box.

Figure 27 NMM client dropdown list

9. Click the Client list, and select the client that created the Exchange Server backup
as the current local client.
10. If the Snapshot Management or Monitor is the active navigation bar item, and
you are prompted with the Navigate Away dialog box, click Yes.

Performing Microsoft Exchange Server 2007 directed recovery 285


Microsoft Exchange Server Backup and Recovery

11. On the Exchange Recover Sessions bar, select Recover Options. The Exchange
Recover Session Options dialog box appears.
12. Recover remote client's backup to local Exchange server.

Performing Microsoft Exchange Server 2007 disaster recovery


NMM can perform the following types of disaster recovery for Microsoft Exchange
Server 2007:
◆ “Perform Microsoft Exchange Server 2007 (stand-alone) disaster recovery” on
page 286
◆ “Perform Microsoft Exchange Server 2007 disaster recovery for Exchange CCR to
a two-node cluster in a production environment” on page 287
◆ “Perform Microsoft Exchange Server 2007 disaster recovery for Exchange CCR in
a production environment” on page 289

Perform Microsoft Exchange Server 2007 (stand-alone) disaster recovery


The process for performing this disaster recovery follows these steps:
1. The Exchange data must have already been backed up with the save set
Applications:\Microsoft Exchange 2007.
2. Rebuild the Exchange Server hardware, following the instructions provided by
Microsoft.
3. After the Exchange Server is rebuilt, make sure with the name, account
information, and configuration, and other information is the same as the old
server that is being replaced.
4. Reinstall NMM.
5. In NMM, perform an Exchange Server point-in-time recovery.

How to perform a Microsoft Exchange Server 2007 (stand-alone) disaster recovery


To perform a disaster recovery of a stand-alone installation of Microsoft Exchange
Server 2007:
1. Back up all Exchange data with the save set Applications:\Microsoft Exchange
2007.
2. Build new machine hardware for an Exchange Server, following Microsoft’s
instructions on TechNet:
“Moving Exchange Servers to New Hardware and Keeping the Same Server
Name”
http://technet.microsoft.com/en-us/library/bb332343.aspx
3. Capture all of your manually set Internet Information Services (IIS) virtual
directory configurations. Run the following Exchange Management Shell
command:
Get-OwaVirtualDirectory "owa (default web site)" |
export-clixml Owa.xml - depth
4. Copy the Owa.xml file to a location that can be accessed by the new server after it
is available and the old server is shut down.

286 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

5. Shut down the existing Exchange 2007 Server. (The backup should have already
been taken, at step 1 of this procedure.)
6. Reset the computer account for the existing Exchange 2007 server.
7. Bring the new computer online, and then confirm that the new computer is
running the same operating system that was installed on the existing Exchange
2007 server.
8. Rename the new server to the same name as the original server that you are
replacing, and then join this computer to the domain.
9. For drives that contained Exchange 2007 data, configure drive letters on the new
server to map to or match the configuration of the old server.
10. Verify that the drives have sufficient space to accommodate the restored data.
11. Run Exchange Server 2007 Setup with the following parameter:
Setup.com /M:RecoverServer
12. Reboot the machine.
13. Restore your manually set IIS virtual directory configurations, by running the
following Exchange Management Shell script:
Restorevdir.ps1 Owa.xml

Note: The Microsoft Exchange Server should come online with all previous storage
groups.

14. Install NMM. The EMC Module for Microsoft Applications Release 2.2 SP1 Installation
Guide provides instructions for installing NMM, including Exchange
Server-specific configuration settings.
15. In NMM, perform an Exchange Server point-in-time recovery. “Point-in-time
recovery” on page 271 describes these recovery steps in detail.

Perform Microsoft Exchange Server 2007 disaster recovery for Exchange CCR to a two-node
cluster in a production environment
Prior to disaster recovery, use NMM to perform regular backups of volumes, System
Components, and application save sets.
The following save sets should be backed up regularly:
1. Back up the following with the snapshot policy “all.”
C:\
System Components:\
The backup of C:\ automatically includes the following:
• Windows Boot Volume
• Windows System Volume
• Application software

Note: If the system has been set up with a separate file system for the Windows
boot\system partition and separate file system for application installation, then along with
C:\ drive, back up the file system that includes the Windows Boot Volume, Windows
System Volume, and application software.

Performing Microsoft Exchange Server 2007 disaster recovery 287


Microsoft Exchange Server Backup and Recovery

“Snapshot policies for SYSTEM COMPONENTS backup” on page 56 provides


more information about configuring snapshot policies for SYSTEM
COMPONENTS backup.
2. Back up application data for Exchange CCR on the NetWorker Server on the
passive node using the following save set with snapshot policy "all."
Applications:\Microsoft Exchange 2007
The steps in this disaster recovery scenario are based on the following host details for
the production environment you are recovering, and the isolated environment you
are recovering to.
Production environment setup:
◆ Domain Controller, one physical machine
◆ CCR setup with an active node and a passive node, two physical machines
Isolated environment setup:
◆ Domain Controller setup with the same hardware and software configuration as
the production environment
◆ CCR setup with only a passive node, one physical machine

How to perform a disaster recovery of Microsoft Exchange Server 2007 to a two-node cluster in a CCR
environment
To perform a disaster recovery of Microsoft Exchange Server 2007 to a two-node
cluster in a CCR environment:
1. Configure an AD domain setup in an isolated environment, using the same
operating system version, machine IP, and machine name as the production
Active Directory Domain setup.

Note: There should not be any communication between the production environment and
the isolated environment.

2. Configure the AD domain on the isolated environment with the same domain
name as the production AD domain name. Make sure that both environments use
the same make and model of hardware.
3. Install all Windows updates, and applications such as Exchange, in the isolated
environment AD domain setup, to match the production Active Directory
Domain setup.
4. Disconnect the NetWorker Server from the production environment, and connect
the NetWorker Server to the isolated environment.

Note: In this scenario, the backup was taken on the file system, not on tape. Since the
backup is not on tape, to move the backup to the isolated environment you must connect
isolated environment to the NetWorker Server which is storing the backup.

5. Install NMM on the isolated environment AD domain machine.


6. Restart the machine in "Directory Service Restore Mode" and start recovery of C:\
and System Components:\ using NMM recovery.

Note: Make sure that "legato" and "RMagentPS" folders are not selected before starting C:\
recovery.

288 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

7. When recovery completes, you will be prompted to restart the machine. Restart
the machine. This recovers all production AD domain objects into the isolated AD
domain. This also recovers all application information.
8. On the isolated environment AD domain setup, reset the computer account for
the existing Exchange Virtual Server, or Clustered Mailbox Server (CMS), or
virtual Exchange Server.
9. Rebuild another stand-alone server in the isolated environment with the same
operating system version as the production CCR setup.
10. Provide this new machine with a new IP address and new Network name, and
bring it online in the isolated environment.
11. Install all roles required for Exchange setup to run.
12. Create the same drive letters and paths for Storage Groups (SG) and databases as
the production CCR SGs and databases.
13. Install the cluster feature and configure a new cluster with Quorum.

Note: The Majority Node Set (MNS)/Quorum shared folder must be different from the
old.

14. Run Exchange setup in “Custom” mode, and only install the Passive Cluster Role.
15. Run the following command, using the CMS name and IP address from the
Production CCR server:
Setup.com /recoverCMS /CMSName:<name> /CMSIPaddress:<ip>
This puts the production virtual server online on this new node.

Note: All Storage Groups that were created in the CCR are recreated in this installation.
Verify that all drive letters and paths for Storage Groups and databases are recreated in the
same way as those in the production CCR server.

16. All databases will be in dismounted state, which is required for recovery from
NMM.
17. Install NMM on the new CCR machine.
18. Browse through Production CCR EVS index and perform PIT recovery of
Exchange.
19. Install Microsoft Exchange on the new CCR machine. Run Exchange setup in
Custom mode and install only the Passive Cluster Role.
20. Reseed the passive cluster node to get it in sync with the active node.

Perform Microsoft Exchange Server 2007 disaster recovery for Exchange CCR in a production
environment
Prior to disaster recovery, use NMM to perform regular backups of volumes, System
Components, and application save sets.
The following save sets should be backed up regularly:
1. Back up the following with the snapshot policy “all.”
C:\
System Components:\

Performing Microsoft Exchange Server 2007 disaster recovery 289


Microsoft Exchange Server Backup and Recovery

The backup of C:\ automatically includes the following:


• Windows Boot Volume
• Windows System Volume
• Application software.

Note: If the system has been set up with a separate file system for the Windows
boot\system partition and separate file system for application installation, then along with
drive C:, back up the file system that includes the Windows Boot Volume, Windows
System Volume, and application software.

“Snapshot policies for SYSTEM COMPONENTS backup” on page 56 provides


more information about configuring snapshot policies for SYSTEM
COMPONENTS backup.
2. Back up application data for Exchange CCR on the NetWorker Server on the
passive node using the following save set with snapshot policy "all."
Applications:\Microsoft Exchange 2007
The steps in this disaster recovery scenario are based on the following host details for
the production environment you are recovering, and the production environment
you are recovering to.
Production environment setup:
◆ Domain Controller, one physical machine
◆ CCR setup with an active node and a passive node, two physical machines
Recovery site setup (in the same network as the production setups):
◆ Domain Controller setup with the same hardware and software configuration as
the production environment
◆ CCR setup with only a passive node, one physical machine
In this disaster recovery procedure, the machines are referred to as follows:
Production:
◆ MC1: Domain controller
◆ CL1: cluster node 1
◆ CL2: cluster node 2
Recovery site (in the same network as the production setups):
◆ CL11: cluster node 1
◆ CL21: cluster node 2

How to perform a Microsoft Exchange Server 2007 CCR disaster recovery in production to a two-node
cluster
To perform a Microsoft Exchange Server 2007 CCR disaster recovery in production to
a two-node cluster:
1. Shut down the Exchange CCR setup. Shutdown both CCR nodes, assuming the
Exchange Cluster is lost or crashed.
2. Reset the computer account for the existing Exchange Virtual Server, or Clustered
Mailbox Server (CMS), or virtual Exchange Server.
3. Reset the computer account for CL1 and CL2 if you want the base cluster names
to be the same as those in original production setup.

290 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Exchange Server Backup and Recovery

4. Rebuild two machines CL21 and CL11 with the same operating system version as
the old server.
5. Assign the new machine with a new IP address and new Network name, and
bring it online in the same domain.

Note: If you want the same IP address and Network name as the production machine,
assign the same IP and name.

6. Install all roles required for Exchange setup to run on both CL11 and CL21.
7. Install cluster feature and create a new cluster with Quorum

Note: The Majority Node Set (MNS)/Quorum shared folder must be different from the
old.

8. Make sure the host has all of the drive letters created as those that were on the
original Exchange server.
9. Run Exchange setup in Custom mode and install only Passive Cluster Role on
CL11.
10. Run the following command, using the CMS name and IP address from the old
CCR server:
Setup.com /recoverCMS /CMSName:<name> /CMSIPaddress:<ip>
11. When this command is run:
• It puts the old virtual server online on this new node.
• All Storage Groups which were created in CCR are recreated in this
installation.
• All databases will be in a dismounted state, which is required to recover from
NMM.
12. Install NMM.
13. Browse through OLD CCR EVS index and perform PIT recovery of Exchange.
14. On CL211, install Exchange passive node. Run Exchange setup in custom mode
and install only the Passive Cluster Role.

Setting up dual-NIC for Exchange backup


When using two Network Interface Cards (NIC) in NMM for Exchange backup, make
sure to review the following information.
Use the same domain controller but change the client machine name. For example, if
you are using a client machine called xyz1, give it another name in the same Domain
Name System (DNS), for example, xyz2. While xzy1 is configured for one NIC and is
used for Exchange processes, xyz2 is configured for second NIC and is used for
backup.
Ensure that the recovery is done using xyz1.

Setting up dual-NIC for Exchange backup 291


Microsoft Exchange Server Backup and Recovery

Quick recovery of a deleted mailbox


This procedure is performed independent of NMM backup or recovery operations.
In the event that a user mailbox is deleted, you can quickly recover the mailbox
through the Exchange Management Console.
To recover a deleted mailbox:
1. In Exchange Management Console, make sure that deleted user mailbox entry
appears under Disconnected mailbox under Recipient management.
2. Re-create the user mailbox with same name.
3. Disable the re-created user mailbox.
4. Open Disconnected mailbox under Recipient management; and then select the
user mailbox which was accidentally deleted.
5. Right-click the user mailbox and then select Connect.
6. Select User mailbox radio button, and then click Next.
7. Select Matching user, select User mailbox, and then click Next. The deleted user
mailbox is then re-created under Recipient management > Mailbox.

Note: Recreated deleted mailboxes are not always immediately visible. It may take from 15
minutes to an hour before the mailbox is visible and accessible through Outlook.

292 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
13
Microsoft Data
Protection Manager
Backup and Recovery

This chapter includes the following topics:


◆ Data Protection Manager backup and recovery ..................................................... 294
◆ Performing DPM Server backups ............................................................................. 299
◆ Configuring a DPM Client resource......................................................................... 300
◆ Performing DPM Server recovery ............................................................................ 302

Microsoft Data Protection Manager Backup and Recovery 293


Microsoft Data Protection Manager Backup and Recovery

Data Protection Manager backup and recovery


NetWorker Module for Microsoft Applications (NMM) provides full backup and
recovery of Microsoft System Center Data Protection Manager (DPM) 2007. DPM is
Microsoft’s solution for backing up and recovering Microsoft application and system
data and files by using the VSS framework.
DPM stores and manages this backup information in its own database. DPM can
provide backup and recovery for:
◆ Windows file services
◆ Microsoft Exchange Server
◆ Microsoft SQL Server
◆ Microsoft Office SharePoint Server
◆ Virtual Server 2005
NMM supports granular and directed granular recovery to DPM-protected clients.
This allows you to browse DPM replicas and select individual folders or files for
recovery. With directed recovery, data that originated on one NetWorker client host
is recovered to another NetWorker client host. Chapter 14, “Microsoft Data
Protection Manager Granular and Disaster Recovery,”provides more information
about DPM granular recovery, and directed granular recovery.
Figure 28 on page 294 shows how NMM provides support for backup and recovery
of DPM data.

NetWorker Module for


Microsoft Applications
protects items within
DPM Server 2007:
DPM Configuration Database
DPM Replicas

NetWorker Server
7.3.3 or later:
DPM protects items within Provides services for
Microsoft Servers: NetWorker clients
Database files such as NMM
Storage groups
Volumes
Transaction logs
LAN

Microsoft Servers:
Backup and Recovery
provided by DPM DPM Server 2007:
Server 2007 Backup and Recovery
provided by NetWorker
Module for Microsoft
Applications (NMM) client

Figure 28 NMM protection of DPM

294 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Data Protection Manager Backup and Recovery

Note: DPM server must protect clients attached within the same domain as that of the DPM
server.

Chapter 2, “Configuring a Scheduled Backup,” supplements the overall NetWorker


Module for Microsoft Application backup procedures.

DPM Server versions supported by NMM client


NMM client supports Microsoft DPM 2007 running on x86 and x64 machines.
The EMC Information Protection Software Compatibility Guide provides the most
up-to-date lists of hardware, operating system, service pack, and application versions
supported by the NMM client.

DPM backup and recovery types


NMM supports several types of backup and recovery. For DPM, the NMM client
supports:
◆ DPM configuration database backup — Backup of the DPM configuration
database
◆ DPM replica backup — Backup all or selected DPM replicas for DPM-protected
servers
Before backing up DPM replicas, review the prerequisites in
◆ Backup level supported — Full backup only
◆ Recovery — Recovery of DPM Server can include recovery of the DPM
configuration database, or recovery of missing replicas in their entirety to their
original locations. NMM also supports granular file recoveries of replica data to
the DPM-protected client or to the DPM server.

DPM data backed up by NMM


NetWorker Module for Microsoft Applications supports only full backups for DPM
2007. It backs up the following DPM data:
◆ DPM configuration database — This is a SQL database. The DPM writer will
describe the location of the database, and NMM will use VSS SQL writers to
protect it.

Note: This version of NMM requires a local instance of SQL. It does not support remote
instances of SQL. The instance used by DPM Server must be on the same machine as DPM
Server.

◆ DPM replicas — These are data containers that DPM uses to store its save sets.
NMM will protect these as file system shares.

Note: A DPM replica is not a VSS replica, and is not directly manipulated outside the DPM
environment.

Data Protection Manager backup and recovery 295


Microsoft Data Protection Manager Backup and Recovery

Transportable backups of DPM replicas not supported


NMM 2.2 SP1does not support transportable backup of DPM replicas. DPM replica is
in a dynamic volume. NMM does not support local nontransportable
hardware-based snapshots of dynamic volumes on Windows Server 2008. “Dynamic
volume support” on page 35 provides more information about dynamic volume and
transportable support in NMM 2.2 SP1.

Components used by NMM for DPM backup and recovery


Table 43 on page 296 describes commands NMM uses to back up and recover DPM
data.

Table 43 NMM Data Protection Manager commands

Item Description

Application writer There is one writer for DPM 2007, “Microsoft DPM."

nsrsnap_vss_save NMM command initiates the VSS-based backup.

nsrsnap_vss_recover NMM command initiates the VSS-based recovery.

nsr_ps_single_save_per_saveset NMM command specifies that PowerSnap create a separate snapshot for each save set in the client
entry. Whether the database should be online or offline after restore.
This attribute is required because of DPM writer restrictions that require that the configuration
database and each of the DPM replicas must be separated into separate VSS shadow copy sets.

nsr_ps_first_saveset_save NMM command specifies to save the DPM configuration database before saving any of the DPM
replicas.
This is not required by the DPM writer, but is recommended as a best practice by Microsoft.

dpmsync -restoredb -dbloc [path] DPM command instructing DPM to use the database at the specified location.
\DBMDB2007.mdf

dpmsync -sync DPM command instructing DPM to synchronize itself with the new environment.

dpmsync -reallocatereplica DPM command run on DPM Server before performing DPM replica recover. This command instructs
DPM Server to verify its replicas and to create the appropriate number and size of partitions to
receive the recovered replicas.

Note: For replicas using Custom Volumes, you cannot use this command. You must manually create
the necessary volumes before you can proceed with DPM replica recovery. The Microsoft DPM
documentation provides more information about the use of Custom Volumes.

nsr_dpm_retry_wait DPM command that specifies that if the DPM replica is unavailable for backup because it is in use,
wait the specified time (in minutes) before retrying to start the backup.
The default value is 10.

nsr_dpm_retry_maximum DPM command that specifies the total number of times (the first try plus retries) to attempt to start the
backup.
The default value is 3.

296 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Data Protection Manager Backup and Recovery

Specifying DPM save sets for application data


Table 44 on page 297 lists the DPM save set syntax to specify for supported types of
DPM data. Specify DPM data save sets in the Save Set attribute of a Client resource.
Some special characters in a DPM storage group name must be replaced with
URL-encoded values. “URL encoding for DPM save sets” on page 298 provides more
information about URL encoding.save set syntax:

Table 44 DPM Server 2007 save set syntax

Type of backup data Save set syntax

Configuration database APPLICATIONS:\Microsoft DPM\DPM database.


There will always be exactly one DPM configuration database.

Protection group replica set, of a non-VSS datasource APPLICATIONS:\Microsoft DPM\Non VSS Datasource
There are usually multiple protection group replica sets. Writer component Computer%2FSystemState on
For example, a DPM replica resulting from DPM protection of a system server Mars DPM Server
state on a server named Mars.DPM.Server.

Protection group replica set APPLICATIONS:\Microsoft DPM\SqlServerWriter


There are usually multiple protection group replica sets. component Luna%2FAcmeBank on server Pluto SQL
For example, a DPM replica resulting from DPM protection of a SQL Server.
database Luna\FAcmeBank on a server named Pluto SQL Server.

Displaying valid DPM data save sets


To display a list of the DPM save sets that are available for backup:
1. Open a command prompt on the application server.
2. If the application server is not on a virtual host, list the valid application data save
set names. Type:
nsrsnap_vss_save -?
3. Press Enter:
• Each line of output corresponds to a save set entry that you can add to the
Save Set attribute of a Client resource.
• Each entry that you add to the Save Set attribute must be typed on a separate
line.
The application data save sets that are available for backup are listed in a format
similar to the following:
APPLICATIONS:\Microsoft DPM\DPM database.
APPLICATIONS:\Microsoft DPM\Volume C: on server
mars.saturn.company.com

Turning the MSDE writer on or off in the registry


Although DPM Server may be backed up with either the MSDE writer or the SQL
writer, Microsoft recommends that you use the MSDE writer with DPM if it is
available. Windows Server 2008 does not include the MSDE writer.
To detect which writer is enabled, run nsrsnap_vss_save -? in a command window
on the DPM Server:
◆ Among the writers displayed, you should see either a list of MSDE writer
components or a a list of SQL writer components.

Data Protection Manager backup and recovery 297


Microsoft Data Protection Manager Backup and Recovery

◆ On a Windows Server 2003 machine, you can enable the MSDE writer through
the following procedure:
To turn the MSDE writer on or off:
1. Open Registry Editor.
2. Locate the registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VSS\Se
ttings\MSDEVersionChecking
3. To enable the MSDE writer, set the value to 0. To disable the MSDE writer set the
value to 1.
4. Exit Registry Editor.
5. Restart the VSS service.

URL encoding for DPM save sets


When specifying save set names in the Save Set attribute of the Client resource, there
are cases where special characters, such as the backslash (\), must be specified by
their URL-encoded values. URL-encoded values are used to represent special
characters when naming DPM components:
◆ The forward slash (/) in the component name Computer/SystemState is
considered a special character:
APPLICATIONS:\Microsoft DPM\Non VSS Datasource Writer
component Computer/SystemState on server Mars DPM Server
◆ Replace it with its URL-encoded value, %2F:
APPLICATIONS:\Microsoft DPM\Non VSS Datasource Writer
component Computer%2FSystemState on server Mars DPM Server
Table 12 on page 65 lists the most commonly used special characters and their URL
values.

298 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Data Protection Manager Backup and Recovery

DPM application information variable settings


Table 45 on page 299 lists the variables that can be specified in the Application
information attribute of the Client resource.

Table 45 DPM application information variable settings

Attribute name Description Values

NSR_SNAP_TYPE=value Specifies the snapshot service provider vss


name. This value is required.

NSR_PS_SINGLE_SAVE_PER_SAVESET=value Specifies to create a separate yes


PowerSnap save set for each save set NSR_PS_SINGLE_SAVE_PER_SAVESET=yes
in the client entry.

NSR_PS_FIRST_SAVESET_SAVE=value Specifies the save set that PowerSnap Configuration database save set name
must operate upon first. This must be For example:
set to the DPM configuration database NSR_PS_FIRST_SAVESET_SAVE=APPLICAT
save set, as Microsoft recommends IONS:
that it be saved first. \Microsoft DPM\DPM Database .
This attribute should not be used if the
DPM configuration database is not one
of the save sets or if the DPM
configuration database is the only save
set. This attribute should only be used
if the DPM configuration database is
one of the multiple save sets that is
being backed up under a single
NetWorker Client Resource.

NSR_DPM_RETRY_WAIT=value Specifies that if the DPM replica is A positive integer


unavailable for backup because it is in For example, to specify a wait time of two
use, wait the specified time (in minutes) minutes:
before retrying to start the backup. The NSR_DPM_RETRY_WAIT=2
default setting is 10.

NSR_DPM_RETRY_MAXIMUM=value Specifies the total number of A positive integer


times—the first try plus retries—to For example, to specify of three attempts:
attempt to start the backup. nsr_dpm_retry_maximum=3

Performing DPM Server backups


NMM DPM backup provides:
◆ Point-in-time snapshots, which include exact copies of files and open files.
◆ Full backup of DPM databases, logs, and storage groups, as well as
administrator-selected storage groups.

! IMPORTANT
As part of disaster recovery plan, back up either of the following on the application
hosts:
- The save set All attribute in the save set field of the Client Resource.
- The SYSTEM COMPONENTS:\ save set along with the system volume, for
example, C:\.

Performing DPM Server backups 299


Microsoft Data Protection Manager Backup and Recovery

Configuring DPM backups


To perform a DPM backup, complete the tasks outlined in Table 46 on page 300.
The first four tasks for scheduling a backup are the same for all VSS writers
supported by NMM.
“Configuring a DPM Client resource” on page 300 is specific to configuring a DPM
Client resource.

Table 46 Tasks for scheduling a backup are the same for all VSS writers

Backup task Consideration

1. “Configure a backup pool for snapshot operations” on page 53 No special configuration is required.

2. “Configure snapshot policies” on page 56 For Data Protection Manager backups,


the Backup Snapshot policy must be set
to All. Backup will fail if any other value is
used.

3. “Configure a backup schedule” on page 58 No special configuration is required.

4. “Configure a backup group” on page 59 No special configuration is required.

5. “Configuring a DPM Client resource” on page 300 This task is specific to configuring a DPM
Client resource.

Configuring a DPM Client resource


A Client resource specifies what to include in a snapshot of a NMM client. Client
resources are associated with other backup resources such as groups and snapshot
policies.

You can create multiple Client resources for the same NMM host. In this way, you
can apply different backup attributes to different types of information on the same
host.

When configuring a DPM client resource, it is best practice to:

1. Create a DPM Client resource for the backup of the DPM configuration database
and the system database.
2. Create separate instances for each of the DPM-protected application server
replicas.

Note: This version of NMM requires a local instance of SQL. It does not support remote
instances of SQL. The instance used by DPM Server must be on the same machine as DPM
Server.

To create a DPM Client resource:

1. In the Administration page of the NetWorker Management Console, click


Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the hostname of the NetWorker client computer.

300 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Data Protection Manager Backup and Recovery

5. In the Comment attribute, type a description. If you are creating multiple Client
resources for the same NetWorker client host computer, use this attribute to
differentiate the purpose of each resource.
6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, select a retention policy from the list. The
retention policy determines how long rolled-over data is available though not
necessarily quickly.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute, specify the components to be backed up.
• Place multiple entries on separate lines.
• To back up all DPM Server data, specify the save set name of every database
and replica. For example:
APPLICATIONS:\Microsoft DPM\DPM database.
APPLICATIONS:\Microsoft DPM\Volume H: on server
babaco.MARS.com
APPLICATIONS:\Microsoft DPM\Volume I: on server
babaco.MARS.com
“Displaying valid DPM data save sets” on page 297 describes how to find the
save sets available on the DPM Server. “Specifying DPM save sets for application
data” on page 297 describes the DPM Server save set syntax.
10. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: If Client resources for the same NMM host are added to different backup groups,
ensure that the Start Time attribute for each backup group is spaced far enough apart so
that the backups for the host’s Client resources do not overlap.

11. For the Schedule attribute, select a backup schedule.


12. Click the Apps & Modules tab.
13. In the Backup command attribute, type the backup command:
nsrsnap_vss_save.exe
14. For Application information attribute, perform either of the following:
• To back up the DPM database and some or all of the replicas through a single
client resource, type the following variables and values, each on a separate
line:
NSR_PS_SINGLE_SAVE_PER_SAVESET=yes
NSR_PS_FIRST_SAVESET_SAVE=APPLICATIONS:\Microsoft DPM\DPM
database
NSR_SNAP_TYPE=vss

Configuring a DPM Client resource 301


Microsoft Data Protection Manager Backup and Recovery

• To back up only the DPM replicas through a single client resource, type the
following variables and values, each on a separate line:
NSRSNAP_VSS_SAVE=vss
NSR_PS_SINGLE_SAVE_PER_SAVESET=yes
NSR_DPM_RETRY_WAIT=5
NSR_DPM_RETRY_MAXIMUM=3

Note: The NSR_DPM_RETRY_WAIT and the NSR_DPM_RETRY_MAXIMUM


variables do not need to be specified if the default values are acceptable. The default is
10 minutes between attempts and three total attempts.

“DPM application information variable settings” on page 299 provides


information about these variables and their values.
15. If a proxy client is being set up for the NMM, type the following in application
information field:
NSR_DATA_MOVER=<proxy host name>
16. Click the Globals (1 of 2) tab.
17. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

18. Click OK.

Performing DPM Server recovery


When the files are backed up, administrators can the perform the following types of
recovery:
◆ “Performing a granular recovery of DPM objects” on page 304
◆ “DPM disaster recovery” on page 309

302 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
14
Microsoft Data
Protection Manager
Granular and Disaster
Recovery

This chapter includes the following topics:


◆ Performing a granular recovery of DPM objects.................................................... 304
◆ Performing a granular directed recovery to a DPM-protected server ................ 307
◆ DPM disaster recovery ............................................................................................... 309

Microsoft Data Protection Manager Granular and Disaster Recovery 303


Microsoft Data Protection Manager Granular and Disaster Recovery

Performing a granular recovery of DPM objects


When NetWorker Module for Microsoft Applications (NMM) backs up a Microsoft
DPM Server, all of the DPM-protected server replicas that are backed up are indexed
to allow granular recovery of individual files in the replica. This granular recovery of
DPM replica files can be completed back to the DPM Server which is being protected,
or to the DPM-protected server. You can browse DPM replicas and select individual
folders or files for recovery. In DPM granular recovery, the DPM Configuration
database is not selectable.
For directed recovery to a DPM-protected server, NMM is installed on the DPM
Server for replica backup and on the DPM-protected server for directed recovery of
individual folders or files. This allows you to run the recovery of files in a
DPM-protected server replica, from the DPM Server, and direct the recovery to the
DPM-protected server computer.

Recovering a folder or file from a DPM replica


“Performing a granular directed recovery to a DPM-protected server” on page 307
provides more information about using directed recovery together with DPM
granular recovery.
To recover a folder or file from a DPM replica:
1. Start the NMM Client program.
2. From the application toolbar, click the NetWorker Server icon to select the
NetWorker server on which the NetWorker client was configured for backup.
3. Right-click the NetWorker server in the navigation tree.
• When running NMM Recovery on a DPM Server, the default recovery mode is
Disaster Recovery.
• When running on a non-DPM Server, the default recovery method is
Granular, and the Disaster Recovery mode is unavailable.
Figure 29 on page 304 displays the DPM Recovery modes available.

Figure 29 DPM recovery modes

4. In the left pane, select Recover.

304 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Data Protection Manager Granular and Disaster

Figure 30 on page 305 displays the Recover submenu.

Figure 30 Recover submenu for DPM Recovery

5. Select DPM Recover Session.


6. Select Granular.
7. In the navigation tree, select the DPM files or folders to be recovered. By default,
the objects displayed in the navigation tree are from the most recent backup.
Figure 31 on page 305 is an example of a DPM Server tree expanded to the file
level.

Figure 31 DPM granular recovery available to file level

To recover objects from a previous backup:


• From the application toolbar, click the Browse calendar icon and select an
earlier browse time.
• To view all versions of a backup object prior to the selected browse time, select
an object in the navigation tree, right-click and select Versions.
8. Click Start Recover to begin the recovery operation.
Figure 32 on page 305 displays the options available for DPM Granular Recovery.

Figure 32 DPM granular recovery options

Performing a granular recovery of DPM objects 305


Microsoft Data Protection Manager Granular and Disaster Recovery

9. In the Recovery path box, specify the folder where the recovered items are to be
placed.
10. Select Display these options when initiating a Recovery to show this dialog box
when Start Recovery is selected. If this checkbox is cleared, options must be
through the Recover Options button on the main NMM screen.
11. Click OK.
12. From the left pane, select Monitor to view the progress of the recovery.
13. In the left pane, select Recover.
14. Select DPM Recover Session.
15. Select Granular.
16. In the navigation tree, select the DPM files or folders to be recovered. By default,
the objects displayed in the navigation tree are from the most recent backup.
To recover objects from a previous backup:
• From the application toolbar, click the Browse calendar icon and select an
earlier browse time.
• To view all versions of a backup object prior to the selected browse time, select
an object in the navigation tree, right-click and select Versions.
17. Click Start Recover to begin the recovery operation.
18. In the Recovery path box, specify the folder where the recovered items are to be
placed.
19. Select Display these options when initiating a Recovery to show this dialog box
when Start Recovery is selected. If this checkbox is cleared, options must be
through the Recover Options button on the main NMM screen.
20. Click OK.
21. From the left pane, select Monitor to view the progress of the recovery.

DPM Recovery Options Summary


This page lists the DPM Recovery and NetWorker Recover Options. This allows you
to review the settings before starting the recovery.
◆ To change the NetWorker and DPM Recover Options, click Recover Options.
◆ You can also access the settings from the DPM Recover Session view. On the
Exchange Recover Session toolbar, click Recover Options.
◆ The NetWorker Recover Options settings are specified on the General,
NetWorker, Security, and DPM tabs.
◆ When the options are okay, click Start Recover to validate the options. If all
option settings are valid, the dialog box closes and recovery starts.
These sections provide more information:
◆ “Performing a granular recovery of DPM objects” on page 304
◆ “Performing a granular directed recovery to a DPM-protected server” on
page 307

306 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Data Protection Manager Granular and Disaster

Performing a granular directed recovery to a DPM-protected server


In the basic NMM backup and recovery process, the backup flows in the following
direction:
1. The NMM client is installed on the computer that will be backed up.
2. That NMM client is configured to work with a specific NetWorker Server on
another computer.
3. Backups are configured on and performed by the NetWorker Server.
4. Recovery is performed through the NMM client UI on the NMM client computer,
and recovered to the same NMM client computer.
A more typical use for DPM backup would be a directed granular recovery. In the
NetWorker backup of DPM, NMM is installed on the DPM Server, to protect:
◆ The DPM Server
◆ The replicas of the DPM-protected servers.

DPM directed granular recovery scenario


The following scenario describes how DPM directed granular recovery would work
with a hypothetical FileServer1 as shown in Figure 33 on page 307.

NetWorker Server:
Provides backup
services for
NetWorker clients
such as NMM

LAN

DPM-protected Directed Recovery:


servers: Microsoft Granular file recoveries
Applications to DPM-protected
servers, directly from
SharePointServer3 FileServer1 NetWorker Server,
through NMM client UI on
the DPM-protected server. DPM Server 2007:
NMM client provides
backup of DPM
SQLServer4 ExchangeServer2
Server and
DPM-protected
server replicas.
GEN-000958

Figure 33 Directed recovery of FileServer1

Performing a granular directed recovery to a DPM-protected server 307


Microsoft Data Protection Manager Granular and Disaster Recovery

Directed recovery in DPM scenario


In this scenario, the FileServer 1data was backed up through the NMM client on the
DPM Server, as part of the backup of DPM replicas. In the directed recovery, an
NMM client installed on FileServer 1 performs the recovery, instead of the NMM
client on the DPM Server:
1. The DPM Server protects a Windows Server Client, FileServer1.
2. The NMM client on the DPM Server backs up the DPM Server, including the
Protected-Client Replicas for the DPM Server, such as FileServer1.
3. The administrator receives a request to recover a file, LostFile, from FileServer1.
4. The administrator checks DPM to see if DPM has the recoverable data.
DPM no longer has the file that needs to be recovered. But because NMM backs
up the file server replica as part of the DPM backup, the file should exist in a
previous NMM backup of DPM.
5. The NMM client is installed on FileServer1.
6. The NMM client on FileServer1 is configured for directed recovery from the DPM
Server:
• Though the file the administrator wants to recover is from FileServer1, and it is
being recovered to FileServer1, the backup was performed through a remote
client on the DPM Server.
• The administrator must make the NMM client on the DPM Server available
for recovery through the NMM client on FileServer1.
7. In the NMM client on FileServer1 the administrator adds the DPM Server as an
available client.
8. Once DPM Server is an available client, the administrator can:
a. Select items for recovery from the remote client, and the DPM Server.
b. Recover the items to the local client, FileServer1.

Performing a granular directed recovery


To perform a granular directed recovery of a DPM-protected client:

Note: The backup must be a conventional backup, or a rolled over snapshot type backup.

1. Install NMM on the DPM-protected client, if it is not already installed. The NMM
client on the DPM Server, and the NMM client on the DPM-protected client must
be on the same NetWorker Server.
2. Open the NMM client on the DPM-protected client.
3. On the Options menu, click Configure Options.
4. Click the Refresh button, which is to the right of the Client name.
5. Click the client you want to add in the Available clients on list box, and then
click Add. Add or remove clients as needed.
6. Click OK.
7. Click the Client list box, and select the DPM Server NMM client that created the
backup as the current local client.

308 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Data Protection Manager Granular and Disaster

8. If the Snapshot Management or Monitor is the active navigation bar item, and
you are prompted with the Navigate Away dialog box, click Yes.
9. On the System Recover Sessions bar, select Recover Options. The NetWorker
System Recover Session Options dialog box appears.
10. On the NetWorker tab, specify the destination for the recovery in the Relocate
Recovered Data box, and then click OK.
11. In the left pane, select Recover. Select DPM Recover Session and then, select
Granular.
12. In the navigation tree, select the DPM files or folders to be recovered. By default,
the objects displayed in the navigation tree are from the most recent backup.
To recover objects from a previous backup:
• From the application toolbar, click the Browse calendar icon and select an
earlier browse time.
• To view all versions of a backup object prior to the selected browse time, select
an object in the navigation tree, right-click and select Versions.
13. Click Start Recover to begin the recovery operation.
14. In the Recovery path box, specify the folder where the recovered items are to be
placed.
15. Select Display these options when initiating a Recovery to show this dialog box
when Start Recovery is selected. If this checkbox is cleared, options must be
through the Recover Options button on the main NMM screen.
16. Click OK.
17. From the left pane, select Monitor to view the progress of the recovery.

DPM disaster recovery


In DPM disaster recovery, NMM allows the DPM database and replicas to be
selectable in the file view pane of NMM. Selecting replicas will select all missing
replicas, since they are not selectable individually.
Figure 34 on page 309 displays the DPM database and replicas in the file view pane.

Figure 34 DPM database and replicas available as selectable items

Note: Disaster recovery mode is not available when doing a directed recovery to a NetWorker
client other than the DPM Server which was originally backed up. When a remote client is
selected, this mode will be displayed as unavailable on the contextual menu.

You can browse DPM replicas and select individual folders or files for recovery. In
DPM granular recovery, the DPM configuration database is not selectable.

DPM disaster recovery 309


Microsoft Data Protection Manager Granular and Disaster Recovery

In DPM granular recovery, NMM directed recovery is available. “Performing a


directed recovery” on page 93 provides more information about NMM directed
recovery.
To recover a folder or file from a DPM replica:
1. Start the NMM Client program.
2. From the application toolbar, click the NetWorker Server icon to select the
NetWorker server on which the NetWorker client was configured for backup.
3. Right-click the NetWorker server in the navigation pane:
• When running NMM Recovery on a DPM Server, the default recovery mode is
Disaster Recovery.
• When running on a non-DPM Server, the default recovery method is
Granular, and the Disaster Recovery mode is unavailable.
Figure 35 on page 310 displays the DPM Recovery modes available.

Figure 35 DPM recovery modes

4. In the left pane, select Recover.


Figure 36 on page 310 displays the Recover submenu.

Figure 36 Recover submenu for DPM recovery

5. Select DPM Recover Session.


6. In the navigation tree, select the DPM replicas or databases to be recovered. By
default, the objects displayed in the navigation tree are from the most recent
backup.
To recover objects from a previous backup:
• From the application toolbar, click the Browse calendar icon and select an
earlier browse time.
• To view all versions of a backup object prior to the selected browse time, select
an object in the navigation tree, right-click and select Versions.

310 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Data Protection Manager Granular and Disaster

7. Select Disaster.
8. Click Start Recover to begin the recovery operation.
Figure 37 on page 311 displays the options available for DPM disaster recovery.

Figure 37 DPM disaster recovery options

9. In the Recovery path box, specify the folder where the recovered databases are to
be placed.
10. Select Run DPM synchronization utilities for NMM to automatically run the
DPM sync commands after recovery.
11. Select Allocate non-custom volumes for replicas to specify for recovery to run
the dpmsync.exe to allocate disk volumes for any missing replicas prior to replica
recovery.

Note: This option does not apply to replicas created using "custom volumes." Custom
DPM volumes must be created manually. The Microsoft DPM documentation provides
more information regarding custom volumes.

12. Select Initiate consistency checks on recovered replicas to specify for recovery to
initiate consistency checks on replicas following their recovery.
13. Select Display these options when initiating a Recovery to show this dialog box
when “Start Recovery” is selected. If this checkbox is cleared, options must be
through the Recover Options button on the main NMM screen.
14. Click OK.
15. From the left pane, select Monitor to view the progress of the recovery.

DPM disaster recovery 311


Microsoft Data Protection Manager Granular and Disaster Recovery

312 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
15
Microsoft Hyper-V
Backup and Recovery

This chapter includes the following topics:


◆ Hyper-V backup and recovery.................................................................................. 314
◆ Performing Hyper-V backups ................................................................................... 325
◆ Configuring a Hyper-V Client resource .................................................................. 327
◆ Restrictions for backup and recover of Hyper-V virtual machines in a Windows
2008 Failover Cluster .................................................................................................. 329
◆ Performing Hyper-V recovery .................................................................................. 330
◆ Performing Hyper-V parent partition disaster recovery....................................... 334

Microsoft Hyper-V Backup and Recovery 313


Microsoft Hyper-V Backup and Recovery

Hyper-V backup and recovery


NetWorker Module for Microsoft Applications (NMM) provides full backup and
recovery of Windows Server 2008 with Hyper-V and Windows Server 2008, Server
Core Installation, with Hyper-V.
Hyper-V is a Windows Server 2008 role that provides hypervisor-based server
virtualization. NMM utilizes the Hyper-V VSS writer to back up and recover the
following:
◆ Hyper-V Initial Store configuration file
◆ Each virtual machine, or child partition
Chapter 2, “Configuring a Scheduled Backup,”supplements the overall NetWorker
Module for Microsoft Application backup and recovery procedures with the specific
details needed to back up and recover Hyper-V.
This section provides the following information:
◆ “Hyper-V version requirements” on page 314
◆ “Operating system versions supported by NMM client” on page 315
◆ “Latest Hyper-V updates requirements” on page 315
◆ “Hyper-V parent partition backup and recovery types” on page 315
◆ “Hyper-V parent partitions, child partitions, and applications within child
partitions” on page 316
◆ “Hyper-V storage and backup options supported by NMM” on page 318
◆ “Backup roadmap for Hyper-V” on page 320
◆ “Best practices for Hyper-V parent partition backup and recovery” on page 321
◆ “Best practices for Hyper-V child partition applications backup and recovery” on
page 322
◆ “Components used by NMM for Hyper-V backup and recovery” on page 323
◆ “Specifying Hyper-V save sets for application data” on page 323
◆ “Hyper-V application information variable settings” on page 325

Hyper-V version requirements


NMM supports:
◆ Microsoft release-to-manufacturing (RTM) release of Hyper-V, which is available
only for the x64 edition of Windows Server 2008 RTM.
The initial Windows Server 2008 RTM provided a beta or release candidate (RC)
version of Hyper-V. If you are using one of these pre-RTM versions of Hyper-V,
or did not order Hyper-V with your Windows Server 2008 RTM license, you must
download the Hyper-V RTM update from Microsoft.
◆ Windows Server 2008 Service Pack 2 and its updates.

314 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

Operating system versions supported by NMM client


The NMM client supports Hyper-V parent partitions running Windows Server 2008
installations on 64-bit, virtualization aware, CPUs:
◆ For parent partitions, NMM also supports Windows Server 2008 with the Server
Core installation.
◆ When NMM is running in the Hyper-V parent partition, NMM can back up
virtual machines that are running the following guest operating systems:
• Windows Server 2008 (x86 and x64)
• Windows Server 2003 R2 (x86 and x64) SP2
• Windows Server 2003 (x86 and x64) SP2
• Windows Vista (x86 and x64) SP1
• Windows XP (x86) SP3
• SUSE Linux Enterprise Server 10 with SP1 x86 Edition
◆ The NMM client is also supported in Hyper-V child partitions (guests). NMM
supports the same Windows Server operating systems and applications that are
supported on physical servers.

Latest Hyper-V updates requirements


Prior to using NMM 2.2 to protect Hyper-V virtual machines, make sure you have the
latest updates and hotfixes from Microsoft installed. There are several hotfixes for
known Hyper-V issues, and NMM may not function properly if the fixes have not
been installed.
The EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Release Notes
provides the list of Hyper-V hotfixes required for NMM 2.2 SP1.
Ensure that the version of Integration Components running inside the virtual
machine is the same as the version of Hyper-V on the host. For Hyper-V RTM, it is
6.0.6001.18016.
To confirm this, in the Device Manager inside the guest virtual machine:
1. Under System Devices in Device Manager, right-click the entry Hyper-V
Volume Shadow Copy and then select Properties.
2. Check the version under the Driver tab. If the version does not match, insert the
integration services disk by choosing the option under the Action menu in the
virtual machine console.
3. Install the integration components and reboot the virtual machine.

Hyper-V parent partition backup and recovery types


NMM provides these backup features:
◆ Backup types:
• Backup of Hyper-V server, child partitions, and applications within each child
partition
• Backup level: Full
◆ Backup granularity:

Hyper-V backup and recovery 315


Microsoft Hyper-V Backup and Recovery

• Hyper-V backup on parent partition. All or each of the following:


– Hyper-V virtual machine child partitions
– Hyper-V Initial Store configuration file
NMM client provides these recovery features
◆ Recovery types:
• Conventional
• Restore from snapshot
• Directed Recovery:
– To the original machine
– To a different machine or location
– To a different Hyper-V server
• Disaster Recovery
◆ Recovery level:
• Full
• Hyper-V server (parent partition)
• Hyper-V role
• Hyper-V child partitions
• Individual Hyper-V child partitions

Hyper-V parent partitions, child partitions, and applications within child partitions
Hyper-V requires a parent partition that is running Windows Server 2008 to host the
child partitions.
Each child partition is usually a server operating system running applications, such
as:
◆ Microsoft Exchange Server
◆ Microsoft Office SharePoint Server
◆ Microsoft SQL Server
◆ Microsoft Data Protection Manager
Hyper-V runs as a role in Windows Server 2008. NMM uses the Microsoft Hyper-V
VSS writer on the host to back up and recover Hyper-V through APPLICATION save
sets. The Hyper-V writer backs up and recovers Hyper-V configuration and virtual
machine files.

316 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

Figure 38 on page 317 illustrates a physical server running Windows Server 2008. The
Hyper-V role has been enabled on the server, and four virtual machines have been
created, each running a separate operating system and different Microsoft
applications.

Hyper-V virtual machines with child partition


operating systems and applications

Physical server with Configure Client resources within


Windows Server 2008 Virtual Machine VS-1 each child partitions to back up
host operating system Windows Server 2008 x64 applications, volumes, and
and Hyper-V role Microsoft Exchange Server 2007 system components on the
child partition

Virtual Machine VS-2


Windows Server 2003
Microsoft Office SharePoint Server 2003

Virtual Machine VS-3


Windows Server 2003
Microsoft Data Protection Manager

Virtual Machine VS-4


Windows Server 2003
Microsoft SQL Server

Hyper-V configuration file

Configure Client resources Configure Client resources on parent partition to


on parent partition to back back up Hyper-V child partitions and Hyper-V
up parent partition volumes configuration file
and system components GEN-000959

Figure 38 Windows Server 2008 host with Hyper-V virtual machine child partitions

For complete data protection, configure NetWorker Client resources for each of the
following:
◆ The Hyper-V server, or parent partition: system components, volumes, and
applications
◆ Hyper-V virtual machine child partitions and configuration information on the
Hyper-V server
◆ The applications within each child partition

Hyper-V backup and recovery 317


Microsoft Hyper-V Backup and Recovery

Hyper-V storage and backup options supported by NMM


There are a wide variety of storage configurations available for Hyper-V child
partitions, such as passthrough disks, direct-attached storage (DAS), Storage Area
Networks (SAN), and File Servers.
The Microsoft website provides more details and the most up-to-date information
about storage hardware supported by Hyper-V.
Figure 39 on page 318 illustrates Hyper-V storage options. Table 47 on page 318 lists
the corresponding configuration types by type of storage and connection. The EMC
Information Protection Software Compatibility Guide provides the most up-to-date
information about what software and hardware providers are supported for Hyper-V
backup and recovery in NMM.

Hyper-V Server

Parent Partition Child Partition


DAS

Configuration 1
Disk1-> X: X:\V1\V1.VHD VHD1 -> C:
-> VHD1

passthrough Configuration 2
Disk 2 Disk 2 -> D:

SAN

FC or iSCSI
Configuration 3
LUN1 LUN 1 -> Y: Y:\V2\V2.VHD VHD2 -> E:
-> VHD2

FC or iSCSI
passthrough Configuration 4
LUN2 LUN 2 LUN2 -> F:

iSCSI
Configuration 5
LUN3 LUN 3 -> G:

CIFS/SMB/
SMBv2
S: \\FS\SHARE1 Configuration 6
SHARE1 \\FS\SHARE1\V3\V3.VHD VHD3 -> H:
-> VHD3
File Server
GEN-000962

Figure 39 Hyper-V storage options

Table 47 on page 318 lists the Hyper-V child partition configurations.

Table 47 Hyper-V child partition configurations

Configuration Type

1 VHD1 on DAS

2 DAS passthrough

3 VHD2 on LUN

4 LUN passthrough

5 iSCSI target attached within child partition

6 VHD3 on File Server

318 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

NMM supports Hyper-V snapshots of the child partitions and the parent partition
with the Microsoft Software VSS Provider or VSS Hardware Providers, depending on
the hardware storage type and partition type.
The following list describes how these configuration types are supported in NMM:
◆ Snapshot support:
• Child partition — NMM is running within the child partition to perform the
backup. The following storage configurations are supported for this
environment:
– If using the Microsoft Software VSS Provider, all configurations listed in
Table 47 on page 318 are supported.
– If using a VSS Hardware Provider, configuration 5 (LUN exposed directly
to child partition) is supported. Currently this support includes the EMC
VSS Hardware Provider with EMC CLARiiON storage. The EMC
Information Protection Software Compatibility Guide provides the latest
support information.
• Parent partition — NMM is run in the parent to perform the backup. The
following storage configurations are supported for this environment:
– If using the Microsoft Software VSS Provider, configuration 1 (VHD1) and
configuration 3 (VHD2) are supported.
– If using a VSS Hardware Provider, configuration 3 (VHD2) is supported.
Currently this support includes the EMC VSS Hardware Provider with
EMC CLARiiON storage. The EMC Information Protection Software
Compatibility Guide provides the latest support information.

Note: When performing child partition backups while executing on the parent
partition, the Microsoft Hyper-V Writer does not include the passthrough or
child-attached iSCSI drives for a virtual machine. As such, configurations 2, 4, and 5
are not supported by the Hyper-V Writer. Configuration 6 is not supported
because the VSS framework does not support network shares.

◆ Cluster support: In addition to the supported configurations listed for snapshots,


parent and child cluster scenarios support the following storage configurations:
• Child partition clustering — NMM is running within the child partition to
perform the backup:
– For drives configured as failover resources, configuration 5 (LUN exposed
directly to child partition) is supported as this is the only configuration
Microsoft currently supports for Windows Server 2008 Failover Clustering.
– For drives configured for operating system or local drives for the cluster
nodes, the child partition support listed under Snapshot support applies.
• Parent partition clustering — NMM is run in the parent to perform the
backup:
– All configurations are supported.

Hyper-V backup and recovery 319


Microsoft Hyper-V Backup and Recovery

Backup roadmap for Hyper-V


Table 48 on page 320 describes the backup tasks for the Hyper-V parent and child
partitions.

Table 48 Backup tasks for Hyper-V

Hyper-V parent partition Tasks

On the parent partition Complete tasks 1 through 7 :


Windows volumes: 1. “Configure a backup pool for snapshot operations” on page 53
• Volume data such as a drive letter, for example, D:\. 2. “Configure snapshot policies” on page 56
• A file system path, such as D:\ data. 3. “Configure a backup schedule” on page 58
Windows system components, such as: 4. “Configure a backup group” on page 59
• The registration database 5. “Configure a Client resource” on page 60
• Windows Cluster, and so on 6. “Configure privileges” on page 65
• Other Window system components, as listed inTable 2 on page 34. 7. “Configure a proxy client” on page 66

On the parent partition Complete tasks 1 through 7 :


The Hyper-V role can coexist with other applications, such as: 1. “Configure a backup pool for snapshot operations” on page 53
• Microsoft SQL Server 2. “Configure snapshot policies” on page 56
• Microsoft Office SharePoint Server 3. “Configure a backup schedule” on page 58
• Microsoft Exchange Server 4. “Configure a backup group” on page 59
• Microsoft System Center Data Protection Manager (DPM) 5. “Configure a Client resource” on page 60
• Microsoft Windows Server Cluster 6. “Configure privileges” on page 65
“NMM features” on page 22 lists the specific versions supported for each of 7. “Configure a proxy client” on page 66
these applications. Configure application backups with the specific instructions for the
application in:
• “Performing SQL Server backups” on page 119
• “Performing SharePoint 2003 backups” on page 171
• “Performing SharePoint 2007 backups” on page 199
• “Performing Exchange Server backups” on page 254
• “Performing DPM Server backups” on page 299
• “Performing Windows Server Cluster backups” on page 142

Hyper-V on parent partition Complete tasks 1 through 4 :


Hyper-V virtual machines and Initial Store configuration file 1. “Configure a backup pool for snapshot operations” on page 53
2. “Configure snapshot policies” on page 56
3. “Configure a backup schedule” on page 58
4. “Configure a backup group” on page 59
Review the information in:
• “Best practices for Hyper-V parent partition backup and recovery”
on page 321
• “NMM Hyper-V commands” on page 323
Complete the tasks in “Configuring a Hyper-V Client resource” on
page 327

Hyper-V child partition applications Configure application backups with the specific instructions for the
Application data, such as: application in:
• Microsoft SQL Server • “Performing SQL Server backups” on page 119
• Microsoft Office SharePoint Server • “Performing SharePoint 2003 backups” on page 171
• Microsoft Exchange Server • “Performing SharePoint 2007 backups” on page 199
• Microsoft System Center Data Protection Manager (DPM) • “Performing Exchange Server backups” on page 254
• Microsoft Hyper-V • “Performing DPM Server backups” on page 299
• Microsoft Windows Server Cluster • “Performing Hyper-V backups” on page 325
“NMM features” on page 22 lists the specific versions supported for each of • “Performing Windows Server Cluster backups” on page 142
these applications.

320 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

Best practices for Hyper-V parent partition backup and recovery


This type of backup uses the Hyper-V writer on the parent partition:
◆ To get the most benefit from the Hyper-V role, create separate child partitions for
each application, so that the only application-type backup and recovery
performed at the host level is for Hyper-V.
◆ After disaster recovery of the parent partition, you may need to recover
applications within each child partition if you are doing separate child partition
backups, and those backups are more recent than the complete parent partition
backups. “Performing Hyper-V parent partition disaster recovery” on page 334
provides a complete list of these tasks.
◆ Best use for this type of backup is bare metal recover of a guest and for recovery
of operating system roles.
◆ Best practice for Initial Store backup is to back up when Hyper-V configuration
changes are made. Initial Store does not need to be backed up each time a virtual
machine guest is backed up.
◆ The Hyper-V writer does not support backup of the configuration file Initial Store
to a proxy client.
◆ The primary purpose for restoring Initial Store in NMM is for disaster recovery of
the Hyper-V server.
◆ Back up Data Protection Manager, Exchange, Microsoft SQL Server, or Microsoft
SharePoint applications from within the child partition.
The Hyper-V backup is not recommended as the method to back up applications
on a child partition. In Hyper-V backup:
• The child partition copy backup method is used.
• There is no child partition log management. For example, Exchange logs are
not truncated.
◆ Roll-forward recovery is not available for virtual machine/child partition level
disaster scenarios. From a parent partition, a roll-forward recovery of a child
partition is not possible. Recoveries from a parent partition are point-in-time
(disaster recovery).
◆ Child partition pass-through disks are skipped during Hyper-V parent partition
backup.
◆ Basic disks are supported only within child partitions.

Note: Backup of dynamic disks within child partitions is not supported. The guest
snapshot is mounted during the Hyper-V backup process, and this changes the disk
signature on dynamic disks in a guest.

◆ Any VSS Hardware or Software Provider can be used. The Hardware Provider
must support Windows 2008 extensions for AutoRecoverable snapshots.
◆ Windows Server 2008 Failover Clustering is supported—allows you to configure
failover of virtual machines.
◆ EMC Storage connected to Fibre Channel or iSCSI storage can be used in the
parent to host virtual machines.

Hyper-V backup and recovery 321


Microsoft Hyper-V Backup and Recovery

◆ Do not take a Hyper-V VSS parent partition snapshot of Hyper-V child partitions
that are part of a SharePoint farm.
To back up SharePoint on the Hyper-V child partition:
a. Install the NMM client on the child partition.
b. Perform the Share Point backup locally from within the child partition.
The Microsoft website provides recommendations and requirements about using
SharePoint and Hyper-V together.

Best practices for Hyper-V child partition applications backup and recovery
This type of backup and recovery is performed within the child partition, and uses
application and system components writers available on that child partition:
◆ The Microsoft Exchange team recommends using backups within the child
partition as the preferred method for Exchange backup and recovery.
◆ NMM supports roll-forward recovery for Microsoft Exchange, when Exchange is
backed up within the child partition.
◆ Within child partitions, standard application backup and recovery rules and
capabilities apply, including roll-forward recoveries.
◆ VSS Hardware Providers for iSCSI storage are supported for iSCSI disks that are
native within the child partition.
◆ VSS Hardware Providers for Fibre Channel storage are supported when the
Hardware Provider can support hardware snapshots without Custom
ControlDataBlock (CDB):
• CLARiiON arrays are supported because they do not require custom CDB.
• Symmetrix/DMX arrays are not supported because they require custom CDB.
• For VSS Hardware Provider, a transportable snapshot must be created, and
the proxy node must be a physical machine.
• The proxy cannot be the host machine, and it must match the operating
system version of the child partition. This requirement is independent of
Hyper-V.
◆ Child partition pass-through disks are skipped in Hyper-V parent partition
backup; child partition pass-through disks are supported by backups within the
child partition.
◆ Windows Server 2008 Failover Clustering with iSCSI storage is supported.
◆ Child partition Windows Server 2008 Failover Clustering with Fibre Channel
storage is not supported because SCSI-3 is not supported in Hyper-V child
partitions.
◆ Windows Server 2003 Clustering is supported, but at the time of this NMM 2.2
SP1 release, Microsoft has not issued a support statement for it.

Restrictions on relocating and restoring to other locations


Hyper-V has several restrictions on relocating and restoring to other locations:
◆ Directed recover or relocated recover of Hyper-V objects on a Hyper-V Server
Cluster is not supported.
◆ Restoring Hyper-V virtual machines to non-Hyper-V Servers is not supported.
◆ Relocation recover of Initial Store is not supported.

322 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

◆ Relocation or redirection of NMM Hyper-V backups taken before a NMM 2.2 SP1
upgrade is not supported.
◆ When a virtual machine is redirect recovered to a second Hyper-V Server, the
user must update the Network Adapter settings of the virtual machine with the
Hyper-V Manager before starting the virtual machine.

Components used by NMM for Hyper-V backup and recovery


Table 49 on page 323 describes commands NMM uses to back up and recover
Hyper-V data. .

Table 49 NMM Hyper-V commands

Item Description

Application writer There is one VSS writer for Hyper-V, “Microsoft Hyper-V."

nsrsnap_vss_save NMM command that initiates the VSS-based backup.

nsrsnap_vss_recover NMM command that initiates the VSS-based recovery.

Specifying Hyper-V save sets for application data


Figure 40 on page 323 describes what the NMM client backs up in Hyper-V, using the
Microsoft Hyper-V VSS writer and NMM save sets.

“APPLICATIONS:\Microsoft Hyper-V”
Save set backs up Hyper-V components, which includes
each virtual machine and the Hyper-V configuration file
Parent Partition:
Windows Server 2008 “APPLICATIONS:\Microsoft Hyper-V\VS-1”
Save set to back up virtual machine “VS-1”
OS with Hyper-V Role

VS-1
Virtual Machine
Child Partition

“APPLICATIONS:\Microsoft Hyper-V\VS-2”
Save set to back up virtual machine “VS-2”

VS-2
Virtual Machine
Child Partition

“APPLICATIONS:\Microsoft Hyper-V\Initial Store”


Save set to back up configuration file “Initial Store”

Hyper-V Configuration File

GEN-000960

Figure 40 NMM backup of Hyper-V components

Hyper-V backup and recovery 323


Microsoft Hyper-V Backup and Recovery

Table 50 on page 324 lists the Hyper-V save set syntax to specify for supported types
of Hyper-V backup. Specify Hyper-V data save sets in the Save Set attribute of a
Client resource.

Table 50 Hyper-V save set syntax

Type of backup data Save set syntax

Hyper-V Manager APPLICATIONS:\Microsoft Hyper-V


The entire Hyper-V configuration: the Hyper-V configuration file, and each virtual
machine Note: The Hyper-V writer does not support offline backup of the
configuration file. The ”APPLICATIONS:\Microsoft
Hyper-V“ save set cannot be used in a proxy backup group.

Hyper-V configuration file, also known as “Initial Store.” APPLICATIONS:\Microsoft Hyper-V\Initial


There is one configuration file in the Hyper-V Manager installation, listing the Store
Hyper-V settings for the host operating system, and the guest operating systems. Note: The Hyper-V writer does not support offline backup of the
configuration file. The ”APPLICATIONS:\Microsoft
Hyper-V\Initial Store save set cannot be used in a
proxy backup group.

Hyper-V virtual machine. There are usually multiple virtual machines on the host APPLICATIONS:\Microsoft
operating system. Hyper-V\virtual_machine_name
Virtual machines can be included in a proxy backup group.

Displaying valid Hyper-V save sets


To display a list of the Hyper-V save sets that are available for backup:
1. Open a command prompt on the Hyper-V server.
2. List the valid application data save set names:
• If the Hyper-V server is not on a cluster virtual host, type:
nsrsnap_vss_save -?
• If the Hyper-V server is on a cluster virtual host, type:
nsrsnap_vss_save -? -c cluster_virtual_server_name

Note: If the application server is on a cluster virtual host, run the command from the
physical node that is currently hosting the application server.

3. Press Enter:
• Each line of output corresponds to a save set entry that you can add to the
Save Set attribute of a Client resource.
• Each entry that you add to the Save Set attribute must be typed on a separate
line.
The following example shows the application data save sets that are available on
a Hyper-V system with two virtual machines, virtual_machine_name_1 and
virtual_machine_name_2:
APPLICATIONS:\Microsoft Hyper-V
APPLICATIONS:\Microsoft Hyper-V\Initial Store
APPLICATIONS:\Microsoft Hyper-V\virtual_machine_name_1
APPLICATIONS:\Microsoft Hyper-V\virtual_machine_name_2

324 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

The list of Microsoft Hyper-V save sets will include the top-level entry for
Microsoft Hyper-V, the configuration file, and all the virtual machines if any
exist.

Hyper-V application information variable settings


Table 51 on page 325 lists the variables that can be specified in the Application
information attribute of the Client resource.

Table 51 Hyper-V application information variable settings

Attribute name Description Values

NSR_SNAP_TYPE=value Specifies the snapshot service vss


provider name. This value is required.

Performing Hyper-V backups


NMM Hyper-V backup provides full backup of Hyper-V virtual machines and
Hyper-V Initial Store configuration file.
The following sections describe how to configure and run a Hyper-V backup.
◆ “Preparing a virtual machine for backup” on page 325
◆ “Hyper-V configuration requirements for backing up a virtual machine that
contains multiple volumes” on page 326
◆ “NMM support for proxy backup of Hyper-V” on page 326
◆ “Configuring Hyper-V backups” on page 327

! IMPORTANT
As part of disaster recovery plan, back up either of the following on the application
hosts:
- The save set All attribute in the save set field of the Client Resource.
- The SYSTEM COMPONENTS:\ save set along with the system volume, for
example C:\.

Preparing a virtual machine for backup


Before NMM can create a backup of a Hyper-V virtual machine, Integration Services
must be installed on the virtual machine. These services provide integration between
the physical server and the virtual machines, such as time synchronization, guest
operating system shutdown messaging, and backup support:
◆ Integration Services can only be installed after the guest operating system has
been installed on the virtual machine.
◆ To install Integration Services, on the virtual machine guest system click the
Action menu, click Insert Integration Services Setup Disk, and then click the .exe
to run setup.
◆ When Windows Server 2008 is installed as the operating system on a guest
system, Integration Services are installed by default.

Performing Hyper-V backups 325


Microsoft Hyper-V Backup and Recovery

Hyper-V configuration requirements for backing up a virtual machine that contains multiple
volumes
When there are multiple virtual hard disks in the guest, backup of the associated
virtual machine from the parent partition may fail because of a Microsoft limitation.
When there are multiple volumes on the guest, VSS determines the shadowstorage
area for the snapshots based on which volume has more space. This can lead to a
condition where volume C’s snapshot and volume D’s snapshot both reside on
volume D since volume D has more space. During the snapshot revert stage in
PostSnapshot, volume C’s snapshot may be lost if volume D’s snapshot is reverted
first.
To prepare a multiple volume guest for backup:
1. Use the vssadmin command to force the shadowstorage of each volume to be on
the same volume:

Note: These commands must be run inside each guest, not the parent physical Hyper-V
Server.

vssadmin Add ShadowStorage /For=C: /On=C:


vssadmin Add ShadowStorage /For=D: /On=D:
2. Repeat as needed for each volume in the virtual machine.

NMM support for proxy backup of Hyper-V


NMM does not support Storage Area Network (SAN) boot configurations, where a
hardware snapshot of the system drive is performed. The Microsoft Hyper-V writer
requires that the configuration component “Initial Store” always reside on the system
partition. This path cannot be changed.
Virtual machine-only save sets can be specified in a proxy backup group:
APPLICATIONS:\Microsoft Hyper-V\virtual_machine_name_1
APPLICATIONS:\Microsoft Hyper-V\virtual_machine_name_2

The Microsoft Hyper-V save set and configuration file (Initial Store) save set cannot
be specified in a proxy backup group:
APPLICATIONS:\Microsoft Hyper-V
APPLICATIONS:\Microsoft Hyper-V\Initial Store

326 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

Configuring Hyper-V backups


To perform Hyper-V backups, complete the tasks outlined in Table 52 on page 327.
The first four tasks for scheduling a backup are the same for all VSS writers
supported by NMM. “Configuring a Hyper-V Client resource” on page 327 is specific
for an Hyper-V Client resource.

Table 52 Tasks for configuring an Exchange Server backup

Backup task Consideration

1. “Configure a backup pool for snapshot operations” No special configuration is required.


on page 53

2. “Configure snapshot policies” on page 56 Hyper-V Virtual Machine snapshots are not related to NMM or NetWorker
snapshots. Hyper-V Virtual Machine snapshots are created, viewed, and
applied to the virtual machine through Hyper-V Manager. When NMM
backs up a Hyper-V virtual machine, the Hyper-V Virtual Machine
snapshots are part of that backup.

3. “Configure a backup schedule” on page 58 No special configuration is required.

4. “Configure a backup group” on page 59 No special configuration is required.

5. “Configuring a Hyper-V Client resource” on This task is specific for configuring a Hyper-V Client resource.
page 327

Note: Hyper-V Virtual Machine snapshots are not related to NMM or NetWorker snapshots.
Hyper-V Virtual Machine snapshots are created, viewed, and applied to the virtual machine
through Hyper-V Manager. When NMM backs up a Hyper-V virtual machine, the Hyper-V
Virtual Machine snapshots are part of that backup.

Configuring a Hyper-V Client resource


A Client resource specifies what to include in a snapshot of a NMM client. Client
resources are associated with other backup resources such as groups and snapshot
policies.

You can create multiple Client resources for the same NMM host. In this way, you
can apply different backup attributes to different types of information on the same
host.

For example, if the NMM host is an Exchange server, you can:

◆ Create one Client resource to back up the Exchange databases.


◆ Create another Client resource to back up Windows system component data.
This allows you to back up Exchange databases many times a day and back up
Windows system component data only once a day.
To create a Hyper-V Client resource:
1. In the Administration page of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the hostname of the NetWorker client computer.

Configuring a Hyper-V Client resource 327


Microsoft Hyper-V Backup and Recovery

5. In the Comment attribute, type a description. If you are creating multiple Client
resources for the same NetWorker client host computer, use this attribute to
differentiate the purpose of each resource.
6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, select a retention policy from the list. The
retention policy determines how long rolled-over data is available though not
necessarily quickly.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute, specify the components to be backed up. Place multiple
entries on separate lines.
• To back up all of Hyper-V—the virtual machines and the configuration file
(Initial Store)—specify:
APPLICATIONS:\Microsoft Hyper-V
• To back up the virtual machines, specify:
APPLICATIONS:\Microsoft Hyper-V\virtual_machine_name_1
APPLICATIONS:\Microsoft Hyper-V\virtual_machine_name_2
• To back up the configuration file (Initial Store), specify:
APPLICATIONS:\Microsoft Hyper-V\Initial Store

Note: The Microsoft Hyper-V save set and configuration file (Initial Store) save set cannot
be specified in a proxy backup group:
APPLICATIONS:\Microsoft Hyper-V
APPLICATIONS:\Microsoft Hyper-V\Initial Store

These section provide more information:


• “Displaying valid Hyper-V save sets” on page 324 describes how to find the
save sets available on the Hyper-V host.
• “Specifying Hyper-V save sets for application data” on page 323 describes the
Hyper-V save set syntax.
10. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: If Client resources for the same NMM host are added to different backup groups,
ensure that the Start Time attribute for each backup group is spaced far enough apart so
that the backups for the host’s Client resources do not overlap.

11. For the Schedule attribute, select a backup schedule.


12. Click the Apps & Modules tab.
13. In the Access area, leave the Remote user and Password fields empty.
14. In the Backup command attribute, type the backup command:
nsrsnap_vss_save.exe

328 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

15. In the Application information attribute:


a. Type the following variable and value:
NSR_SNAP_TYPE=vss
NSR_DATA_MOVER=<proxy_client_name>
b. Type application variable settings and their values on separate lines.
16. If a proxy client is being set up for the NMM client, type the hostname of the
proxy client in the Remote Access attribute.

Note: If the NMM is part of a cluster, type the names of the physical nodes of the cluster in
the Remote Access attribute.

17. Click the Globals (1 of 2) tab.


18. In the Aliases attribute, type the NETBIOS name for the client.

Note: NMM client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

19. Click OK.

Restrictions for backup and recover of Hyper-V virtual machines in a


Windows 2008 Failover Cluster
When a Hyper-V virtual machine resides on a physical machine, which is part of a
Windows 2008 Failover Cluster, you cannot backup or recover the virtual machine as
part of the cluster virtual server.
For example, consider the following Failover Cluster setup:
◆ A cluster, Cluster_Virtual_Name, contains two physical machines,
Physical_Machine_1 and Physical_Machine_2.
◆ Physical_Machine_1 contains two virtual machines, VM1 and VM2.
You want to back up and recover VM1.
If you create a NetWorker Client Resource for:
◆ Cluster_Virtual_Name, backup and recover of VM1 through that Client Resource is
not supported.
◆ Physical_Machine_1, you can specify:
• Backup of the Hyper-V application (APPLICATIONS:\Microsoft Hyper-V).
This includes all virtual machines on the physical machine.
• An individual virtual machine VM1 (APPLICATIONS:\Microsoft
Hyper-V\VM1).
You can recover VM1 from the NW client resource of the physical machine,
Physical_Machine_1. This type of recovery is described in “Hyper-V recovery to the
original machine and location” on page 332.
You can use redirected recover to recover VM1 from the NW client resource of the
physical machine, Physical_Machine_1 to the Physical_Machine_2. This type of
recovery is described in “Performing Hyper-V recovery to a different machine or
location” on page 332.

Restrictions for backup and recover of Hyper-V virtual machines in a Windows 2008 Failover Cluster 329
Microsoft Hyper-V Backup and Recovery

Performing Hyper-V recovery


When the files are backed up, administrators can recover all of the Hyper-V
components, the Initial Store configuration file, or individual virtual machines,
depending on what was specified in the backup save set.
The following sections describe Hyper-V recovery:
◆ “Offline and online recovery” on page 330
◆ “Hosting the recovered virtual systems” on page 330
◆ “Specifying the destination for the Hyper-V configuration files and the
destination for virtual system” on page 331
◆ “Selecting Hyper-V recovery options” on page 331
◆ “Hyper-V recovery to the original machine and location” on page 332
◆ “Performing Hyper-V recovery to a different machine or location” on page 332

Note: When a Hyper-V recovery is performed on Windows Server Core 2008, the recovery is a
directed recovery.

Offline and online recovery


A virtual machine must be offline before recovery can start. If the virtual machine is
online at the time recovery is started, the Hyper-V writer will first turn off the virtual
machine.
Once the virtual machine is offline, the current virtual machine is destroyed, the
recovery version is restored, and the virtual machine is registered.
The Hyper-V writer automatically handles detecting whether the virtual machine is
on-line, and turning it off. There is no action required by the administrator.

Hosting the recovered virtual systems


The Destination Host page allows you to specify the server on which you want to
host the recovered virtual systems.
◆ To recover to the same location as the original:
a. Select Recover (Overwrite) Virtual System to original location.
The Finish button is available and Next button will be unavailable when this
option is selected.
b. Click Finish.
The Finish button validates the server location and displays the Hyper-V
Recovery Options page.

330 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

Specifying the destination for the Hyper-V configuration files and the destination for virtual
system
The Destination Path page allows you to specify the destination for the Hyper-V
configuration files, and the destination for each virtual system.
To change settings on this page:
1. In the Destination for Hyper-V configuration files box, click Browse to change
the destination path.
The Select Virtual System Destination list displays the destinations for each
virtual system VHD.
2. To change a destination, select a virtual system and then click Change
Destination.
The Remote Directory Browser dialog box appears.
3. Click Finish to validate the settings.
If the destinations are valid, the Hyper-V Recovery Options Summary dialog
box appears.

Selecting Hyper-V recovery options


The Recovery Options Summary page lists the Hyper-V Recovery and NetWorker
Recover Options. This allows you to review the settings before starting the recovery.
The Hyper-V Recovery Options page appears when you click Recover in the Hyper-V
Recover Session view or at the end of the Hyper-V Recovery wizard. This page
displays the settings specified in the Destination Host Selection page and Destination
Path page.
To change the Hyper-V recovery options:
◆ If you have reached this page through the Hyper-V Recover Session toolbar:
a. Click Cancel > Advanced Options.
This launches the Hyper-V Recovery Options wizard.
b. In the Hyper-V Recovery Options wizard, click Back.
◆ If you have reached this page through the Hyper-V Recover Session view, click
Advanced Options on the Hyper-V Recover Session toolbar.
To change the NetWorker recover options, either:
◆ Click Recover Options.
Or
◆ In the Hyper-V Recover Session view, click Recover Options on the Hyper-V
Recover Session toolbar.
The NetWorker Recover Options settings are specified on the General, NetWorker,
and Security tabs.
Click Start Recover to validate all pages. If all pages are valid, the wizard closes and
recovery starts.

Performing Hyper-V recovery 331


Microsoft Hyper-V Backup and Recovery

Hyper-V recovery to the original machine and location


To recover Hyper-V components to the original machine and location:
1. Open the NMM software and select the NetWorker Server on which the NMM
software was configured for backup.
If NMM is part of a cluster, select the physical client to which you are recovering
data. The physical client can be selected from the Client list attribute in the
application toolbar.
2. From the left pane, select Recover > Hyper-V Recover Session.
3. From the navigation tree, select the Microsoft Hyper-V writer, or individual
virtual machines under the Microsoft Hyper-V writer.
4. From the Hyper-V Recover Session toolbar, click Recover.
The Hyper-V Recover Session Summary dialog box appears.
5. If all the options look correct, go to step 11 . If you want to change options, go to
step 7 .
6. Click Recover Options.
7. On the General tab, specify the Diagnostic Output Level.
8. On the NetWorker tab specify the Restore Type, and select or clear Terminate
recover of item if errors are encountered.

Note: Restore of Hyper-V components requires a Restore Type of Conventional Restore.

9. On the Security tab, specify pass phrases if any are needed.


10. Click OK to close the Hyper-V Recover Session Options dialog box.
11. Click Start Recover.
NMM validates all pages. If all pages are valid, recovery begins.

Performing Hyper-V recovery to a different machine or location


To recover Hyper-V components to a different machine or location:
1. Open the NMM software and select the NetWorker Server on which the NMM
software was configured for backup.

Note: If NMM is part of a cluster, select the physical client to which you are recovering
data. The physical client can be selected from the Client list attribute in the application
toolbar.

2. From the left pane, select Recover > Hyper-V Recover Session.
3. From the navigation tree, select the Microsoft Hyper-V writer, or individual
virtual machines under the Microsoft Hyper-V writer.
4. From the Hyper-V Recover Session toolbar, click Advanced Recovery. The
Hyper-V Restore Wizard starts and the Destination Host page displays.

332 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

5. Specify the destination host server for the Virtual System recover:
• To recover to the same location as the original:
a. Select Recover (Overwrite) Virtual System to original location.
b. Perform the steps in “To perform validation and start recovery:” on
page 334.
• To recover to a different path on the same Hyper-V server:
a. Select Recover Virtual System to a different path and then click Next. The
Destination Path page displays, and you can specify a destination for each
Virtual System.
b. Click Browse to specify the destination location for the configuration files.
After selecting the destination location for the configuration files, you can
change the destination location for the virtual machine’s virtual disks.
c. To change the destination location for a virtual disk, select the virtual
machine’s virtual disk in the list, and then click Change Destination.
Repeat as needed for each virtual disk destination that you want to change.
d. When you have completed changing destinations, go to “To perform
validation and start recovery:” on page 334.

Note: The destinations provided on this page are Microsoft's default configuration
file locations and may not match your Hyper-V configuration. Change the
destination as needed.

When a directed recovery is attempted to a different path on the same


Hyper-V server, the virtual machine that is recovered is taken offline and the
data is recovered to the alternate location. The virtual machine is then
registered pointing to the data in the new location.
You can remove the Virtual Hard Disk (VHD) files of the original virtual
machine manually after the recovered Hyper-V child components are up and
running.
• To recover to a different Hyper-V server:
a. Click Recover Virtual System to a different Hyper-V server.
b. From the Select Remote Host list click the server you want to recover to.
c. Click Next.
The Destination Path page appears, where you can specify a destination
for each Virtual System.
d. Click Browse to specify the destination location for the configuration files.
After selecting the destination location for the configuration files, you can
change the destination location for the virtual machine’s virtual disks.
e. To change the destination location for a virtual disk, select the virtual
machine’s virtual disk in the list, and then click Change Destination.
Repeat as needed for each virtual disk destination that you want to change.
f. When you have completed changing destinations, go to “To perform
validation and start recovery:” on page 334.

Note: The destinations provided on this page are Microsoft's default configuration
file locations and may not match your Hyper-V configuration. Change the
destination as needed.

Performing Hyper-V recovery 333


Microsoft Hyper-V Backup and Recovery

When a directed recovery is attempted to a different Hyper-V server and the


destination Hyper-V server has an existing virtual machine with the same
name as the one being recovered, then this virtual machine is taken offline and
the data is recovered to the alternate location. The virtual machine being
recovered is then registered pointing to the data in the new location.
You can remove the Virtual Hard Disk (VHD) files of the original virtual
machine present earlier with the same name manually after the recovered
Hyper-V child components are up and running.
To perform validation and start recovery:
1. Click Finish.
NMM performs validation:
• If the validation is not successful, an error message is displayed.
• If the validation is successful, a Summary page is displayed listing the
Hyper-V and NetWorker Recover options specified.
• If you need to change any of the options, click the Recover Options or Back
button.
2. Click Start Recover.
• NMM validates all pages.
• If all pages are valid, recovery begins.

Performing Hyper-V parent partition disaster recovery


Successful disaster recovery starts with good backups at all levels on the Hyper-V
physical server. The frequency of these backups depends on your retention policies,
the frequency that the data on your servers and applications changes, and the type of
application.
Regardless of the frequency of your backups, disaster recovery must proceed in a
specific order starting with the host machine and ending with the application data on
your virtual machine guests.
Figure 41 on page 335 describes the order and types of recovery.

334 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Hyper-V Backup and Recovery

Hyper-V virtual machines with guest


operating systems and applications

Physical server with 4. On each guest, recover the


Virtual Machine VS-1
Windows Server 2008 applications using the recovery
Windows Server 2008 x64
host operating system process appropriate for each
Microsoft Exchange Server 2007
application.

Virtual Machine VS-2


Windows Server 2003
Microsoft Office SharePoint Server 2003

Virtual Machine VS-3


Windows Server 2003
Microsoft Data Protection Manager

Virtual Machine VS-4


Windows Server 2003
Microsoft SQL Server

Hyper-V configuration file

1. On the physical server 3. On the physical server host, recover the


host, recover the host Hyper-V virtual machine guests and
volumes and system Hyper-V configuration file.
components.
2. Re-enable the Hyper-V
role. GEN-000961

Figure 41 Disaster recovery order for a Hyper-V server

Full disaster recovery requires that the following backups are performed ahead of
time on a regular schedule:
◆ Physical host:
• Application data
• Windows volumes
• Windows system components
◆ Hyper-V on host: Hyper-V virtual machines and Initial Store configuration file
◆ Hyper-V in-guest: Application data

! IMPORTANT
Before starting disaster recovery, make sure the target machine is up to date with
the “Hyper-V Update for Windows Server 2008 x64 Edition (KB950050).” This
article and download is available from the Microsoft Download Center. If this
update is not installed prior to recovery, the system will not come back after
recovery of SYSTEM COMPONENTS.

Performing Hyper-V parent partition disaster recovery 335


Microsoft Hyper-V Backup and Recovery

To perform a Hyper-V host disaster recovery:


1. Review best practices:
• “Best practices for Hyper-V parent partition backup and recovery” on
page 321
• “Best practices for Hyper-V child partition applications backup and recovery”
on page 322
2. Recover/restore the physical host which was backed up by NMM. “Performing
disaster recovery” on page 97 provides more information about recovering the
NMM client.
3. Re-enable the Hyper-V role on the host. Consult Microsoft documentation for
information about enabling the Hyper-V role on Windows Server 2008.
4. On the host, perform a recovery of Hyper-V as described in “Performing Hyper-V
recovery” on page 330.
5. From within each guest, perform a recovery of each application, using the
appropriate procedure for the application. “Performing a recovery” on page 76
provides more information about recovering applications, including links to
specific recovery steps for each application.

336 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
16
Microsoft Active
Directory Backup and
Recovery

This chapter includes the following topics:


◆ Active Directory backup and recovery .................................................................... 338
◆ Performing an Active Directory or ADAM backup............................................... 338
◆ Performing a granular Active Directory or ADAM backup ................................. 339
◆ Recovering all Active Directory data ....................................................................... 348
◆ Performing a granular recovery of Active Directory objects and attributes ...... 349
◆ Performing Active Directory disaster recovery...................................................... 353

Microsoft Active Directory Backup and Recovery 337


Microsoft Active Directory Backup and Recovery

Active Directory backup and recovery


Chapter 2, “Configuring a Scheduled Backup,”provides information on NetWorker
Module for Microsoft Applications (NMM) backup procedures.
Chapter 3, “System Backup and Recovery,”and recovery procedures with the specific
details needed to back up and recover Active Directory, Active Directory Application
Mode (ADAM), and Active Directory Lightweight Directory Services (AD LDS).

Note: In Windows Server 2008, AD LDS includes the ADAM functionality provided in
Windows Server 2003. Unless otherwise noted, assume that all references to ADAM in this
chapter also apply to AD LDS.

Types of supported backup and recovery


NMM supports the following types of backup:
◆ Active Directory Backup for Disaster Recovery:
• Backup of entire Active Directory database
• Utilizes Volume Shadow Copy (VSS) framework to create snapshot of Active
Directory data
• Backup Level: Full only
◆ Active Directory Granular Backup:
• Traditional/non-VSS backup of individual Active Directory objects and object
attributes
• Backup Levels: Full and Incremental
NMM supports the following types of recovery:
◆ Active Directory Recovery for Disaster Recovery:
• Recovery of entire Active Directory database
• Authoritative or Nonauthoritative Recovery Modes
◆ Active Directory Granular Recovery: Recovery of individual Active Directory
objects or attributes, including objects that are in the tombstone database.

Performing an Active Directory or ADAM backup


Performing an Active Directory backup enables the recovery of the entire Active
Directory database in the event of a catastrophic loss such as a hardware failure.
Active Directory data that is protected for a disaster is recoverable on an “all or
nothing” basis. You cannot choose individual objects for recovery, instead you must
recover the entire Active Directory database in one recovery operation.
Chapter 2, “Configuring a Scheduled Backup”provides information on how to enable
the recovery of Active Directory or ADAM data, create a snapshot-based scheduled
backup.

338 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Active Directory Backup and Recovery

When specifying save sets for the scheduled backup, follow these guidelines:
◆ Active Directory is backed up by normal system save operations. It is backed up
as part of SYSTEM COMPONENTS, as part of standard Windows Server
backups.

Note: Microsoft best practices also recommends that a backup Active Directory server be
set up so that it can be promoted to the primary Active Directory server, in the event of a
disaster.

◆ For an ADAM Client resource, specify the save set as:


APPLICATIONS:\ADAM <instance_name> Writer
where <instance_name> is the name of the ADAM instance.

Planning backups for disaster recovery


Prior to disaster recovery, use NMM to perform regular backups of volumes, System
Components, and application save sets.
The following save sets should be backed up regularly:
1. Back up the following with the snapshot policy “all.”
C:\
SYSTEM COMPONENTS:\
The backup of C:\ automatically includes the following:
• Windows Boot Volume
• Windows System Volume
• Application software

Note: If the system has been set up with a separate file system for the Windows
boot\system partition and separate file system for application installation, then along with
C:\ drive, back up the file system that includes the Windows Boot Volume, Windows
System Volume, and application software.

2. Back up the domain controller on the Active Directory machine.

Performing a granular Active Directory or ADAM backup


A granular, or traditional non-VSS, Active Directory backup enables you to recover
individual objects and object attributes. A granular Active Directory Application
Mode (ADAM) backup enables you to recover individual application partitions.

! IMPORTANT
Granular recovery should only be performed as a supplement to the full Active
Directory database backup described in “Types of supported backup and
recovery” on page 338. A disaster recovery plan requires regular full Active
Directory database backups.

A granular backup does not use snapshot technology. Instead, the backup is routed
directly to a granular backup medium.

Performing a granular Active Directory or ADAM backup 339


Microsoft Active Directory Backup and Recovery

Considerations for granular backup


The following are general guidelines to consider before performing a granular Active
Directory backup:
◆ System-only attributes are not backed up with Active Directory objects, and
cannot be restored. System-only attribute values should not be changed.
◆ Changing the system date and time to an older date in the domain controller is
not recommended. Each item in Active Directory is marked by time. Active
Directory uses time to resolve any data conflicts. Restore of a deleted object with
the NMM client will fail if the date and time are changed after objects are backed
up. If a change in the system date or time is necessary, immediately take a backup
of the domain.
◆ The Group Policy object exists in two places: as an Active Directory object in the
Group Policy Container and in the Windows registry. Many of the settings that
can be edited from the Group Policy Management Console actually reside in the
system registry and not in Active Directory. Therefore, if these values are
changed after a backup, a recovery will not restore the attribute values and the
system values will take precedence.
◆ A restored user account is automatically set to disabled and the pwdLastSet
attribute is not recovered for security. A new password must be set after a user
account is restored.
◆ A change to a user object’s memberOf attribute is reflected for the target and not
the user’s properties. For example, if a user is added to the Guests group, the
Guests group object is modified, not the user object. If an incremental backup is
performed, the Guests object should be included in the backup and not the user
object.
◆ The rootDSE object is dynamic when created. ADAM lists the connection and the
primary registered partition. When a bind is requested on the rootDSE object,
ADAM returns the value of the default Naming Context. On a domain controller,
this is always the Domain Naming Context. Since the domain is visible in ADAM,
do not backup the domain using port 50000. Use the standard LDAP port 389.
◆ Do not modify the msNPAllowDialin attribute directly in Windows Server 2003,
SP1. Use the RAS administration function to modify the value. The Active
Directory Users and Computers (ADUC) MMC snap-in uses the RAS API to
modify this attribute and correctly modifies the userParameters attribute as well.
If the RAS API is not used, the userParameters attribute is not modified with the
msNPAllowDialin attribute and the configuration will be incomplete.
◆ Many configuration settings are stored in Active Directory, but LDAP cannot
always be used to write data directly. Also, some items stored in Active Directory
are only copies. Use the appropriate interfaces or APIs to modify settings.

340 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Active Directory Backup and Recovery

Configuring Active Directory or ADAM granular backups


The tasks involved in configuring a granular Active Directory or ADAM backup are
similar to those for VSS writers supported by NMM. However, there are several tasks
that are not performed for granular Active Directory or ADAM backup.

Note: Do not configure a proxy client for granular ADAM or Active Directory backups.

To configure an Active Directory or ADAM granular backup, perform the following


tasks outlined in Table 53 on page 341.

Table 53 Tasks for Active Directory or ADAM granular backup

Backup task Consideration

1. “Set up local Windows SYSTEM account as an ADAM This task is only required for granular ADAM
administrator” on page 341 backups. Skip this task for granular Active
Directory backups.

2. “Configure a pool for backup operations” on page 342 No special configuration is required.

3. “Configure a backup schedule” on page 344 No special configuration is required.

4. “Configure a backup group” on page 344 No special configuration is required.

5. “Configure a Client resource” on page 345 No special configuration is required.

6. “Configure privileges” on page 347 No special configuration is required.

Set up local Windows SYSTEM account as an ADAM administrator


The ADAM server, which is also a NetWorker client, relies on the NetWorker client’s
nsrexecd service to spawn the required binaries to perform a backup. The nsrexecd
service and other binaries run under the Windows SYSTEM account. To ensure that
these binaries can access ADAM data, the Windows SYSTEM account must be given
access rights to each instance on the ADAM server.

Note: These steps are not required for Active Directory backup.

To set up the Windows SYSTEM account with permissions on the local ADAM
server:
1. Open the ADAM ADSI Edit utility. The ADAM ADSI Edit utility is available
with ADAM SP1.
2. Connect to the ADAM instance.
3. In the Connection Settings dialog box, select Well-known naming context and
select Configuration from the list box.
4. Type the port number (typically 50000) of the ADAM partition in the Port box
and then click OK.
5. In the left pane, Select CN=Roles.
6. In the right pane, right-click on CN=Administrators and then select Properties.
7. In the CN=Administrators Properties dialog box, select the Member Attribute
from the attributes list, and then click Edit.

Performing a granular Active Directory or ADAM backup 341


Microsoft Active Directory Backup and Recovery

8. Click Add Windows Account and add the local ADAM Server name.
9. Save your changes.
10. Repeat this procedure for each ADAM instance that you want to back up.

Configure a pool for backup operations


Create a backup pool to store the save sets that contain metadata.
Configuring a backup pool is a four-part process:
1. “Configuring a device” on page 342
2. “Configuring a label template” on page 343
3. “Configuring a backup pool” on page 343
4. “Labeling the device” on page 344

Note: All of the procedures in this section must be performed on a NetWorker server release
7.3.3 or later. Access the NetWorker server from the Administration page of the NetWorker
Management Console.

The EMC NetWorker Release 7.4 Service Pack 1 Multiplatform Version Administration
Guide provides more detailed information about performing the steps included here.

Configuring a device
Configure a media device for snapshot metadata. Configure a tape, file, or advanced
file type device. For best performance, configure a file or advanced file type device so
that data can be recovered without the potential delay associated with retrieving a
tape.
To configure a device:
1. In the NetWorker Administration page of the NetWorker Management
Console, click Devices on the taskbar.
2. In the expanded left pane, select Devices.
3. From the File menu, select New.
4. In the Name attribute, replace the default name with the path and name of the
device:
• If the device is configured on the NetWorker server’s storage node, the name
is the simple device path. For example, C:\tmp\d0 for a file type device.
A tape device would have a format similar to \\.\Tape0.
• If the device is configured on a remote storage node, the name must indicate
that the storage node is remote, by including rd= and the name of the remote
storage node in the device path. For example, if the remote storage node is
neptune, then the device path might be rd=neptune:c:\tmp\d0.
5. In the Comment field, specify a comment for the device.
6. From the Media Type attribute, select the appropriate media type.
7. Select the Auto Media Management attribute.
8. Click Configuration.
9. In the Target Sessions attribute, type or select a value. Set this attribute to a value
that will speed up the backup and then click OK.

342 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Active Directory Backup and Recovery

Configuring a label template


Labels identify the kind of data that is stored on the volumes in a backup pool. Label
templates define a naming convention for labels. Create a label template for volumes
that are used to contain snapshot metadata.
To configure a label template:
1. In the Administration page of the NetWorker Management Console, click
Media.
2. In the expanded left pane, select Label Templates.
3. From the File menu, select New.
4. In the Name attribute, type a name that identifies the series of labels as belonging
to volumes for metadata.
5. In the Comment attribute, specify a comment for the label.
6. In the Fields attribute, specify a text name such as Metadata and on a separate line,
specify a numeric range such as 001-999 or a text range such as aa-zz.
These attributes are used to incrementally identify each label.
7. Click OK.

Configuring a backup pool

Note: Use backup pools for granular Active Directory or ADAM backups that are different
than the pools used for NMM client backups that include snapshots. In this way, you can sort
granular Active Directory and ADAM backups from other backups.

To configure a backup pool to store snapshot metadata:


1. In the Administration page of the NetWorker Management Console, click
Media.
2. In the expanded left pane, select Media Pools.
3. From the File menu, select New.
4. For the Name attribute, type a name that matches the label template.
5. In the Comment attribute, specify a comment for the pool.
6. Select the Enabled attribute.
7. For the Pool type attribute, select the backup pool type.
8. For the Label template attribute, select the matching label template.
9. Perform either of the following steps; but not both:
• Click the Selection Criteria tab, and specify a NMM client for the Clients
attribute. A value must be typed for this attribute if you choose not to specify
groups in the Groups attribute.
or
• For the Groups attribute, select the applicable backup groups.
10. In the Devices attribute, select each device that can accept backups for this pool.
11. Click OK.

Performing a granular Active Directory or ADAM backup 343


Microsoft Active Directory Backup and Recovery

Labeling the device


Before a device can be used for backup, it must be labeled.
To label a device:
1. In the Administration page of the NetWorker Management Console, click
Devices.
2. In the right pane, right-click on the name of the device and select Label.
3. In the Pool attribute, select the backup pool that was created.
4. Select the Mount after Labeling attribute.
5. Click OK.

Configure a backup schedule


Backup schedules determine the days on which full or incremental backups are run.
Full backups include all of the data specified in an NMM client resource save set,
while incremental backups include only the data that has changed since the last
backup.
Table 54 on page 344contains the considerations for configuring a backup schedule
for an NMM client. The procedure for creating backup schedules for an NMM client
is the same as for creating a backup schedule for a regular NetWorker client.

Table 54 Considerations for NMM client backup schedules

Backup levels Consideration

Full level These backups are supported for all types of data.

Incremental These are supported only for backup of volume directories or paths such as E:\ or
backups E:\business_files\.

Note: Level 1 to 9 backups are not supported for granular Active Directory and ADAM
backups.

Configure a backup group


Backup groups enable you to balance backup loads to reduce the impact on your
storage and network resources. Use a backup group to assign the following attributes
to a set of Client resources:
◆ Backup start times
◆ Schedules
◆ Backup pools

Note: A Client resource or backup group cannot specify volumes that use both CLARiiON and
Symmetrix storage systems. For hosts that have both CLARiiON and Symmetrix volumes,
create separate backup groups and Client resources. Each backup group and its Client
resources can specify volumes from only one type of storage system.

344 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Active Directory Backup and Recovery

To configure a backup group:


1. In the Administration page of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Groups.
3. From the File menu, select New.
4. In the Name attribute, type a name for the backup group.
5. In the Comment attribute, type a description.
6. For the Start Time attribute, enter the time when the first backup is to be created.
7. For the Autostart attribute, select Enabled.

Note: Unlike most other NMM application backup Client resources, snapshot policies are
not applicable to granular Active Directory or ADAM backups.

Do not specify or assign a snapshot policy or a snapshot pool to the backup


group:
• Ensure that the Snapshot attribute is clear, so that there is no check mark
beside it.
• Do not select a snapshot policy in the Snapshot Policy attribute.
• Do not select a pool in the Snapshot Pool attribute.
8. Click the Advanced tab.
9. Set the Client Retries attribute to 0 (zero).
10. Click OK to create the backup group.

Note: Once you have started a backup of a save group, do not interrupt or halt the process. For
example, in an Exchange Server backup, the nsrsnap_vss_save.exe process on the production
server and the eseutil process on the proxy may continue to run after the backup is halted. Any
attempt to stop a group in NetWorker Management Console will take a long time to complete.

Configure a Client resource


A Client resource specifies what to include in a backup of an NMM client. Client
resources are associated with other backup resources such as groups.
For Active Directory and ADAM granular backup, there are some differences from
other NMM backup configurations.

Note: Do not use the same Client resource for Active Directory or ADAM granular backups
and other NMM client backups including Active Directory or ADAM backups for the purposes
of disaster recovery.

You can create multiple Client resources for the same NMM client host. In this way,
you can apply different backup attributes to different types of information on the
same host. For example, if the NMM client host is an Exchange Server, you can create
one Client resource to back up the Exchange databases and create another Client
resource to back up Windows system component data. This way, you can back up
Exchange databases many times a day, and back up Windows system component
data once a day.

Performing a granular Active Directory or ADAM backup 345


Microsoft Active Directory Backup and Recovery

To create a Client resource for granular Active Directory or ADAM backup:


1. In the Administration page of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, select Clients.
3. From the File menu, select New.
4. In the Name attribute, type the fully qualified hostname of the NetWorker client
computer.
5. In the Comment attribute, type a description. If you are creating multiple Client
resources for the same NetWorker client host computer, use this attribute to
differentiate the purpose of each resource.
6. From the Browse Policy attribute, select a browse policy from the list. The browse
policy determines how long rolled-over data is available for quick access.
7. From the Retention Policy attribute, select a retention policy from the list. The
retention policy determines how long rolled-over data is available though not
necessarily quickly.
8. Select the Scheduled Backups attribute.
9. In the Save Set attribute:
• Specify the components to be backed up.
• Specify domain objects in the following format:
DC=corp, DC=domain,DC=com
For example:
DC=corp, DC=xyz, DC=com
where the backup saves the entire domain named corp.xyz.com from its root
level.
10. For the Group attribute, select the backup group to which this Client resource
will be added.

Note: If Client resources for the same NMM client host are added to different backup
groups, ensure that the Start Time attribute for each backup group is spaced far enough
apart so that the backups for the host’s Client resources do not overlap.

11. For the Schedule attribute, select a backup schedule.


12. Click the Apps & Modules tab.
13. In the Backup command attribute, type the appropriate command for Active
Directory objects or ADAM objects:
• Active Directory objects: Type the following command in the Backup
Command attribute:
nsradsave.exe
Active Directory domain objects and application partitions on the domain host
cannot be backed up in the same Client resource. Each type of data must be
specified on a separate Client resource.
For example, to back up an Active Directory domain or part of a domain, type
the following in one Client resource:
nsradsave.exe

346 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Active Directory Backup and Recovery

• ADAM objects: To back up ADAM application partitions, type the following


command in the Backup Command attribute, specifying the port number
50000. For example, type the following:
nsradsave.exe -p 50000
14. If the NMM client is part of a cluster, type the names of the physical nodes of the
cluster in the Remote Access attribute.
15. Click the Globals (1 of 2) tab.
16. In the Aliases attribute, validate that the NETBIOS name for the client is present.
This will be automatically populated by NetWorker when name resolution is
configured. If the NETBIOS name is not present, add the NETBIOS name for the
client.

Note: NMM client uses the host machine NETBIOS or “short” name when connecting to
the NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.

17. Click OK.

Configure privileges
In addition to the permission set up in “Set up local Windows SYSTEM account as an
ADAM administrator” on page 341 for performing granular ADAM backup, in both
ADAM and Active Directory granular backup the NMM client must be granted
NetWorker Administrator privileges in order to perform media database operations
during a deletion. If you are setting up a NMM client in a cluster, grant NetWorker
administrator privileges to each cluster node and virtual server.
To add configure privileges:
1. In the Administration page of the NetWorker Management Console, click
Configuration.
2. In the expanded left pane, click User Groups.
3. Right-click the Administrators group, then select Properties. The Properties
dialog box appears.
4. In the Users attribute, add the following values for the NMM client host. Place
each value on a separate line:
user=administrator,host=NMM_client_host
user=system,host=NMM_client_host
where NMM_client_host is the DNS hostname of the NMM client.
If the NMM client is installed in a cluster, grant NetWorker Administrator
privileges to each cluster node and virtual server.
5. Click OK.

Performing a granular Active Directory or ADAM backup 347


Microsoft Active Directory Backup and Recovery

Recovering all Active Directory data


The steps in this procedure assume that any damaged hardware has been replaced
and that all software has been reinstalled.
To ensure the successful recovery of the Active Directory server, the backup steps
described in “Performing an Active Directory or ADAM backup” on page 338 must
have been completed.
If a disaster recovery is necessary, “Performing Active Directory disaster recovery”
on page 353 provides information.

Note: If you have followed Microsoft best practices, you will have a backup Active Directory
server that can be promoted to the primary Active Directory server in the event of a disaster. If
you do not have a backup Active Directory server that can be promoted to the primary Active
Directory server, complete the steps in this section to recover from a disaster of the Active
Directory server.

To recover Active Directory server data:


1. Before you can recover Active Directory server data, you must boot the NMM
client in Directory Service Recovery mode:
• If you have not booted the NMM client in Directory Service Recovery mode,
proceed to step 2
• If you have already booted the NMM client in Directory Service mode,
proceed to step 7 .
2. On the NetWorker client domain controller, close all programs and restart
Windows.
• When the computer restarts, a list of startup choices appears. The startup
choices and the duration of the startup display are based on the settings in the
operating systems section and the boot loader section of the boot.ini file.
• For Windows Server 2003 this is boot.ini. For Windows Server 2008 it is called
the Boot Configuration Data (BCD) Store.
3. Select the Windows boot option for the domain controller.
4. Press F8 to display a list of special boot options.
5. Select Directory Service Restore Mode (Windows Domain Controllers only)
from the list of special boot options. When you boot in this mode, Active
Directory is taken offline.
6. Log in as administrator. Use the password that was specified when the domain
controller was created. Windows starts in safe mode.
7. Open the NMM client software and select the NetWorker Server on which the
NMM client was configured for backup.
8. In the left pane, select Recover > System Recover Session.
9. From the navigation tree, open the SYSTEM COMPONENTS folder. By default,
the objects displayed in the navigation tree are from the most recent backup.
To recover from a previous backup:
• From the application toolbar, click the Browse calendar icon and select an
earlier browse time.
• To view all versions of a backup object prior to the selected browse time,
right-click an object in the navigation tree and select Versions.

348 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Active Directory Backup and Recovery

10. Select items to recover:


• If the Active Directory server is not in a clustered environment, select all of the
items under the SYSTEM COMPONENTS folder.
• If the Active Directory server is part of a cluster environment:
a. From the Options menu, select System Recover Session Options and then
click the NetWorker tab.
b. Clear the attribute titled Use Microsoft best practices for selecting the
system state. Click Yes when asked to confirm your selection.
c. Click OK to close the System Recover Session Options dialog box.
d. Select all of the items under the SYSTEM COMPONENTS folder except for
the Cluster Writer.
11. To determine whether any volumes need to be mounted, right-click the selected
item and select Required Volumes.
12. From the System Recover Session toolbar, click Start Restore.
13. To perform an authoritative recovery of the Active Directory server, complete the
procedure for authoritative recovery of NTDS or FRS data. “Performing an
authoritative recovery of NTDS or FRS data” on page 92 provides more
information about these types of recovery.
14. After the Active Directory recovery is complete, reboot the host to restart the
Active Directory server.
15. If the Active Directory server is part of a cluster environment, select the Cluster
Writer for recovery.
16. Recover any remaining volume or application data. Chapter 3, “System Backup
and Recovery,”provides more information about recoveries.

Performing a granular recovery of Active Directory objects and attributes


You can individually select deleted Active Directory objects and their attributes for
recovery.

Note: Due to Active Directory limitations, there are some restrictions on the recovery of objects
and attributes. “Recovery Restrictions for Active Directory” on page 351 provides more
information about recovery restrictions.

To recover an Active Directory object or object attribute:


1. Start the NMM client program.
2. From the application toolbar, click the NetWorker Server icon to select the
NetWorker Server on which the NetWorker client was configured for backup.
3. In the left pane, select Recover > Active Directory Recover Session.
4. In the navigation tree, select the Active Directory objects to be recovered. By
default, the objects displayed in the navigation tree are from the most recent
backup.
• To search for an item, click the Search tab. “Searching for an item” on page 46
provides details about searching for a recovery item.

Performing a granular recovery of Active Directory objects and attributes 349


Microsoft Active Directory Backup and Recovery

• To recover objects from a previous backup:


– From the application toolbar, click the Browse calendar icon and select an
earlier browse time.
– To view all versions of a backup object prior to the selected browse time,
select an object in the navigation tree, right-click and select Versions.
5. To determine whether any volumes need to be mounted for a selected object,
right-click an object and select Required Volumes.
6. Recover the entire object or selected object attributes:
• To recover the entire object:
a. Select the object.
b. From the Active Directory Recover Session toolbar, click Start Recover to
begin the recovery operation.
• To recover just selected attributes of an object:
a. Right-click an object and select Recover this Item.
The Active Directory Recover Attributes dialog box appears.
b. Select each attribute that is to be recovered.
If all attributes or no attributes are selected, the entire object is recovered.
c. Click OK.
7. Click Start Recovery.
8. From the left pane, select Monitor to view the progress of the recovery.

Active Directory Recovery Attributes


Use this dialog box to select which attributes to recover for an Active Directory object.
To select object attributes for recovery:
1. Select each attribute that is to be recovered. If all attributes are selected or no
attributes are selected, the entire object is recovered.
2. Click OK. The Active Directory Recovery Attributes dialog box closes.
3. From the Active Directory Recover Session toolbar, click Start Recover.

350 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Active Directory Backup and Recovery

Recovery Restrictions for Active Directory


The following restrictions apply when recovering Active Directory objects and
attributes:
◆ “Tombstone lifetime restriction” on page 351
◆ “System-only attributes cannot be recovered” on page 351
◆ “Object password attributes” on page 352
◆ “Attributes with null values” on page 353
◆ “Schema objects” on page 353

Note: After starting an Active Directory recovery, access the Monitor view to verify the
status of the recovery.

The Microsoft website provides more information about Active Directory objects and
attributes.

Tombstone lifetime restriction


When an Active Directory object is deleted, it is sent to a special container, named
Deleted Objects. This object is now invisible to normal directory operations, and is
called tombstone. It is better to recover a tombstone object instead of re-creating it
because data such as the Security Identifier (SID) and the Global Unique Identifier
(GUID) are stored with the tombstone object. This data is critical for additional data
recoveries, such as assigned group permissions. For example, Access Control Lists
(ACLs) use the SID of a security identifier object to store its permissions. A re-created
group would get a new SID and GUID so that permissions assigned to the old group
would be lost. Similarly, the SID and GUID are both used to recover a user profile. A
user's profile would become unusable if a user with the same name is re-created. This
is because the new profile would be given a new SID and GUID.
Objects in tombstone are deleted when they reach the tombstone lifetime age for the
domain, which is, by default, 180 days. After an object is deleted from the tombstone,
it cannot be recovered. This is an Active Directory restriction. The tombstone lifetime
is a configurable attribute of a Windows domain.

System-only attributes cannot be recovered


Object attributes that are system-only can neither be backed up nor recovered. This is
an Active Directory restriction. Table 55 on page 351 provides a sample list of
system-only attributes are not backed up.

Table 55 System-only attributes that are not backed up

badPwdCount lastLogon uSNChanged

badPasswordTime logonCount uSNCreated

distinguishedName objectCategory userAccountControl

dSCorePropagationData objectClass whenChanged

instanceType objectGUID whenCreated

lastLogoff sAMAccountType

Performing a granular recovery of Active Directory objects and attributes 351


Microsoft Active Directory Backup and Recovery

Attributes that are retained for a deleted object


Table 56 on page 352 provides a sample list of attributes that are retained for an
Active Directory object when it is deleted and moved to the tombstone database.

Table 56 Retained attributes after object is deleted

attributeID mSMQOwnerID subClassOf

attributeSyntax name systemFlags

distinguishedName nCName trustAttributes

dNReferenceUpdate objectClass trustDirection

flatName objectGUID trustPartner

governsID objectSid trustType

groupType oMSyntax userAccountControl

instanceType proxiedObjectName uSNChanged

IDAPDisplayName replPropertyMetaData uSNCreated

legacyExchangeDN sAMAccountName whenCreated

mS-DS-CreatorSID securityIdentifier

These attributes are restored when deleted objects from the tombstone database are
restored. Objects that do not retain all of their mandatory attributes would cause a
constraint violation error during a restore attempt. For example, a published shared
printer has mandatory attributes (printerName, serverName, shortServerName,
uNCName, and versionNumber), which are not retained in the tombstone database.

Note: To recover objects that typically have mandatory attributes deleted, set the search flags
of the specific attributes to eight. When the object is deleted, the attributes with search flag set
to eight are transferred to the tombstone database. The entire object can then be restored from
tombstone with the NMM client.

Object password attributes


An object’s password is not recovered. After recovering an object with a password
attribute, the Windows administrator must reset the password.

Moved or renamed objects


If an object is moved to another location or renamed, but not deleted from Active
Directory they cannot be restored even if they are successfully backed up. This is due
to the objects not being stored in the deleted storage database (tombstone). Only
objects in that database can be restored.
However, the attributes for these objects can be restored from the Context menu of
the Active Directory interface, which restores the objects with the specific attribute
sets.

352 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Microsoft Active Directory Backup and Recovery

Attributes with null values


Attributes with null values are not backed up and therefore, are not recovered. For
example, if an attribute for a phone number was empty (null), then the null Phone
Number attribute would not be backed up.
This is an Active Directory restriction and is intended to prevent the unintentional
overwriting of valid attribute values.
For example, if a Phone Number attribute was null when a snapshot was taken but
later a valid phone number was added, subsequent recovery operations would not
overwrite the valid phone number with a null value.

Schema objects
Schema objects cannot be recovered and therefore, should never be deleted.

Performing Active Directory disaster recovery


A disaster recovery would require a complete system recovery in addition to an
application data restore. Performing a disaster recovery requires that proper
measures were taken during backup of Active Directory data. “Planning backups for
disaster recovery” on page 339 provides information for backing up data for disaster
recovery.
The disaster recovery procedure for Active Directory is generally a system recovery
followed by a standard Active Directory recovery. The following sections provide
information:
◆ Chapter 3, “System Backup and Recovery,”provides system component recovery
information.
◆ “Recovering all Active Directory data” on page 348 and “Performing a granular
recovery of Active Directory objects and attributes” on page 349 provide recovery
information.

Performing Active Directory disaster recovery 353


Microsoft Active Directory Backup and Recovery

354 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Invisible Body Tag
17

Troubleshooting

This chapter includes the following topics:


◆ The troubleshooting process...................................................................................... 356
◆ NMM client error messages....................................................................................... 357
◆ NMM client issues....................................................................................................... 361
◆ NMM installation issues ............................................................................................ 373
◆ Checking log files ........................................................................................................ 374
◆ Manually stopping and starting services................................................................. 377
◆ Troubleshooting issues during SQL databases directed recovery....................... 378
◆ Other troubleshooting resources .............................................................................. 378
◆ Why the nsr/bin/pathownerignore functionality must not be used.................. 378

Troubleshooting 355
Troubleshooting

The troubleshooting process


NetWorker and the NMM provide many resources to help discover and isolate
problems. Setting up these resources before problems occur can help if and when
troubleshooting problems occur later.
If the problem is not with the NMM client, there are other NetWorker resources and
documentation that may provide a solution.
The following flowchart, Figure 42 on page 356, provides an overview of the process
and sections of this chapter for troubleshooting a scheduled backup or recovery
problem.

Find error

NetWorker Server NetWorker


Client-side or
Server-side?

NetWorker Client

Unique to
No NMM Client
(volumes and
writers)?

Yes

Does the error


Check other EMC No
appear in a log file
documentation or message
window?

Yes

Check NMM Client Check NMM


error messages Client issues
section section

Yes
Fixed? Finish

No

Try a Contact
No
different Technical
solution? Support

Yes

GEN-000753

Figure 42 Troubleshooting process

356 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

Setting up notifications
Set up NetWorker software and NMM client software to send notifications about
events. These notifications can be sent to several locations, including log files, SNMP
printers, SNMP management console, and email messages.
The EMC NetWorker Administration Guide, release 7.3.3 or later, describes how to set
up notifications.

Finding errors
When a problem occurs, a notification or message might be displayed, or appear in a
log file. Table 57 on page 357 describes several ways that NetWorker Server, NMM
client, and other NetWorker features provide information about problems.

Table 57 Notifications and errors

Type Description

Email notification of a NetWorker client can be set up to send an email notification about NetWorker
NetWorker event events.

Error message pages Appear on the NetWorker server when an error occurs during backup or recovery
operations.

NetWorker Monitor page Displays details of current NetWorker Server activities, operations related to
devices and libraries, and events that require user intervention.

Event viewer Alerts users that user intervention is required on the NetWorker Server.

Log files Log files are created for each operation and process. Separate log files are
available for NetWorker and various features, depending on what features are
installed and in use:
• NetWorker VSS Client for Microsoft Windows
• NetWorker
• NetWorker Server
• NetWorker PowerSnap
• Replication Manager
• Solutions Enabler
• EMC VSS Provider
The logging level of the log file is controlled by the debug level of the process.

NMM client error messages


Error messages help to identify which product is having a problem.
The following sections describe error messages that are specific to the NMM client:
◆ “E_VOLUME_NOT_SUPPORTED” on page 358
◆ “E_VETO_PROVIDER” on page 358
◆ “VSS_E_WRITERERROR_RETRYABLE error code 0x800423f3” on page 358
◆ “VSS CLIENT... Invalid Writer Selection... for APPLICATIONS” on page 359
◆ “Access to the path is denied” on page 359
◆ “Object reference not set to an instance of an object” on page 359

NMM client error messages 357


Troubleshooting

◆ “Savegroup failed in scheduled backup” on page 360


◆ “Insufficient permission to access mailbox. See documentation for required
permission settings. Server MBX is not capable of RSG operations” on page 360
◆ “77108:nsrsnap_vss_save: NMM .. Operation unit failed with error 'Traditional
save returned error. saverc :- Possible cause: 1)Unsupported file system or
2)write-protected disc or 3)No space on disc” on page 361

E_VOLUME_NOT_SUPPORTED
This error occurs when CLARiiON is down, an array is unmanaged, or the
CLARiiON disk is not visible. This error also occurs when Data Mover is used to take
a local volume replica. The error message will appear in NMM client and Replication
Manager logs.
Solution
Check in the CLARiiON array for storage allocation.

E_VETO_PROVIDER
There are several possible causes for this error:
◆ Storage resources such as Symmetrix BCVs or CLARiiON clones have been
added but the Replication Manager service was not recycled to rebuild the
storage resource cache. The provider finds the LUN as hosted by the storage
array, but fails to find storage resources in the storage resource cache.
◆ There is a load on the CLARiiON array, and replica creation fails.
◆ A CLARiiON snapshot is performed when there are not enough LUNs in the
reserved LUN pool. In this case, the rmsnap command fails.
◆ A CLARiiON snapshot is performed, but the number of established snapshot
sessions to the LUN has already reached the limit.
Solution
Use the net stop and net start commands to stop and restart the EMC VSS provider,
Microsoft VSS services, and Replication Manager services.
For example, to stop and restart the Replication Manager service:
1. From the command line, stop the rmagentps service:
net stop rmagentps
2. Start the rmagentps service:
net start rmagentps

VSS_E_WRITERERROR_RETRYABLE error code 0x800423f3


This error occurs if a savegroup is rerun, and it was stopped previously while a
replica was being taken and the replica did not complete.
Solution
1. Stop the following services:
• EMC VSS provider
• Microsoft VSS services

358 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

• Replication Manager
2. Restart these services:
• EMC VSS provider
• Microsoft VSS services
• Replication Manager
3. Restart Exchange Information store if it was running and was backed up.

VSS CLIENT... Invalid Writer Selection... for APPLICATIONS


This error might occur if Microsoft Exchange services are not up or if SQL databases
are offline.
Another cause of this error is if there is a typographical error in writing
APPLICATIONS:\Microsoft Exchange Writer.
Solution
Perform either of the following:
◆ For Microsoft Exchange applications, start the Exchange services. If Exchange
services were already up, dismount and mount the databases and then start the
savegroup.
◆ For SQL Server applications, bring the databases online.
◆ Retype the words correctly or use the nsrsnap_vss_save -? command, as
described in “Displaying valid application data save sets” on page 63, to display a
listing of all valid application save sets on the NMM client.

Access to the path is denied


This error might occur if enough space is not available for staging in Temp directory
during SharePoint granular recovery.
Solution
The staging area required for both SharePoint granular backup and recovery must be
the size of the largest site-collection, regardless of what is being backed up or
recovered.
For example, when there is a 500 Gb site-collection and a 50 Gb sub-site, and only the
sub-site is being recovered, 500 Gb of staging space is required. Thus, the staging
space requirements are determined by the actual requirements for a backup or
recovery.

Object reference not set to an instance of an object


This error might occur when during SharePoint granular backup, the nsr_moss_save
–f command is used.
Solution
Make sure that the NetWorker SharePoint Connector Service has sufficient rights to
SharePoint farm.

NMM client error messages 359


Troubleshooting

Savegroup failed in scheduled backup


A notification appears in the NetWorker Monitor page that a savegroup failed.
Solution
Check the savegroup details for the failed save set. This may provide an exact cause,
or a general error, which should indicate whether it is a client-side or server-side
issue. The EMC NetWorker Administration Guide, release 7.3.2 or later, provides
information about viewing group backup details.
If there is not enough information in the savegroup details:
1. Check the NMM client log.
2. Check the other client-side logs.
“Checking log files” on page 374 provides more information about the log names,
locations, and details.

Insufficient permission to access mailbox. See documentation for required permission settings.
Server MBX is not capable of RSG operations
This error message appears if RSG browsing permissions are not provided when
recovering a storage group to a RSG that was already created.
Solution
Before starting the RSG recovery, perform these steps:
1. Install MAPI Collaboration Data Objects 1.2.1. “Microsoft Exchange Server MAPI
client and Collaboration Data Objects support” on page 242 provides details.
2. Provide RSG browsing permissions. This step ensures that the error message does
not appear, and the recovery is performed smoothly.
For example,
get-ExchangeServer <Exchange Server name> | Add-AdPermission
-user <username> -extendedrights Receive-As, Send-As
3. Set registry to disable IPV6.
To fix RSG browsing issue in the registry:
a. Open the registry.
b. Go to:
HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters
c. Edit or create the 32-bit DWORD value DisabledComponents, and enter the
value FFFFFFFF.
The public folder must be present on the Exchange server for RSG browsing to
work.
In the CCR or SCC cluster, we should perform all above steps on both nodes of
cluster.

360 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

77108:nsrsnap_vss_save: NMM .. Operation unit failed with error 'Traditional save returned error.
saverc :- Possible cause: 1)Unsupported file system or 2)write-protected disc or 3)No space on
disc
When performing a passive node backup when only a single passive node client is
configured for Exchange deduplication backups in a CCR setup, the following error
message appears:
77108:nsrsnap_vss_save:NMM .. Operation unit failed with error
'Traditional save returned error. saverc :-Possible cause:
1)Unsupported file system or 2)write-protected disc or 3)No
space on disc
NMM .. Error backing up one or more of the file system
savesets: NMM .. Operation unit failed with error Traditional
save returned error. saverc :-1.
Solution
Whenever performing a passive node backup for Exchange deduplication backups in
a CCR setup, make sure to perform the following steps:
1. Configure a virtual client in same savegroup where the passive node is
configured.
2. Make sure not to schedule this virtual client for backup in same group.
3. Make sure to enable deduplication settings for this virtual client.

Note: Although the client will be there in the same savegroup, it will not be part of backup.

NMM client issues


Check this section first when there is a problem but no specific error message in
monitoring or event logs appears:
◆ “In-progress backup fails” on page 362
◆ “NetWorker is blocked by Windows Firewall” on page 362
◆ “NMM backups might fail where a firewall exists between the NetWorker Server
and client” on page 363
◆ “Need to run utility to obtain Exchange Server information” on page 364
◆ “Requesting a snapshot for a volume on hardware that is not transportable” on
page 364
◆ “PowerSnap service must be restarted after the NetWorker service is restarted”
on page 364
◆ “PowerSnap validation for recovery fails” on page 365
◆ “Snapshot backup may fail with writer errors” on page 365
◆ “Microsoft I/O write error when taking a replica in a CLARiiON array” on
page 365
◆ “Creating a replica takes a long time in CLARiiON environment” on page 366
◆ “Cannot recover Exchange database due to overwrite prevention error” on
page 366
◆ “Incremental backups may be promoted to full backups” on page 366

NMM client issues 361


Troubleshooting

◆ “Diagnosing VSS Writer Issues” on page 367


◆ “Modifying the Exchange 2007 COM+ component’s user account or password”
on page 368
◆ “Save sets may not appear in the Recover page” on page 368
◆ “Recovery of AES-encrypted files fails without passphrase” on page 368
◆ “Unable to restore files encrypted with both Microsoft Windows Encrypting File
System and AES encryption” on page 369
◆ “Anti-virus programs block recovery” on page 369
◆ “Optimized restore of a 100 GB SharePoint site-collection fails” on page 369
◆ “Snapshot cannot include both hardware and software snapshot volumes for
clustered NetWorker VSS clients” on page 370
◆ “Cross-platform directed recovery operations are not supported on NMM” on
page 370
◆ “Recovery of large number of items fails if one or more items in a folder is not
selected” on page 371
◆ “Multiple client resources with the same name cannot be combined in the same
group” on page 372
◆ “Backup of two partitions of the same CLARiiON disk fails” on page 372
◆ “Connection to DPM service lost during DPM recovery” on page 372
◆ “DPM replica backup is not correctly configured” on page 372

In-progress backup fails


If a node within a cluster undergoes failover during a backup operation, the
operation will not be successful. The next scheduled backup operation will be the
next valid backup.
Solution
If you are using a hardware provider such as the EMC VSS Provider, use the disk
management utilities provided with the associated hardware to delete any resources
that may be left in an indeterminate state as a result of the failed backup.
For example, a CLARiiON storage solution may have an inactive snapshot as the
result of a failed backup. In this case, use the EMC NaviCLI interface to search for
and delete the inactive snapshot.

NetWorker is blocked by Windows Firewall


After installing Microsoft Windows Server 2003 (SP1), the Windows Firewall may be
blocking NetWorker processes from sending information through the firewall.
Solution
The EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Installation Guide
provides information about how to extend the Security Configuration Wizard or
manually configure Windows Firewall exceptions.

362 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

NMM backups might fail where a firewall exists between the NetWorker Server and client
The following errors might appear during long running NMM backup operations
where a firewall exists between the NetWorker Server and client. This might indicate
that a nsr socket was closed before the backup successfully completed:
0 9/22/2009 5:41:40 PM 2 0 0 6548 6512 0 t4tabor.test.portal
nsrbragent:\Program Files\
0 9/22/2009 5:41:40 PM 2 0 0 6548 6512 0 t4tabor.test.portal
nsrbragent
C:\
7167 9/22/2009 5:41:40 PM 2 0 0 6548 6512 0 exchsv.test.local
nsrbragent
nsrbragent completion time: 9/22/2009 2:41:40 PM
58392 9/22/2009 5:41:40 PM 0 0 2 6548 6512 0 exchsv.test.local
nsrbragent Traditional save returned error. saverc :-1
56470 9/22/2009 5:41:40 PM 2 0 0 6548 6512 0 exchsv.test.local
nsrbragent Please check file C:\Program
Files\Legato\nsr\logs\nsrbragent.2009_09_22.14_41_40.6512.0.trace for
more detailed information about this error
58393 9/22/2009 5:41:40 PM 0 0 2 6548 6512 0 exchsv.test.local
nsrbragent Traditional save FAILED
58397 9/22/2009 5:41:40 PM 0 0 1 6548 6512 0 exchsv.test.local
nsrbragent cwd=C:\
58398 9/22/2009 5:41:40 PM 0 0 1 6548 6512 0 exchsv.test.local
nsrbragent after chdir -> cwd=C:\Program Files\Legato\nsr\tmp
51982 9/22/2009 5:41:45 PM 0 0 1 6516 6512 0 exchsv.test.local
nsrbragent Processed all messages. Now exiting
0 9/22/2009 5:41:45 PM 0 0 2 6516 6512 0 exchsv.test.local
nsrbragent nsrbragent process is exiting with status :0
Unable to render the following message: NSRBRAGENT [ PID = 6512] [HOST
= t4tabor.test.portal] COMPLETED.

Solution
1. Set the TCP keepalive parameter to a low value such as 5 minutes on the
following:
• NetWorker Server
• NetWorker storage node
• NetWorker client (NMM host)
For example, on Microsoft Windows, create a registry key:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Tcpip\Paramete
rs
Value name: KeepAliveTime
Value Type: REG_DWORD
Value Data: 300000 (Decimal)

WARNING
Warning: Exercise caution when modifying the Windows registry. The following
Microsoft article provides details: http://support.microsoft.com/kb/324270.

Your Operating System documentation provides information on how to set the


TCP keepalive parameter.
2. Once the backup failure is resolved, you can increase the KeepAliveTime value if
required based upon your backup environment.

NMM client issues 363


Troubleshooting

Need to run utility to obtain Exchange Server information


The utility nwexinfo.exe runs when NMM client is installed on an Exchange Server.
This utility gathers the Exchange username, password, and domain, and then inserts
this information in the registry.
Solution
Rerun the utility if any of the following conditions occurs:
◆ Exchange Server is installed after NMM client is installed.
◆ The Exchange username, password, or domain values change after the NMM
client is installed.
To run the utility:
1. Navigate to the following folder: <NetWorker_install_path>\nsr\bin
2. Run nwexinfo.exe.
3. For Exchange 2003, change the Exchange password, username, and domain as
required.

Requesting a snapshot for a volume on hardware that is not transportable


When volumes are added to the NMM client snapshot set, an error might appear if a
transportable hardware snapshot is requested and the volume that is being replicated
is not a volume that resides on special hardware that is transportable.
The following error message might also appear:
VSS_E_VOLUME_NOT_SUPPORTED_BY_PROVIDER.
Solution
◆ The Exchange server and proxy server (if one is set up for Exchange) must have
matching volumes or alternate mount path in PowerSnap (PS) attribute.
◆ An Exchange backup that is mounted on a proxy server needs either matching
volumes or an alternate location to mount Exchange databases and logs.
• An example of matching volumes would be D: to D: and E: to E:.
• An example of alternate location would be "G:\altpath" on the proxy server.
In this example:
◆ The snapshot of "D:\" would be mounted on the proxy server as "G:\altpath\D\"
◆ The snapshot of "E:\" would be mounted on the Proxy server as "G:\altpath\E\."
To use the alternate mount path, set the PowerSnap attribute NSR_ALT_PATH in the
Client resource.
In the preceding example of an alternate location, the attribute would be set to
"NSR_ALT_PATH=G:\altpath."
“Configure a Client resource” on page 60 provides more information about creating a
Client resource.

PowerSnap service must be restarted after the NetWorker service is restarted


After restarting the NetWorker service, if the PowerSnap service is not restarted, the
first retention or rollover will fail.

364 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

The following message appears:


RPC send operation failed. A network connection could not be
established with the host.

The PowerSnap service will re-establish the connection on the next operation, so this
failure will only occur once.
Solution
To fix this problem:
1. Restart the NetWorker service.
2. Restart the PowerSnap service
3. Run a PowerSnap operation.

PowerSnap validation for recovery fails


When the service is not stopped, recovery fails while validating PowerSnap for
recovery. Some VSS writers require that the service be stopped while recovering.
For example, the SQL writer requires that the service be stopped while recovering the
SQL database.
Solution
To fix this problem, stop the service before recovering.

Snapshot backup may fail with writer errors


A snapshot backup may fail with VSS writer errors that indicate the writer may be in
an unstable state, such as the following:
VSS_E_WRITERERROR_NONRETRYABLE
VSS_E_BADSTATE
VSS_E_UNEXPECTED_WRITER_ERROR

Solution
Contact EMC Technical Support.

Microsoft I/O write error when taking a replica in a CLARiiON array


This problem might occur when a replica is taken in a CLARiiON array LUN backup.
Solution
To fix this problem:
1. Stop the following services:
• EMC VSS provider
• Volume Shadow Copy Service
• Replication Manager
2. Restart these services:
• EMC VSS provider
• Volume Shadow Copy Service
• Replication Manager

NMM client issues 365


Troubleshooting

Creating a replica takes a long time in CLARiiON environment


Older version of CLARiiON FLARE® OS that is running on CLARiiON may take a
long time to create a replica.
Solution
To fix this problem, update CLARiiON FLARE OS to the latest version.

Cannot recover Exchange database due to overwrite prevention error


If an Exchange database has not been selected for recovery in the Exchange System
Manager, recovery for that database will fail. When a recovery attempt fails, several
entries are displayed in the NetWorker Monitor page.
For example:
"VSS CLIENT... Database "Mailbox Store 2 (SERVERX)" in Storage Group
"Second Storage Group" does not have the "This database can be
overwritten by a restore." checkbox marked."
"VSS validatation and preprocessing failed for Microsoft Exchange
Writer."
"nsrsnap_vss_recover: Recovery operation failed. Refer to log file(s)
for details."
The following message may be displayed by Microsoft Exchange:
The database files in this store were replaced with older versions by
an offline restore. To use the restored files, open the database
property page for this store, select "this database can be overwritten
by a restore", wait for active directory replication, and try again.
Error ID: C104173A
Exchange System Manager

Solution
1. Search for "KB293324"on the Microsoft Help and Support website, and go to the
article "XADM: "C104173A" Error Message Occurs After You Restore the
Database."
2. Follow the instructions for changing the setting in Exchange System Manager.

Incremental backups may be promoted to full backups


This section outlines when incremental backups may be promoted to full backups:
◆ “NetWorker Module for Exchange Client” on page 366
◆ “NetWorker Module for SQL Server Client” on page 367

NetWorker Module for Exchange Client


If the NMM client is installed, requests for an incremental backup through the
NetWorker Module for Exchange Client are automatically promoted to a full backup.
This does not affect NMM client incremental backups of volumes.
For example:
◆ Suppose that NetWorker Module for Exchange Client requests an incremental
backup for Exchange server "EXSRV1."
◆ If NetWorker NMM client is installed, then the NetWorker Module for Exchange
Client promotes its own incremental backup to a full backup to maintain the
integrity of the backup and prevent data loss.

366 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

◆ However, the NetWorker NMM client can still perform an incremental backup of
a volume, such as "D:\" on "EXSRV1."

NetWorker Module for SQL Server Client


If the NetWorker NMM client is active and configured to back up the SQL database,
requests for an incremental backup through the NetWorker Module for SQL Client
are automatically promoted to a full backup to maintain the integrity of the backup
and prevent data loss. Installation of the NMM client itself does not automatically
promote NetWorker Module for SQL Client incremental backups to full backups.
This does not affect NMM client incremental backups of volumes.
For example:
◆ Suppose that the NetWorker Module for SQL Client requests an incremental
backup for SQL server "SQLSRV1."
◆ If the NMM client is installed, and the NetWorker NMM client performs backups
of the SQL database, then the NetWorker Module for SQL Client automatically
promotes the incremental backup to a full backup.
◆ However, if the NMM client is installed but does not perform backups of the SQL
database, then a request through the NetWorker Module for SQL Client for an
incremental backup is allowed.
◆ In either case, the NMM client can still perform an incremental backup of a
volume, such as "D:\" on "SQLSRV1."

Diagnosing VSS Writer Issues


NMM provides a command to dump the Microsoft VSS Writer metadata to XML
files. These XML files detail what each active writer on the system is doing, and may
be useful to support personnel for investigating and analyzing writer issues.
To dump the VSS Writer metadata to XML files, run the nsrsnap_vss_save command
with the -G command switch, for example:
D:\Legato\nsr\bin>nsrsnap_vss_save -G

When you run the command, a message displays the directory that the files were sent
to.
For example:
NMM .. requesting of writer metadata completed successfully and
deposited in C:\Users\ADMINI~1\AppData\Local\Temp\3\xmlfiles\

The directory contains an .XML for each writer on that system, for example:
Exchange Writer.XML
SQL Writer.XML
etc.

The files will probably be hidden because the directory they are sent to are hidden by
default. You can make the folder visible by using Start > Control Panel > Folder
Options > View > Show Hidden Files and Folders.
Double-click a XML file to view it in your browser, such as Internet Explorer or
Firefox.

NMM client issues 367


Troubleshooting

You can also copy the files to another folder. For example:
D:\>mkdir xmlfiles
D:\>cd xmlfiles
D:\xmlfiles>copy C:\Users\ADMINI~1\AppData\Local\Temp\3\xmlfiles\*.*
C:\Users\ADMINI~1\AppData\Local\Temp\3\xmlfiles\ExchangeWriter.xml
C:\Users\ADMINI~1\AppData\Local\Temp\3\xmlfiles\SQL Writer.xml
2 file(s) copied.

Modifying the Exchange 2007 COM+ component’s user account or password


If your user account, your password information, or both change after the COM+
component is registered, you can use the following procedure to change the user
account or password information for the COM+ component:
1. Start component services.
2. Expand Computers > My Computer > DCOM Configuration.
3. Right-click Replication Manager Exchange Interface and select Properties from
the context menu.
4. Click the Identity tab.
5. Modify the domain user account or password and click OK.
This will also modify the account information for the Replication Manager Exchange
Interface Service.

Save sets may not appear in the Recover page


NMM client uses the host machine NETBIOS or "short" name when connecting to the
NetWorker Server to browse backups. If the NETBIOS name is not found, NMM will
not be able to display backups.
Solution
Add the NETBIOS name to the Aliases attribute of the Client resource. “Configure a
Client resource” on page 60 provides more information about creating a Client
resource.

Recovery of AES-encrypted files fails without passphrase


If an application such as SQL Server or Exchange Server is backed up with AES
encryption, and then a recovery is attempted without the correct passphrase,
recovery will fail. The application files will only be partially recovered, and will be
empty or in a corrupted state.
Solution
During data recovery, you must:
1. Specify the passphrase used at the time of backup if it is not the default or current
pass phrase.
2. Provide the passphrase when recovering AES encrypted files, using NMM
Security recovery options. “Security recovery options” on page 90 provides more
information about specifying pass phrases in NMM.

368 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

Unable to restore files encrypted with both Microsoft Windows Encrypting File System and AES
encryption
When AES encryption is applied to a file that is also encrypted using the Microsoft
Windows Encrypting File System (EFS), the backup will be reported as successful.
However, recovery of the file will fail and the following message will be written to
the NetWorker log file:
recover: Error recovering <filename>. The RPC call completed before
all pipes were processed.

Solution
Do not use AES encryption when backing up files that are encrypted using EFS.

Anti-virus programs block recovery


When a recovery from a save set of “all” is attempted, anti-virus programs may block
NMM recovery. Anti-virus programs are designed to protect their own program files
and settings from external threats that may be attempting to disable the program. The
anti-virus program cannot always distinguish the recovery from an attack.
Solution
Prior to recovery:
1. Disable the anti-virus programs protection properties. The name and location of
the settings varies, but look for a setting like “Prevent modification of <Anti-Virus
Program Name> command agent files and settings.”
2. Clear or disable the setting.
3. Check the anti-virus program’s documentation or online help for information
about finding and disabling this setting.
To recover files to a system protected by an anti-virus program:
1. Disable the anti-virus program’s setting for protecting its own files and settings.
2. Perform the recovery.
3. Reset the anti-virus program to protect its files and settings.

Optimized restore of a 100 GB SharePoint site-collection fails


Create a top level site-collection of size 100 GB or more, and perform optimized
backup of the site-collection. Restore the site-collection without deleting the whole
site-collection.
Restore fails and the following error appears:
Recover Launch: Resource Found, Launching Recover program
nsr_moss_recover: Started data retrieval from NetWorker Server.
avtar Info <5241>: Logging to C:\Program
Files\Legato\nsr\dedup\logs\avtar_rec_13772_14920.log
nsr_moss_recover: Finished data retrieval from NetWorker Server.
nsr_moss_recover: Started recover to SharePoint Farm for
http://genista:29512/sites/100GBsite.
nsr_moss_recover: Failed to recover data to SharePoint Farm for
http://genista:29512/sites/100GBsite
Exception from HRESULT: 0x80040E14
completed recovertime=05-18-9 4:12:37 PM
43337:(pid 13772):Command line:

NMM client issues 369


Troubleshooting

51342:(pid 13772): "C:\Program


Files\Legato\nsr\bin\nsr_moss_recover.exe" -
c genista -s anamore-perf.nmm1.com -V 1 -S 0 -D 0 -d H:\temp -l 0 -
t "5/13/2009 9:49:32 PM" "MOSS:/SharePoint_Config/100GB"
52708:(pid 13772):nsr_moss_recover.exe Version: 2.2.0.77 Recovers
SharePoint 2007 Objects from NetWorker Server.
52702:(pid 13772):System Version: 6.0 Build 6001 S
52681:(pid 13772):NetWorker Server Version: NetWorker 7.5.1.Build.269
Eval
61820:(pid 13772):Recovering data from de-duplication node
vajra.blrsql.com
42923:(pid 13772):AVCTL Service Log: nsravtar version 4.1.100-1470
built on
Dec 3 2008 19:16:31 running on Windows Server 2008 Server Enterprise
Terminal Services SP 1.0 64-bit
61187:(pid 13772):De-Dup session established successfully
56076:(pid 13772):AVCTL restore: successful
66754:(pid 13772):De-Dupe session closed successfully
60894:(pid 13772):C:\Program Files\Legato\nsr\bin\nsravtar.exe exited
with "Success"
71163:(pid 13772):Failed: The recovery completed with errors.
[Exception
from HRESULT: 0x80040E14]71164:(pid 13772):Information: The job on
client
genista and server anamore-perf.nmm1.com completed [True] at 5/18/2009
4:12:37 PM
Recover end time: 5/18/2009 4:12:46 PM
Recover elapsed time: 5 hours, 29 minutes, 37 seconds.

Solution
◆ Delete the site-collection first then perform recovery.
◆ Restore the site-collection to an alternate SharePoint web application.

Snapshot cannot include both hardware and software snapshot volumes for clustered
NetWorker VSS clients
A NetWorker VSS client resource running on a cluster cannot include both hardware
and software volumes in the same save set. Additionally, save set All cannot be
specified for such a client resource. If both hardware and software volumes are
included in a save set, then backup fails.
Solution
If a NMM client on a cluster has both hardware and software volumes, create at least
two client resources: one for hardware volumes and one for software volumes.
Additionally, do not specify save set All in any of the client resources for the NMM
client. When using a hardware provider with a NMM client, you must configure a
proxy client and the snapshot volume must be exported to a proxy outside of the
cluster.

Cross-platform directed recovery operations are not supported on NMM


NMM does not support cross-platform recovery. A directed recovery operation
might fail if the source and the destination NetWorker client machines are not
running the same operating system.
For example, to perform a directed recover operation of a Exchange Mailbox, both the
source and the destination NetWorker client machines must be running the same
version of the operating system. For example, both NetWorker client machines must

370 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

be running either Windows 2003 or Windows 2008. The recovery will fail if the
source NetWorker client machine is running Windows 2003 and the destination
NetWorker client machine is running Windows 2008.
Since a directed recovery operation is performed at the application level, the
underlying differences between the operating system might not be apparent. The
error that appears with this failure might not specify the cause, for example:
Recovering 1 files within C:\ProgramData\EMC\NetWorker\ into C:\Program
Files\Legato\nsr\tmp\4091571676\ProgramData\EMC\NetWorker
Received 1 matching file(s) from NSR server `dc100.ccs.local'
Recover completion time: 10/28/2009 2:14:09 PM
C:\Program
Files\Legato\nsr\tmp\4091571676\ProgramData\EMC\NetWorker\LG_VSS_CLIENT2210351576
4.xml
NMM .. Restored the snapshot metadata file to 'C:\temp\vssclient_2814145890.xml'
NMM .. Looking for 'conventional' backup type for savetime '1256222175'.
NMM .. Found 'conventional' backup type for savetime '1256222175'.
Restoring from Conventional saveset '4108348882' for snapshot session '1256222063'
Recovering 2 files within C:\ProgramData\EMC\NetWorker\ into C:\Program
Files\Legato\nsr\tmp\4091571676\ProgramData\EMC\NetWorker
Received 1 matching file(s) from NSR server `dc100.ccs.local'
Recover completion time: 10/28/2009 2:14:14 PM
C:\Program
Files\Legato\nsr\tmp\4091571676\ProgramData\EMC\NetWorker\LG_VSS_CLIENT2210351576
4.xml
NMM .. Restored the snapshot metadata file to 'C:\temp\vssclient_28141413796.xml'
NMM .. Looking for 'conventional' backup type for savetime '1256222175'.
NMM .. Found 'conventional' backup type for savetime '1256222175'.
Restoring from Conventional saveset '4108348882' for snapshot session '1256222063'
63511:nsrsnap_vss_recover:NMM .. VSS failed to initialize the Backup Component
document for restore -- 0x80042311.
63867:nsrsnap_vss_recover:NMM .. XML file processing failed. Missing or invalid
BCDocument.
63849:nsrsnap_vss_recover:NMM .. failed to process BCDoc in XML file. Cannot
proceed.
63847:nsrsnap_vss_recover:NMM .. error 0x80042310 while processing XML file --
C:\temp\vssclient_28141413796.xml.
63421:nsrsnap_vss_recover:NMM .. fatal error during processing of the Metadata file
for savetime -- 1256222175.
50325:nsrsnap_vss_recover:nsrsnap_vss_recover: Recovery operation succeeded.
nsrsnap_vss_recover complete time: 10/28/2009 2:14:24 PM
Recover program exited with status: 0
Restore destination has been reset for storage group W2k8DC-SG
The options specified in the Recover Options Dialog have been reset back to their
safe default values.
Recover end time: 10/28/2009 2:14:24 PM
Recover elapsed time: 0 minutes, 24 seconds.

Recovery of large number of items fails if one or more items in a folder is not selected
If one or more items is not selected in a folder that has been selected for recovery,
then recovery may fail if the number of items in that folder is very large. This scenario
has occurred when testing the recovery of 50 K items in a folder.
Solution
Select all items or the entire folder, and then perform recovery. After recovery, delete
any unwanted items.

NMM client issues 371


Troubleshooting

Multiple client resources with the same name cannot be combined in the same group
If two or more client resources with the same name are in the same snapshot group,
then some of the save sets will not be recoverable. NMM does not support combining
multiple client resources with the same name in the same group.
Solution
Either combine the client resources into a single client resource, or create separate
groups and back up the individual clients in separate groups.

Backup of two partitions of the same CLARiiON disk fails


Backup of two partitions of one SAN LUN is not supported. The EMC Information
Protection Software Compatibility Guide contains the latest support information. This
limitation only applies to hardware-based snapshot and does not apply to
software-based snapshot. When you try to back up two partitions of one SAN LUN,
the backup fails and the following error appears in nmm.raw:
An error was detected during the replica creation.
Details in nmm.raw on % s. \n 1 0 16 starwar.duke.com
63315 1246425081 5 0 0 8252 8092 0 starwar.duke.com
nsrsnap_vss_save 26
NMM.. Exception caught: %s 1 0 25 Failed to create replica.

Connection to DPM service lost during DPM recovery


During DPM database recovery or DPM replica recovery using NMM Client on a
DPM server, if the DPM management console is open then a dialog box appears and
the connection to DPM service is lost:
1. Close the dialog box that appears. The DPM management console is closed.
2. After the recovery operation is complete, reopen the DPM management console.

DPM replica backup is not correctly configured


If not configured properly, DPM replica backups may fail and the following error
message may appear:
49931 12/22/2009 8:16:43 AM 5 0 0 10184 7940 0
es-chl-dpm-001.es.govt.state.ma.us nsrsnap_vss_save RM ..
027114 ERROR:DPM Writer is stable. The error is
VSS_E_WRITERERROR_RETRYABLE. The code is: 0x800423f3. Check the
application event log for more information.
Review the following before starting DPM replica backup:
1. NSR_PS_FIRST_SAVESET_SAVE attribute should be set to actual database
name.
For example:
NSR_PS_FIRST_SAVESET_SAVE=APPLICATIONS:\Microsoft DPM\DPM
database

372 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

2. NSR_PS_FIRST_SAVESET_SAVE attribute should not be used if the DPM


configuration database is not one of the savesets or if the DPM configuration
database is the only saveset. This attribute should only be used if the DPM
configuration database is one of the multiple savesets that is being backed up
under a single NetWorker Client Resource.
3. The Client Retries attribute of the Group resource must be set to 0.

Note: NMM does not support Group retry.

4. Populate the Application Information of the client resource for replica backups
with the following:
NSRSNAP_VSS_SAVE=vss
NSR_PS_SINGLE_SAVE_PER_SAVESET=yes
NSR_DPM_RETRY_WAIT=5
NSR_DPM_RETRY_MAXIMUM=3
The default value for NSR_DPM_RETRY_WAIT and
NSR_DPM_RETRY_MAXIMUM are 10 minutes and three attempts
respectively.
5. Re-run the backup with a single replica in the saveset to make sure that the
backup is successful.

NMM installation issues


The following sections describe some common problems and possible solutions for
NMM installation:
◆ “Recovery failure after .NET 3.5 framework installation” on page 373
◆ “SYSTEM COMPONENTS failure after McAfee uninstall” on page 374
◆ “SharePoint credentials are not set during installation” on page 374

Recovery failure after .NET 3.5 framework installation


Volume and SYSTEM COMPONENTS restore fails if the system previously had .NET
Framework 3.5 installed, and the OS was reinstalled but the .NET Framework 3.5 was
not re-installed before attempting recovery. When recovery fails, an error is
displayed: “The directory is not empty...”
Solution
To restore the Volume and SYSTEM COMPONENTS on a system that previously had
.NET Framework 3.5 installed at the time of the backup:
1. Reinstall the operating system.
2. Reinstall .NET Framework 3.5.
3. Install NMM.
4. Recover the volume and SYSTEM COMPONENTS.

NMM installation issues 373


Troubleshooting

SYSTEM COMPONENTS failure after McAfee uninstall


If a program does not uninstall cleanly, some program files may still remain after
uninstallation. This may cause SYSTEM COMPONENTS:\ backups to fail. This has
been known to occur with McAfee VirusScan 8.5i, but may occur with other
programs.
Solution
Microsoft has identified this as an issue with the VSS System Writer. Microsoft
Support KB article 955078 describes this issue and provides several solutions.

SharePoint credentials are not set during installation


When installing NMM on non-English versions of Windows Server 2008 x64, an error
message may be displayed during NetWorker SharePoint Service Configuration. The
error message may contain the following text:
“Error while modifying credentials of service” or “Unable to start the service”
Solution
Manually set the username and password for the SharePoint service. Before assigning
any user to start any service, assign permission of type “Log on as service” for each
user account. The Microsoft Server 2008 documentation provides more information
about “Log on as service.”
“Matching NetWorker SharePoint Service credentials with credentials of SharePoint
Server Administrator“ in the EMC NetWorker Module for Microsoft Applications Release
2.2 SP1 Installation Guide provides more information.

Checking log files


There are many log files generated by NMM client and associated features. These log
files include errors that occur during the processes. Check the log files in the
following order:
1. “NMM client” on page 375
2. “PowerSnap client” on page 375
3. “Replication Manager” on page 375
4. “Solutions Enabler” on page 376
5. “Active Directory” on page 376
6. “NetWorker server” on page 376
In addition, third-party providers generate their own logs in place of the Solutions
Enabler log (hwprov.log). The third party documentation provides more
information.

374 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

NMM client
Log files
The NMM client log files are named:
◆ nmm.raw
◆ nsrcscd.raw
Location
Applogs folder. For example, C:\Program Files\Legato\nsr\applogs\.
Description
Both save and recover CLIs write to these files. The log files are cumulative, so they
are appended with each run. The logging level of each log file is controlled by the
debug level of the process (-D).

PowerSnap client
Log files
NetWorker VSS Client Interface Library: libvsspsclnt.XXXXX.log
PowerSnap Client Core Processes. There are log files for each process that runs:
◆ nsrbragent.XXXXX.log
◆ nsrsnapagent.log
◆ nsrsnapbwragent.log
◆ nsrsnapck.log
Location
Logs folder. For example, C:\Program Files\Legato\nsr\logs\.
Description
Usually the PowerSnap Client creates one set of log files for each backup or recover
session, and a debug and trace log are created. These log files are tied together by
using the Snapshot Session ID.
The logging level of the log files is controlled by setting a variable in
NSR_PS_DEBUG_LEVEL in NetWorker Server, in client configuration.
Error messages in PowerSnap Client log files also appear in the standard user
interface outputs for NMM client.

Replication Manager
Log files
The Replication Manager log files are:
◆ erm_clientXXXXX_debug.log
◆ erm_clientXXXXX_detail.log
◆ erm_clientXXXXX_summary.log
Location
Replication Manager Agent Service log files are in the logs\client folder of the RM
installation. For example, C:\Program Files\EMC\rmagentps\logs\client\.

Checking log files 375


Troubleshooting

Description
The log files are cumulative, and will wrap once they reach a certain length.
The debug level can be set through the registry key
HKLM\SOFTWARE\EMC\RMService\RMAgentPS\Client\CC_DEBUG_LEVEL.
The default value is 2, but can be changed to 3.
To change the default value:
1. Stop RM Services.
2. Change the value in the registry.
3. Restart RM Services.
Error messages in Replication Manager log files also appear in the standard user
interface outputs for NMM client.

Solutions Enabler
Log files
The log files include a log file for the EMC VSS Provider and SYMAPI:
◆ hwprov.log
◆ symapi-<date>.log
Location
The Solutions Enabler product creates log files in the SYMAPI\logs folder of the
Solutions Enabler installation. For example, C:\Program Files\EMC\SYMAPI\log\.
Description
The log files are cumulative, or based on the date. The logging level of the EMC VSS
Provider log file is controlled by a registry key.
Error messages in Solutions Enabler log files do not appear in the standard user
interface outputs for NMM client.

Active Directory
Log files
The log files associated with Active Directory are:
◆ nsradsave.log
◆ nsradrecover.log
Location
Applogs folder. For example, C:\Program Files\Legato\nsr\applogs\.

NetWorker server
Log files
The NetWorker server creates several log files, which are documented in the EMC
NetWorker Administration Guide, release 7.3.2 or later.

376 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Troubleshooting

Manually stopping and starting services


NMM client processes may need to be manually stopped and started in conjunction
with configuration and troubleshooting activities. The NetWorker server creates
several log files. These log files are documented in the EMC NetWorker Administration
Guide, release 7.3.2 or later, which provides more information about starting and
stopping services on Windows and UNIX hosts, Console server, NetWorker Server,
Client, or Storage Node.
Table 58 on page 377 lists the services for NetWorker, PowerSnap, and Replication
Manager that are active on the system.

Table 58 Services and processes used in NMM client

Executable Product Category Function

nsrexecd NetWorker Service Authenticates and processes the NetWorker Server’s remote execution requests
and executes the save programs on the client.

nsrpsd PowerSnap Service Provides PowerSnap Client services, including snapshot consistency check
function, to apply retention policy and backup functions to rollover snapshots.

irccd.exe Replication Service Provides Replication Manager Client application and storage services for creating
Manager VSS-based snapshots and for rollback of VSS-based snapshots for EMC storage.

RM_ExchangeInterface.ex Replication Service Provides Replication Manager Server Exchange Interchange services to handle
e Manager Exchange Server 2007-specific commands for Replication Manager.

rm_api.dll Replication Library Library that provides Replication Manager Client interface library for NetWorker,
Manager used by NetWorker backup and recover processes.

nsrsnap PowerSnap Process Temporary process active during snapshot groups that provides client-side
workflow for snapshot groups, including applying retention policy, spawning
process to create the snapshot, and spawning process to rollover the snapshot.

nsrsnap_vss_save NetWorker Process Temporary process active during snapshot groups that is responsible for executing
the client-side workflow to create the snapshot for the save sets specified in the
Client resource. It is spawned by ‘nsrsnap’ and will communicate with irccd.exe to
create the VSS-based snapshot, and then will communicate with PowerSnap
services to register the snapshot.

nsrcscd.exe NetWorker Service This service acts as an agent to provide details about a system environment to the
NMM user interface.
A log file named nsrcscd.raw is generated in nsr\applogs folder.

Libpsvssclnt.dll PowerSnap Library Library that provides PowerSnap Client Interface for NetWorker backup and
recover processes.

nsrsnapagent Temporary Temporary service active during snapshot backup and restore operations that
Service provides snapshot management functions to import and assign drive letters to a
snapshot.

nsrsnapbwragent Temporary Temporary service active during snapshot backup and file system snapshot
Service browse operations that provides the ability to read the file system on the snapshot.

winworkr NetWorker Process Provides graphical user interface for NetWorker software.

Manually stopping and starting services 377


Troubleshooting

Troubleshooting issues during SQL databases directed recovery


Review the following to troubleshoot issues that might come up during directed
recovery of SQL databases:
◆ Make sure that the client machine where directed recovery browsing is
performed has NMM 2.2 SP1 installed, otherwise the SQL databases are not
displayed for directed recover browsing.
◆ Restore one database at a time. For directed recovery of multiple databases,
separate paths cannot be provided for each database. All the selected databases
are restored to a single target path.

Other troubleshooting resources


Does the problem appear to be on the NetWorker server or on a NetWorker client?
◆ If the problem appears on the NetWorker server, or otherwise seems to be on the
server side, check to make sure that the NetWorker server is installed and
configured correctly. Also, check the log files and error message documentation
for the NetWorker Server.
◆ If the problem appears to be with PowerSnap or Replication Manager, and is not
unique to NMM client, check other documentation.
The following documents provide specific error message, troubleshooting, or other
documentation outside of NMM client:
◆ EMC NetWorker Installation Guide release 7.5 or later
◆ EMC NetWorker Administration Guide release 7.5 or later
◆ EMC NetWorker Error Message Guide release 7.5 or later
◆ EMC NetWorker PowerSnap Module Installation and Administration Guide
◆ EMC Replication Manager Administrator’s Guide

Why the nsr/bin/pathownerignore functionality must not be used


In a clustered environment, the NetWorker software must distinguish between file
systems associated with the physical client, and those that are managed by a resource
group (a virtual client). These criteria are referred to as the path-ownership rules.
These rules determine which client index a save set is written to.
If a file system owned by a virtual client is defined in the save set list for a physical
client resource, by default the file system is not backed up during a scheduled save.
The same is true for a file system owned by a physical client defined in the save set
list for a virtual client resource.
In both cases, the file system is omitted. This occurs because the NetWorker software
views the client (which owns the file system) as not having matched the client of the
current scheduled save.

378 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Glossary

This glossary contains terms related to disk storage subsystems. Many of these terms
are used in this manual.

A
ad hoc backup See manual backup.

administrators group Microsoft Windows user group whose members have the rights and privileges of
users in other groups, plus the ability to create and manage the users and groups in
the domain.

ASM (application Program that is used in a directive to specify how a set of files or directories is to be
specific module) backed up or recovered. For example, compressasm is a NetWorker directive used to
compress files.

archive Backing up directories or files to an archive volume to free disk space. Archived data
is not recyclable.

archive volume Volume used to store archive data. Archived data cannot be stored on a backup
volume or a clone volume.

auto media Feature that enables the storage device to automatically label, mount, and overwrite
management an unlabeled or recyclable volume.

autochanger See library.

autochanger sharing See library sharing.

B
backup Operation that saves data to a volume.
See also conventional backup and snapshot.

backup components See metadata document.


metadata document

backup group See group.

backup level See level.

backup volume Volume used to store backup data. Backup data cannot be stored on an archive
volume or a clone volume. See also volume.

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 379
Glossary

bootstrap Save set that is essential for NetWorker disaster recovery procedures. The bootstrap
consists of three components that reside on the NetWorker Server: the media
database, the resource database, and a server index.

browse policy NetWorker policy that specifies how long backed-up data will be readily available for
recovery. Backed-up data that has not exceeded its browse policy time can be
recovered more quickly than data that has exceeded its browse policy time but not its
retention policy time. See also retention policy.

C
carousel See library.

client Computer, workstation, or fileserver whose data can be backed up and recovered.

client file index Database that tracks every database object, file, or file system that is backed up. The
NetWorker server maintains a single client index file for each client.

client-initiated See manual backup.


backup

Client resource NetWorker Server resource that identifies the save sets to be backed up on a client.
The Client resource also specifies information about the backup, such as the schedule,
browse policy, and retention policy for the save sets. See also client and resource.

clone Reliable copy of backed up data. Unlike volumes created with a simple copy
command, clone volumes can be used in exactly the same way as the original backup
volume. Single save sets or entire volumes can be cloned.

clone volume Exact duplicate of a backup volume. One of four types of volumes that NetWorker
software can track (backup, archive, backup clone, and archive clone). Save sets of
these different types may not be intermixed on one volume.

cluster 1. Two or more independent network servers that operate and appear to clients as if
they are a single unit. The cluster configuration enables work to be shifted from one
server to another, providing "high availability" that allows application services to
continue despite most hardware or software failures. Also known as an agent (Sun),
logical server (HP TruCluster), package (HP-UX), and virtual server (Microsoft).
2. Group of disk sectors. The operating system assigns a unique number to each
cluster and keeps track of files according to which clusters they use.

command line Line on a display screen, also known as a command prompt or shell prompt, where
you type software commands.

component 1. Group of related data that must be treated as a single unit for backup and recovery.
2. In Microsoft VSS terminology, a component is a subordinate unit of a writer.

components See metadata document.


metadata document

consistent State of a dataset that is fully and immediately available to an application view.

Console server Software program that is used to manage NetWorker Servers and clients. The
Console server also provides reporting and monitoring capabilities for all NetWorker
processes.

380 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Glossary

conventional backup See nonpersistent snapshot.

D
domain controller Computer that stores directory data and manages user interactions within a domain,
including logon, authentication, directory searches, and access to shared resources.

data mover (DM) Client system or application, such as NetWorker, that moves the data during a
backup, recovery, or snapshot operation. See also proxy client.

data retention policy See retention policy.

datawheel See library.

datazone Group of hosts administered by a NetWorker server.

Dynamic Drive Feature that allows NetWorker software to recognize shared drives.
Sharing (DDS)

device 1. Storage unit that reads from and writes to backup volumes. A storage unit can be a
tape device, optical drive, autochanger, or file connected to the server or storage
node.
2. When dynamic drive sharing (DDS) is enabled, refers to the access path to the
physical drive.

DFS (Distributed File Microsoft Windows add-on that allows you to create a logical directory of shared
System) directories that span multiple machines across a network.

directed recovery Method of recovery that recovers data that originated on one client computer and
re-creates it on another client computer.

directive Instruction that directs NetWorker software to take special actions on a given set of
files for a specified client during a backup or recovery operation. Directives are
ignored in manual (unscheduled) backups.

disk subsystem Integrated collection of storage controllers or HBAs, disks, and any required control
software that provides storage services to one or more hosts, such as CLARiiON
arrays.

F
file index See client file index.

file system 1. The software interface used to save, retrieve, and manage files on storage media by
providing directory structures, data transfer methods, and file association.
2. The entire set of all files.

full backup See level.

G
group Client or group of client computers that are configured to back up files at a
designated time of day.

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 381
Glossary

H
high-available system System of multiple computers configured as cluster nodes on a network that ensures
that the application services continue despite a hardware or software failure. Each
cluster node has its own IP address with private resources or disks that are available
only to that computer.

host ID Serial number that uniquely identifies a host computer.

I
inactivity timeout Number of minutes to wait before a client is considered to be unavailable for backup.

incremental backup Backup level in which only files that have changed since the last backup are backed
up. See also level.

instant backup Process of creating a point-in-time copy (snapshot) of data from a single client and
saving it on a primary storage volume, which can be immediately recovered as a
backup copy.

instant restore Process of copying data created during an instant backup to its original location, or to
an alternate location, during a recover operation.

J
jukebox See library.

label Electronic header on a volume used for identification by NetWorker or other data
mover application.

legacy method Use of special-case Microsoft APIs to back up and recover operating system
components, services, and applications.

level Backup configuration option that specifies how much data is saved during a
scheduled or manual backup. A full (f) backup backs up all files, regardless of
whether they have changed. Levels one through nine [1-9] backup files that have
changed since the last lower numbered backup level. An incremental (incr) backup
backs up only files that have changed since the last backup.

library Hardware device containing one or more removable media drives, as well as slots for
pieces of media, media access ports, and a robotic mechanism for moving pieces of
media between these components. Libraries automate media loading and mounting
functions during backup and recovery. The term library is synonymous with
autochanger, autoloader, carousel, datawheel, jukebox, and near-line storage.

library sharing Shared access of servers and storage nodes to the individual tape drives within a
library.

local cluster client NetWorker client that is not bound to a physical machine, but is instead managed by
a cluster manager. It is also referred to as a logical or virtual client.

locale settings Settings that specify the input and output formats for date and time, based on local
language conventions.

LUN (logical unit) Logical unit of storage on a CLARiiON system. This refers to a device or set of
devices, usually in a CLARiiON storage array.

382 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Glossary

LUN address SCSI identifier of a logical unit number (LUN) within a device target. Each LUN
address identifies a device on a SCSI bus that can perform input/output (I/O)
operations.

M
manual backup Backup that a user performs from the client, also known as an unscheduled backup or
an ad hoc backup. The user specifies the files, file systems, and directories to back up.

media Physical storage medium, such as magnetic tape, optical disk, or file system to which
backup data is written.

media database Database that contains indexed entries of storage volume location and the life cycle
status of all data and volumes managed by the NetWorker Server. See also volume.

media index See media database.

metadata document VSS Information stored in an XML document that is passed from the writer to the
requestor. Metadata includes the writer name, files, and components to back up, a list
of components to exclude from the backup, and the methods to use for recovery. See
also shadow copy set.

mount To make a database available for use or to place a removable tape or disk volume into
a drive for reading or writing.

mount point See volume mount point.

N
NDMP (Network Data TCP/IP-based protocol that specifies how heterogeneous network components
Management communicate for the purposes of backup and recovery.
Protocol)

NetWorker User who can add to or change the configuration of the NetWorker server, media
administrator devices, and libraries. NetWorker administrators must have their usernames
included in the NetWorker server Administrator list.

NetWorker client See client.

NetWorker Console See Console server.


server

NetWorker See Console server.


Management
Console

NetWorker server Computer on a network running the NetWorker software, containing the online
indexes, and providing backup and recover services to the clients on the same
network.

NetWorker storage See storage node.


node

nonclone pool Pools that contain data that has not been cloned.

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 383
Glossary

nonpersistent Snapshot backup that is moved to secondary storage on the NetWorker Server or
snapshot storage node and is no longer available for instant restore from a supported type of
primary storage.

O
online indexes Databases located on the NetWorker Server that contain all the information
pertaining to the client backups (client file index) and backup volumes (media
database).

operator Person who monitors the server status, loads backup volumes into storage devices,
and executes day-to-day NetWorker tasks.

P
pathname Set of instructions to the operating system for accessing a file. An absolute pathname
indicates how to find a file starting from the root directory. A relative pathname
indicates how to find the file starting from the current directory.

persistent snapshot Snapshot that is retained on disk. A persistent snapshot may or may not be rolled
over to tape.

PiT (point-in-time Fully usable copy of a defined collection of data, such as a consistent file system,
copy) database, or volume, which contains an image of the data as it appeared at a single
point in time. A PiT copy is also called a shadow copy or a snapshot.

policy Set of constraints that specify how long the save sets for a client are available for
recovery. Each client has a browse policy and a retention policy. When the retention
policy expires, the save sets associated with that policy are marked recyclable.

pool Feature to sort backup data to selected volumes.

PowerSnap EMC technology that provides point-in-time snapshots of data to be backed up.
Applications that are running on the host system continue to write data during the
snapshot operation, and data from open files is included in the snapshots.

provider Software component defined by Microsoft VSS, that plugs in to the VSS environment.
A provider, usually produced by a hardware vendor, enables a storage device to
create and manage snapshots.

proxy client Surrogate client that performs the NetWorker save operation for the client that
requests the backup. A proxy client is required to perform a serverless backup.

Q
quiescing Process in which all writes to disk are stopped and the file system cache is flushed.
Quiescing the database prior to creating the snapshot provides a transactionally
consistent image that can be remounted without file system checks or database
consistency checks. Quiescing a database is the most common way of creating a
database snapshot.

R
recover To recover files from a backup volume to a client disk.

384 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Glossary

Registry Microsoft Windows database that centralizes all Windows settings and provides
security and control over system, security, and user account settings.

requestor Interface with the Microsoft VSS infrastructure to initiate the creation and destruction
of shadow copy. NetWorker software is a requestor.

replica See shadow copy.

resource Component that describes the NetWorker server or its clients. Clients, devices,
schedules, groups, and policies are all NetWorker resources. Each resource has
attributes that define its properties.

restore Process of retrieving individual datafiles from backup storage and copying the files to
disk.

retention policy NetWorker policy that specifies the minimum period of time that must elapse before
backed-up data is eligible to be overwritten on the backup media. Backed-up data
that has not exceeded its browse policy time can be recovered more quickly than data
that has exceeded its browse policy time but not its retention policy time. See also
browse policy.

retrieve To locate and recover archived files and directories.

rollback restore Process by which a specific point-in-time copy (snapshot) of data is restored to the
source location by using the hardware's particular capabilities. A rollback restore is a
destructive save set restore.

rollover Process of backing up a snapshot to a conventional backup medium such as tape.


Whether or not the snapshot is retained on disk depends on the snapshot policy.

root Highest level of the system directory structure.

S
save set Group of files or a file system from a single client computer, which is backed up on
storage media.

SSID (save set ID) Internal identification number assigned to a save set.

save set recover To recover data by specifying save sets rather than by browsing and selecting files or
directories.

save set status NetWorker attribute that indicates whether a save set is browsable, recoverable, or
recyclable. The save set status also indicates whether the save set was successfully
backed up.

server index See client file index.

serverless backup Backup method that uses a proxy client to move the data from primary storage on the
application server host to secondary storage on another host. Serverless backups free
up resources on the application server by offloading the work of processing
snapshots to a secondary host.

service port Port used to listen for backup and recover requests from clients through a firewall.

shadow copy Temporary, point-in-time copy of a volume created using VSS technology. See also
Volume Shadow Copy Service (VSS).

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 385
Glossary

shadow copy set Complete roadmap of what was backed up at a single instant in time. The shadow
copy set contains information about the writers, their components, metadata, and the
volumes. A backup components metadata document containing that information is
created and returned to the requestor after the snapshot is complete. Networker uses
this document with the corresponding save set at recover time.

shadow copy Defined and standard coordination between business application, file system, and
technology backup application that allows a consistent copy of application and volume data to
exist for replication purposes.

skip Backup level in which designated files are not backed up.

snap clone Exact copy of a snap set data backup. The clone operation is an archive operation
without the deletion of the source data. A new snap ID is assigned to the cloned copy.

snap ID Also known as a snapid, a unique 64-bit internal identification number for a snap set.

snap set Group of files, volumes, or file systems from a single client, describing the collection
of data for which a point-in-time copy is created on an external disk subsystem, such
as a storage array.

snapshot Point in time, read-only copy of data created during an instant backup.

snapshot expiration Policy that determines how long snapshots are retained before their storage space is
policy made available for the creation of a new snapshot.

snapshot policy Set of rules that control the lifecycle of a snap set. The snapshot policy specifies the
frequency of snapshots, and how long snapshots are retained before recycling.

snapshot retention Policy that determines how many PIT copies are retained in the media database and
policy thus are recoverable.

staging Moving data from one storage medium to a less-costly medium, and later removing
the data from its original location.

stand-alone device Storage device that contains a single drive for backing up data. Stand-alone devices
cannot store or automatically load backup volumes.

storage device See device.

storage node Storage device physically attached to a computer other than the NetWorker Server,
whose backup operations are administered from the controlling NetWorker Server.

V
volume 1. A unit of physical storage medium, such as a magnetic tape, optical disk, or file
system to which backup data is written.
2. An identifiable unit of data storage that may reside on one or more host disks.

volume ID Internal identification that NetWorker software assigns to a backup volume.

volume mount point Disk volume that is grafted into the namespace of a host disk volume. This allows
multiple disk volumes to be linked into a single directory tree, and a single disk or
partition to be linked to more than one directory tree.

volume name Name assigned to a backup volume when it is labeled. See also label.

386 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Glossary

volume pool See pool.

Volume Shadow Copy Microsoft technology that creates a point-in-time shadow copy of a disk volume.
Service (VSS) NetWorker software backs up data from the shadow copy. This allows applications
to continue to write data during the backup operation, and ensures that open files are
not omitted.

VSS See Volume Shadow Copy Service (VSS).

VSS component Subordinate unit of a writer.

W
writer Database, system service, or application code that provides metadata document
information about what to back up and how to handle VSS components and
applications during backup and recovery operations. A Writer provides information
to requestors to ensure that application data is consistent, application files are closed
and ready for a slight pause to make a Shadow Copy.

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 387
Glossary

388 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Index

A Application Specific Module (ASM) pass phrase 90


Active Directory (AD) application writers
backups for disaster recovery 338 DPM 296
backups for object selection granularity 339 Exchange 245
disaster backup and recovery 40 Hyper-V 320, 323
granular backup and recovery 40 SharePoint 2003 168
log files 376 SharePoint 2007 197
Active Directory Lightweight Directory Services (AD LDS) supported 34
84, 338 authoritative restore
active node 270 ADAM 84
AD LDS backup and recovery 338 Cluster Writer 143
AD recovery DFS 86, 87
all objects for a disaster recovery 348 FRS 88
granular recovery 349 NTDS 89
individual objects and attributes 349 Avamar 105
null value restriction 353 configuration 106
restrictions for 351
schema object restriction 353 B
system-only attribute restriction 351 backup
tombstone restriction 351 Active Directory 339
ADAM LCR 244
authoritative restore 84 SharePoint 2003 167
nonauthoritative restore 84 backup and recovery
recovery options 84 Hyper-V parent partition 315
AES encryption backup client resource
conflict with EFS encryption 90 configuring 60, 345
All save set configuring DPM 300
considerations for 74 configuring Hyper-V 327
alternate location configuring multiple 60, 300, 327, 345
SharePoint directed recovery 237 backup command attribute
alternate mount path for proxy client 249 applications 75
alternate storage group, Exchange recovery to 282 DPM 301
application data save sets Exchange 258, 260, 262, 264, 265
considerations for 52, 137, 170 Hyper-V 328
application information attribute SharePoint 2007 202, 204, 206
applications 65 SharePoint 2007 granular 230
Cluster Writer 141 backup groups
DPM 299 configuring 59, 344
Exchange 248 backup levels,
Hyper-V 325 deduplication 107
SharePoint 2003 SQL data 169 backup pool
SharePoint 2007 198 creating for snapshots 53, 342
SQL 118 backup roadmap

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 389
Index

Hyper-V 318 common provider


backup save sets See EMC VSS Provider 31
applications 61 configuration database
DPM 297 SharePoint 2007 191
Exchange 246 SharePoint 2007 database backup 205
Hyper-V 324, 328 SharePoint 2007 recovery 208
SharePoint 2003 SQL data 168 connection port range
SharePoint 2007 197 specifying 161
SharePoint 2007 disaster recovery 212 connection to NetWorker server 44
specifying 74, 257, 260, 262, 263, 265, 301, 346 consistency checker
SQL 116 utility 67
backup schedule conventional recovery
configuring 58, 344 overview 38
backup time
selecting for recovery 46
D
backups
data deduplication 102
deduplication 107
deduplication
best practices
Avamar integration 105
SQL backup and recovery 133
backup configuration notes 108
best practices for backup and recovery
backups 107
Exchange 252
configuration 106
Hyper-V child partition 321
configuring client 109
Hyper-V parent partition 321
prerequisites 105
SharePoint 2003 170
querying deduplication save sets with mminfo 111
SQL in SharePoint 2003 176
support 104
browse time
unsupported 104
selecting for recovery 46
Deduplication Node
configuration 106
C deduplication, data 102
child partition deleting snapshots 156
best practices for backup and recovery 321 device
Hyper-V configurations 318 configuring for rollover backup 53, 342
child partitions 316 DFS recovery options 85
CLARiiON directed recovery
E_VETO_PROVIDER error message 358 DPM-protected server 307
error message 358 Exchange Server 2007 284
provider overview 33 NMM Client 93
replica takes long time 365 SharePoint 2007 restore to an alternate location 237
client resource system 93
configuring for backup 60, 345 directory services restore mode
configuring for deduplication 109 booting in for FRS recovery 91
configuring for DPM backup 300 booting in for NTDS recovery 91
configuring for Hyper-V backup 327 disaster recovery
configuring for SharePoint 2007 backup 201 backup 39
configuring for SQL backup 120 clustered client from a legacy non-VSS backup 149
configuring multiple 60, 300, 327, 345 DPM 309
configuring when in a cluster 68, 74, 120, 142, 255, Hyper-V 334
300, 327, 341 Hyper-V parent partition 334
Cluster Continuous Replication (CCR) legacy VSS backup 146
Exchange backup 244 Microsoft Exchange Server 2007 286
cluster server NMM client 97
entering physical hostname of 76, 347 NMM Client not on a domain controller 98
scheduling backups for 68, 74, 120, 142, 255, 300, 327, NMM Client on a domain recovery 99
341 planning for active directory 338
Cluster tab 143 recovery for active directory 348
Cluster Writer recovery SharePoint 2007 212
authoritative restore 143 SQL 133
for Windows Server 2008 82 support in NMM 40
nonauthoritative restore 143 SYSTEM COMPONENTS 97
options 81 Windows Server 2003 clustered client 143

390 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Index

DNS resolution, NetWorker Deduplication Node 106 F


DPM failover from the passive node 270
configuring client resource for backup 300 file system
directed recovery 307 disaster backup and recovery 40
disaster backup and recovery 40 granular backup and recovery 40
disaster recovery options 311 recovery options 80, 82
granular backup and recovery 40 FRS recovery
granular recovery 304 booting in directory services restore mode 91
URL encoding for save sets 298 consideration for 77
DPM disaster recovery options 87
individual objects and attributes 309 full backup level
consideration for 58, 344
E
EFS encryption G
conflict with AES encryption 90 granular backup
email notification SharePoint 2007 229, 230
NetWorker events 357 granular backup and recovery
EMC VSS Provider support in NMM 40
overview 31 granular recovery
encryption Active Directory 349
recovering backup data 77 backup 39
errors DPM objects 304
E_VETO_PROVIDER 358 groups
E_VOLUME_NOT_SUPPORTED 358 configuring for backup 59, 344
error code 0x800423f3 358 guest. See also child partition
Microsoft I/O write 365
NMM client 357
replica in a CLARiiON array 365 H
VSS CLIENT... Invalid Writer Selection 359 hardware providers 33
VSS_E_VOLUME_NOT_SUPPORTED_BY_PROVIDE HIDD_SELECT_VIEWABLE_CLIENTS 160
R 364 host
VSS_E_WRITERERROR_RETRYABLE 358 Hyper-V 317
with Exchange 359 Host. See also Hyper-V parent partition
Event viewer 357 Hyper-V
events backing up a virtual machine with multiple volumes
notification 360 326
exceptions backup roadmap 318
Windows Firewall 362 components used for backup and recovery 323
Exchange configuring backups 327
consistency checker utility 67 configuring client resource for backup 327
disaster backup and recovery 40 disaster backup and recovery 40
errors 359 disaster recovery 334
granular backup and recovery 40 granular backup and recovery 40, 322
point-in-time recovery 271 host 317
recover to Recovery Storage Group (RSG) 272 parent partition disaster recovery 334
roll-forward recovery 270 recovery 330
URL encoding for save sets 247 save sets 323
Exchange backup VSS writer 323
CCR environment 244 Hyper-V best practices
LCR environment 244 child partition backup and recovery 321
Exchange recovery parent partition backup and recovery 321
alternate storage group 282 Hyper-V child partition
database can be overwritten selection 268 configurations 318
options for 267 Hyper-V parent partition
original storage group 274 backup and recovery types 315
Remote Storage Group (RSG) 272 Hyper-V storage and backup options 318
Exchange Server 2007
directed recovery 284 I
exclusion representation of save sets 42 incremental backup level

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 391
Index

consideration for 58, 344 NetWorker server


instant backup connecting to 44
overview 37 NMM Client
instant recovery directed recovery 93
overview 38 NMM client
instant snapshot policy example 58 error messages 357
interface log files 375
overview 41 nonauthoritative restore
items ADAM 84
searching for recovery 46, 280 Cluster Writer 143
DFS 86, 87
FRS 88
L
NTDS 89
label
nonpersistent backup
creating for pool 54, 343
overview 37
large SharePoint farms 225
notification
LCR 244
NetWorker events 360
Exchange backup 244
savegroup failed 360
LCR backup support 244
notifications 357
level 1 to 9 backups
types 357
consideration for 58, 344
NSR_ALT_PATH command 249
level for backup
NSR_DATA_MOVER command 65
considerations for 58, 344
NSR_DM_PORT command 249
Local Continuous Replication (LCR) 244
nsr_moss_save 221
log files 357
nsr_sa_ini.exe 154
Active Directory 376
NTDS recovery
NetWorker Server 376, 377
booting in directory services restore mode 91
NMM client 375
consideration for 77
PowerSnap client 375
options 88
Replication Manager 375
NUMBER_OF_PROCESSOR 225
Solutions Enabler 376
troubleshooting with 374
O
overview
M
conventional recovery 38
marking items for recovery 45, 280
instant backup 37
metadata recovery 240
instant recovery 38
Microsoft Cluster Service 140
interface 41
Microsoft Exchange Server 2007
nonpersistent backup 37
disaster recovery 286
persistent backup 37
Microsoft VSS software provider
provider 31
overview 31
requestor 31
Microsoft Windows Server 2008 34, 62, 81, 82, 84, 140, 296,
rollback recovery 39
297, 338
rollover backup 37
Microsoft Windows Server 2008 support 82
serverless backup 36
mminfo, querying deduplication save sets using 111
software provider 31
monitoring a recovery 76, 91, 149
VSS writers 33
mount path for proxy client 249
overwrite prevention error
MSCS 140
Exchange database recovery 366
MSDE
turning writer on or off in registry 297
multiple client resources for backup 60, 300, 327, 345 P
parent partition
best practices for backup and recovery 321
N
pass phrase
NetWorker Deduplication Node, DNS resolution 106
recovering AES encrypted data 90
NetWorker events
passive node 270, 271
email notification 357
password
NetWorker Monitor window 357
changing 162
Networker recovery options 80, 82
consideration for changing 162
NetWorker Server
restriction for active directory recovery 352
log files 376, 377

392 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide
Index

specifying for backup 162 recoverysearching the NetWorker index 233


password-protected remote access attribute
recovering backup data 77 virtual cluster server specification 76, 347
persistent backup replica
overview 37 error message 358
physical server takes long time in CLARiiON environment 365
Hyper-V 317 Replication Manager
policies for snapshots 56 error message 358
pool log files 375
creating for snapshots 53, 342 requestor
label for 54, 343 overview 31
ports resource for backup
Exchange proxy client communications 249 configuring 60, 345
service and connection port ranges 161 configuring multiple 60, 300, 327, 345
PowerSnap client rollback recovery
log files 375 limitations of 153
Pre-Recovery Options dialog box 236 overview 39
prerequisites performing 153, 155
deduplication 105 requirements for 153
provider rollover backup
overview 31 device for 53, 342
proxy client overview 37
configuring 66 performing 152
mount path 249
port number for communicating 249
S
requirements for 67
sa.ini 154
SharePoint serverless backup 170, 198
safe mode, booting in 91
specifying hostname of 65
save sets
SQL serverless backup 118
applications 61
DPM 297
R Exchange 246, 257, 260, 262, 263, 265
recover.exe 77 exclusion representation 42
recovery Hyper-V 323, 324
ADAM options 84 SharePoint 2003 169
browse time selection 46 SharePoint 2003 SQL data 168
Cluster options 81 SharePoint 2007 197
Cluster Writer options 81 SharePoint 2007 granular backup 221
default method, choosing 80 specifying for backup 74, 301, 346
DFS options 85 specifying for Hyper-V backup 328
encrypted backup data 77 SQL 116
Exchange options 267 SQL databases in SharePoint 2007 212
FRS options 87 URL encoding 63
Hyper-V 330 savegroup failed notification 360
marking items 45, 280 Search Index
NTDS options 88 backup in SharePoint 2007 197
password-protected backup data 77 searching for a recovery item 46, 280
performing for system data 78 Security Configuration Wizard 362
searching for items 46, 280 selecting items for recovery 45, 280
selecting a version 46 server
SharePoint 2007 granular 217 connecting to NetWorker 44
SharePoint 2007 restore to an alternate location 237 serverless backup 33, 118
snapshots that have not been rolled over 90 overview 36
viewing progress for 76, 91, 149 proxy client requirement 66
volumes required for 47 SharePoint 2007 backup 170, 198
recovery error service port range
Exchange database 366 specifying 161
Recovery Storage Group (RSG) services 377
Exchange 272 SharePoint 2003
recovery, deduplication 111 backup and recovery process 176
recoverybrowsing through the navigation tree 233 backup and recovery support 167

EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide 393
Index

backups 172 system


best practices for backup and recovery 170, 176 directed recovery 93
Client resource 172 SYSTEM COMPONENTS
recovery 173 disaster recovery 97
save sets 169 system recovery
SQL 2005 database recovery 174 performing 78
SQL Server 2000 recovery 174
SharePoint 2007
T
configuration database 191
time of backup
configuration database recovery 208
selecting for recovery 46
directed recovery through restore to an alternate
troubleshooting
location 237
checking other documents 378
disaster backup and recovery 40
granular backup and recovery 40
granular backup save sets 221 U
granular backup storage requirements 220 URL encoding
granular recovery prerecovery options 239 DPM save sets 298
save sets for granular backup 230 Exchange save sets 247
Search Index 191 save sets 63
serverless backup 170, 198 SharePoint 2007 170, 198
specifying save sets for backup 202, 203, 205 SharePoint 2007 save sets 170, 198
URL encoding 170, 198 SQL save sets 117
URL encoding for save sets 170, 198
snapshot policies
configuring 56
V
snapshots version
deleting 156 selecting for recovery 46
pool for 53, 342 virtual cluster server
recovering when not rolled over 90 entering physical hostname of 76, 347
rollback operation 153 scheduling backups for 68, 74, 120, 142, 255, 300, 327,
rollover operation 152 341
software provider Volume Shadow Copy Service (VSS)
overview 31 writers 33
Solutions Enabler volumes required for recovery 47
log files 376 VSS CLIENT... Invalid Writer Selection 359
SQL VSS_E_VOLUME_NOT_SUPPORTED_BY_PROVIDER
database recovery for SharePoint 2003 174 364
disaster backup and recovery 40 VSS_E_WRITERERROR_RETRYABLE 358
serverless backup 118
URL encoding 117 W
SQL proxy client 118 Windows Encrypting File System (EFS) 90
SQL Server Windows Firewall
configure client resource 120 NetWorker blocked by 362
storage and backup options Windows Server 2003
Hyper-V 318 disaster recovery 143
storage array Windows Server 2008 34, 62, 81, 82, 84, 296, 297, 338
creating descriptor 154 Windows Server 2008 Cluster Writer
descriptor file 154 nonauthoritative restore 81
storage requirements Windows Server Failover Clustering (WSFC) 140
SharePoint 2007 granular backup 220 Windows SharePoint Services 2.0
Symmetrix see SharePoint 2003 167
provider overview 33 Windows SharePoint Services 3.0
syntax see SharePoint 2007 190
application save sets 61
DPM save sets 297
Exchange save sets 246
Hyper-V save sets 324
SharePoint 2003 SQL data 168
SharePoint2007 197
SQL 116

394 EMC NetWorker Module for Microsoft Applications Release 2.2 SP1 Administration Guide

Vous aimerez peut-être aussi