EMC NetWorker Module For Databases and Applications (NMDA) 1.2 Administration Guide
EMC NetWorker Module For Databases and Applications (NMDA) 1.2 Administration Guide
Administration Guide
P/N 300-012-086
REV A02
EMC Corporation
Corporate Headquarters:
Hopkinton, MA 01748-9103
1-508-435-1000
www.EMC.com
Copyright © 2009 - 2012 EMC Corporation. All rights reserved.
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 Technical Documentation and Advisories section
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 Databases and Applications Release 1.2 Administration Guide
Contents
Preface
Revision History
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 3
Contents
4 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Contents
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 5
Contents
6 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Contents
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 7
Contents
8 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Contents
Glossary
Index
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 9
Contents
10 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Figures
Title Page
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 11
Figures
12 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Tables
Title Page
1 Naming conventions............................................................................................................. 24
2 NMDA components.............................................................................................................. 50
3 NMDA parameters that support non-ASCII values ........................................................ 58
4 NetWorker Server resource attributes ............................................................................... 61
5 User group privileges for NMDA operations ................................................................... 61
6 Options of the nsrdaadmin command for configuration conversion............................ 65
7 Mandatory parameters for scheduled NMDA backups.................................................. 69
8 Backup levels specified in NetWorker Schedule resource.............................................. 71
9 NetWorker Client resource attributes ................................................................................ 72
10 Mandatory parameters for manual NMDA backups ...................................................... 75
11 Configuring a Data Domain backup .................................................................................. 82
12 NetWorker Probe resource attributes ................................................................................ 85
13 Sybase roles and permissions............................................................................................ 109
14 Full backups with NSR_DUMP_LOG_OPT.................................................................... 111
15 Incremental backups with NSR_DUMP_LOG_OPT ..................................................... 111
16 Threshold procedure location ........................................................................................... 113
17 Supported procedures for a manual NMDA backup .................................................... 119
18 Consistency check options of the nsrsybcc command................................................... 123
19 Toolbar buttons on the Backup window ......................................................................... 125
20 Supported procedures for NMDA data restore.............................................................. 142
21 Toolbar buttons on the Recover window ........................................................................ 176
22 Configuration file parameters corresponding to Recover Options fields................... 178
23 Command/library names for 32-bit and 64-bit coexistence ......................................... 233
24 Typical configuration for PowerSnap snapshot operations with NMDA .................. 236
25 Supported PowerSnap backup types ............................................................................... 237
26 Supported PowerSnap restore types ................................................................................ 239
27 Sample NetWorker Group resource attributes for a snapshot backup....................... 243
28 PowerSnap parameters ...................................................................................................... 246
29 DB2 resource file parameters............................................................................................. 249
30 NWORA parameter resources .......................................................................................... 266
31 NWORA SID resource components ................................................................................. 268
32 Common NMDA parameters............................................................................................ 296
33 DB2-specific NMDA parameters ...................................................................................... 303
34 Informix-specific NMDA parameters .............................................................................. 306
35 Lotus-specific NMDA parameters.................................................................................... 308
36 Oracle-specific NMDA parameters .................................................................................. 316
37 Sybase-specific NMDA parameters.................................................................................. 319
38 Option values in the send command ............................................................................... 326
39 NetWorker XBSA error messages..................................................................................... 333
40 Path and suffix for the load libnsrdb2 command........................................................... 336
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 13
Tables
Title Page
14 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Examples
Title Page
1 Save set bundling for a 1-week scheduled backup cycle of a tablespace ..................... 44
2 Save set bundle join .............................................................................................................. 44
3 Splitting a save set bundle across volumes ....................................................................... 44
4 Using the nsrdaadmin command for configuration conversion .................................... 66
5 Multiple probes for a probe-based backup ....................................................................... 88
6 Using NSR_RETAIN_NUM_LOGS to control reusable logs .......................................... 95
7 RMAN script for a manual backup .................................................................................. 101
8 RMAN script for a scheduled backup .............................................................................. 103
9 Using the configure channel command with parms option for automatic channels 105
10 Specifying parameter values per automatic channel ..................................................... 105
11 Using the set backup copies command in the RMAN script ........................................ 106
12 Using automatic channels for backup copies .................................................................. 107
13 Recovery of a database to a specific point in time .......................................................... 154
14 Recovery of specific Lotus data files or directories ........................................................ 154
15 Recovery of all Lotus database files ................................................................................. 154
16 Relocated data restore ........................................................................................................ 155
17 Restore of a logged database without applying transaction logs ................................ 155
18 Relocation of a linked database during Lotus recovery ................................................ 155
19 Recovery of a database with a change of DBIID ............................................................ 156
20 Recovering deleted documents for a logged database .................................................. 159
21 Using restore...preview to determine volumes for restore ........................................... 162
22 Sample nsrorainfo commands for Oracle restores ......................................................... 164
23 Volume information displayed by the nsrorainfo command ....................................... 165
24 RMAN script for a tablespace restore .............................................................................. 166
25 RMAN script for a restore from a specified pool ........................................................... 166
26 Restores of single or multiple Sybase databases ............................................................ 172
27 Point-in-time recovery of Sybase data ............................................................................. 172
28 Sample postcommand script on UNIX ............................................................................ 195
29 Setting up an Oracle RAC configuration ......................................................................... 224
30 PowerSnap parameter settings for different types of primary storage ....................... 246
31 RMAN scripts with multiple channels ............................................................................ 252
32 Setting the PowerSnap parameter NSR_SNAPSHOT_POSTCMD ............................. 254
33 Setting the PowerSnap parameter RESTORE_TYPE_ORDER ..................................... 254
34 Oracle PowerSnap backup failure .................................................................................... 256
35 Oracle PowerSnap backup entries in the client file index ............................................. 259
36 Oracle PowerSnap backup entries in the media database ............................................ 259
37 Resource file backup entry in the client file index ......................................................... 260
38 Resource file backup entry in the media database ......................................................... 260
39 Symbolic link specified in the set newname command ................................................. 263
40 Relocation of a raw volume ............................................................................................... 263
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 15
Examples
Title Page
16 EMC NetWorker Module for Databases and Applications Release 1.2 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.
Note: This document was accurate as of the time of publication. However, as information is
added, new versions of this document may be released to the EMC Powerlink website. Check
the Powerlink website to ensure that you are using the latest version of this document.
Purpose This document describes how to configure and use the EMC NetWorker Module for
Databases and Applications (NMDA) release 1.2 software.
Related The following EMC publications related to the use of this product can be found at the
documentation EMC website, http://Powerlink.EMC.com:
◆ The NetWorker Module for Databases and Applications release 1.2
documentation set:
• Administration guide
• Installation guide
• Release notes
• Command reference guide
◆ The NetWorker documentation set:
• Administration guide
• Installation guide
• Release notes
• Command reference guide
• Disaster recovery guide
• NetWorker licensing guide
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 17
Preface
Conventions used in EMC uses the following conventions for special notices:
this document
Note: A note presents information that is important, but not hazard-related.
IMPORTANT
An important notice contains information essential to software or hardware
operation.
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, 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
18 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Preface
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
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:
BSGdocumentation@emc.com
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 19
Preface
20 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Revision History
A02 January 12, 2012 Updated the following for General Availability (GA) of NMDA 1.2:
• “Naming conventions used in this guide” on page 24 - Added Informix IDS term.
• “Restartable scheduled backups” on page 35 - Added details on checkpoint granularity for Lotus backups.
• Table 8 on page 71 - Clarified details on Informix and Oracle backup levels.
• “Configure the Client resource” on page 72 - Modified details on the Save Set attribute.
• “Considerations for automated deletion of DB2 recovery objects” on page 92 - Added this new section.
• “Configure DB2 automatic transaction log backups” on page 93 - Added first paragraph and modified step 2.
• “Oracle backup copies” on page 105 - Corrected the first sentence. Support is offered for manual backups only.
• Table 14 on page 111 - Modified details in third column for Sybase full backups with NSR_DUMP_LOG_OPT
option.
• “Configuring a PowerSnap restore and recovery” on page 245 - Added information on NSR_DATA_MOVER.
• “PowerSnap parameters” on page 245 - Updated the method of setting DB2 PowerSnap parameters.
• Table 28 on page 246 - Updated the NSR_DATA_MOVER parameter description.
• “NSR_PREFETCH_LOGS” on page 311 - Modified details on the Lotus parameter valid value.
• “NSR_DUMP_LOG_OPT” on page 320 - Modified details on the “no_log” value for the Sybase parameter.
A01 September 29, 2011 Initial release of this document for Restricted Availability (RA) of NMDA 1.2.
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 21
Revision History
22 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
1
Overview of Product
Software and
Features
Term Description
Client-side configuration Backup configuration that is created without the configuration wizard.
Configuration wizard Configuration wizard, integrated with the EMC® NetWorker® Management Console
(NMC) GUI, which can be used to configure the following:
• NetWorker Module for Databases and Applications (NMDA) scheduled backup
for all applications
• NMDA recovery for Oracle only
Server-side configuration Backup configuration that is created with the configuration wizard.
Database host, application Host where both the particular database or application software and NMDA
host, or NMDA host software are installed.
EMC PowerSnap™ Backup or restore that is implemented by using snapshot technologies through the
snapshot backup or restore EMC NetWorker PowerSnap Module software.
Note: For Informix release 11.70 or later, replace instances of “Informix Dynamic
Server” in this guide with “Informix Database Server”.
Legacy NetWorker module One of the NetWorker modules that NMDA replaces: NMDB2, NMI, NML, NMO, or
NMS.
Regular backup or restore NMDA backup or restore that does not use snapshot technologies through the
PowerSnap Module software.
Restore and recover Unlike NetWorker, which uses the term recover for all backup retrieval activities,
NMDA distinguishes between restore and recovery of a database:
• Restore means to retrieve individual data from backup and store it on disk.
• Recover means to apply the transaction, redo, or logical logs to make the
database consistent.
UNIX Both UNIX and Linux operating systems, unless specified otherwise.
Windows All the supported Microsoft Windows operating systems, unless specified
otherwise.
24 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
Importance of backups
The reliability of computer equipment has improved greatly in recent years, but
system and hardware failures still occur, sometimes with catastrophic results.
Software bugs, procedural flaws, and simple user errors are common problems that
require database or application restores from backup storage media.
For the complete protection of a database or application system, a viable backup
strategy must include regular backups of the following:
◆ Database or application data
◆ Transaction (or archived) logs
◆ Database or application configuration and control files
These backups are important for the following reasons:
◆ Without backups, you cannot restore a database at all.
◆ Without transaction logs, you can restore a database only to the time of its last
consistent backup.
◆ Without the configuration and control files, you might not be able to re-create the
database or application setup.
The NetWorker server maintains an online client file index and online media
database, which together comprise the online indexes. During a backup, the
NetWorker server makes an entry in the online client file index and records the
location of the data in the online media database. These entries provide recovery
information required for all backed-up data.
During a scheduled backup, the NetWorker server backs up the client index and
other server configuration information (called bootstrap), such as the resource
database. The client index and bootstrap information is mandatory for performing
disaster recovery of the NetWorker server.
If you do not run scheduled NMDA backups, you must back up the bootstrap
information manually to protect your NMDA backups in case of a NetWorker server
disaster. The EMC NetWorker Disaster Recovery Guide provides details on how to back
up the bootstrap information and other steps required for NetWorker server disaster
protection.
Importance of backups 25
Overview of Product Software and Features
26 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
Note: Deduplication can be offloaded to a proxy host for the application that supports
snapshot-based backups. The EMC NetWorker Module for Databases and Applications Release
Notes provides details on the required PowerSnap release. The PowerSnap documentation
provides more details on deduplication support.
Domain system where the deduplication occurs. During a restore, the Data Domain
system converts the stored data to its original nondeduplicated state and sends it to
the NetWorker storage node, which propagates the data to the NMDA client.
An NMDA backup to a Data Domain system that is configured as a NetWorker Data
Domain device can take advantage of the Data Domain “distributed segment
processing” (DSP) feature. DSP enables the backup data to be deduplicated on the
NetWorker storage node or the NMDA host directly. Deduplication on the
NetWorker storage node has many advantages but requires all the data to be sent
from the NMDA client to the storage node. To reduce the amount of transferred data,
NMDA can use the DSP feature to deduplicate the data locally and send only the
unique blocks directly to the NetWorker Data Domain device through direct file
access (DFA) technology.
Specific factors determine how the deduplicated data is restored from the NetWorker
Data Domain storage device. If an NMDA client has direct access to the NetWorker
Data Domain storage device, then it restores data directly from the device, regardless
of whether the backup was done directly from the NMDA client or through the
storage node. If the NMDA software cannot access the data directly, then the restore
process reverts to the traditional method that uses the storage node. Regardless of the
restore method used, the Data Domain system converts the stored data to its original
nondeduplicated state before sending it over the network.
You must configure a deduplication backup with a Data Domain system according to
“Configuring a deduplication backup with Data Domain” on page 80.
28 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
Virtualization support
NMDA supports several types of virtualization software, such as VMware, Solaris
zones, Microsoft Hyper-V, and so on. The EMC Information Protection Software
Compatibility Guide on the EMC Powerlink® website provides a full list of supported
environments and platforms.
VMware support
The NMDA software supports regular backups and restores of the database or
application installed on a VMware Virtual Machine (VM) on an ESX server.
NMDA also supports the following advanced features of a VMware ESX server:
◆ VMotion — The VMotion feature enables migration of virtual machines from one
ESX server to another while the servers are on. The migration is seamless to the
applications that run on the virtual machines, and users do not experience
disconnections. If a migration occurs during an NMDA backup or restore, the
backup or restore is not interrupted. VMware documentation provides details on
the VM requirements for VMotion.
◆ Distributed Resource Scheduler (DRS) — The DRS feature enables dynamic
balancing and allocation of resources across multiple ESX servers. Depending on
the DRS policies set by the user, the DRS can migrate or recommend that users
migrate a virtual machine to a different ESX server by using VMotion. DRS can
also start (at boot-up time) a virtual machine on a different ESX server. As this
feature uses VMotion, if a migration occurs during an NMDA backup or restore,
the backup or restore is not interrupted.
◆ High Availability (HA) — The HA feature enables VMware to be restarted on the
same ESX server, on a different ESX server, or on a physical machine, depending
on the type of VMware cluster configured. During a restart, users are
disconnected, and must reconnect.
If a restart occurs during an NMDA backup or restore, the backup or restore fails:
• A manual backup or restore must be restarted manually when the guest
operating system is restarted.
• In the case of a scheduled backup, the NetWorker server retries the backup if
the Client Retries attribute in the Group resource is set to a nonzero value.
Configuration wizards
The NMDA software provides support for backup and recovery configuration
wizards that are integrated with the NetWorker Management Console (NMC).
You can run the NMDA wizards from the NetWorker Console Administration
window, which you can start on any supported host by using a web browser session
and specifying the Console server URL.
The NMDA software supports the following configuration wizards:
◆ Backup configuration wizard that configures scheduled backups (either typical or
custom) of DB2, Informix, Lotus Domino/Notes, Oracle, and Sybase data.
“Configuring a scheduled backup with the wizard” on page 66 provides details
on using the backup configuration wizard.
◆ Recovery configuration wizard that generates Oracle Recovery Manager (RMAN)
scripts designed to:
• Restore and recover Oracle data to the original host.
• Create a duplicate Oracle database on a local or remote host.
“Recovery configuration wizard (Oracle only)” on page 166 provides details on
using the recovery configuration wizard.
The wizards provide security and ease of management for backup and recovery
configurations. For example, the wizards use NetWorker lockbox services to store
sensitive data.
30 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
Configuration conversion
The NMDA software supports two types of conversions:
◆ Conversion of a scheduled backup configuration when you update from a legacy
NetWorker module to NMDA.
You can use the nsrdaadmin -M command to perform either of the following:
• Convert the client-side configuration of a legacy NetWorker module to an
NMDA client-side configuration.
or
• Convert the server-side configuration of a legacy NMDB2 or NMO module to
an NMDA server-side configuration.
The EMC NetWorker Module for Databases and Applications Installation Guide
provides details on how to convert the backup configuration of a legacy
NetWorker module.
◆ Conversion of an NMDA client-side configuration to an NMDA server-side
configuration.
You can use the nsrdaadmin -W command to convert an NMDA client-side
configuration to an NMDA server-side configuration, which uses the
configuration storage framework supported by the NMDA wizard.
“Converting a client-side to server-side configuration” on page 64 provides
details on how to convert an NMDA client-side to server-side configuration with
the nsrdaadmin -W command.
Internationalization (I18N)
NMDA I18N is the capability of the NMDA software to operate in a non-English
environment or locale without itself being localized. After you set up NMDA I18N as
described in “Configuring internationalization (I18N) support” on page 57, NMDA
can process and display non-ASCII data that is passed to it by the operating system,
NetWorker software, and database or application software. The non-ASCII data can
include text messages, dates, times, numbers, and so on.
Parallelism
Parallelism is a feature that enables many data streams from a single backup or
restore at the same time. “Configuring a parallel backup” on page 89 provides details.
32 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
For regular backups, the backup entries for databases or tablespaces may be deleted
from both the DB2 server and NetWorker server with the db2 prune command.
Deleting backup entries may be necessary if the NetWorker index and DB2 history
files become excessively large and the retention period is high. “Delete DB2 backups”
on page 134 provides details.
Note: The db2 prune command is not supported for deleting snapshot backups.
Note: You can send the Informix data and logs to separate backup pools during a single NMDA
backup.
Note: NMDA does not back up transaction logs in circular or linear mode.
The NMDA software can also be used to back up the following when the
NSR_BACKUP_ALL_EXTENSIONS parameter is set to TRUE:
◆ DAOS files (with .nlo filename extension)
“Lotus DAOS backups” on page 97 provides details on DAOS backups.
◆ Any other files that exist in a Lotus directory, such as .gif, .html, and .doc files
“Full and incremental Lotus backups” on page 34 provides information on which
files are backed up and at which backup level.
34 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
The incremental backup always backs up nondatabase files that have changed
since the last backup, regardless of the transactional logging mode.
Note: Configuring a scheduled backup as checkpoint-enabled might impact the backup speed
due to the synchronous communication between the NMDA Lotus client and the NetWorker
server and storage node.
Depending on when a given backup fails, the restarted backup might or might not
back up files that have been successfully backed up by the failed backup but have
changed since that time:
◆ If the backup fails while backing up data files, the restarted backup rescans all the
data files and backs up any files that were not backed up previously or that have
changed since the previous backup.
◆ If the backup fails while saving transaction logs, the NMDA software does not
rescan the data files. The NMDA software restarts the backup at the transaction
log level.
◆ If the integrated DAOS backup fails while saving the NLO files, the NMDA
software does not rescan the database data files, but it does rescan the DAOS files.
You must configure a restartable backup for an NMDA Lotus client according to
“Lotus restartable scheduled backups” on page 100.
36 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
Note: A full backup cannot be the parent of a subsequent incremental backup. Incremental
backups cannot be dependent on a stand-alone full backup.
◆ An incremental backup includes blocks that have changed since the previous
specified backup. Incremental backups are created when you specify either
incremental level=0 or incremental level=1 with the RMAN backup command.
Incremental backups are dependent on preceding incremental backups in the
same scheduled backup cycle:
• A level 0 incremental is physically identical to a full backup, but is recorded as
incremental in the RMAN repository.
Note: A level 0 backup may also be referred to as "full" in other sections of this guide.
If the control file autobackup is set to on and the RMAN backup is performed with
NMDA, the control file will be backed up.
With the control file autobackup, Oracle backs up the current server parameter file.
Note: To force a backup that would otherwise be skipped due to backup optimization, use the
force option in the backup command.
The restore optimization function prevents RMAN from restoring a file if the original
file is already in the correct location and contains the expected information.
38 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
Note: To force a restore that would otherwise be skipped due to restore optimization, use the
force option in the restore command.
IMPORTANT
When using Oracle backup optimization with NMDA backups and restores, run
the crosscheck command monthly to synchronize the Recovery Catalog and
NetWorker indexes. This ensures that backups which were expired by the
NetWorker server are also marked as expired in the Recovery Catalog and RMAN
does not skip a backup when a referenced backup has already expired in
NetWorker. The Oracle documentation provides details on the crosscheck
command.
Backup copies
RMAN with NMDA can create copies of the backup, or duplex the backup. RMAN
can produce up to four identical copies of each backup piece on different NetWorker
volumes with one backup command.
The NMDA software supports backup copies with manual Oracle backups only.
NMDA does not support the use of RMAN backup copies commands during
scheduled Oracle backups.
“Oracle backup copies” on page 105 describes the requirements for generating
backup copies during manual Oracle backups.
The backup set on disk can also be deleted with the delete input option in the backup
device type sbt backupset... command. For example, to back up the backup sets that
were created on disk more than a week ago and then remove the backup sets from
disk, use the following command:
backup device type sbt backupset completed before sysdate-7 delete
input
RMAN backups of datafiles, archived redo logs, and possibly other files can be
offloaded to a physical standby database, and the backups can be used to recover the
primary or standby database. RMAN and Data Guard documentation provides
information on how to configure and back up a physical standby database, and use
the backups to recover the primary or standby database.
To configure NMDA backups and restores in a Data Guard environment:
1. Follow the instructions in Oracle documentation on how to set up the required
RMAN configurations, for example, to use a Recovery Catalog and the
DB_UNIQUE_NAME parameter.
2. Install and configure the NMDA and NetWorker client software on the primary
database host, and on each physical standby database host involved in the
backups and restores.
3. Configure a Client resource on the NetWorker server for the primary database
host and each physical standby database host involved in the backups and
restores. In the Client resource of the primary database host, add the hostname of
the physical standby host in the Remote Access attribute if you set NSR_CLIENT
to the primary database hostname in step 4 .
4. Create an RMAN script for the primary database and the standby database. Set
the same NSR_CLIENT parameter value in both. The NSR_CLIENT value used
for a backup should be the same as the NSR_CLIENT value used for the restore of
that backup. Setting NSR_CLIENT to the primary database hostname might be
preferable.
40 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
Restartable backups
Oracle RMAN can back up files that have not been backed up since a specified time.
For example, to continue the backup of an Oracle database that was canceled two
days ago, use the following command:
backup device type sbt database not backed up since time ’sysdate-2’
RMAN compares the given time in this command with the completion time of the
most recent backup of any datafile to determine if it requires backup. The appropriate
Oracle backup and recovery documentation provides more information.
Retention policies
Oracle RMAN provides an Oracle retention policy for backups. An Oracle retention
policy is based on the recovery window or redundancy. It is not based on a defined
time period, such as a year. Oracle considers a backup obsolete when it is no longer
required according to the Oracle retention policy setting. Oracle checks the retention
policy of a backup when the report obsolete... or delete obsolete... command is run.
NMDA supports the Oracle retention policy with some restrictions. The NetWorker
server has its own browse and retention policies to specify how long data is available
for recovery. The NetWorker policies are based on a user-defined time period. As the
Oracle retention policy is independent from that of the NetWorker server, and there is
no mechanism to synchronize these policies, the NetWorker and Oracle policies could
conflict. To prevent conflicts, it is recommended that you do not use both the
NetWorker and Oracle policies by performing either of the following:
◆ If you want to use only the NetWorker server policy, disable the Oracle retention
policy with the following command:
configure retention policy to none
◆ If you want to use only the Oracle retention policy, disable the NetWorker
retention policy by setting the NSR_RETENTION_DISABLED parameter to
TRUE in all the RMAN backup scripts. When this parameter is set to TRUE, the
backups are never expired by the NetWorker server. Run the report obsolete and
delete obsolete commands so that RMAN can delete the backups based on the
Oracle retention policies.
IMPORTANT
If you use the Oracle retention policy, run the crosscheck command on the NMDA
backups before running a report obsolete, or delete obsolete backups of the device
type sbt_tape. This ensures that backups which the NetWorker server considers to
be expired are flagged as expired in the RMAN catalog. As a result, RMAN can
correctly identify which backups are not needed according to the Oracle retention
policy.
For example:
1. Run the following command to synchronize the RMAN Catalog and
NetWorker indexes:
crosscheck backup;
2. Run the following command to delete all obsolete backups defined by the
current Oracle retention policy:
delete obsolete;
IMPORTANT
The NMDA software does not support save set bundling for regular manual
backups or PowerSnap snapshot backups. The NMDA software performs save set
bundling for regular scheduled Oracle backups only.
Note: After a staging operation during which all the save sets in a bundle are staged, the
resulting available space on the staging device might exceed the lower-water mark specified in
the staging policy.
The EMC NetWorker Administration Guide provides details on how to work with
staging policies and perform automatic and manual staging operations through the
NetWorker server.
“Configure save set bundling for scheduled Oracle backups” on page 107 provides
information on how to configure save set bundling for NMDA scheduled backups.
If an error occurs during save set bundling, the bundling operation fails but the
scheduled backup can finish successfully. Information about the bundling failure is
printed to the savegrp output and to the NMDA debug file.
42 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
Note: The Operate NetWorker privilege is required to perform save set bundling. “NetWorker
User Group resource” on page 61 provides details on user group privileges.
To perform save set bundling, the nsrdasv program connects to the Oracle database
by attempting to use the login and password from the RMAN script. If a login and
password are not available from the script, the program uses the ORACLE_SID value
from the NMDA configuration file to search the nwora.res file for the
NSR_ORACLE_CONNECT_FILE parameter, and uses the connection strings from
the specified connection file. After connecting to the Oracle database, the nsrdasv
program obtains all the required information about the backups by using the V$
views. “Configure save set bundling for scheduled Oracle backups” on page 107
provides more details on the nwora.res file and the requirements of save set
bundling.
The nsrdasv program creates a save set bundle for each incremental level 0 backup.
The program adds the save sets from subsequent incremental backups to the bundles
of the level 0 backups they are dependent on. Example 1 on page 44 and Example 2
on page 44 illustrate different scenarios for how the save set bundle is formed.
The name that the nsrdasv program assigns to a save set bundle is the save time of
the oldest save set in the bundle.
After a scheduled backup, the NetWorker server stores the save set bundle name and
the list of save sets it contains in the media database. You can view the bundle
information by using the mminfo command, as described in “Save set bundling
information in the media database” on page 44.
Example 1 Save set bundling for a 1-week scheduled backup cycle of a tablespace
This example illustrates a scenario where NMDA combines existing bundles into a
new save set bundle.
Two save set bundles are created by separate level 0 backups of files A and B. Then a
new backup set is created by a level 1 backup of both files A and B. As the new backup
set is dependent on both of the preceding level 0 backups, NMDA combines all three
backups into the same save set bundle.
In this example, a save set bundle is split across multiple volumes. A level 0 backup
of file A is performed to volume A. An incremental backup of file A is then
performed to volume B. Although both backups are recorded as belonging to the
same save set bundle, the save set bundle is split across volumes. During staging,
only the save sets on the same volume can be staged together.
◆ The mminfo -q command can display all the save sets in a specific bundle. For
example, the following command displays all the save sets in the bundle named
12983479182:
mminfo -a -q "ssbundle=12983479182"
The EMC NetWorker Command Reference Guide and the UNIX man pages provide more
information on the mminfo command and its available options.
Policy uniformity
If policy uniformity is enabled, NMDA automatically enforces the uniformity of the
browse and retention policies between all the dependent save sets in a scheduled
Oracle backup cycle (whether or not save set bundling is enabled).
After NMDA performs an incremental Oracle scheduled backup, if the browse and
retention policies of the save sets in the backup are longer than the policies of
preceding dependent save sets in the same backup cycle, NMDA changes the policies
of all save sets in the cycle to match the longest policy of the new incremental save
44 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
sets. The NMDA software modifies the policies recorded in the NetWorker media
database. As a result, backups cannot expire and become recyclable before other
dependent backups from the same backup cycle.
Note: The NMDA software does not support policy uniformity for regular manual backups
and PowerSnap snapshot backups. The NMDA software supports policy uniformity for
regular scheduled backups only.
Policy uniformity does not depend on whether save sets are stored on separate
volumes. For example, if parts of a save set bundle are split onto separate volumes, all
the save sets in the bundle still receive the same browse and retention policies.
“Configure policy uniformity for scheduled Oracle backups” on page 108 provides
information on how to configure policy uniformity for NMDA backups.
Note: Whether or not a flash recovery area is enabled, the backup recovery files
command can be used to perform the backup.
◆ NMDA supports channel backup failover and backup piece restore failover. If
multiple channels are used for an RMAN backup command and one of the
channels fails, Oracle fails over to another channel to continue the backup job.
For example, if two channels are configured with different NetWorker volume
pools and one of the channels fails over to the other channel during a backup, the
entire backup goes to the volumes in the pool of that remaining channel.
◆ Before using the backup command with the duration...minimize load option,
consider the following:
• The minimize load option might impact the tape streaming because the
transfer rate of data sent by RMAN might be slow with this option, depending
on the duration value.
Note: This is not a concern if you use the NetWorker backup-to-disk feature.
Note: Do not enable both Oracle and NetWorker compression for NMDA Oracle backups.
46 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
Note: Ensure that the NSR_RETENTION_DISABLED parameter is not set in the RMAN
backup script used with NMDA.
Note: You can send the Sybase data and logs to separate backup pools during a single
NMDA backup.
48 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
NMDA components
Table 2 on page 50 lists the major software components that are installed on the
NMDA client host during the NMDA installation. Unless specified otherwise, the
files are located in the same directory as the NetWorker client software.
libcommonssl.7.6.build#.so Located in a subdirectory under /usr/lib/nsr or /opt/networker/lib on UNIX only. NMDA library that is required for
communication with NetWorker.
nmda_application.cfg Located in the directory /nsr/apps/config (UNIX) or NetWorker_install_path\apps\config (Windows). NMDA configuration
file templates for DB2, Informix, Lotus, Oracle, or Sybase parameters that apply to client-side configurations only.
nsrdaprobe(.exe) Program that probes for the number or size of generated logs as a condition that triggers a probe-based backup.
nsrapplicationra(.exe) Programs that perform operations for the NMDA configuration wizard on a local or remote DB2, Informix, Lotus, Oracle,
or Sybase host.
50 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
DB2-specific components
libnsrdb2.xx Located in the directory /usr/lib on UNIX only. NMDA library that interacts with the DB2 backup and restore utilities and
the NetWorker server to perform backup, inquiry, and restore processes for DB2 data.
nsrdb2cat(.exe) Catalog synchronization program that prunes (removes) snapshot entries from the DB2 advanced copy services backup
history as NetWorker removes expired snapshot entries from its index.
nsrdb2rlog(.exe) Restore utility that copies DB2 transaction logs stored on the NetWorker server to a local file system so that the logs may
be used to perform rollforward recovery.
Informix-specific components
libnsrifmx.xx Located in the directory /usr/lib on UNIX only. NMDA libraries that interact with the Informix backup and restore utilities
libxbsa.dll and the NetWorker server to perform backup, inquiry, and restore processes for Informix data.
Lotus-specific components
nsrdoclb.dll On Windows systems only. Library for document-level recovery of Lotus data.
nsrlotus_remrecov(.bat) Script that enables NMDA to perform a directed recovery from the NetWorker User for Lotus program on Windows.
nwbml.dll On Windows systems only. Library and program for the NetWorker User for Lotus.
nwbml.exe
Oracle-specific components
libnsrora.xx Located in the directory /usr/lib on UNIX only. Library (known as Media Management Library in Oracle documentation)
that is loaded by an Oracle backup or restore process.
nsrnmodrpostcmd(.bat) Sample Oracle postcommand script that can be customized to back up specific files at the end of a scheduled Oracle
backup, in preparation for disaster recovery.
nsroraadmin(.exe) Program that is used to create resource settings in the NWORA resource file for an Oracle backup configuration.
nsroraclecat(.exe) Not available on Linux Itanium, Solaris AMD64/EM64T, or Windows Itanium (platforms that do not support PowerSnap
backups). Program that is used to remove RMAN catalog entries during automatic catalog synchronization for
PowerSnap backups of Oracle data.
nsrorainfo(.exe) Program that determines the NetWorker volumes required to restore specified Oracle backup pieces from NMDA
backups.
nsrsbtcn.exe On Windows systems only. The orasbt.dll file is the main NMDA library (known as Media Management Library in Oracle
orasbt.dll documentation) that is loaded by the Oracle backup or restore thread. The orasbt.dll library uses nsrsbtcn.exe to
perform any corresponding NetWorker operations.
Sybase-specific components
libnsrsyb.xx Located in the directory /usr/lib on UNIX only. NMDA library that interacts with the Sybase backup and restore utilities
and the NetWorker server to perform backup, inquiry, and restore processes for Sybase data.
nwbms.dll On Windows systems only. Library and program for the NetWorker User for Sybase.
nwbms.exe
NMDA components 51
Overview of Product Software and Features
52 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Overview of Product Software and Features
6. At the end of a scheduled backup, the savegrp program also automatically backs
up the NetWorker server bootstrap and the corresponding client file indexes. The
bootstrap and client indexes are not automatically backed up at the end of a
manual NMDA backup.
Figure 1 on page 53 shows how the database or application server, NetWorker server,
and NMDA processes interact during a regular scheduled NMDA backup.
Tracking
information
nsrindexd nsrmmdbd
Database or
application-
specific
backup
components
Data
nsrmmd
Interprocess
savefs nsrdasv communication
2. The restore session loads the NMDA shared library for the proper database,
which performs the following:
a. Translates the object names requested for restore into a format that the
NetWorker server understands.
b. Forwards the restore object names to the NetWorker service, nsrindexd,
which verifies that the objects exist in the client file index.
3. The restore session works with the NetWorker server services to mount the
volumes required for the restore and read the data from the volumes.
4. The restore session passes the data to the database or backup server, which writes
the data to the disk.
54 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
2
Backup
Configuration
Backup Configuration 55
Backup Configuration
This chapter provides the basic information for configuring manual, scheduled
(including probe-based), and deduplication backups. Other chapters provide
additional configuration steps for specific environments and technologies:
◆ Chapter 6, “Cluster Systems” — Includes information on backups and restores of
active-passive clusters and active-active application clusters (for example, DB2
DPF, Informix MACH 11, Oracle RAC, Sybase ASE Cluster Edition)
◆ Chapter 7, “Multiple Installations on a Single Host” — Includes information on
32-bit and 64-bit application coexistence
◆ Chapter 8, “Snapshot Backups and Restores” — Includes information on DB2 and
Oracle snapshot backups and restores
To configure a backup, use the instructions in the following sections that apply to the
particular environment:
Note: Before performing any configuration, backup, or restore operation, ensure that the
NetWorker client service, nsrexecd, has been started on the application host.
56 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Note: When you use the nsrdaadmin command to encrypt a password for a scheduled
backup, the password must contain ASCII characters only; otherwise, the operation fails.
DB2 • NSR_DR_FILE_LIST
Lotus • Notes_ExecDirectory
• NSR_BACKUP_PATHS
• NSR_CATALOGFILE
• NSR_EXCLUDE_FILE
• NSR_LOG_DIR
• NSR_LOTUS_DATA_DIR
• NSR_RELOCATION_DEST
• NSR_RESOURCE_DIR
• PATH
Oracle • NSR_ORACLECAT_LOG_FILE
• NSR_RMAN_ARGUMENTS
Sybase • NSR_ASE_PASSWORD
• NSR_BACKUP_PATHS
• NSR_EXCLUDE_FILE
58 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
2. For scheduled backups configured without the wizard, set the NLS_LANG
parameter in the NMDA configuration file to the same value as the environment
variable NLS_LANG.
For example, in a Japanese locale, set NLS_LANG in the NMDA configuration file
as follows:
NLS_LANG=JAPANESE_JAPAN.JA16EUC
Note: If you configure the scheduled backup with the configuration wizard, you can set
NLS_LANG on a wizard screen. The wizard autopopulates the NLS_LANG field if
NLS_LANG is set in the NWORA resource file.
60 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Attribute Description
Parallelism Specifies the maximum number of backup save streams that the NetWorker software allows
to arrive concurrently at the server. The NetWorker server edition determines the maximum
parallelism value. When multiple data streams are backed up simultaneously, the efficiency of
the storage devices is increased.
Datazone pass Specifies an optional key or pass phrase, used only if AES encryption is specified for an
phrase NMDA backup. The pass phrase is required to restore encrypted data from the backup.
“NSR_AES_ENCRYPTION” on page 296 provides details.
Note: PowerSnap backups and restores of DB2 or Oracle data require the same privileges as
regular backups and restores, plus the privileges required by the PowerSnap Module. The
NetWorker PowerSnap Module documentation provides more information on the required
privileges.
Operation Operating system user that performs operation Required user group privileges
Manual backup: Database user on the database or application Backup Local Data
• Regular server Monitor NetWorkera
• Deduplication
Scheduled backup: Database user on the database or application Backup Local Data
• Regular server Monitor NetWorkera
• Deduplication
Root user, or a member of the Microsoft Windows Backup Local Data
• Probe-based
Administrators group, on the database or Monitor NetWorker
application server
Operation Operating system user that performs operation Required user group privileges
Backup deletion Database user on the database or application Operate NetWorker, and all its prerequisite
server privileges
Configuration of NetWorker resources for NMC user Configure NetWorker, and all its prerequisite
backup or restore privileges
Conversion of scheduled backup configuration Root user, or a member of the Microsoft Windows Configure NetWorker, and all its prerequisite
with nsrdaadmin command Administrators group, on the database or privileges
application server
RMAN crosscheck Oracle user on the Oracle Server Recover Local Data
Monitor NetWorker
Restore of NWORA resource file backup to the Root user, or a member of the Microsoft Windows Recover Local Data
Oracle Server Administrators group, on the Oracle Server Monitor NetWorker
Save set bundling or policy uniformity Root user, or a member of the Microsoft Windows Operate NetWorker, and all its prerequisite
Administrators group, on the Oracle Server privileges
a. Needed for all types of Oracle backups and restores, and for Avamar deduplication backups and restores of other applications.
Note: If the Oracle user is not granted the required NetWorker privileges in these cases, NMDA
fails to remove the backup save set entries from the NetWorker index. However, RMAN might
remove the corresponding entries from the RMAN catalog, which would leave the NetWorker
index and RMAN catalog unsynchronized. To resynchronize the index and catalog, issue the
appropriate NetWorker media management command to manually remove the inconsistent
save set entries from the NetWorker index.
62 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Firewall support
The NMDA software provides firewall support. The ports that the NMDA software
uses for the firewall depend on the corresponding ports configured for the
NetWorker server.
To configure the firewall that the NMDA software uses, follow the firewall
configuration instructions in the EMC NetWorker Administration Guide for the
particular NetWorker server platform.
Note: If an existing Oracle RMAN script contains non-ASCII characters on Windows, you
cannot use the nsrdaadmin -W command to convert the NMDA Oracle client-side to
server-side configuration. For this conversion,you must perform either of the following:
- Remove the non-ASCII characters from the RMAN script, if possible.
or
- Create a new configuration with the wizard by using the same configuration options and then
delete the old configuration.
64 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
to:
nsrdasv -T app [-c client]
where:
– app is db2, informix, lotus, oracle, or sybase depending on the database or
application.
– client is the client name. This is set if the client is a virtual client on a cluster.
• Backup Config attribute (hidden attribute) is created to contain:
– Information from the NMDA configuration file.
– For Oracle only, information from the RMAN script specified in the Save
Set attribute.
• Backup Type attribute is created to contain the value DB2, Informix, Lotus,
Oracle, or Sybase.
◆ If needed, the NetWorker Lockbox resource is updated with sensitive data from
the NMDA configuration file or Oracle RMAN script, such as the database
username or password. The following entries are also added to the ACL of the
Lockbox resource:
• system@client_hostname (Windows) or root@client_hostname (UNIX)
• Other ACL entries provided by the user during the conversion
Command options and settings in brackets ([ ]) are optional. Do not include the
brackets when typing the command.
Table 6 on page 65 describes the nsrdaadmin command options. Example 4 on
page 66 provides sample usage of the command.
Option Description
-W Mandatory. Specifies the conversion from an NMDA client-side to wizard (server-side) scheduled backup configuration.
-c client_name Optional. Specifies the hostname of the NetWorker client to be converted. The default value is the hostname of the local physical
client. In a cluster, this option should typically be set to a virtual cluster client.
Note: Do not specify a hostname that is different from the name of the host where the nsrdaadmin command is run.
Option Description
-g group_name Optional. Specifies the conversion of only the configurations of the client (either the default or set through the -c option) that is
associated with this group_name.
-N save_set_name Optional. Specifies the conversion of only the configurations of the client (either the default or set through the -c option) that is
associated with this save_set_name.
-s server_name Mandatory. Specifies the hostname of the NetWorker server that backs up the client that is being converted.
-Y Optional. Specifies that the conversion proceeds without prompting for confirmation. After the conversion, you must add the
usernames to the NetWorker Lockbox resource for all the users that will use the wizard to modify the configuration. The EMC
NetWorker Administration Guide provides details on the Lockbox resource.
If the -Y option is not specified, the nsrdaadmin program asks for user confirmation before proceeding with the conversion.
The following command is run on the NMDA host, hostA, to convert all the Client
resources for hostA to a wizard configuration, where the Client resources are stored
on the NetWorker server host, hostNWS:
nsrdaadmin -W -s hostNWS
Note: Other NetWorker resources must be configured through NMC (without the wizard),
as described in “Configure the NetWorker resources with NMC” on page 70.
◆ Save a copy of the configuration settings to a specified file on the NMDA host for
reference purposes.
◆ Modify a backup configuration that was created with the NMDA configuration
wizard.
The wizard stores the configuration information (except for sensitive data, such as
passwords) in a hidden attribute named Backup Config in the Client resource. Do not
modify this new attribute manually. If you use the wizard to create a backup
configuration, you must use the wizard to modify the configuration.
Note: The wizard stores sensitive data securely by using NetWorker lockbox services.
66 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
The "typical" workflow enables you to configure a backup with fewer clicks by using
default backup settings. The wizard help provides details on the default settings used
for a typical scheduled backup.
The “custom” option provides a more detailed workflow that enables you to:
◆ Use an existing NMDA configuration file as initial input to the wizard
configuration.
◆ Customize backup options, for example, to configure:
• Number of backup sessions to use
• Specific data objects to back up
• Additional backup parameters
◆ Save a copy of the configuration settings to a specified file for reference purposes.
To use the wizard to modify an NMDA configuration that was not created with the
wizard (client-side configuration), you must first convert that configuration
according to “Converting a client-side to server-side configuration” on page 64.
The EMC NetWorker Module for Databases and Applications Release Notes provide details
on the limitations and NetWorker requirements for the wizard. Descriptive inline text
and online help in the wizard provide details on how to use the wizard.
Note: The pathname of the configuration file in the Backup Command attribute of the
Client resource is the pathname of the configuration file created in step 2.
68 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Note: The parameters NSR_SERVER and NSR_GROUP must not be set for a scheduled NMDA
backup because NMDA automatically passes server and group information received from the
NetWorker server that started the backup to the backup processes. NSR_SERVER can be set for
a manual NMDA backup.
Informix • INFORMIXDIR
• INFORMIXSQLHOSTS (UNIX only)
• ONCONFIG
Oracle • ORACLE_HOME
• ORACLE_SID (specific cases only)
• TNS_ADMIN (specific case only)
IMPORTANT
For a regular scheduled backup, the Snapshot attribute in the Group resource must
be set to False.
To have a regular scheduled backup automatically use a volume pool associated with
the backup group, specify the group name in the Pool resource for the volume pool.
Specify the name of the NetWorker group in the Group attribute of the Client
resource.
The scheduled backup level for the group is determined by the following factors:
◆ Whether the Level attribute is set for the group and to what value
◆ Whether the Force Incremental attribute is set for the group and to what value
The EMC NetWorker Administration Guide provides more details.
70 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Database or application
being backed up Supported backup levels
DB2 • Level full — DB2 full backup of all the database data.
• Level incr — DB2 incremental backup.
• Level 1 to 9 — DB2 delta backup.
• Level skip — NetWorker server skips the backup on that day.
To support the NetWorker backup levels from the Schedule resource:
• Set the DB2_APPLY_NW_LEVELS parameter to TRUE in the NMDA configuration file, as described in
“DB2_APPLY_NW_LEVELS” on page 303.
• Ensure that the TRACKMOD parameter is set to ON with a DB2 command at the operating system command line:
db2 update db cfg for sample using TRACKMOD ON
where sample is the name of the database to be backed up.
Informix • Level full — ON-Bar level 0 backup of all the selected dbspaces of the database instance.
• Level 1 — ON-Bar level 1 backup of the data that has changed since the last level 0 (full) backup.
• Level 2 to 9 — ON-Bar level 2 backup of the data that has changed since the last level 1 backup.
• Level skip — NetWorker server skips the backup on that day.
Note: NMDA does not support the NetWorker backup levels 1 to 9 for Lotus or Sybase backups. If you specify these levels,
the backup fails.
Oracle • Level full, incr, or 1 to 9 — NetWorker server runs the backup script on that day. The Oracle backup level is actually
determined by the level that is set in the RMAN backup script only.
Note: It is recommended to always set the backup level to full on the days when you want to run a backup to avoid
unnecessary processing on a NetWorker server that is associated with other level backups.
Note: In Table 9 on page 72, the information in the NMC tab column is based on NMC 7.6 SP2
and might change in other NMC releases.
Aliases Globals Specify all known aliases for the system where the NMDA software is installed.
Backup Command Apps & Modules Specify the command to be used for the backup:
nsrdasv(.exe) -z configuration_file
where configuration_file is the complete pathname of the configuration file that contains the NMDA
parameter settings for the scheduled backup.
On Windows systems only, if the configuration file pathname includes any spaces, perform one of the
following:
• Change the configuration file pathname so it does not include spaces.
• Use the Windows short pathname format. For example:
nsrdasv(.exe) -z C:\Progra~1\Legato\nsr\apps\config\config.txt
• Use quotes and double backslashes in the pathname. For example:
nsrdasv(.exe) -z “C:\\Program Files\\Legato\\nsr\\apps\\config\\config.txt”
Browse Policy General Specify the length of time that the NetWorker server retains an entry for the backup in the online client file
index. The value of the Browse Policy attribute cannot exceed the value of the Retention Policy attribute.
Checkpoint enabled General Select this attribute to enable a checkpoint restart (CPR) backup for Lotus only. This attribute setting is
ignored for other NMDA applications.
Checkpoint granularity General This attribute setting is ignored by all NMDA operations. Setting this parameter has no impact on a Lotus
restartable scheduled backup, described in “Restartable scheduled backups” on page 35.
(Avamar) Apps & Modules Select this attribute to enable a deduplication backup to Avamar.
Deduplication Backup
Note: You cannot select this attribute together with the Data Domain Backup attribute.
(Avamar) Apps & Modules Specify the hostname of the Avamar server that will store the deduplicated backup.
Deduplication Node
72 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Data Domain Backup Apps & Modules Optionally select this attribute to ensure that the deduplication backup is always stored on a NetWorker Data
Domain device when the backup pool contains a mixture of Data Domain devices and other types of
devices.
Note: You cannot select this attribute together with the (Avamar) Deduplication Backup attribute.
Group General Specify the NetWorker backup group to use for the scheduled backup. “Configure the Group resource” on
page 70 provides more details on backup groups.
Name General Specify the hostname of the database or application server host to be backed up with NMDA.
Parallelism Globals Specify the maximum number of data streams that the database or application server sends in parallel to the
NetWorker server or storage node during the backup.
Pool Globals Specify the pool to use for a backup. When selected, this attribute overrides the pool associated with the
backup group.
Remote Access Globals Specify the username and fully qualified hostname of a remote system that can access backups of this host,
in the following format:
user=remote_username,host=remote_hostname
Set this attribute in the following cases (otherwise, leave it blank):
• Backup from a cluster
• Backup in an Oracle Data Guard environment
• Recovery to a host other than the one being backed up
On a Solaris system with Solaris zones, the Remote Access attribute must contain the hostname of the zone
in which NMDA operates.
Retention Policy General Specify the minimum length of time that the NetWorker server maintains information about the backup data
in the online media database. The value of the Retention Policy attribute must be greater than or equal to the
value of the Browse Policy attribute.
Informix Specify the database instance and (optionally) dbspace to be backed up. Multiple
dbspace names must be separated by a space:
INFORMIX:/instance[/[dbspace1[ dbspace2]]]
To back up the entire instance, specify the following:
INFORMIX:/instance
To back up selected dbspaces, specify the following:
INFORMIX:/instance/dbspace1 dbspace2
Note: The Save Set attribute must contain only a single entry.
Note: The Save Set attribute must contain only a single entry.
To specify the actual data to back up, set one of the following parameters in the
NMDA configuration file:
• NSR_BACKUP_LOTUS_DIR — To back up the Domino or Notes data directory.
• NSR_BACKUP_PATHS — To back up one or more specific directories, or files, or
both.
Appendix A, “NMDA Parameters and Configuration File,” provides details on the
parameters.
Oracle Specify the complete pathname of each RMAN script to be used for the scheduled
backup:
RMAN:RMAN_script_pathname
Do not include any spaces between the prefix RMAN: and the script name. On
Windows systems, the pathname can include forward slashes, for example,
RMAN:F:/scripts/incr_1_bkup.
If two separate RMAN backup scripts are created in the files
/disk/rman_scripts/archlogbkup and /disk/rman_scripts/fullbkup, specify the following:
RMAN:/disk/rman_scripts/archlogbkup
RMAN:/disk/rman_scripts/fullbkup
Each Oracle installation requires a separate Client resource.
Sybase Specify the Sybase server instance and (optionally) databases to be backed up:
SYBASE:/ASE_server_name[/database_name]
To back up the entire instance set, specify the following:
SYBASE:/ASE_server_name
To back up selected databases, specify each database name on a separate line:
SYBASE:/ASE_server_name/database_name1
SYBASE:/ASE_server_name/database_name2
Schedule General For scheduled backups only. Specify the NetWorker backup schedule to use for the scheduled backup.
“Configure the Schedule resource” on page 71 provides more details on backup schedules.
Scheduled Backup General For scheduled backups only. Select the checkbox to enable the resource for scheduled backups.
Storage Nodes Globals Specify the name of each storage node to which the database server can back up data.
The database server backs up to the first active, enabled storage node in the order listed in the attribute. The
default storage node name, nsrserverhost, represents the NetWorker server.
74 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Lotus • Notes_ExecDirectory
• NSR_RESOURCE_DIR (UNIX only)
• PATH (UNIX only)
Sybase • NSR_BACKUP_PATHS
• SYBASE
• SYBASE_USER
• USER_PSWD (when Sybase instance has a password)
76 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Note: A deduplication NMDA backup that runs during an Avamar maintenance period
may be suspended until the Avamar server resources become available.
them with the same channel. This practice requires familiarity with the database
data. A tablespace must also be added to the backup script when a new
tablespace is created.
For example, the following RMAN backup script shows how to set the cache tag per
channel and to associate tablespaces with a channel:
run {
allocate channel c1 type 'SBT_TAPE';
send channel c1 'NSR_ENV=(NSR_DEDUP_CACHE_TAG=orcl102_c1)';
allocate channel c2 type 'SBT_TAPE';
send channel c2 'NSR_ENV=(NSR_DEDUP_CACHE_TAG=orcl102_c2)';
send 'NSR_ENV=(NSR_DEDUP_BACKUP=TRUE,
NSR_DEDUP_NODE=avamar.emc.com)';
backup filesperset=1
(tablespace tbs1, tbs5 channel c1)
(tablespace tbs2, tbs3, tbs4 channel c2);
Server-side configuration
To use the configuration wizard to configure a scheduled deduplication backup,
follow the instructions in “Configuring a scheduled backup with the wizard” on
page 66.
On the screen to specify deduplication options:
◆ Select the attribute to enable an Avamar deduplication backup.
◆ Select the hostname of the deduplication node (Avamar server) that will store the
deduplicated backup data.
Client-side configuration
To use the NMC method (without the wizard) to configure a scheduled deduplication
backup, follow the instructions in “Configuring a scheduled backup without the
wizard” on page 68.
Apply these additional settings for a deduplication backup:
1. In the NetWorker Client resource for the NMDA client:
• Select the attribute to enable an Avamar deduplication backup.
• Select the hostname of the deduplication node (Avamar server) that will store
the deduplicated backup data.
2. If the nsravtar binary (part of the NetWorker client package) is installed in a
nondefault location, set NSR_NWPATH according to the method in “NMDA
configuration file” on page 294. “NSR_NWPATH” on page 301 provides details
on the parameter.
78 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
80 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Note: The recommended setting for the NSR_DIRECT_ACCESS parameter is the default
value. By default, NMDA attempts to perform a deduplication locally and send unique
blocks directly to the NetWorker Data Domain device but reverts to the traditional backup
method through the storage node if the client direct backup is not possible.
For this type of Data Domain Follow these configuration If your pool contains Data Domain and other types of
deduplication backup instructions devices, follow these additional instructions
Scheduled backup configured with the “Configuring a scheduled backup with the Select the Data Domain backup for the type of deduplication on
wizard wizard” on page 66 the wizard page of deduplication options.
Scheduled backup configured without the “Configuring a scheduled backup without Select the attribute to enable a Data Domain backup in the
wizard the wizard” on page 68 Client resource of the NMDA host.
82 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
NMDA probe
The NMDA nsrdaprobe program checks for one of the following conditions,
depending on the particular database or application:
◆ For DB2, Informix, or Oracle, the nsrdaprobe program checks for the number of
logs generated since the last probe-based backup.
◆ For Lotus, the nsrdaprobe program checks for the size of Domino transaction logs
generated since the last backup of the Domino database specified by
LOTUS_NSF_FILE in the NetWorker Probe resource.
◆ For Sybase, the nsrdaprobe program checks for the number of transaction log
pages generated since the last probe-based backup.
Note: After a point-in-time restore to an earlier time or any other database operation that
causes a log reset, the probe triggers a new backup.
IMPORTANT
(Sybase only) Due to a Sybase limitation, NMDA does not support probe-based
backups with nsrdaprobe of a Sybase database that has the data and log segments
on the same device because it cannot determine the used log pages for such a
configuration.
For example, assume that database SYBDB1 on Sybase server SYBSERVER1 has
data and log segments on the same device. If you configure a probe-based backup
of SYBDB1 only (SYBASE:/SYBSERVER1/SYBDB1), nsrdaprobe always requests
that the backup be run, regardless of the amount of log pages generated.
If you configure a probe-based backup of the whole server
(SYBASE:/SYBSERVER1), nsrdaprobe does not use the log pages for SYBDB1
when calculating the amount of log pages generated for the whole SYBSERVER1.
User-defined probe
If you want to check for a user-defined condition (other than the number or size of
generated logs) that triggers a probe-based backup, create a script or program that
meets the following requirements:
◆ Script or program name starts with nsr or save.
◆ Script or program is located in the same directory as the NetWorker client
binaries on the host where the condition is checked.
◆ Script or program file includes the “execute” permission.
◆ Script or program returns one of the following code values when it finishes
running its probe:
• 0 — Signifies that the backup condition has been met. The backup runs.
• 1 — Signifies that the backup condition has not been met. The backup does not
run.
• Other than 0 or 1 — Signifies that an error occurred during the probe. The
backup does not run.
Example 5 on page 88 shows an NMDA probe-based backup with a user-defined
probe.
84 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
IMPORTANT
A separate NetWorker Probe resource must be created for each database that will
be probed by the nsrdaprobe program.
Attribute Description
Name Specify a name to identify the Probe resource. Each Probe resource must have a unique name, which does not have to be the same as the
probe script or program name.
Probe Specify the name of the probe script or program that checks (“probes”) for the condition that triggers a probe-based backup. Specify
Command nsrdaprobe to use the NMDA probe, or specify the user-created script or program.
Command Required for the nsrdaprobe program only, specify a comma-separated list of parameters with their settings. “Command Options settings
Options for the nsrdaprobe program” on page 87 outlines the possible parameter settings.
LOG_THRESHOLD DB2, Informix, Mandatory. Specify the change threshold, which is the minimum number of logs required to
Oracle trigger a new probe-based backup.
Lotus Mandatory. Specify the change threshold, which is the minimum size in KB of Lotus Domino
transaction logs required to trigger a new probe-based backup.
IMPORTANT: For Lotus circular and linear transaction logging, the change threshold value must
be sufficiently smaller than the value specified by “Maximum log space” in the Domino server
“Transactional Logging” configuration. This requirement ensures that a probe-based backup is
triggered before the transaction log size exceeds the maximum log space value and causes
transaction logs to be overwritten.
Sybase Mandatory. Specify the change threshold, which is the minimum number of Sybase transaction
log pages required to trigger a new probe-based backup.
LOTUS_NSF_FILE Lotus Recommended. Specify the full pathname of a Domino database file that is used for transaction
log querying. The specified database file can be any file that is backed up by the associated
scheduled backup.
If this parameter is not set, the default value used is admin4.nsf in the Lotus data directory
(UNIX) or C:\Program Files\IBM\Lotus\Domino\data\admin4.nsf (Windows).
NSR_DEBUG_LEVEL All Optional. Specify the level of debug information generated by the probe and written to the debug
log. “NSR_DEBUG_LEVEL” on page 298 provides more details on debug levels.
NSR_DIAGNOSTIC_ All Optional. Specify the directory location of the NMDA debug logs, including those generated by
DEST the probe. “NSR_DIAGNOSTIC_DEST” on page 300 provides more details.
Attribute Description
3. Configure the NMDA scheduled backup with or without the wizard, according to
instructions in the appropriate section:
• “Configuring a scheduled backup with the wizard” on page 66
• “Configuring a scheduled backup without the wizard” on page 68
86 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Note: The configuration wizard does not display the Probe field. If you configure a
Client resource with the wizard, you must then use NMC to edit the Client resource
and set the Probe attribute.
• For the Group attribute, specify the probe-enabled group from step 2.
Note: A probe-based backup group must include at least one probe-enabled client,
which is a Client resource associated with a probe.
b. The Client resource has been configured without the wizard (client-side
configuration) and the NWORA resource file has not been set up with the
Oracle home and database connection information.
In this case, the Command Options attribute must include the parameters
LOG_THRESHOLD and NSR_ORACLE_CONNECT_FILE. For example:
LOG_THRESHOLD=10, NSR_ORACLE_CONNECT_FILE=/RMAN/rmanpw
c. The Client resource has been configured without the wizard and the NWORA
resource file is set up to retrieve Oracle home and database connection
information.
The Command Options attribute must include the parameters
LOG_THRESHOLD and ORACLE_SERVICE, where ORACLE_SERVICE is
set to the same Net service name as NSR_ORACLE_SID in the NWORA file.
For example:
LOG_THRESHOLD=10, ORACLE_SERVICE=proddb.world
The NWORA resource file must be set up through the command nsroraadmin
–r add sid=Net_service_name home=Oracle_home connect=connect_filepath.
88 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
4. Configure an NMDA scheduled backup through the wizard. The Client resource
includes the following attribute settings:
• Name: dbhost
• Backup Command: nsrdasv -T oracle
• Group: probe_group
• Probe: NMDA Oracle probe
• Save Set: RMAN:/orcl102_FULL
5. Create a Schedule resource named SkipAll, and set the level to skip for each day
in the schedule. This enables a jukebox probe to run on the storage node without
backing up the storage node host:
• Name: SkipAll
• Period: Either Week or Month
• Calendar: Skip
Note: The Skip level is selected for every day in the period.
6. Create a “dummy” Client resource without the wizard for the storage node host,
with the following attribute settings:
• Name: jukeboxhost
• Backup Command: (blank)
• Group: probe_group
• Probe: Jukebox probe
• Save Set: SKIP
• Schedule: SkipAll
IMPORTANT
NetWorker multiplexing must be disabled for DB2 and Sybase backups.
Otherwise, the restore will become suspended or fail.
Note: The backup parallelism should not be greater than the total number of device
sessions available for the backup through the media pool configuration, as determined in
step 1. Otherwise, the backup will become suspended because it is waiting for an available
device to be mounted for the proper pool, or the backup will fail if not enough devices are
available.
90 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
where:
• sample is the name of the DB2 database.
• xx is the platform-specific extension.
• # is the number of sessions.
• pathname/nmda_db2.cfg is the complete pathname of the NMDA
configuration file for the DB2 backup.
Oracle does not recommend the use of NetWorker multiplexing with RMAN
multiplexing. “Configuring a parallel backup” on page 89 describes how to disable
NetWorker multiplexing.
To guarantee that NetWorker multiplexing is not used no matter what the storage
device settings are on the server, you can set the NSR_NO_MULTIPLEX parameter,
as described in “NSR_NO_MULTIPLEX” on page 317.
If you want to use NetWorker multiplexing in addition to RMAN multiplexing, run
the set parallelmediarestore off command during the Oracle restore, to avoid
restore performance degradation. For example:
set parallelmediarestore off;
run {
allocate channel c1 type ’SBT_TAPE’;
restore database;
release channel c1;
}
92 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
2. Configure the database with the command and options appropriate for the client
operating system:
• On UNIX systems:
$ db2 update db cfg for sample using logarchmeth1
VENDOR:/usr/lib/libnsrdb2.xx logarchopt1
@pathname/nmda_db2_tlogs.cfg
• On Windows systems:
$ db2 update db cfg for sample using logarchmeth1
VENDOR:NetWorker_install_dir\nsr\bin\libnsrdb2.dll logarchopt1
@pathname\nmda_db2_tlogs.cfg
where:
– sample is the name of the database to be backed up.
– xx is the platform-specific extension:
– o (AIX)
– sl (HP PA-RISC)
– so (Linux, Solaris, HP Itanium)
– pathname/nmda_db2_tlogs.cfg is the complete pathname of the
configuration file (relative pathnames are not supported).
– NetWorker_install_dir is the path on Windows systems where the
NetWorker software is installed.
3. Once the steps 1 to 2 are completed, manually perform a full backup of the
database, as described in “Perform a DB2 manual backup” on page 120.
IMPORTANT
An initial full backup of the database is required.
◆ On Windows systems:
set NSR_LOG_VOLUME_POOL=NetWorker_pool_name
set NSR_SERVER = NetWorker_server_name
IMPORTANT
Informix recommends dedicating a backup device for continuous log backups.
This ensures that a device on the backup server is always available to receive
logical log data.
94 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
To prevent NMDA from following the directory and database links, ensure that the
following parameter is set through the wizard or in the NMDA configuration file:
NSR_FOLLOW_LINKS = FALSE
If a database link, link.nsf, or directory link, link.dir, has a bad reference (either the
destination database or directory does not exist or cannot be opened properly),
NMDA cannot determine whether the file is a link or an actual database or directory.
In this case, the link is not backed up because NMDA does not know whether to back
it up as a database, directory, or regular operating system file. The backup fails unless
the parameter NSR_SKIPDBERRORS is set to TRUE in the NMDA configuration file.
Comfort span
NMDA supports the NSR_COMFORT_SPAN parameter for incremental backups
only when the Domino server is enabled for transaction logging in archive mode. The
parameter specifies the acceptable amount of logs in kilobytes that can be applied to a
database during the recovery. If that amount is exceeded at backup time, NMDA
backs up the database file as a full backup in addition to backing up the logs. A full
backup reduces future recovery time. Fewer transaction logs are required to recover
the logged database.
Note: When the Domino server is enabled for transaction logging in archive mode, the default
NMDA behavior during an incremental backup is to back up the transaction logs only.
For example, the NMDA configuration contains the following parameter settings for
a Lotus incremental database backup with the comfort span option:
NSR_BACKUP_LEVEL = incr
NSR_COMFORT_SPAN = 196608
If NMDA determines that more than 196608 KB of logs need to be applied to recover
the specified database, NMDA backs up the database in addition to backing up the
logs.
Note: The NSR_LOTUS_DATA_DIR parameter does not specify the data to be backed up. To
specify the backup data, set NSR_BACKUP_LOTUS_DIR or NSR_BACKUP_PATHS in the
configuration file, or set the equivalents in the NetWorker User for Lotus GUI or the
configuration wizard (select the directories or files to be backed up).
For a scheduled backup configured without the wizard, in the Save Set attribute of the
Client resource, specify a descriptive name for the backup save set to be stored on the
media. The Save Set value must start with the NOTES: prefix. For example, you could
specify the following for the Save Set attribute:
◆ When you back up the entire data directory for the partition:
NOTES:partition1_/disk2/notesdata1
96 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Note: After the configuration conversion, the DAOS backups will run successfully. However,
when you use the wizard for the first time to modify the DAOS configuration, you must enter
the path for DAOS base directory on the wizard page Specify the Lotus Domino/Notes
Information.
In an integrated DAOS backup, Domino data is backed up first and then the DAOS
repository or part of it is backed up second during the same backup session. In a
stand-alone DAOS backup, only the DAOS files are backed up without the Domino
database files. An integrated DAOS backup is highly recommended by IBM and
preferred over a stand-alone backup.
To configure an integrated backup of Domino database files and DAOS (NLO files):
1. Review the best practices for DAOS backups as described in “Best practices for
Lotus DAOS backups” on page 97.
2. Follow the configuration steps as described in “Configure an integrated Lotus
DAOS backup” on page 98.
Note: The Domino server deletes an attachment in a DAOS directory only when the last
database referencing it is deleted and after a user-defined delay time called the deferred
deletion interval.
◆ The NLO files should not be pruned from the DAOS repository before they have
been backed up. This ensures that the NLO files will be recoverable.
◆ The daos.cfg and daoscat.nsf files (stored in the Lotus data directory) should not
be included in Lotus DAOS backups.
The IBM documentation provides complete details on the requirements and
recommendations for DAOS setup procedures.
Note: A DAOS backup also backs up transaction logs if its backup level is incremental or the
NSR_BACKUP_LOGS_MODE parameter is set for a full backup.
Note: The NMDA wizard does not support the configuration of the stand-alone DAOS backup.
If you want to use the NetWorker User for Lotus GUI for the backup, you must not set the
NSR_BACKUP_PATHS parameter. Instead, select the DAOS directory through the GUI.
Note:
- The DAOS backup runs only if the Domino data backup succeeds.
- The NetWorker User for Lotus GUI does not support an integrated backup. If you want to use
the GUI, you must run a stand-alone database backup first, followed by a stand-alone DAOS
backup.
Note: Set the DAOS base directory field even if you will back up just a subset of the DAOS
repository.
2. On the page Select the Backup Objects, select at least one Lotus Domino data file
to be backed up.
3. On each wizard page that appears, specify the options and values required to
configure the Domino server backup first, followed by the DAOS backup
configuration. Note the following recommendations:
• On the page Specify the Database and File Options, if the DAOS directory is
in the Domino data path to be backed up, add the DAOS directory to the
exclude path list so the DAOS directory is excluded from the Domino data
backup.
• On the page Select the Domino Attachment Object Service (DAOS)
Additional Parameters, you might want to set the NSR_SAVESET_BROWSE
and NSR_SAVESET_RETENTION parameters, to keep the DAOS backups for
a longer period of time than the corresponding Domino data backup.
98 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
The parameter settings in the LOTUS_DAOS{} section apply only to the DAOS
backup, not to the Domino data backup.
Note: If you wish to back up the daos.cfg file in the Lotus data directory and the parameter
settings in the LOTUS{} section do not include the backup of the file, you must add the
filepath to the NSR_BACKUP_PATHS setting in the LOTUS_DAOS{} section.
IMPORTANT
In the configuration file, the LOTUS_DAOS{} section must be located after the
LOTUS{} section, to ensure that the DAOS files are backed up after the Domino
database files.
The LOTUS{} and LOTUS_DAOS{} sections can include different parameter settings
that specify different backups levels and so on for the Domino data and DAOS
backups.
The DAOS backup inherits most of the parameters set in the LOTUS{} section. If the
same parameter is required for both backups (for example, Notes_ExecDirectory),
then it is sufficient to set it in the LOTUS{} section only. For the DAOS backup, a
parameter setting in the LOTUS_DAOS{} section overrides the setting of the same
parameter in the LOTUS{} section.
The following parameters are not inherited from the LOTUS{} section, and apply only
to the section in which they are specified:
◆ NSR_BACKUP_PATHS
◆ NSR_EXCLUDE_FILE
◆ NSR_EXCLUDE_LIST
The following parameters do not apply to DAOS backups:
◆ NSR_BACKUP_LOTUS_DIR
◆ NSR_COMFORT_SPAN
◆ NSR_FOLLOW_LINKS
◆ NSR_SKIPDBERRORS
◆ PRECMD
The catalog file is updated and the post-command is run after the DAOS backup ends.
As a result, if NSR_CATALOGFILE and POSTCMD are set to different values in the
LOTUS_DAOS{} section and in the LOTUS{} section, then the values from the
LOTUS_DAOS{} section are used.
You might want to set the following parameter values in the LOTUS_DAOS{} section,
to different values than in the LOTUS{} section:
◆ NSR_BACKUP_LEVEL=incr, in case the databases are backed up as full.
◆ NSR_SAVESET_BROWSE and NSR_SAVESET_RETENTION, to keep the DAOS
backups for a longer period of time.
◆ NSR_SAVESET_NAME, to specify a different name for DAOS save sets that
differentiates them from Domino data save sets. For example, set
NSR_SAVESET_NAME=NOTES_DAOS.
If NSR_SAVESET_NAME is not set, the DAOS backup save set has the same
name as the Domino data save set from the same integrated backup, such as
NOTES_number. A save set with the same name appears twice in the scheduled
backup details displayed in the NMC interface.
Appendix A, “NMDA Parameters and Configuration File,” provides details on the
NMDA configuration file and Lotus-specific parameters.
Note: The NMDA software ignores the Checkpoint Granularity attribute during a checkpoint
restartable backup. Changing the attribute setting has no impact on the NMDA Lotus backup.
100 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
IMPORTANT
If a backup piece name is not unique, the Oracle backup fails.
The following RMAN script is for a manual backup of an entire Oracle database to
the volume pool MondayFulls of the (remote) NetWorker server mars.emc.com:
run {
allocate channel t1 type ’SBT’;
allocate channel t2 type ’SBT’;
send ’NSR_ENV=(NSR_SERVER=mars.emc.com,
NSR_DATA_VOLUME_POOL=MondayFulls)’;
During an Oracle manual backup, the prefix RMAN: automatically precedes the
backup piece name in the NetWorker media database. For example, if the backup
piece name specified in the RMAN script is accounts_data_file, the manual backup
records the save set name as RMAN:accounts_data_file in the media database. The
mminfo command displays the save set name in this form.
The following sources provide more information:
◆ The appropriate Oracle backup and recovery documentation provides
information on how to write RMAN scripts.
◆ The Oracle Enterprise Manager documentation provides information on how to
use the Oracle Enterprise Manager Backup Wizard to generate RMAN scripts.
◆ Appendix B, “Oracle RMAN Commands,” provides important information on
RMAN commands.
◆ “Verifying the backup information in the NetWorker indexes” on page 131
describes the information stored for a backup in the NetWorker indexes.
IMPORTANT
For scheduled backups, do not include send as part of the allocate channel
command. The send command must be separate.
For example, NMDA does not support the following for scheduled backups:
allocate channel t1 type ’SBT_TAPE’ send
’NSR_ENV=(NSR_SERVER=mars.emc.com)’;
102 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
The following RMAN script is for a scheduled backup of an entire Oracle database to
the volume pool MondayFulls. The Recovery Catalog is used in this case:
connect target target_user/target_passwd@target_Netservicename;
connect rcvcat rcvcat_user/rcvcat_passwd@rcvcat_Netservicename;
run {
set command id to ’xxx’;
allocate channel t1 type ’SBT_TAPE’;
allocate channel t2 type ’SBT_TAPE’;
send ’NSR_ENV=(NSR_DATA_VOLUME_POOL=MondayFulls)’;
backup full filesperset 4 format ’FULL_%d_%U’ (database);
release channel t1;
release channel t2;
}
If automatic channel allocation and persistent settings are used, a scheduled RMAN
backup script must still be created and contain the following commands:
◆ connect target
◆ connect rcvcat (if using a Recovery Catalog)
◆ backup
The command connect target target_user/target_passwd@target_Netservicename is
mandatory in each RMAN script for a scheduled backup if Oracle operating system
authentication (ORACLE_USER) is not used. This command establishes the proper
connection to the target database.
Specify the correct values in the connect target command:
◆ target_user is the user with SYSDBA privileges for the target database.
◆ target_passwd is the password of the target_user (for connecting as SYSDBA),
specified in the target database’s orapwd file.
◆ target_Netservicename is the Net service name of the target database. This name is
mandatory in the connect target command.
A password file must be used for the target database. The appropriate Oracle
documentation provides more information.
Note: Since each scheduled backup RMAN script requires a connect target command, each
Oracle instance requires a separate scheduled backup RMAN script, unless Oracle operating
system authentication (ORACLE_USER) is used.
The remainder of the scheduled backup script in Example 8 on page 103, starting
with the first allocate channel command, is similar to the manual backup script in
Example 7 on page 101 except that the NSR_SERVER parameter setting is not
included.
IMPORTANT
Do not set the parameters NSR_SERVER or NSR_GROUP in a scheduled RMAN
backup script. NMDA sets these two parameters to the values specified in the
Client resource for the scheduled Oracle backup, and these values cannot be
overridden.
Each scheduled backup RMAN script must be stored as a text file. The database
administrator should give minimal permissions to the scheduled backup RMAN
script file. This way, unauthorized users cannot see the sensitive user IDs and
passwords of the target and Recovery Catalog databases.
If a single Oracle instance has multiple RMAN scripts associated with it (for example,
to perform tablespace-level or file-level, full or incremental backups, and so on), the
database administrator might choose to place the two common connect commands in
a single file and invoke those two connect commands in all RMAN scripts by using
the @ command.
where:
◆ script_name is the RMAN script file pathname.
◆ NetWorker_server_name is the name of the server that starts the backup.
◆ group_name is the name of the scheduled backup group as specified in the Client
resource.
IMPORTANT
Manual and automatic channels are mutually exclusive and cannot be mixed in an
RMAN session.
The format of an automatic channel name of the device type for NMDA backups
and restores is ORA_SBT_n or ORA_SBT_TAPE_n, where n is the channel
number. Do not use this name format for manual channel allocation for NMDA.
Otherwise, RMAN reports an error.
With automatic channel allocation, specification of the send command before the
backup or restore command causes the following error:
104 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
You must use the configure channel...parms... command to set the NMDA
parameters for automatic channels for an NMDA backup. Do not use the send
command or option to set the NMDA parameters for automatic channels if you plan
to use scheduled backups.
The following tables lists all the NMDA parameters and their requirements for Oracle
operations:
◆ Common NMDA parameters: Table 32 on page 296
◆ Oracle-specific NMDA parameters: Table 36 on page 316
Example 9 Using the configure channel command with parms option for automatic channels
An NMDA parameter is set to the same value for all automatic channels by typing the
following configure channel command:
◆ With Oracle version 11gR1 or earlier:
configure channel device type ’sbt_tape’ parms
’ENV=(NSR_CLIENT=mars)’
This command sets the NSR_CLIENT parameter to the value mars for all the
automatic channels.
Specific NMDA parameter values can be set for different channels (for example, a
separate setting of parameter NSR_DATA_VOLUME_POOL for each channel) by
typing the configure channel n device type...parms... command, where n represents
a channel number.
A NetWorker data volume pool is specified for the second automatic channel by
typing the following configure channel command:
◆ With Oracle version 11gR1 or earlier:
configure channel 2 device type ’sbt_tape’ parms
’ENV=(NSR_DATA_VOLUME_POOL=Oracle2)’
• The backup command with the copies option applies to objects within the
backup command. The backup...copies setting takes precedence over the
persistent settings in the configure...backup copies command.
• The set backup copies command applies to all backup objects in the same run
job.
2. Define a separate NetWorker pool for each copy and set the following parameters
accordingly with the parms option:
• NSR_DATA_VOLUME_POOL (if copies is set to 1)
• NSR_DATA_VOLUME_POOL1 (if copies is set to 2)
• NSR_DATA_VOLUME_POOL2 (if copies is set to 3)
• NSR_DATA_VOLUME_POOL3 (if copies is set to 4)
Appendix A, “NMDA Parameters and Configuration File,” provides details on
these parameters.
Example 11 Using the set backup copies command in the RMAN script
The following RMAN script uses the set backup copies command to generate the
backup copies. The parameters are set with the parms option, as required:
Note: With Oracle version 11gR2 or later, use parms ‘SBT_PARMS=(...)’ instead of
parms ‘ENV=(...)’. “Precedence rules” on page 328 provides details.
run {
set backup copies 4;
106 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Note: With Oracle version 11gR2 or later, use parms ‘SBT_PARMS=(...)’ instead of
parms ‘ENV=(...)’. “Precedence rules” on page 328 provides details.
4. If the proper username and password are not located in the RMAN script (for
example, the connection strings are included as a command file in the RMAN
script, such as @connection_file), ensure the following:
– The ORACLE_SID parameter is set in the NMDA configuration file, as
described in “Oracle-specific NMDA parameters” on page 315.
– An NWORA SID resource with the NSR_ORACLE_CONNECT_FILE
parameter setting is created in the NWORA resource file (nwora.res) for
the ORACLE_SID, as described in “NWORA SID resources” on page 268.
NMDA cannot retrieve the connection strings from the RMAN script when the
connection strings are included as a command file in the script. In this case,
NMDA must retrieve the connection strings from the connection file specified
by the parameter in the NWORA resource file.
5. In a RAC system, ensure that all channels are allocated on the same NMDA
client node where the backup is initiated. Save set bundling does not support
load balancing across different RAC nodes.
To disable save set bundling, set the NSR_BUNDLING parameter value to disabled by
typing the following command:
nsroraadmin -r update NSR_BUNDLING disabled
108 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Note: The NMDA software does not support probe-based backups with nsrdaprobe of a
Sybase database that has the data and log segments on the same device. “NMDA probe” on
page 83 provides details.
SA_role, DBO (database ownership), or OPER_role Backup and restore databases nsrdasv
nsrsybrc
If you do not specify a verification value, then no verification is carried out and a
message is added to the log file.
IMPORTANT
Use the NSR_DUMP_LOG_OPT parameter with care because it can prevent you
from restoring your ASE server or specific databases.
Table 14 on page 111 describes the full backup behavior for the different
NSR_DUMP_LOG_OPT settings when the database and transaction log are on the
same or separate devices.
Table 15 on page 111 describes the incremental backup behavior for different
NSR_DUMP_LOG_OPT settings when the database and transaction log are on
separate devices.
Note: The NSR_DUMP_LOG_OPT parameter is not supported for incremental backups when
the database and transaction log are on the same device.
110 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
The Sybase documentation provides more details on when and how to use the
“no_log”, “no_truncate”, and “truncate_only” options.
NSR_DUMP_LOG_OPT
parameter setting Database and log on separate devices Database and log on the same device
“no_log” 1. Truncates the transaction log without 1. Displays an error message stating
logging the transaction. that the setting is invalid and the
2. Backs up the database. “no_log” operation is ignored.
2. Backs up the database.
3. Truncates the transaction log.
“no_log” 1. Truncates the transaction log without 1. Displays an error message stating
logging the transaction. that the setting is invalid and the
2. Backs up the database. “no_log” operation is ignored.
2. Backs up the database.
“truncate_only” Displays an error message stating that Displays an error message stating that
the setting is invalid for read only the setting is invalid for read only
databases. databases.
NSR_DUMP_LOG_OPT
parameter setting Database and log on separate devices
“no_log” 1. Displays an error message stating that the setting is not supported with
incremental backups, and that a full backup must be performed instead.
2. Backs up the transaction logs.
“truncate_only” 1. Displays an error message stating that the setting is not supported with
incremental backups, and that a full backup must be performed instead.
2. Backs up the transaction logs.
NSR_DUMP_LOG_OPT
parameter setting Database and log on separate devices
“no_log” 1. Displays an error message stating that the setting is not supported with
incremental backups, and that a full backup must be performed instead.
2. Backs up the transaction logs.
“truncate_only” Displays an error message stating that the setting is invalid for read only databases.
IMPORTANT
If the threshold procedure is used for transaction log backups, set the following as
environment variables beforehand:
- NSR_CLIENT
- NSR_DATA_VOLUME_POOL
- NSR_LOG_VOLUME_POOL
- NSR_SERVER
For UNIX or Linux, as the Sybase user, set the environment variables in the shell
that launches the Sybase Backup Server.
For Windows, as the Sybase user, set the environment variables as Windows
system environment variables, then reboot the system and start the Sybase Backup
Server.
Appendix A, “NMDA Parameters and Configuration File,” provides more details
on these parameters.
If the NMDA software cannot perform a full database dump, then perform either of
the following:
◆ Add space to the transaction log.
◆ Terminate processes that were suspended when the threshold was crossed.
The Sybase documentation provides detailed information on thresholds.
112 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Configuration
Platform Location
AIX /usr/bin/threshold.sql
HP-UX /opt/networker/bin/threshold.sql
Solaris /usr/sbin/threshold.sql
Linux /usr/sbin/threshold.sql
where:
• password is the password of the Sybase SA account.
• Sybase_server is the name of the Sybase server.
• database_name is the name of the Sybase database.
2. Start an isql session and verify that the threshold procedure is in place:
isql -Usa -P password -S Sybase_server -D database_name
1> sp_help
2> go
The procedure sp_thresholdaction must appear when the sp_help command is run.
If it does not appear, then verify that the database used is the correct one.
The Sybase documentation provides instructions about how to use the
sp_addthreshold command to perform the following:
◆ Add the NMDA threshold procedure to the Sybase server.
◆ Manage free space with thresholds.
2. Start the Sybase backup server for the NMDA backup in the same shell where the
LD_PRELOAD variable was set in step 1.
114 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
3
Backup Procedures
Note: This chapter does not describe how to perform cluster, DB2 DPF, Informix MACH 11,
Oracle RAC, Sybase ASE Cluster Edition, or snapshot backups. These are described separately
in other chapters.
IMPORTANT
At the end of a successful Oracle scheduled backup only, NMDA automatically
backs up the NWORA resource file if it exists, as described in “NWORA resource
file backup” on page 257.
116 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
Note: If a backup is canceled before completion, some of the backed-up data might be
recoverable.
To restart a failed scheduled backup, follow the instructions in “Restart a failed scheduled
backup” on page 118.
b. Run the following select command in the Oracle svrmgrl or sqlplus program
to determine the serial number:
select serial# from v$session where sid=session_id;
where session_id is the Oracle session ID from the RMAN message log in step a
.
c. Run the following alter system command in the Oracle svrmgrl or sqlplus
program to terminate the channel:
alter system kill session ‘session_id, serial#’;
where:
– session_id is the Oracle session ID from step a .
– serial# is the serial number from step b .
The following are the steps for canceling a nonresponding Oracle backup. However,
if these steps do not work, contact Oracle for assistance.
Note: When using these steps, NMDA does not attempt to remove the backup save set entries
from the NetWorker index. As a result, the NetWorker index and RMAN catalog might
become unsynchronized.
Note: Depending on the NMC release, the names and locations of the tabs and windows might
be different in the NMC program. The NetWorker documentation provides more details.
In addition, messages appear in the appropriate Group Details window in the NMC
program during and after the scheduled backup. In the NMC Monitor tab of the
NetWorker Administration window, right-click the group name and select Details to
display the Group Details window.
118 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
IMPORTANT
The NetWorker server bootstrap and client indexes are not automatically backed
up at the end of a manual backup, as they are for a scheduled backup. After
running a manual backup, perform a backup of the NetWorker server bootstrap
and client indexes to prepare for disaster recovery of the NetWorker server
according to instructions in the EMC NetWorker Administration Guide.
Before you perform a manual NMDA backup, review the procedures for canceling
the manual backup in “Cancel a manual backup” on page 129.
The following sections provide details on the manual backup procedures:
◆ “Perform a DB2 manual backup” on page 120
◆ “Perform an Informix manual backup” on page 121
◆ “Perform a Lotus manual backup” on page 121
◆ “Perform an Oracle manual backup” on page 122
◆ “Perform a Sybase manual backup” on page 122
◆ On Windows systems:
$ db2 backup db sample load
NetWorker_install_dir\nsr\bin\libnsrdb2.dll options
@pathname\nmda_db2.cfg
where:
• sample is the name of the database to be backed up.
• xx is the platform-specific extension:
– o (AIX)
– sl (HP-UX)
– so (Linux, Solaris, HP-UX IA64)
• pathname/nmda_db2.cfg is the complete pathname of the NMDA
configuration file that contains the parameter settings for the DB2 manual
backup.
• NetWorker_install_dir is the path on Windows systems where the NetWorker
software is installed.
The DB2 documentation provides details on the db2 backup command.
120 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
Note: For a Windows client, after selecting the DLL path, enter quotes around the path
or use a short filename (8.3 format). Otherwise, an error is displayed, similar to the
following:
SQL0104N An unexpected token
"Files\Legato\nsr\bin\libnsrdb2.dll" was found following "<identifier>".
Expected tokens may include: "INCLUDE".
The DB2 documentation included with the DB2 server software provides details on
the use of DB2 Control Center for backups.
where config_filepath is the complete pathname of the NMDA configuration file that
contains the parameter settings for the Lotus manual backup.
IMPORTANT
After the completion of an NMDA backup or restore, the Oracle Enterprise
Manager job queue history displays the status of the job as “failed”, even if the
backup or restore completed successfully. This is due to a known problem with
Oracle Enterprise Manager. View the job output to confirm that the backup or
restore completed successfully.
The Oracle documentation provides more information on using the Oracle Enterprise
Manager.
122 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
IMPORTANT
To back up Sybase data with NMDA, use the information in the following
sections. Do not manually invoke the Sybase dump command. When you use
NMDA to perform a Sybase backup, the nsrdasv command invokes the Sybase
dump command.
where:
◆ user_ID is the username of the Sybase user account.
◆ password is the password of the Sybase user account.
◆ dbcc_option is the option that specifies the type of database consistency check, as
described in Table 18 on page 123.
◆ ASE_server_name is the Sybase server name.
◆ database_name is the name of the database on the Sybase server.
Note: If you specify the Sybase server name only, SYBASE:/ASE_server_name, with the
nsrsybcc command (without specifying a database name), the command performs a consistency
check of every database on the Sybase server.
If you do not include the -o option to specify the type of consistency check, then the
nsrsybcc command performs the following:
◆ The dbcc checkstorage check when the dbccdb database is set up.
◆ The dbcc checkcatalog, dbcc checkalloc, and dbcc checkdb checks when the
dbccdb database is not set up.
The EMC NetWorker Module for Databases and Applications Command Reference Guide
provides details on the nsrsybcc command syntax and options.
The Sybase documentation provides more details on performing a database
consistency check.
where config_filepath is the complete pathname of the NMDA configuration file that
contains the parameter settings for the Sybase manual backup.
Note: The NetWorker User for Lotus and NetWorker User for Sybase support the backup of
local databases only.
To perform a manual backup of Lotus or Sybase databases with the NetWorker User
for Lotus or Sybase program, respectively:
1. Start the graphical interface by selecting NetWorker User for Lotus or
NetWorker User for Sybase from Start > Programs > EMC NetWorker.
If you want to connect to a different NetWorker server, follow the instructions in
“Connecting to a different NetWorker server” on page 128.
2. In the main window, select Backup from the Operation menu or click the Backup
button or press Alt+B. The Backup window appears, as shown in Figure 2 on
page 125. Table 19 on page 125 describes the Backup window toolbar buttons.
3. In the NetWorker User for Sybase only, if the Sybase Server Login dialog box
appears (the first time you display the Backup window):
a. Type the required values in the Sybase Server Login dialog box:
– In the Server name text box, type the Sybase server name.
– In the User ID text box, type the user ID for the backup.
– In the Password text box, type the password for the user ID, if a password
is required.
b. Click OK.
124 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
Backup Options Displays a dialog box with Lotus or Sybase specific backup
options.
4. To view a list of files or databases available for backup, select an entry in the left
pane, either a Lotus directory or Sybase server. The contents of the Lotus
directory or Sybase server appear in the right pane.
5. Specify the files or databases to back up by using one of the following methods:
• Select the entries, and click the Mark toolbar button.
• Select the checkbox (add a check mark) beside each entry.
To unmark the entries, use one of the following methods:
• Select the marked entries, and click the Unmark toolbar button.
• Clear the checkboxes (remove the check marks) beside the entries.
6. From the Options menu, select Backup Options, and set the specific backup
options according to the appropriate instructions:
• “Lotus backup options” on page 126
• “Sybase backup options” on page 127
7. Start the backup by clicking the Start toolbar button.
The Backup Status window opens and displays information about the backup
operations performed.
To specify the location of the NMDA configuration file, type the complete pathname
of the configuration file in the Configuration File text box, and click OK. “NMDA
configuration file” on page 294 provides more information on the NMDA
configuration file for Lotus backups.
Note: Parameters specified in the Backup Options dialog box take precedence over the
corresponding parameters specified in the NMDA configuration file.
126 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
Select the appropriate options in the Backup Options dialog box, and then click OK:
◆ Full backup — Specifies that NMDA backs up the selected databases and their
transaction logs, and then truncates the transaction logs.
◆ Incremental backup — Specifies that NMDA backs up the transaction logs of the
selected databases, and then truncates the transaction logs.
◆ Compress — Specifies that NMDA compresses the backup data.
◆ Use Dump Options — Specifies that NMDA applies the selected truncation
option for the transaction logs. You must select one of the following truncation
options:
• TRUNCATE_ONLY dump before backup — NMDA truncates all committed
transactions in the transaction logs before backup, and then backs up both the
databases and transaction logs.
• NO_TRUNCATE dump before backup — NMDA keeps the transaction logs
from being truncated during the backup.
• NO_LOG dump before backup — NMDA truncates the transaction logs
before backup, and then backs up only the databases.
Note: Truncation of a log before backup creates a gap in the log so that previous log
backups cannot be used to roll forward past the log truncation point.
◆ Use striped dump — Specifies that NMDA enables striping during the backup.
Specify the appropriate value for Stripe count.
◆ Use Pools — Specifies that NMDA uses the given volume pools for database and
log backups. You must specify the pool names as follows:
• Data pool — Pool to use for full (database) backups.
• Log pool — Pool to use for incremental (transaction log) backups.
128 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
Note: If the backup is canceled before completion, some of the backed-up data may be
recoverable. Restart the canceled backup process from the beginning, and ensure that the
backup successfully completes without interruption.
130 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
The EMC NetWorker Command Reference Guide and the UNIX man pages provide more
information on these NetWorker commands.
The following examples show the command output for an Oracle backup with
NMDA, where the backup object (backup piece) is named t1ld0g32_1_1:
# nsrinfo -n oracle -s nw-server ca-oracle
Cross-check the client file index and media database by using the backup save time
through the -t option of the nsrinfo and mminfo commands. For example:
mminfo -s nw-server -c ca-oracle -t 1273166244
nsrinfo -s nw-server -n oracle -t ’05/06/10 13:17:24’ ca-oracle
The NMC interface also provides queries and reports about the backup information.
The NetWorker documentation provides more details.
XBSA file
'NOTES:/C:/Program Files/IBM/Lotus/Domino/data/events4.nsf',
size=404, off=404, app=notes(17), date=1236960727 3/13/2009
11:12:07 AM, copyID = 1236960727.1236960729
In this case, the size of the backup file, bolded in this nsrinfo output, is the size of
the metadata (hash information) that is stored on the NetWorker backup media
for the deduplication backup.
◆ To query the media database, use the mminfo command with the following
options:
• -q dedupe option — Displays only the save sets created through Avamar
deduplication.
• -S option — Lists the extended options for each save set in the save set
completion report.
The following mminfo query example shows the information stored in the media
database for a single save set of Lotus data deduplicated to an Avamar server:
ssid=3585770967 savetime=3/13/2009 11:12:06 AM (1236960726)
win3e10-nml80:NOTES: level=full sflags=vF size=1608 files=4
insert=3/13/2009 create=3/13/2009 complete=3/13/2009
browse=4/13/2009 11:59:59 PM retent=3/13/2010 11:59:59 PM
clientid=292ecd0b-00000004-49b194cd-49b194cb-00020c00-729b1c29
*Client path: /NetWorker/win3e10-nw75/win3e10-nml80;
*Data set size: 71041152;
*De-Dup session id: 158;
*De-Dup snapup time: 2009-03-13;
*De-duplication: Yes;
*De-duplication host: bu-doppelganger.lss.emc.com;
*Domain: /NetWorker/win3e10-nw75;
*New data on De-Dup Node: 10483991.00;
*New files: 4;
*Size on De-Dup Node: 71041152.00;
group: nml80;
Clone #1: cloneid=1236960727 time=3/13/2009 11:12:07 AM
retent=3/13/2010 flags=F frag@ 0 volid=3602548168
file/rec=3585770967/0 rn=0 last=3/13/2009
The save file size reported by mminfo, bolded in this sample output, is the size of
the NetWorker save set stored on the backup media that contains the metadata
only for the deduplication backup.
The extended attributes reported by mminfo provide information on the total
data protected by NetWorker and stored on the Avamar server, and the new data
passed to the Avamar server during the deduplication backup.
When a deduplication backup is deleted (for example, by a user or the NetWorker
server), the backup information is deleted immediately from the NetWorker indexes,
and a request is queued for deletion of the backup from the Avamar server. The
NetWorker documentation provides more information on deletion of deduplication
backups.
After a deduplication save set passes its retention time and its data chunks are
deleted from the Avamar server, the save set may no longer be recoverable even with
the scanner program.
132 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
The -S option provides the Data Domain specific information about a save set, such
as the Data Domain clone ID and Data Domain statistics.
The following is an example of query information for a single save set of a DB2
backup to a Data Domain device:
ssid=2253717478 savetime=08/24/2011 09:42:55 AM (1314193375)
bu-pluto:DB2:/SMS1/NODE0000
level=full sflags=vF size=52099434476 files=1 insert=08/24/2011
create=08/24/2011 complete=08/24/2011 browse=09/24/2011 11:59:59 PM
retent=08/24/2012 11:59:59 PM
clientid=7d32da8e-00000004-4e42944b-4e42944a-01565000-d2648f56
*ss data domain backup cloneid: 1314193376, 1314193377;
*ss data domain dedup statistics: \
"v1:1314193376:52271619528:52218920124:41558381793",
"v1:1314193377:52271619528:52218920124:41558381793";
group: db2_pluto_dfa;
Clone #1: cloneid=1314193376 time=08/24/2011 09:42:56 AM
retent=08/24/2012 flags=F
frag@ 0 volid=2337602992 file/rec=0/0 rn=0 last=08/24/2011
Clone #2: cloneid=1314193377 time=08/24/2011 09:42:57 AM
retent=08/24/2012 flags=F
frag@ 0 volid=2354380207 file/rec=0/0 rn=0 last=08/24/2011
Note: Ensure that the owner of the application server process running on the NMDA host that
deletes the backup entries has the Operate NetWorker privilege.
A DB2, Informix, or Oracle database has its own backup catalog. You must use the
database-specific interface or instructions to delete a DB2, Informix, or Oracle backup
from both the database backup catalog and the NetWorker indexes, to keep the
backup catalogs synchronized.
Lotus and Sybase do not maintain their own backup catalogs. Therefore, you can
delete a Lotus or Sybase backup from the NetWorker indexes only by using the
nsrmm command. The EMC NetWorker documentation and man pages provide
more details on this process.
“Delete DB2 backups” on page 134 provides details on how to delete DB2 backups
from the DB2 server and NetWorker server.
“Delete Informix backups” on page 136 provides details on how to delete Informix
backups from the IDS server and NetWorker server.
“Crosscheck and delete Oracle backups” on page 136 provides details on how to
crosscheck and delete Oracle backups from the Oracle server and NetWorker server.
Note: The db2 prune command is not supported for deleting snapshot backups. “Deletion of
DB2 snapshots” on page 248 provides details.
134 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
To delete DB2 backup entries on both the DB2 server and NetWorker server:
1. Set the DB2 database configuration VENDOROPT parameter to the pathname of
the NMDA configuration file (nmda_db2.cfg) for the DB2 database or tablespace
whose backups are to be deleted. For example:
db2 update db cfg for sample using vendoropt
@/db/pathname/nmda_db2.cfg
where:
• sample is the name of the database or tablespace whose backups are to be
deleted.
• pathname/nmda_db2.cfg is the complete pathname of the NMDA
configuration file that contains the parameter settings for the DB2 backup.
2. Enable the automatic deletion of physical backup images and log files when the
db2 prune command is used by using the following command:
db2 update db cfg for sample using AUTO_DEL_REC_OBJ ON
where sample is the name of the database whose backups are to be deleted.
Note: Without this step, the db2 prune command removes entries only in the DB2 history
file and does not remove the associated database backups and log files.
3. Remove unwanted backup entries with the db2 prune command. For example:
$ db2 connect to sample
$ db2 prune history timestamp and delete
$ db2 terminate
where:
• sample is the name of the database whose backups are to be deleted.
• timestamp (in format yyyymmddhhmmss, with minimum yyyy) specifies deletion
of entries that are less than or equal to the timestamp value.
Note: The prune command does not remove the most recent full backup entry regardless
of the timestamp value, unless with force option is included after the timestamp.
4. Inspect the DB2 history file and the NetWorker index to verify that the backup
objects have been removed:
The DB2 documentation provides more information on the db2 prune command and
configuration parameters that can be set to help maintain the backup history,
particularly REC_HIS_RETENTN and NUM_DB_BACKUPS.
Note: To successfully delete the NetWorker index entries corresponding to the Informix
backup entries, ensure that the user who runs the onsmsync utility has the Operate NetWorker
privilege.
136 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Backup Procedures
Note: For backup deletions, if the NetWorker client binaries are located in a nondefault
directory on the Oracle Server host and the NWORA resource file was not created, you may
need to set the NSR_NWPATH parameter in the NWORA resource file or in the RMAN script.
“NSR_NWPATH” on page 301 provides more information.
138 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
4
Data Restore and
Recovery
140 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
When the browse policy expires, the entry is immediately removed from the client
file index. When the retention policies for all the save sets on a backup volume expire,
the volume becomes recyclable and eligible for automatic relabeling by the
NetWorker server. However, the save set entries remain in the media database until
the volume is actually relabeled. When the volume is relabeled, the data on it
becomes inaccessible and can no longer be restored.
NMDA uses both the client file index and media database entries to restore the
backed-up data. If any one of them is missing, the restore fails. To prevent such a
failure:
◆ Set the browse policy to a period long enough to retain the client index entries for
restoring the data.
◆ Set the retention policy to a period that is equal to or longer than the browse
policy period.
After a browse policy expires or the NetWorker indexes are lost, the NetWorker
scanner program can be used to rebuild the indexes.
To ensure successful restore and recovery, you should keep the backup catalogs
synchronized between NetWorker and DB2, Informix, or Oracle, as described in
“Backup catalog synchronization and backup deletion” on page 134.
Note: For Oracle backups, index entries regenerated by using scanner might cause the
NetWorker indexes to become unsynchronized with the Oracle RMAN catalog and lead to
problems. To avoid problems, ensure that the Oracle backup pieces have unique names, as
described in “Oracle backup considerations” on page 101.
The EMC NetWorker Administration Guide provides more information on how the
NetWorker server uses browse and retention policies to manage backup data and
track the location and status of the data on backup volumes.
◆ (Optional) To restore the data to a different host (destination host) than the host
that was backed up (source client):
a. Ensure that the NMDA software is installed and configured on the new
destination host.
b. On the NetWorker server that contains the backup to be restored:
– Ensure that a Client resource exists for the destination host. It may contain
these attribute settings:
– Save Set: All
– Group: (blank)
– Ensure that the Remote Access attribute in the Client resource of the source
client contains the following value:
user=db_or_app_user,host=destination_host
c. Perform the restore and recovery steps on the destination host.
◆ The NMDA parameters required for the restore are set according to Appendix A,
“NMDA Parameters and Configuration File”:
• For DB2 and Lotus restores, the parameters must be set in the NMDA
configuration file.
• For Informix restores, the parameters must be set in the environment.
• For Oracle restores, the parameters must be set in the RMAN script.
• For Sybase restores, the parameters must be set as the nsrsybrc command
options, if possible. If a parameter cannot be set as a nsrsybrc command
option, then it should be set in the environment.
These parameters are mandatory for specific restores:
• NSR_CLIENT — For a redirected restore to a new destination host, set to the
hostname of the backed-up (source) client.
• NSR_ENCRYPTION_PHRASES — Set if both of the following are true:
– The data being restored was backed up with AES encryption
(NSR_AES_ENCRYPTION=TRUE).
– The encryption phrase on the NetWorker server has changed since the data
was backed up.
142 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
Before running an NMDA data restore, review the procedures for canceling the
restore in “Cancel a data restore or recovery” on page 143.
The following sections provide details on specific restore procedures:
◆ “DB2 data restore and recovery” on page 143
◆ “Informix data restore and recovery” on page 149
◆ “Lotus data restore and recovery” on page 152
◆ “Oracle data restore and recovery” on page 161
◆ “Sybase data restore and recovery” on page 170
To cancel a restore or recovery that was started through the command line, press
Ctrl + C.
To cancel a restore and recovery from the NetWorker User for Lotus or NetWorker
User for Sybase program, select End Recover from the File menu.
Note: This method does not cancel a directed recovery of a Lotus Windows client, where the
performing client is different than the destination client. As workaround in this case, terminate
the nsrlotus_remrecov process through the Task Manager on the remote Windows client.
IMPORTANT
Restore with only one session per device because restoring with multiple sessions
per device can severely affect recovery performance.
To determine the number of sessions that were used for the DB2 backup, use the
nsrinfo command:
# nsrinfo -s NetWorker_server -n db2 -X all DB2_client | grep
database_name
For example:
# nsrinfo -s bu-llet -n db2 -X All bu-gingersnap | grep SAMPLE
3 objects found
where:
◆ db2inst1 is the name of the database instance that was backed up.
◆ 3 is the number of sessions that were used for the backup.
A restore operation for this example would use three sessions and three devices with
one session per device.
144 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
◆ On Windows systems:
$ db2 restore db sample load
NetWorker_install_dir\nsr\bin\libnsrdb2.dll open n sessions
options @pathname\nmda_db2.cfg taken at yyyymmddtttt into sample2
where:
• sample is the name of the database to be restored.
• xx is the platform-specific extension:
– o (AIX)
– sl (HP-UX)
– so (Linux, Solaris, HP-UX IA64)
• n is the number of restore sessions, if multiple sessions were used for the
backup. This may be a value from 1 to the number determined in step 2 on
page 145.
• On Windows systems:
$ db2 restore db sample load
NetWorker_install_dir\nsr\bin\libnsrdb2.dll options
@pathname\nmda_db2.cfg redirect generate script
pathname\my_redirect.ddl
where:
– pathname/my_redirect.ddl is the complete pathname of the generated
redirect script.
– The other command line options are the same as described in “DB2 restore
to the same instance” on page 145.
Note: Ensure that the new instance has read and write permission to the script.
The DB2 documentation provides more details on the db2 restore command.
146 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
2. Grant the new instance (for example, db2inst2) permission to restore the database:
a. Start the NMC program, and open the NetWorker Client resource for the
original host that was backed up.
b. In the Application Information attribute, set the following:
DB2_R=sample:db2inst1:db2inst2:
where:
– sample is the database name.
– db2inst1 and db2inst2 are the names of the instances permitted to restore the
database, in this example the old (db2inst1) and new (db2inst2) instances.
Note: Separate each instance with a colon (:) and insert a colon after the last
instance.
The Configure NetWorker privilege is required to modify the Application
Information attribute.
3. Edit the generated script, and define the following parameters:
• OPTIONS (required) — Complete pathname of the NMDA configuration file.
• ON (required) — Complete pathname of the new database instance.
• INTO — New database name, if redirecting the recovery to a new name.
• TAKEN AT — Timestamp of the backup to recover, yyyymmddtttt, if restoring
the data to a particular point in time, as noted in step 1 on page 145.
• OPEN SESSIONS — Number of restore sessions, if multiple sessions were
used for the backup, as determined in step 2 on page 145. Use only one restore
device per restore session.
For example:
OPTIONS ‘@/bigspace/home/db2inst2/nmda_db2.cfg’
ON ‘/bigspace/home/db2inst2’
INTO sample2
Note: If DMS tablespaces were created with the backup, you may need to set the SET
TABLESPACE CONTAINERS parameter to the appropriate value.
The DB2 documentation provides more details on the db2 rollfoward command.
Note: To use rollforward recovery, the NMDA software must have backed up DB2 transaction
logs. “DB2 transaction log backups” on page 32 provides details.
Rollforward method
The conventional DB2 method of rollforward recovery of a restored database applies
the transaction logs that are stored on the backup media.
To apply all transactions to the end of the logs, use the following command:
$ db2 “rollforward db sample to end of logs and complete”
Note: To list the logs on the NetWorker server, use the nsrinfo command.
For example, to retrieve all the transaction logs for a database, to the end of its logs,
use the following command:
$ nsrdb2rlog -s server -a sample -d destination_dir
where:
◆ server is the name of the host on which the database resides.
◆ sample is the name of the database that the logs belong to.
◆ destination_dir is the directory where the log files are to be recovered.
The NMDA nsrdb2rlog man page and the EMC NetWorker Module for Databases and
Applications Command Reference Guide provide more details on this command.
Complete the recovery by updating the database with the retrieved transaction logs.
The following are examples of how to apply the transaction logs.
To apply all transactions to the end of the logs, use the following command:
$ db2 rollforward db sample to end of logs and complete overflow log
path (c:\log_path)
148 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
To apply all the transactions to a specific point in time, use the following command:
$ db2 rollforward db sample to yyyy-mm-dd.hh.mm.ss using local time
overflow log path (c:\log_path)
where:
• sample is the name of the database or tablespace to be recovered.
• pathname/nmda_db2.cfg is the complete pathname of the NMDA
configuration file (relative pathnames are not supported).
2. Use the db2 recover command and appropriate options to recover the database or
tablespace to the end of the logs or to a specific point in time. The following are
examples:
• To apply all transactions to the end of the logs, use the following command:
$ db2 recover db sample to end of logs
where the command line options are the same as described in “DB2 restore to
the same instance” on page 145.
Note: The db2 recover command does not support the load or options syntax that is
available with db2 backup and db2 restore commands. Instead, the db2 recover command
uses information in the DB2 history file to determine what file to load during the recovery
and uses the VENDOROPT variable to pass the options file. If the database has been
dropped, use the db2 restore and db2 rollforward commands to perform disaster
recovery. The db2 recover command is not supported for dropped databases.
“Informix imported restore” on page 187 provides details on restoring the data from
one Informix server instance to the same instance on a different host (destination
host).
Note: A cold restore of selected dbspaces succeeds only if the critical dbspaces are
included on the restore command line. Critical dbspaces are defined as the root dbspace
and any dbspace that contains either physical or logical logs.
◆ Warm restore mode — Restores noncritical data while the database server is
online or quiescent. A warm restore performs the following:
1. A backup of the logs that have yet to be backed up.
2. One or more physical restores.
3. A closing and backup of the current logical log.
4. A logical log restore.
◆ Mixed restore mode — Enables the quick recovery of critical dbspaces, plus any
data to which users require immediate access. A mixed restore performs the
following:
1. A cold restore of the critical dbspaces, with the database server in offline
mode.
2. A warm restore of noncritical dbspaces, with the database server in online or
quiescent mode.
After the database server is returned to quiescent mode, perform a warm restore
of the other dbobjects.
The Informix documentation provides details on the different restore modes.
Note: The onbar cold, warm, mixed, and point-in-time restore modes require properly enabled
versions of the NetWorker and NMDA software to enable the backup of the outstanding logs.
The ON-Bar utility maintains a history of backup and restore operations in the
sysutils database, and stores an extra copy of the backup history in the emergency
boot file. ON-Bar uses the sysutils database in a warm restore when only a portion of
the data is lost. ON-Bar uses the emergency boot file in a cold restore when the
sysutils database cannot be accessed.
The Informix onsmsync utility is used to regenerate the emergency boot file and
expire old backups.
150 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
Note: On UNIX only, you must also set the INFORMIXSQLHOSTS variable.
◆ Logical Restore — Recovers the server transactions made since the last dbobject
backup, followed by a rolling forward of the logical log files backed up for the
dbobjects. If different backup sessions are involved, the log rolls forward
transactions made since the backup time recorded for each dbobject restored.
For example:
1. Set the following environment variables in the shell or command window:
NSR_SERVER=mars
INFORMIXDIR=C:\Progra~1\IBM\Informix
ONCONFIG=ONCONFIG.ifxm1
Note: On UNIX only, you must also set the INFORMIXSQLHOSTS variable.
Note: On UNIX only, you must also set the INFORMIXSQLHOSTS variable.
Note: On UNIX only, you must also set the INFORMIXSQLHOSTS variable.
The Informix documentation included with the Informix server software provides
details on the use of the onbar command and options.
IMPORTANT
After you change the DBIID of a recovered database, you cannot recover any
subsequent changes to the database until the next full backup is performed.
Perform a full backup after changing the DBIID of a recovered database. If an
incremental backup is the next backup performed on a database after a DBIID
change, NMDA automatically performs a full backup of the database instead.
◆ Lotus transactional logging is set properly on the Domino server for the required
type of recovery operation:
• If Lotus archived logging is enabled, a database or document can be recovered
to any point in time, provided a specified backup and the transaction logs for
that time period are available.
“Setting the NSR_RECOVER_TIME parameter” on page 314 provides details
on how to determine the recovery point in time.
• If Lotus archived logging is disabled, a database or document can be restored
to the time of a specific backup only.
152 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
If some transaction logs are missing on the system and they need to be restored
from the NetWorker system, you can set the TRANSLOG_RECOVER_PATH
parameter in the notes.ini file to the full pathname of the alternative log location.
Setting this parameter improves the restore performance by preventing the logs
that will be restored from interfering with the logs that are generated by Domino
operations. The IBM documentation provides details on setting the parameter.
IMPORTANT
When recovering a logged database to a different Domino server than the one it
was backed up from, you cannot apply the transaction logs because the logs are not
available in the new destination.
If you recover a logged database to a new destination host, either perform disaster
recovery first to restore the transaction logs to the new destination or do one of the
following:
- In the NetWorker User for Lotus GUI, select “Do not apply Transaction Logs” in
the Recover Options dialog box.
- In the configuration file, set NSR_APPLY_LOGS=FALSE.
Note: Filepaths are case-sensitive for all platforms, including Windows. The filepaths must
match the case of the entries in the NetWorker client index. If you are uncertain about the case
of filepaths, use the nsrinfo command to verify the backup entries in the NetWorker client file
index.
Ensure that all the parameters required for the recovery are set in the configuration
file according to Appendix A, “NMDA Parameters and Configuration File.”
To perform the Lotus database recovery, run the nsrnotesrc command from the
command line:
nsrnotesrc(.exe) -z config_filepath
where config_filepath is the complete pathname of the NMDA configuration file that
contains the parameter settings for the recovery.
If the nsrnotesrc command prompts with a message that an existing file has the same
name as a file being recovered, reply with the value n, N, y, Y, r, or R, as described in
“NSR_RECOV_INTERACT” on page 312.
The following examples describe parameters to set in the NMDA configuration file
for different types of Lotus database recoveries. After the parameters are set, the
nsrnotesrc -z command is run to perform the recovery.
By default, the NMDA software restores the most recent Lotus backup available. If
archived transaction logging is enabled and the required transaction logs are on the
Domino system or can be restored from a backup, NMDA requests that Domino
apply the logs up to the current time.
The NSR_RECOVER_TIME parameter enables you to recover the database to a point
in time before the current time. If transaction logs are available, NMDA recovers the
database to the time set by the parameter. Otherwise, NMDA restores the database to
the last backup before or equal to the time set by the parameter. The parameter value
is the time in nsr_getdate format. For example:
NSR_RECOVER_TIME = "Wed June 23 2010 14:23"
◆ On Windows systems:
NSR_BACKUP_PATHS = C:\Lotus\Domino\data\account.nsf,
C:\Lotus\Domino\data\mail\
The following parameter setting in the NMDA configuration file specifies the
recovery of all the Lotus database files backed up from the given NetWorker client:
NSR_BACKUP_PATHS = NOTES:
IMPORTANT
Use the NOTES: option with caution because the NMDA software attempts to
restore the data for all partitions of a partitioned Domino server, or for all Domino
installations when there are multiple Domino installations on the client.
154 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
By default, NMDA restores data files to the same location that they were backed up
from. Set the NSR_RELOCATION_DEST parameter to specify a different destination
directory. For example:
NSR_RELOCATION_DEST = /newdata/
Note: If logged databases are recovered, the NSR_DBIID parameter should be set to change the
DBIID of the recovered files. NSR_DBIID is described in Example 19 on page 156.
IMPORTANT
During a restore to a different directory, the nsrnotesrc command does not prompt
when an existing file has the same name as the file being recovered. Instead, the
existing file is overwritten.
By default, NMDA restores and recovers a logged Domino database to the current
time or to a time set through the NSR_RECOVERY_TIME parameter. Set the
NSR_APPLY_LOGS parameter to FALSE if you want to restore a logged database
only without applying the transaction logs:
NSR_APPLY_LOGS = FALSE
By default, when the nsrnotesrc command recovers a Lotus link file, the database or
directory that the link points to is also recovered to the location that it was backed up
from.
If the NSR_RELOCATION_DEST parameter is set in the NMDA configuration file,
the database file that a link points to is recovered to the specified relocation directory.
For example, the link file /space1/notes/data/link.nsf points to the database file
/space2/notes/data.nsf. Both the link file and the database are backed up.
NSR_RELOCATION_DEST is set to /space3/new.
The link file and database file are relocated during the recovery to these locations:
◆ Recovered link file: /space3/new/space1/notes/data/link.nsf
◆ Recovered database file (pointed to by the link file):
/space3/new/space2/notes/data.nsf
The following parameter settings in the NMDA configuration file specify the restore
of the logged database named budget2010.nsf to a new directory
C:\Lotus\Domino\Data\tmpdir, which requires a change of the DBIID and
point-in-time recovery of the database to Wed June 23 2010 14:23:
LOTUS {
Notes_ExecDirectory = C:\Lotus\Domino\Data
NSR_BACKUP_PATHS = C:\Lotus\Domino\Data\budget2010.nsf
NSR_DBIID = 1
NSR_RELOCATION_DEST = C:\Lotus\Domino\Data\tmpdir
NSR_RECOVER_TIME = “Wed June 23 2010 14:23”
}
Since the DBIID of the database changes after the recovery, remember to back up the
new database if you plan to use it.
“Setting the NSR_RECOVER_TIME parameter” on page 314 provides details on how
to determine the recovery point in time.
Note: Do not specify just NOTES: for the NSR_BACKUP_PATHS parameter because
NMDA then attempts to recover all the Lotus data for all the Domino servers on the host.
Note: Any parameter settings in the LOTUS_DAOS{} section of the NMDA configuration file
are ignored during restore operations.
156 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
2. Run the Domino tell command to determine the missing NLO files for the
databases that were just restored. For example:
tell daosmgr listnlo -o output_file MISSING database.nsf
3. Create a new configuration file for the DAOS recovery or modify the existing
nmda_lotus.cfg file used in step 1 . When restoring through the nsrnotesrc
command, specify either one of the following parameters in the LOTUS{} section
of the NMDA configuration file:
NSR_RECOV_LIST_FILE = full_path_to_output_file_from_tell_command
or
NSR_BACKUP_PATHS =
list_of_NLO_files_from_tell_command_separated_by_commas
This command also updates or re-creates the daos.cfg and daoscat.nsf files in the
Lotus data directory.
The IBM documentation provides details on restoring and resynchronizing the
DAOS repository.
If you want to restore the DAOS directory or specific NLO files only, perform only the
preceding step 3 .
If you know the missing DAOS files or directories ahead of time, you can skip the
preceding step 2 and restore the DAOS files or directories at the same time as the
database files through one of the following methods:
◆ Use the nsrnotesrc command with the NSR_BACKUP_PATHS parameter set to a
list of the database and DAOS files or directories.
◆ Use the NetWorker User for Lotus program and select the required files or
directories for restore in the program.
Note: The nsrdocrc command operates on a single database file only. To restore documents
from multiple databases, you must run the nsrdocrc command multiple times.
To recover deleted documents from a database file, perform the following steps as the
Lotus user:
1. Ensure that the NMDA configuration file contains the required parameter
settings. For example:
NSR_BACKUP_PATHS = database_to_be_restored
NSR_NOTES_INI_PATH = notes.ini_file_location
NSR_RECOVER_TIME = point_in_time_for_database_recovery
NSR_RELOCATION_DEST = directory_path_for_database_restore
NSR_SERVER = NetWorker_server_name
158 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
2. Ensure that the NMDA configuration file contains the following parameter
settings, including the backup time of the F:\Lotus\Domino\data directory:
LOTUS {
Notes_ExecDirectory = F:\Lotus\Domino
NSR_BACKUP_PATHS = F:\Lotus\Domino\data\account.nsf
NSR_NOTES_INI_PATH = F:\Lotus\Domino\notes.ini
NSR_RECOVER_TIME = 984492446
NSR_RELOCATION_DEST = D:\tempdir
NSR_SERVER = mars
}
Note: Recovering deleted documents from one large database to another large database can
take considerable time.
IMPORTANT
Before you restore a modified document, you should back up the current database
to save the latest changes in the document. Otherwise, all unsaved changes in the
document will be lost during the restore.
6. From the Actions menu, select either NMDA Lotus - Restore Selected
Documents or NMDA Lotus - Restore Deleted Documents.
The NetWorker Module dialog box opens. For a successful recovery, each field in
the dialog box except Encryption Phrase must contain a valid value, as required.
7. In the NetWorker Module dialog box, perform the following:
a. In the Database text box, type the complete pathname of the database that
contains the documents to recover.
“Document-level recovery of database links” on page 161 provides details on
recovering documents from a linked database.
b. In the Temporary Directory for Restore text box, type a temporary directory
on the local host, where the database backup is to be restored.
c. In the NetWorker Server text box, type the hostname of NetWorker server
that contains the backup to restore.
160 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
d. In the NetWorker Client text box, type the name of the NetWorker client file
index that contains information about the backup to be restored.
Note: If the database is located on a remote host, the default name listed in the
NetWorker Client text box might not be correct. This can result in a restore failure.
e. In the Show Backups in Last text box, type the number of past days (since the
current date) for which to display backup information on the specified
database. For example, the value 5 causes backups from the past five days to
be displayed.
f. Click Refresh to display a list of the database backups under List of Backups.
g. In the List of Backups display, select a database backup to be restored.
h. In the Encryption Phrase text box, type the encryption phrase that was used to
back up the database if the datazone pass phrase on the NetWorker server
changed since the backup.
Note: Encryption keys typed in the text box are cached in memory and continue to be
used for recoveries until the Notes client program is exited and restarted.
Perform the Oracle data restore and recovery by using the appropriate methods:
◆ “Restore through the RMAN command line interface” on page 169
◆ “Restore through Oracle Enterprise Manager” on page 169
Note: Use of the Oracle Enterprise Manager Backup Management Tools is not supported
with the recovery configuration wizard.
Complete the Oracle data recovery, if required, according to “Recover Oracle data”
on page 170.
Note: Due to an Oracle limitation, Oracle does not show remote volumes on Windows.
The volumes listed in the output of restore...preview are the ones used at the backup
time. Due to an Oracle limitation, if the volume that NetWorker intended to use for
the restore at the time of the preview is different from the one used at the backup time
(for example, due to NetWorker staging), the restore...preview operation still lists the
volume name used at the backup time.
The following RMAN script is used to identify backups that RMAN needs for
restoring datafiles 1 and 2. The NetWorker server name is server1:
run {
allocate channel t1 type SBT send 'ENV=(NSR_SERVER=server1)';
restore datafile 1, 2 preview;
}
162 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
The following output of the restore...preview command shows that the backup of
datafile 1 is on the volume DBMIData.808 and the backup of datafile 2 is on the
volume DBMIData.802. This output also shows that the volume DBMIData.808 is
currently remote:
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
96 Full 127.00M SBT_TAPE 00:00:05 17-MAY-10
BP Key: 99 Status: AVAILABLE Compressed: NO Tag:
TAG20100517T144317
Handle: 06ldtl86_1_1 Media: DBMIData.808
List of Datafiles in backup set 96
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
1 Full 225701 17-MAY-10 /space/oradata/tartst/Sys1.ora
If you have a list of Oracle backup piece names to be restored, you can instead use the
nsrorainfo command to identify the NetWorker volumes required for the restore of
those backup pieces.
The nsrorainfo command displays the following volume information for the restore
of each backup piece:
◆ The name and location of the volume.
◆ The save time of the backup piece.
The nsrorainfo command does not display the status of a volume required for the
restore. The command cannot recall the remote volumes.
The nsrorainfo command syntax and options are as follows:
nsrorainfo[.exe] [-c NetWorker_client_name] [-s NetWorker_server_name]
[-f filename] [backup_piece_name1 [backup_piece_name2 ...]]
where:
◆ NetWorker_client_name is the hostname of the NetWorker client whose index
contains information on the Oracle backup pieces. By default, the client is the
local host.
◆ NetWorker_server_name is the hostname of the NetWorker server to query for the
volumes. By default, the server is the local host.
◆ filename is the name of a text file that contains a list of one or more backup piece
names for restore:
• The file must contain each backup piece name on a separate line.
• The file cannot contain spaces or comments (for example, comment lines
preceded with the # symbol).
◆ backup_piece_name1 and backup_piece_name2 are backup piece names for restore.
Command options in brackets ([ ]) are optional. Do not include the brackets when
typing the command.
To use the nsrorainfo command, specify the names of the backup pieces by either or
both of the following:
◆ List the backup piece names as options of the command.
◆ List the backup piece names in a text file, and specify the name of the file with the
-f option of the command.
The listed volumes are the most accessible ones, which the NetWorker server intends
to use for the restore at the time that the command is typed. For example, the
command lists the clones of volumes if the original volumes are not accessible.
If any listed volumes are removed from the NetWorker devices or deleted after the
nsrorainfo command is typed, the server can perform the restore by using different
volumes that are accessible.
Example 22 on page 164 and Example 23 on page 165 show how to use the nsrorainfo
command and the type of output produced by the command.
The EMC NetWorker Module for Databases and Applications Command Reference Guide
provides more details on the nsrorainfo command.
Each of the following nsrorainfo commands displays a list of the volumes required to
restore the specified backup pieces:
◆ The following command searches in the NetWorker index of the client mars on
the server server1 for information on the volumes that contain the backup pieces
backupc_1 and backupc_2:
nsrorainfo -c mars -s server1 backupc_1 backupc_2
◆ The following command searches in the NetWorker index of the local host for
information on the volumes that contain the backup pieces listed in the file
backup2.txt. Both the NetWorker client and server are assumed to be the local
host:
nsrorainfo -f backup2.txt
◆ The following command searches in the NetWorker index of the client mars for
information on the volumes that contain both:
• The backup piece backupc_3.
• The backup pieces listed in the file backup3.txt.
The NetWorker server is assumed to be the local host:
nsrorainfo -c mars backupc_3 -f backup3.txt
164 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
The following nsrorainfo command searches in the NetWorker index of the local host
on the server mars for information on the volumes that contain the backup pieces
backup1 and backup2:
nsrorainfo -s mars backup1 backup2
backup2:
mars.005 at /dev/rmt/0cbn (save time 1098883452)
The following RMAN script performs a restore of an Oracle tablespace by using the
NetWorker server mars.emc.com. The Oracle data is restored to the NetWorker client
server1.emc.com. This RMAN script also includes the recovery step, which is
explained in “Recover Oracle data” on page 170:
run {
allocate channel t1 type ’SBT_TAPE’;
allocate channel t2 type ’SBT_TAPE’;
send ’NSR_ENV=(NSR_SERVER=mars.emc.com,
NSR_CLIENT=server1.emc.com)’;
sql ’alter tablespace users offline immediate’;
restore tablespace users;
recover tablespace users;
sql ’alter tablespace users online’;
release channel t1;
release channel t2;
}
“RMAN scripts for manual backups” on page 101 provides more information on
setting the NMDA parameters in an RMAN script.
By default, NMDA and NetWorker use configuration settings and information in the
media database to determine the backup volume to use for an NMDA restore.
Optionally, you can use the NSR_RECOVER_POOL parameter in the RMAN restore
script to restore data from a specific volume pool if there are multiple copies (clones)
of the backup on different volume pools. “NSR_RECOVER_POOL” on page 301
provides more information.
The following RMAN script performs a nonproxy restore of the database from the
specified volume pool named OracleClonePool2, where the pool contains a clone of
the original backup volume:
shutdown immediate;
startup mount;
run {
allocate channel c1 type 'SBT_TAPE';
send channel c1 ’NSR_ENV=(NSR_SERVER=backup01,
NSR_RECOVER_POOL=OracleClonePool2)’;
restore database;
release channel c1;
}
166 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
168 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
6. On each wizard screen that appears, specify the required values for the RMAN
script configuration.
Each wizard screen includes an online help button that you can click to access
descriptions of all the fields and options on the screen:
• On all but the last screen, click Next to proceed.
• On the last screen, Review and Accept the Script Creation, click Create to
create the RMAN restore script.
IMPORTANT
If you create an RMAN script with the wizard to perform a tablespace restore when
the database is not open, do not select the options to place the tablespace in offline
mode before the restore and in online mode after the recovery. Oracle requires the
database to be open to alter the availability of a tablespace.
On Windows systems, the command to run the RMAN script is rman.exe. The
appropriate Oracle backup and recovery documentation provides more information
on the rman or rman.exe commands.
Note: Use of the Oracle Enterprise Manager Backup Management Tools is not supported with
the recovery configuration wizard.
The Oracle Enterprise Manager Backup Management Tools include a graphical user
interface to RMAN. You can use this interface instead of the RMAN command line
interface to do the following:
◆ Generate the required RMAN commands.
◆ Perform backup and restore operations.
IMPORTANT
After the completion of an NMDA backup or restore, the Oracle Enterprise
Manager job queue history may display the status of the job as “failed”, even if the
backup or restore completed successfully. This is due to a known problem with
Oracle Enterprise Manager. View the job output to confirm that the backup or
restore completed successfully.
The Oracle documentation provides more information on using the Oracle Enterprise
Manager Backup Management Tools.
Note: To create a new database for recovery, use the for load option.
◆ The target database to which data will be recovered is not currently in use. The
database is taken offline during the recovery.
“Verification of Sybase database restores” on page 171 provides details on how to
enable the verification of database restores.
Perform the Sybase data restore and recovery by using the appropriate methods:
◆ “Restore through the nsrsybrc command” on page 171
◆ “Database recovery with NetWorker User for Lotus or Sybase GUI” on page 174
Note: If data was backed up as a multistripe backup, the multistripe restore is automatically
enabled and uses the same session number as the multistripe backup.
IMPORTANT
To restore Sybase data with NMDA, use the information in the following sections.
Do not manually invoke the Sybase load command. When you use NMDA to
perform a Sybase restore, the nsrsybrc command invokes the Sybase load
command.
170 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
where:
◆ header — Specifies to verify the page header information only.
◆ full — Specifies to verify both the header information and rows structure (full
verification of the backup).
◆ verifyonly — Specifies to verify minimal header information without restoring
the database.
If you do not specify a verification value, then no verification is carried out and a
message is added to the log file.
IMPORTANT
In the nsrsybrc command, the Sybase server and database names are case-sensitive,
and the names must be in the same case as recorded in the corresponding backup
entries in the NetWorker indexes.
By default, the nsrsybrc command restores the most recent database backup and rolls
transactions forward by recovering the transaction logs. After the restore operation
completes, the database is brought back online.
The EMC NetWorker Module for Databases and Applications Command Reference Guide
provides details on the nsrsybrc command.
After the recovery operation completes, perform the following:
1. Check the database to ensure that the data has been recovered.
2. Run a database consistency check according to “Sybase database consistency
check” on page 123.
3. Run a full backup of the database.
Example 26 on page 172 restores the Sybase server and single or multiple databases.
Example 27 on page 172 describes a point-in-time restore.
The following sections describe the other supported types of Sybase data restores:
◆ “Redirected restore of Sybase data” on page 173
◆ “Restore of Sybase data to a different host” on page 174
where:
• user_ID is the username of the Sybase user account.
• password is the password of the Sybase user account.
• NetWorker_server_name is the hostname of the NetWorker server.
• ASE_server_name is the Sybase server name.
• database_name is the name of the database on the Sybase server.
◆ This command restores multiple Sybase databases:
nsrsybrc -U user_ID -P password -s NetWorker_server_name
SYBASE:/ASE_server_name/database1_name
SYBASE:/ASE_server_name/database2_name
SYBASE:/ASE_server_name/database3_name
◆ This command restores all the databases on the Sybase server, except the master
database:
nsrsybrc -U user_ID -P password -s NetWorker_server_name
SYBASE:/ASE_server_name
A point-in-time recovery recovers the Sybase data to a specific time in the past,
without restoring the entire transaction log. The nsrsybrc command uses the time
specified with the -t option to restore data to a specific point in time. It loads the most
recent full backup before the designated time, and then applies transaction log
backups up to the designated time.
The following command performs a point-in-time recovery:
nsrsybrc -U user_ID -P password -s NetWorker_server_name
-t “MM/DD/YY HH:MM:SS” SYBASE:/ASE_server_name/database_name
where MM/DD/YY HH:MM:SS indicates the month, day, year, hour, minute and
seconds to recover data to. The ASE_server_name and database_name must be in the
same case as recorded in the backup entries in the NetWorker indexes.
Note: As the NetWorker server and client can be in different time zones, set the -t option to a
value of the local time on the Sybase server. After a successful point-in-time recovery, the
database is brought online.
IMPORTANT
After performing a point-in-time recovery, the Sybase server restarts the database
log sequence. Performing an incremental backup before a full backup causes
future recovery operations to fail. Perform a full backup after a point-in-time
recovery.
172 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
To restore data to the same Sybase server but to a different database name:
1. Ensure that the new database has been created with the proper device allocations.
2. Type the following command as the Sybase user:
nsrsybrc -U user_ID -P password -s NetWorker_server_name
-d SYBASE:/ASE_server_name/new_database_name
SYBASE:/ASE_server_name/old_database_name
where:
• user_ID is the username of the Sybase user account.
• password is the password of the Sybase user account.
• NetWorker_server_name is the hostname of the NetWorker server.
• ASE_server_name is the Sybase server name.
• new_database_name is the name of the database on the Sybase server to which
the data is restored.
• old_database_name is the name of the database on the Sybase server that was
backed up.
To restore data to a different Sybase server but to the same database name:
1. Ensure that the new database has been created with the proper device allocations.
2. Type the following command as the Sybase user:
nsrsybrc -U user_ID -P password -s NetWorker_server_name
-d SYBASE:/new_Sybase_server_name/database_name
SYBASE:/old_Sybase_server_name/database_name
where:
• new_Sybase_server is the name of the Sybase server to which the data is
restored.
• old_Sybase_server is the name of the Sybase server from which the data was
backed up.
Note: The username and password are for the new Sybase server.
where:
• new_database_name is the name of the new database on the new Sybase server.
• old_database_name is the name of the old database on the old Sybase server.
Note: The username and password are for the new Sybase server.
Starting with Sybase ASE 15.5, NMDA supports the restore of any supported type of
database to any other supported type of database. For example, you can restore a
regular database to an in-memory database, or restore a relaxed durability database
to an in-memory database.
The restore instructions are the same as in the preceding sections for a redirected
restore.
Note: Although the -d option indicates the destination for recovery, it is not used in this case
because the destination server name and database name are the same as the original
NetWorker client.
When recovering to a new destination host, you can also relocate the data to a new
Sybase server or database. For example, the following command should be run on the
destination host to relocate the data to a new Sybase server:
nsrsybrc -U user_ID -P password -s NetWorker_server_name -c
original_client_name -d
SYBASE:/new_Sybase_server_name/database_name
SYBASE:/old_Sybase_server_name/database_name
174 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
You must run the Sybase GUI on the host where the data will be restored (destination
host).
It is recommended that you run the Lotus GUI on the destination host where the data
will be restored. “Directed recovery through the NetWorker User for Lotus” on
page 179 provides details.
To perform a recovery of Lotus or Sybase database files with the NetWorker User for
Lotus or Sybase program, respectively:
1. Start the graphical interface by selecting NetWorker User for Lotus or
NetWorker User for Sybase from Start > Programs > EMC NetWorker.
If you want to connect to a different NetWorker server, follow the instructions in
“Connecting to a different NetWorker server” on page 128.
2. In the main window, select Recover from the Operation menu or press Alt+R.
The Recover window appears as shown in Figure 8 on page 175. Table 21 on
page 176 describes the Recover window toolbar buttons.
3. In the NetWorker User for Sybase only, if the Recover Sybase Server dialog box
appears (the first time you open the Recover window):
a. Type the required values in the Recover Sybase Server dialog box:
– In the Server name text box, type the name of the backed-up Sybase server.
– In the Host name text box, type the operating system hostname of the
backed-up Sybase server.
b. Click OK.
Note: For restores, the Sybase server and database names that you enter in the GUI are
case-sensitive, and the names must be in the same case as recorded in the corresponding
backup entries in the NetWorker indexes.
Database recovery with NetWorker User for Lotus or Sybase GUI 175
Data Restore and Recovery
Change Browse Time Specifies a date and time for recovery of the marked
files. The hour and minutes entries are based on a
12-hour clock.
View Versions For Lotus only, displays the backup history of the
currently selected database. Versions are sorted
according to backup time, with the most recent backup at
the top of the list.
4. To view a list of files or databases available for restore, select an entry in the left
pane, either a Lotus directory or Sybase server. The contents of the Lotus
directory or Sybase server appear in the right pane.
Note: When a Lotus file does not exist on the computer (it was deleted since the backup),
the corresponding icon might appear incorrectly as a folder icon in the Recover window,
instead of as an "unidentified file" icon or the expected icon for the given type of file. This
incorrect icon display does not affect the success of the recovery.
5. For Lotus restores only, to view the available versions of backed-up data:
a. In the Recover window, select the database file or directory to recover.
b. From the View menu, select Versions. The Versions window opens and
displays the backup history of the currently selected object. Versions are
sorted according to backup time with the most recent backup at the top of the
list.
6. By default, the GUI shows the latest available backup. To view previous backups
and recover to a previous point in time, change the browse time:
a. In the Recover window, select Change Browse Time from the View menu.
The Change Browse Time dialog box opens.
b. Set a new date by selecting a day from the calendar.
c. Click Previous Month or Next Month to change from the current month.
d. In the Time text box, type a time to browse, where:
– The hour and minutes values are based on a 12-hour clock.
– The value AM represents A.M.
– The value PM represents P.M.
176 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
Note: The browse time cannot be earlier than the time of the first backup because the client
file index does not have entries before that time. To verify the browse and retention
policies, check the Client resources for the client or server by using the NetWorker
administration program.
7. Specify the files or databases to recover by using one of the following methods:
• Select the entries, and click the Mark toolbar button.
• Select the checkbox (add a check mark) beside each entry.
To unmark the entries, use one of the following methods:
• Select the marked entries, and click the Unmark toolbar button.
• Clear the checkboxes (remove the check marks) beside the entries.
8. From the Options menu, select Recover Options, and set the specific options for
the recovery according to the appropriate instructions:
• “Lotus recover options” on page 177
• “Sybase recover options” on page 178
9. Ensure that the backup volumes are set for the recovery:
a. In the Recover window, ensure that the required entries are selected for
recovery.
b. From the View menu, select Required Volumes. The Required Volumes
window opens with the backup volumes listed.
c. Load and mount the required volumes, as appropriate.
10. Start the recovery by clicking the Start toolbar button.
The Recover Status window opens and displays information about the recovery
operations performed.
Database recovery with NetWorker User for Lotus or Sybase GUI 177
Data Restore and Recovery
Type the complete pathname of the NMDA configuration file in the Configuration
File text box. Set specific parameters in the NMDA configuration file so that you do
not have to re-enter them every time you run the recovery. When using the GUI, do
not set the parameter NSR_BACKUP_PATHS in the configuration file. Instead, select
the files and directories to be restored from the GUI.
IMPORTANT
For Lotus data recovery, the NMDA configuration file must be located on the
destination client where the database files are to be restored.
Note: All the values set in the Recover Options dialog box overwrite the corresponding
parameter values set in the NMDA configuration file.
After you have completed the required fields in the dialog box, click OK.
Note: The Sybase server and database names are case-sensitive and must be entered in the
same case as recorded in the backup entries in the NetWorker indexes.
If you leave the Server name or Database name text box blank, NMDA uses the same Sybase
server name or database name as existed at the backup time.
178 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
To relocate the recovered data to a new Sybase server or a new database, ensure that
any new database is created with the proper device allocation for the new database:
◆ To restore data to the same Sybase server but to a different database name:
a. In the Server name text box, optionally type the old Sybase server name.
b. In the Database name text box, type the new database name.
◆ To restore data to a different Sybase server but to the same database name:
a. In the Server name text box, type the new Sybase server name.
b. In the Database name text box, optionally type the old database name.
◆ To restore data to a different Sybase server and to a different database name:
a. In the Server name text box, type the new Sybase server name.
b. In the Database name text box, type the new database name.
Database recovery with NetWorker User for Lotus or Sybase GUI 179
Data Restore and Recovery
Note: The script file is installed in the NMDA installation directory. On Windows
systems, the script file is named nsrlotus_remrecov.bat. On UNIX systems, the script
file is named nsrlotus_remrecov. Do not move the script from the installation directory,
but you can rename the script as long as the name starts with nsr or save.
180 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Data Restore and Recovery
6. If required, set the recover options. To do this, select Recover Options from the
Options menu.
IMPORTANT
When the performing client is different than the UNIX or Linux destination client,
the total length of all pathnames marked for recovery must not exceed the limit of
10 KB. Otherwise, the directed recovery fails.
When the performing client is different than the Windows destination client, if
you select to restore any Lotus file that contains a space in its pathname, the
directed recovery fails.
Database recovery with NetWorker User for Lotus or Sybase GUI 181
Data Restore and Recovery
182 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
5
Disaster Recovery
Note: This chapter describes how to recover from a disaster. It should be used in conjunction
with Chapter 4, “Data Restore and Recovery” and the EMC NetWorker Disaster Recovery Guide.
Note: In cluster environments (both active-passive and active-active), these operations must be
performed on all the required cluster hosts.
184 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Disaster Recovery
The EMC NetWorker Installation Guide provides details on reinstalling the NetWorker
client software.
The EMC NetWorker Module for Databases and Applications Installation Guide provides
details on reinstalling the NMDA software.
When performing a disaster recovery to a new destination host, perform all the
operations described in the following sections on the new host. In addition, to enable
the restore of backups done on the original host to the new host, set the Remote
Access attribute in the NetWorker Client resource of the original (source) host (in
NMC or the NetWorker server) to the following value:
database_username@destination_hostname
When performing a restore to a remote destination host, you might not want to
transfer data over a slow network. You could use the NetWorker storage node feature
to improve restore performance. After physically transferring backup media (for
example, tapes) containing the backup to the remote location, install the storage node
on the remote computer and configure the NetWorker server to use the remote
device of the storage node. The EMC NetWorker Administration Guide provides
information on storage nodes.
IMPORTANT
After disaster recovery is complete, you should perform a full backup of the
environment.
• On Windows:
regedit /e db2_registry_config_timestamp.txt
HKEY_LOCAL_MACHINE\Software\IBM\
3. Stores the command output from the preceding steps in temporary files such
db2_system_config_1257779556.txt and db2_registry_config_1257779580.txt in
the following directory:
• On UNIX: /nsr/apps/tmp
• On Windows: NetWorker_install_path\apps\tmp
4. Backs up the temporary file from step 3 by using the NetWorker save interface.
In addition, you can set the NSR_DR_FILE_LIST parameter for scheduled backups to
specify a file that contains a list of extra files to be backed up by using the NetWorker
save interface. “NSR_DR_FILE_LIST” on page 305 provides details.
After a manual backup, you can manually back up the critical DB2 files through the
NetWorker file system backup interface, save. The EMC NetWorker Administration
Guide provides more details.
During a disaster recovery, you can use the NetWorker recover interface to restore
the backed-up files. For example:
recover -s NetWorker_server_name temporary_file
Note: You must use the db2 restore and db2 rollforward commands to perform disaster
recovery. The db2 recover command is not supported for disaster recovery.
186 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Disaster Recovery
After a manual backup, you can manually back up these critical Informix files
through the NetWorker file system backup interface, save. The EMC NetWorker
Administration Guide provides more details.
Note: Create the data spaces in the same path location as on the source server.
2. On Windows systems, use regedit to copy the sqlhosts information from the
source computer to the destination computer. Use the following registry entry:
HKEY_LOCAL_MACHINE/SOFTWARE/Informix/SQLHOSTS/...
3. If the source INFORMIXDIR does not match the destination INFORMIXDIR, you
must create a symbolic link to recover the bootstrap from the source computer.
For example, if INFORMIXDIR on the source computer was /usr2/informix and
INFORMIXDIR on the destination computer is /usr/local/informix, create the
/usr2 directory on the destination computer and the symbolic link as follows:
• On UNIX systems:
mkdir /usr2
ln -s /usr/local/informix /usr2/informix
• On Windows systems:
Create a shortcut from the source INFORMIXDIR to the destination
INFORMIXDIR. The operating system documentation provides details on
creating a shortcut.
IMPORTANT
To perform an imported restore, you must use the same database server number on
the destination computer that was used on the source computer. You can change
the database server name in an imported restore.
4. Shut down the destination database server before doing a restore. For an IDS
Dynamic Server, type the following:
onmode -ky
8. Update the sqlhosts file and include the proper shared memory and network
settings for the destination Informix server.
9. Update the ONCONFIG file and replace the source server name with the
destination server name. For example:
DBSERVERNAME ol_destination_dbserver_name
10. Perform a full system restore with the following onbar command:
onbar -r
11. Update the sqlhosts file and replace the source hostname with the destination
hostname.
188 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Disaster Recovery
Note: $INFORMIXDIR should have the same value as it had at backup time.
3. If the physical media that contains the logical logs must be replaced before
beginning the restore, manually salvage the current logical log file with the
following onbar command:
onbar -b -l -s
4. Restore data from the most recent backup with the following onbar command:
onbar -r
Once the restore completes, the Informix server is left in quiescent mode.
The Informix server documentation provides more information on using the onbar
command to restore data from NetWorker backup media.
Note: Transaction logs are backed up only if Domino transaction logging is enabled and set to
archive mode.
By default, the NMDA software backs up only specific types of files, as described in
“Files backed up during Lotus backups” on page 34. If required, enable the backup of
all types of files by setting the parameter NSR_BACKUP_ALL_EXTENSIONS=TRUE,
or explicitly list files with nondefault extensions in the NSR_BACKUP_PATHS
parameter when NSR_BACKUP_ALL_EXTENSIONS is not set.
“NSR_BACKUP_ALL_EXTENSIONS” on page 308 provides details.
Perform Lotus disaster recovery according to the instructions in the appropriate
section:
◆ “Recovery of a nonlogged Lotus environment” on page 190
◆ “Recovery of a logged Lotus environment” on page 191
IMPORTANT
The NetWorker User for Lotus GUI must not be used for disaster recovery.
Note: For a partitioned Domino server, repeat these steps for each partition.
1. Follow the instructions in “Preparing for disaster recovery” on page 184 to install
the software and perform other configurations as required.
Note: Reinstall the Lotus Notes client or Domino server software in the same location as
before, but do not configure it.
2. When you recover a partitioned Domino server, ensure that the PATH parameter
in the NMDA configuration file lists the Domino data directory of the partition to
be recovered before the data directory of any other Domino server partition.
Appendix A, “NMDA Parameters and Configuration File,” provides details on
the NMDA configuration file.
3. Recover the notes.ini file by using the nsrnotesrc command with the parameter
setting NSR_NO_NOTES_INIT = TRUE in the NMDA configuration file.
For example, to recover the notes.ini file on a Windows system:
a. Ensure that the NMDA configuration file contains the following parameter
settings:
NSR_SERVER = NetWorker_server_name
NSR_BACKUP_PATHS = C:\Lotus\Domino\notes.ini
NSR_NO_NOTES_INIT = TRUE
Note: To prevent the prompting, you can set the parameter NSR_RECOV_INTERACT
= Y in the configuration file.
You must recover the databases to a new location by using the nsrnotesrc
command with the parameter setting NSR_RELOCATION_DEST =
destination_path in the NMDA configuration file.
5. After the disaster recovery process is complete, perform a full backup of the
Domino server to prevent any future loss of data.
190 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Disaster Recovery
Note: For a partitioned Domino server, repeat these steps for each partition.
1. Follow the instructions in “Preparing for disaster recovery” on page 184 to install
the software and perform other configurations as required.
Note: Reinstall the Domino server software in the same location as before, but do not
configure it.
2. When you recover a partitioned Domino server, ensure that the PATH parameter
in the NMDA configuration file lists the Domino data directory of the partition to
be recovered before the data directory of any other Domino server partition.
Appendix A, “NMDA Parameters and Configuration File,” provides details on
the NMDA configuration file.
3. Recover the Domino notes.ini file by using the nsrnotesrc command with the
parameter setting NSR_NO_NOTES_INIT = TRUE in the NMDA configuration
file.
For example, to recover the notes.ini file on a Windows system:
a. Ensure that the NMDA configuration file contains the following parameter
settings:
NSR_SERVER = NetWorker_server_name
NSR_BACKUP_PATHS = C:\Lotus\Domino\notes.ini
NSR_NO_NOTES_INIT = TRUE
Note: To prevent the prompting, you can set the parameter NSR_RECOV_INTERACT
= Y in the configuration file.
4. Check the Domino notes.ini file to determine the original log directory for the
server, as specified by the TRANSLOG_Path setting. Ensure that this directory
exists and it contains no old files.
5. Recover the last archived log extent that was backed up since the most recent
full backup. Recover the log file to a temporary directory by using the nsrnotesrc
command with the following restore parameters set in the NMDA configuration
file:
NSR_NO_NOTES_INIT = TRUE
NSR_NUMBER_LOGS = 1
NSR_RELOCATION_DEST = temporary_directory_path
Note: For a partitioned Domino server, also set NSR_LOG_DIR for the recovery of log
files. Set the parameter to the original log directory pathname of the partition being
recovered.
For example, to recover the archived log file to the temporary directory
D:\temp\Lotus directory on Windows:
a. Ensure that the NMDA configuration file contains these parameter settings:
NSR_NO_NOTES_INIT = TRUE
NSR_NUMBER_LOGS = 1
NSR_RELOCATION_DEST = D:\temp\Lotus
6. Copy the recovered log files from the temporary directory to the original log
directory for the server, as specified by the TRANSLOG_Path setting.
7. Enable the creation of the control file by setting the following parameter in the
Domino notes.ini file:
TRANSLOG_Recreate_Logctrl=1
8. Recover all the databases into a temporary directory by using the proper
NSR_BACKUP_PATHS setting:
• For a nonpartitioned Domino server or Notes client:
NSR_BACKUP_PATHS = Lotus_top_data_directory
You must recover the databases to a new location by using the nsrnotesrc
command with the parameter setting NSR_RELOCATION_DEST =
destination_path in the NMDA configuration file.
192 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Disaster Recovery
9. After the databases (or DAOS files) are recovered, copy them to the Lotus data (or
DAOS) directory of the Domino server or a specific partition.
10. For a nonpartitioned Domino server on a Windows system, copy the recovered
notes.ini file to its original directory. By default, the notes.ini file is not located in
the data directory.
11. Start the Domino server.
12. After the disaster recovery process is complete, perform a full backup of the
Domino server to prevent any future loss of data.
3. Use an RMAN backup with NMDA to back up the Oracle database and related
files. “Set up RMAN backups of the database and related files” on page 196
provides details.
4. Use an RMAN backup to back up the Recovery Catalog. “Set up RMAN backups
of Recovery Catalog” on page 196 provides details.
Perform an Oracle disaster recovery according to “Perform an Oracle disaster
recovery” on page 196.
194 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Disaster Recovery
##!/bin/ksh
#
ORACLE_HOME=
ORACLE_SID=
GRP=no
SRV=no
complete=0
shift
shift
while [ "$#" -gt "0" ]
do
if [ "$1" = "-g" ]; then
GRP=$2
if [ "$SRV" != "no" ]; then
complete=1
fi
elif [ "$1" = "-s" ]; then
SRV=$2
if [ "$GRP" != "no" ]; then
complete=1
fi
fi
shift
done
Note: On a Windows system, you may need to reinsert the oracle.reg file into the registry
after recovering it, for example, with the following command:
regedit /S C:\temp\oracle.reg
The Oracle documentation provides more details.
3. To perform the remainder of the disaster recovery, follow the instructions in the
Oracle Database Backup and Recovery User’s Guide. In the RMAN script, set the
NSR_CLIENT parameter to the name of the original host.
196 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Disaster Recovery
IMPORTANT
If the master database is recovered to a different Sybase server, all the device
allocations are copied to the new Sybase server. Therefore, if the master database is
recovered to another Sybase server on the same computer as the original, they both
attempt to use the same database files. To prevent this issue, follow Sybase
documentation to recover the master database to a different Sybase server.
4. Use the following nsrsybrc command to recover the master database from the
backup:
nsrsybrc -U user_ID -P password -s NetWorker_server_name
SYBASE:/ASE_server_name/master
where:
• user_ID is the username for the Sybase user account.
• password is the password for the Sybase user account.
• NetWorker_server_name is the hostname of the NetWorker server.
• ASE_server_name is the name of the Sybase server.
Note: In the nsrsybrc command, the ASE_server_name is case-sensitive and must be in the
same case as recorded in the backup entries in the NetWorker indexes.
The EMC NetWorker Module for Databases and Applications Command Reference
Guide provides details on the nsrsybrc command.
After the master database is loaded, the Sybase server performs postprocessing
checks and validations and then shuts down.
5. Restart the Sybase server.
6. If required, recover the model and other databases that were on the master
device.
7. Log in as Systems Administrator and inspect the databases on the Sybase server
to ensure that all of the databases are present.
198 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Disaster Recovery
2. Examine the space usage of each database on the failed device. For example, on
the isql command line, type the following commands:
select segmap, size from sysusages where dbid =
db_id("database_name")
sp_helpdb database_name
where:
• user_ID is the user name for the Sybase user account.
• password is the password for the Sybase user account.
• NetWorker_server_name is the hostname of the NetWorker server.
• ASE_server_name is the name of the Sybase server.
• database_name is the name of a database on the Sybase server.
The nsrsybrc command recovers the last full database backup of the specific
database, and applies all of the associated transaction log backups in the order
that they were created. The database is automatically brought online after the
recovery operation.
The EMC NetWorker Module for Databases and Applications Command Reference
Guide provides details on the nsrsybrc command.
200 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
6
Cluster Systems
Active-passive clusters
An active-passive cluster is a group of linked virtual or physical hosts with shared
storage, called cluster nodes, which work together and represent themselves as a
single host called a virtual cluster host. In an active-passive cluster, some nodes are
active and others are stand-by, waiting to take over the processing when an active
node fails. A user can connect to the cluster by using a virtual cluster name or IP
address, regardless of which nodes are active. Active-passive clusters are usually
implemented for high availability solutions or to improve computer performance.
The following figures show examples of supported active-passive cluster
configurations:
Note: Each database node in the figures corresponds to one of the following:
- DB2 node
- Informix server
- Lotus Domino server or partition
- Oracle instance
- Sybase server
Note: Two active-passive clusters configured as shown in Figure 13 on page 203 might be
referred to as active-active clusters in some cluster or application documentation, for example,
with a Lotus Domino partition server in a cluster. However, the NMDA documentation refers
to them as active-passive clusters.
The EMC Information Protection Software Compatibility Guide provides details on all the
supported cluster environments.
Storage disk
A B
A fails over to B
Database node 0 Database node 0
(ACTIVE) (PASSIVE)
GEN-001079
202 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
Storage disk
A B
Storage disk
A B
Backup failover
When a node failure occurs during a manual backup, a DBA must restart the backup
after cluster recovery.
When a node failure occurs during a scheduled backup, the NetWorker server restarts
the backup (from the beginning or from the point of failure if the backup is
configured for checkpoint restart) if the Client Retries attribute in the NetWorker
Group resource is set to a value greater than zero. The restarted backup is executed
on the node that takes control of the cluster service.
In DB2 version 9.1.x cluster environments, the same database cannot be backed up at
the same time from multiple cluster nodes, but the backups must be done in
sequence. When the backup runs, the next host in the cluster group displays the
following message:
The database is still in use
If you specify NSR_CLIENT in the configuration file when you use the NetWorker
User for Lotus program to perform a manual backup on a cluster, the index is saved
by using the NSR_CLIENT name.
“Lotus data restore and recovery” on page 152 includes details on how to configure
and run a directed recovery.
On UNIX or Linux systems, create the required symbolic link to the Sybase library:
◆ If the Sybase ASE binaries are installed on the shared disk, ensure that the
symbolic link to the Sybase library is created on the shared disk.
◆ If the Sybase ASE binaries are installed on each node in the cluster, ensure that
the symbolic link to the Sybase library is created on each node where the NMDA
software is installed and backups will be performed.
The EMC NetWorker Module for Databases and Applications Installation Guide describes
how to create the symbolic link to the Sybase library.
204 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
The value of NSR_CLIENT (either the default value or an explicitly defined value)
used for a backup should be the same as the value of NSR_CLIENT used for the
restore of that backup.
Set the NSR_CLIENT parameter to the virtual cluster hostname in a cluster
environment to enable the restore of backup data no matter which cluster node was
used during the backup.
Note: For parallel backups or restores, set NSR_CLIENT to the same value for all sessions.
Note: If you do not grant the Lockbox ACL rights during the conversion, you can add users
later by using NMC to edit the Lockbox resource for the virtual cluster host.
The EMC NetWorker Module for Databases and Applications Release Notes provide
information on the conversion limitations.
Note: To enable configuration with the wizard, configure the NetWorker client software to be
highly available. The EMC NetWorker Cluster Installation Guide provides details.
1. On the Specify the Client Name page, type the name of the virtual host for the
cluster.
2. On the page where advanced configuration parameters are set, ensure the
following:
• The NSR_CLIENT parameter is set to the virtual cluster hostname.
“NSR_CLIENT setting for cluster systems” on page 204 provides details.
• The NSR_PHYSICAL_HOST_LICENSE parameter is set to specify the correct
NMDA licensing, if required. “NSR_PHYSICAL_HOST_LICENSE setting for
cluster systems” on page 205 provides details.
3. On the Select the NetWorker Client Properties page, add
database_username@cluster_node to the Remote Access field for each cluster node
that can perform backups or restores.
Note: Do not use the following syntax in the Remote Access field:
user=database_username,host=cluster_node
Note: If additional users require ACL rights to the Lockbox, you can add them to the
Lockbox resource directly in NMC.
206 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
Note: Do not select the checkbox for Scheduled Backup, so that the dummy client is not
included in the scheduled backup.
For example, if physical hosts clus_phys1 and clus_phys2 form a Windows cluster
that contains a DB2 database, the configuration of the Client resource for the
virtual cluster host contains the following attributes:
Backup Command: nsrdasv -z pathname/nmda_db2.cfg
Group: db2group
Remote Access: user=dbinst,host=physical_node_1
user=dbinst,host=physical_node_2
user=SYSTEM,host=clus_phys1
user=SYSTEM,host=clus_phys2
Save Set: DB2:/SAMPLE/NODE0001
4. On the NMDA client, set the NSR_CLIENT parameter to the virtual cluster
hostname in the NMDA configuration file (for non-Oracle backups) or in the
RMAN script (for Oracle backups), which is specified in the Backup Command
attribute of the virtual Client resource. “NSR_CLIENT setting for cluster systems”
on page 204 provides details.
5. On the NMDA client, set the NSR_PHYSICAL_HOST_LICENSE parameter to
specify the correct NMDA licensing, if required, in the NMDA configuration file
(for non-Oracle backups) or in the RMAN script (for Oracle backups), which is
specified in the Backup Command attribute of the virtual Client resource.
“NSR_PHYSICAL_HOST_LICENSE setting for cluster systems” on page 205
provides details.
208 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
Ensure that there is at least one NetWorker Client resource enabled for deduplication
backups:
◆ For a scheduled deduplication backup, enable deduplication for the Client
resource that is part of the NetWorker group for the backup.
Note: The Client resource can be for a virtual cluster host (recommended) or physical
node.
◆ For both scheduled and manual deduplication backups, enable deduplication for
the Client resource of the host that is set in the NSR_CLIENT parameter in the
NMDA wizard or configuration file.
4. In the NetWorker Client resource that is configured for the virtual cluster client
according to “Configure a scheduled backup in a cluster” on page 205, set the
Storage Nodes attribute (on the Globals tab in NMC) to the following values in
this order:
curphyhost
nsrserverhost
Example 29 on page 224 shows how to set up three Oracle RAC nodes as storage
nodes for NMDA backups.
Note: DB2 DPF systems do not adhere to the preceding definition of an active-active
application cluster because each DB2 partition has its own set of computing resources such as
CPU and storage. However, for the purposes of this guide and NMDA licensing, DB2 DPF is
treated as an active-active application cluster.
Note: A Lotus partitioned Domino server configured in a cluster similar to the one shown in
Figure 13 on page 203 might be referred to as an active-active cluster in Lotus Domino
documentation, but it is not an active-active application cluster. Therefore, the NMDA
documentation refers to it as an active-passive cluster.
This section provides information that is common to all the supported types of
active-active application clusters.
The EMC Information Protection Software Compatibility Guide provides details on all the
supported cluster environments.
210 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
Note: You cannot use the NMDA wizard to configure a scheduled backup in an
active-active cluster.
Otherwise, an active-active application cluster does not have the same backup
failover capabilities as an active-passive cluster. If a system failure occurs on the node
used to initiate an NMDA scheduled backup, the backup might fail. In this case,
manual intervention is required to configure and restart the backup on a different
node that is available:
1. On the available node, ensure that the following software is installed:
• NetWorker client
• NetWorker storage node (optional)
• NMDA
2. Configure a new NMDA-specific Client resource for the available node.
3. Replace the original Client resource with the new Client resource from step 2 for
the NMDA backup.
Database instance
Host 1
Database partition Database partition
GEN-001303
212 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
Database instance
Host 1 Host 2
GEN-001084
Note: DPF backups with DB2 version 9.5 or later must be configured differently than DPF
backups with previous versions of DB2.
To configure database backups with NMDA in an DB2 DPF system, follow the
instructions in “Active-active cluster configuration requirements” on page 211.
The following are additional DB2 DPF-specific considerations:
◆ For all DB2 DPF backups, the total number of target sessions for the backup pool
must be equal to or greater than the number of database partitions.
◆ To configure and run a manual DPF backup for the supported DB2 versions,
follow the instructions in “Manual backup configuration in a DPF environment”
on page 214.
◆ To configure a scheduled DPF backup, follow the appropriate instructions:
• “Scheduled backup configuration in DB2 9.1.x DPF environment” on page 215
• “Scheduled backup configuration in DB2 9.5 or later DPF environment” on
page 216
◆ To restore a DPF backup, follow the instructions in “Restoring a DPF backup” on
page 218.
◆ For a probe-based backup with DB2 9.5 or later, configure a DPF backup as usual.
Complete the probe-based backup configuration according to “Configuring a
probe-based backup” on page 83. Associate the Probe resource with the Client
resource configured for the scheduled backup.
Note: Setting NSR_CLIENT enables NetWorker to store backups from all the nodes under
the same index, as described in “Active-active cluster configuration requirements” on
page 211.
3. Use the NMC program (Configuration > Clients) to create a basic NetWorker
Client resource for both host1 and host2.
In each Client resource, set the Remote Access attribute to:
user=database_username,host=other_node_hostname
where:
◆ sample is the name of the database to be backed up.
◆ xx is the platform-specific extension.
◆ pathname/nmda_db2.cfg is the full pathname of the NMDA configuration file.
Running a manual DPF backup for DB2 9.5 and later versions
Supported DB2 9.5 and later versions enable a manual DPF backup of either all
partitions or specific partitions.
To run a manual DPF backup of all partitions:
db2 backup db sample on all dbpartitionnums load /usr/lib/libnsrdb2.xx
options @pathname/nmda_db2.cfg
where:
◆ sample is the name of the database to be backed up.
◆ xx is the platform-specific extension.
◆ pathname/nmda_db2.cfg is the full pathname of the NMDA configuration file.
214 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
where:
◆ 1, 3... are numerical values of each partition to back up (for example, 1 and 3 ).
◆ Other options are the same as in the preceding command.
Note: If the DPF partitions are configured as a cluster, DPF backups may be performed
offline only and the DB2_OPTIONS parameter must be set to DB2BACKUP_OFFLINE.
5. Use the NMC program to create a NetWorker Client resource for the database
host (host1) that has the DPF catalog node partition (NODE0000). For example,
the attributes are set as follows:
Name: host1
Save Set: DB2:/sample/NODE0000
Group: dpf_group1
Backup Command: nsrdasv -z pathname/nmda_db2.cfg
Remote Access: user=database_username, host=host2
Note: The group for the DPF catalog node partition (NODE0000) must be scheduled to run
before the other partitions.
6. Use the NMC program to create a second NetWorker Client resource for the
database host (host1) to back up the second node (NODE0003) located on this
host. Ensure that this Client resource is assigned to a different group than the
previous one. For example, the attributes are set as follows:
Name: host1
Save Set: DB2:/sample/NODE0003
Group: dpf_group2
Backup Command: nsrdasv -z pathname/nmda_db2.cfg
Remote Access: user=database_username, host=host2
7. Use the NMC program to create a NetWorker Client resource for the other
database host (host2), which does not have the database catalog node partition.
For example, the attributes are set as follows:
Name: host2
Save Set: DB2:/sample/NODE0001 DB2:/sample/NODE0002
Group: dpf_group2
Backup Command: nsrdasv -z pathname/nmda_db2.cfg
Remote Access: user=database_username, host=host1
8. If the DPF partitions are configured as a cluster, set the NetWorker device
parallelism to 1.
216 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
Configure a scheduled backup of a DB2 9.5 or later DPF database that resides on two
host DB2 servers (for example, host1 and host2), as follows:
1. Ensure that the DPF database partitions are properly configured according to the
appropriate DB2 documentation.
2. Create an NMDA configuration file (for example, nmda_db2.cfg) in the database
instance directory. The configuration file should contain the following values:
• NSR_SERVER — Hostname of the NetWorker server.
• NSR_CLIENT — Name of the client with the database catalog node partition
(NODE0000).
• INSTHOME — Pathname of the DB2 instance home directory.
• DB2_NODE_NAME — Name of the DB2 instance.
• DB2_USER — Name of the DB2 user.
• DB2_OPTIONS — Either DB2BACKUP_ONLINE or DB2BACKUP_OFFLINE.
Note: If the DPF partitions are configured as a cluster, DPF backups may be performed
offline only and the DB2_OPTIONS parameter must be set to DB2BACKUP_OFFLINE.
When the scheduled backup runs, the partitions specified in the parameter
DB2_PARTITION_LIST are backed up.
where:
◆ 0, 1, 2, or 3 is the database partition.
◆ sample is the name of the database to be restored.
◆ xx is the platform-specific extension.
◆ pathname/nmda_db2.cfg is the full pathname of the NMDA configuration file
Note: A restore with the db2_all command should always include replace existing or without
prompting to prevent the operation hanging while waiting for a prompt. DB2 does not support
user prompts for this type of operation.
IMPORTANT
The NMDA operations do not support failover from primary to secondary MACH
11 servers. “Restarting a backup after a system failure” on page 211 provides
details.
218 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
Note: In the event of a failure of the primary server, the secondary server could be
out-of-date by at least one log.
Note: Although you can use the Informix wizard to configure the backup of a secondary
server, the resulting scheduled backup of the secondary server would fail. The Informix
BAR_ACT log would show an error code of 151 and would contain the following error
message:
DR: This command is not valid on a secondary server.
220 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
Set up the restore of an HDR or RSS secondary server the same way as an Informix
imported restore. “Informix imported restore” on page 187 and IDS documentation
provide more details.
Set up the restore of a primary server by using the same method as for a typical
NMDA restore. Perform additional steps to ensure that the secondary servers are
properly updated during the restore as described in the IDS documentation.
Connect-time failover
Neither Oracle RMAN nor NMDA supports Transparent Application Failover (TAF).
As a result, if a failure occurs during an Oracle backup, the backup is not
automatically restarted from the point of failure on another node. Only connect-time
failover is supported.
When multiple listeners support a single service, a connect-time failover reroutes the
connection request to another listener if the first listener is either down or cannot
connect. To enable the connect-time failover in RAC, there must be a listener on each
node, and each instance must use the same Net service name. Ensure that
GLOBAL_DBNAME does not appear in the SID_LIST_LISTENER parameter of the
listener.ora file since it disables the failover.
When using the local Net service naming method, the client’s tnsnames.ora file
should include the following parameters:
o11pA.emc.com =
(DESCRIPTION =
(ADDRESS_LIST =
(FAILOVER = ON)
(ADDRESS = (PROTOCOL = tcp) (HOST = nodeA)
(PORT = 1521))
(ADDRESS = (PROTOCOL = tcp) (HOST = nodeB)
(PORT = 1521))
)
(CONNECT DATA =
(SERVICE_NAME = proddb)
)
)
222 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
Note: Some applications such as Oracle Enterprise Manager still require static database
registration with a listener.
Note: NMDA does not support multiple RMAN restores that are running at the same time.
To run an Oracle restore on a RAC system, none of the nodes can be open. Only the
node that is running the RMAN restore script needs to be mounted.
Example 29 on page 224 describes a sample Oracle RAC configuration, including the
required RMAN backup and restore scripts.
A RAC system contains three nodes (hosts) named nodeA, nodeB, and nodeC. Each
node has a Linux operating system, and an attached tape drive to be used for NMDA
backups. NetWorker storage node software is installed on each node.
In the NMC interface, a Storage Node resource is created for each node by
right-clicking Storage Nodes in the Devices pane and selecting New.
After the Storage Node resources are created, a Device resource is created for each
tape drive. As the tape devices are attached to storage nodes, the device names must
have the format rd=host_name:device_name. For example:
◆ Tape device /dev/rmt/tape0 is attached to node A. In the Device resource, the
device name is rd=nodeA:/dev/rmt/tape0.
◆ Tape device /dev/rmt/tape3 is attached to node B. In the Device resource, the
device name is rd=nodeB:/dev/rmt/tape3.
◆ Tape device /dev/rmt/tape1 is attached to node C. In the Device resource, the
device name is rd=nodeC:/dev/rmt/tape1.
In the tape device on each node, a volume is labeled and mounted. All of the volumes
are assigned to the Default pool in this example.
Node A is selected to store the index entries for the NMDA backups and initiate the
backups. The choice of node A is arbitrary. Node B or node C could be chosen
instead. In all the RMAN backup and restores scripts, NSR_CLIENT must be set to
nodeA.
In the NetWorker Client resource for node A:
◆ The Remote Access attribute is set to the hostnames of nodes B and C:
user=database_username, host=nodeB
user=database_username, host=nodeC
224 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
The following RMAN script uses all three nodes to perform the backup. Each node
backs up data to its local tape drive. The backup information from all three nodes is
stored in the NetWorker client file index of nodeA:
connect target sys/oracle@connect_identifier;
run {
allocate channel t1 type ’SBT_TAPE’
connect ’sys/oracle@Net_service_name_of_instance_A’;
allocate channel t2 type ’SBT_TAPE’
connect ’sys/oracle@Net_service_name_of_instance_B’;
allocate channel t3 type ’SBT_TAPE’
connect ’sys/oracle@Net_service_name_of_instance_C’;
send ’NSR_ENV=(NSR_CLIENT=nodeA)’;
backup database;
release channel t1;
release channel t2;
release channel t3;
}
To enable restores, NSR_CLIENT must be set to nodeA. The NetWorker server then
obtains the backup information from the client file index of nodeA. To restore the
backup data to a different node such as nodeB, add the nodeB hostname to the
Remote Access attribute in the NetWorker Client resource of nodeA.
For example, the following RMAN script restores the database. The script can be run
on any host:
connect target sys/oracle@connect_identifier;
run {
allocate channel t1 type ’SBT_TAPE’;
allocate channel t2 type ’SBT_TAPE’;
Note: The archived logs should use the same NSR_CLIENT setting that is used to back up the
database.
send ’NSR_ENV=(NSR_CLIENT=ops1.emc.com)’;
backup filesperset 10
(archivelog all delete input format ’al_%s_%p’);
release t1;
release t2;
}
226 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
The ASE Cluster Edition documentation provides details on setting up the required
devices and configuring the nodes and instances of an ASE Cluster Edition system.
NMDA supports two types of Sybase backup server configurations:
◆ Single backup server configuration
◆ Multiple backup server configuration
In a single backup server configuration, the ASE cluster contains only one backup
server at any time. The backup server may be moved from one node to another node
by the cluster administration, but only one node at a time contains a running backup
server.
In a multiple backup server configuration, the ASE cluster contains two or more
backup servers, running simultaneously on separate nodes. Any of the backup
servers can perform the backup or restore of the databases.
A Sybase ASE Cluster Edition system supports two types of multiple backup server
configurations:
◆ Dedicated — Each instance in the cluster is assigned a specific backup server.
◆ Round-robin — An instance is not assigned a specific backup server, but the
cluster assigns the least busy backup server from a group according to
availability.
IMPORTANT
NMDA supports only the dedicated type of multiple backup server configuration,
not the round-robin type.
The ASE Cluster Edition documentation provides details on Sybase backup servers in
an ASE cluster.
IMPORTANT
The NMDA operations do not support failover on ASE cluster databases.
You must select one node to store all the backups for the whole ASE Cluster Edition,
which is specified by the NSR_CLIENT parameter as described in “NSR_CLIENT
setting for cluster systems” on page 204. All the backups of the ASE cluster are
recorded in the client file index of the node. Use the same NSR_CLIENT value even if
the original node that performed the backup failed and a new node was configured to
run the backups.
Ensure that you meet the configuration requirements in “Active-active cluster
configuration requirements” on page 211.
For a probe-based backup, configure a scheduled backup for ASE Cluster Edition as
usual. Complete the probe-based backup configuration according to “Configuring a
probe-based backup” on page 83. Associate the Probe resource with the Client
resource configured for the scheduled backup.
Note: In the nsrsybrc command, the instance names and database names are case-sensitive and
must be in the same case as recorded in the backup entries in the NetWorker indexes.
Note: It is the responsibility of the backup administrator to create the quorum device backup
file and to protect that backup file with the NetWorker save binary.
To recover the quorum backup file, you must use the NetWorker recover binary. The
recover binary restores the quorum backup file as a file on the file system. You must
then load the quorum backup file into the database by using the appropriate Sybase
ASE Cluster Edition utility.
228 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Cluster Systems
230 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
7
Multiple Installations
on a Single Host
Note: In a 32-bit and 64-bit coexistence environment, you cannot use the wizard to configure a
32-bit application. You can only use the wizard to configure a 64-bit application.
On a 64-bit system, if NMDA is installed to enable the coexistence of 32-bit and 64-bit
NMDA databases or applications, ensure that you use the correct command or
library name in specific commands and attributes as shown in Table 23 on page 233.
232 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Multiple Installations on a Single Host
Name to use for 64-bit Name to use for 32-bit Location where command or library Section with details on the command or library
database or application database or application name is used name
nsrdaprobe(.exe) nsrdaprobe32(.exe) In Probe Command attribute of the Probe “Configuring a probe-based backup” on page 83
resource, required for a probe-based
backup
nsrdasv(.exe) nsrdasv32(.exe) In Backup Command attribute of the “Configure the Client resource” on page 72
Client resource, required for a scheduled
backup
libnsrdb2.dll libnsrdb232.dll In db2_all command • “Running a manual DPF backup for DB2 9.1.x
versions” on page 214
• “Restoring a DPF backup” on page 218
In db2 restore command • “DB2 restore to the same instance” on page 145
• “DB2 restore to a different instance” on page 146
In db2 update db cfg command “Configure DB2 automatic transaction log backups”
on page 93
nsrdasv(.exe) nsrdasv32(.exe) In Lotus manual backup command “Lotus manual backup through the nsrdasv
command” on page 121
nsrdocrc(.exe) nsrdocrc32(.exe) In Lotus document-level recovery “Document-level recovery through the nsrdocrc
command command” on page 157
nsrnotesrc(.exe) nsrnotesrc32(.exe) In Lotus database recovery command “Database restore and recovery through the
nsrnotesrc command” on page 153
In nsrlotus_remrecov(.bat) script for “Directed recovery through the NetWorker User for
Lotus directed recovery Lotus” on page 179
nsrdasv(.exe) nsrdasv32(.exe) In Sybase manual backup command “Sybase manual backup through the nsrdasv
command” on page 124
nsrsybcc(.exe) nsrsybcc32(.exe) In Sybase command for database “Sybase database consistency check” on page 123
consistency check
nsrsybrc(.exe) nsrsybrc32(.exe) In Sybase restore command “Restore through the nsrsybrc command” on
page 171
234 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
8
Snapshot Backups
and Restores
Database server host DB2 or Oracle server, NetWorker client, NMDA, PowerSnap Module
Proxy client host (data mover) NetWorker client, NetWorker storage node (optional), PowerSnap Module
NetWorker server host NetWorker server, NetWorker storage node, NetWorker client
Figure 16 on page 237 shows the software components used in the NMDA
environment for PowerSnap backups and restores.
236 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
NetWorker NetWorker
server storage node Storage
LAN
Storage array
(Symmetrix,
CLARiiON,
or Celerra)
S4
S5 S3
Primary storage
LUNs/volumes
S1 S2
Snapshots
GEN-001089
Figure 16 Software used in the NMDA environment for PowerSnap backups and restores
“Deferred live backup” on page 238 Permanent Both snapshot and secondary storage
The PowerSnap backup type is configured by the Snapshot Policy attribute in the
NetWorker Group resource as described in “Configure the NetWorker Group
resource” on page 242.
IMPORTANT
Instant backups protect against logical failures only. To protect against physical
failures such as disk array failures, the snapshot must be backed up to secondary
storage.
Note: A deferred live backup runs automatically as part of a scheduled backup as specified by
the Backup Snapshots attribute of the Snapshot Policy resource.
A proxy client host that is separate from the database server host can be used to move
the snapshot to the secondary storage. Using a proxy client reduces the impact on the
database server. The proxy client can be a NetWorker storage node to improve the
backup performance by eliminating the transfer of data over the network.
238 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
“Rollback restore” on page 239 Unmounted snapshot, entirely restored to source location
Instant restore
During an instant restore, the saved data is retrieved from a mounted snapshot that
was created through an instant backup. This type of restores requires a minimal
amount of time.
Rollback restore
A rollback restores an entire snapshot back to its source location on the database
server by using the hardware capabilities. A rollback is a destructive restore because
it overwrites the entire contents of a snapshot unit, such as a volume or disk. Use the
NetWorker PowerSnap Module documentation to determine if a rollback is
supported on a specific type of hardware.
Note: A rollback restore does not support relocation of the database to a different host because
it requires the data to be reverse synchronized between the snapshot and its original source.
Note: The restore of snapshot data from the secondary storage requires the use of PowerSnap
software.
Note: A PowerSnap backup can be started only by automatic or manual invocation of the
NetWorker scheduled backup group. For example, an Oracle PowerSnap backup cannot be
scheduled through Oracle Enterprise Manager or started from Oracle RMAN. The PowerSnap
Module documentation provides details on how to manually invoke a scheduled backup.
NetWorker
client
Control
Database
server
NetWorker
NMDA
client
NetWorker
PowerSnap PowerSnap server
Module Module
Data
Storage
Database Point-in-time copy medium
datafiles of datafiles
Primary storage
GEN-000868
240 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
“Configuring the NWORA resource file with the nsroraadmin program” on page 270
provides details on the nsroraadmin command. The command sets the parameter
value in the NWORA resource file, which is described in “NWORA resource file” on
page 265.
Note: Specify the pool name in the Snapshot Pool attribute of the NetWorker Group resource,
as described in “Configure the NetWorker Group resource” on page 242.
242 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
Attribute Setting
Snapshot True.
Snapshot Policy Serverless live backup. Daily or other customized policies may be set later.
Snapshot Pool A Pool resource dedicated to the storage of snapshot metadata is recommended.
File-type volume devices are strongly recommended over tape.
Start Time Must be set in relation to the Number of Snapshots attribute for the snapshot policy:
(Interval x Number of Snapshots) must be less than or equal to (24:00 h - Start Time).
Interval Must be set in relation to the Number of Snapshots attribute for the snapshot policy.
Note: The proxy client (data mover) host does not need to be enabled for deduplication.
The following sources provide details on any additional requirements and limitations
of deduplication PowerSnap backups and restores:
◆ EMC NetWorker Module for Databases and Applications Release Notes
◆ EMC NetWorker PowerSnap Module documentation
(Refer to the PowerSnap Module version for the primary storage system.)
IMPORTANT
An NMDA PowerSnap backup can be started only by automatic or manual
invocation of the scheduled NetWorker backup group.
To verify the scheduled backup setup, follow the instructions for regular backups in
“Test a scheduled backup” on page 116.
To determine if the Oracle RMAN script for an Oracle PowerSnap backup contains
any errors, log the RMAN output into a file by setting the parameter
NSR_RMAN_ARGUMENTS in the NMDA configuration file used for the backup.
244 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
IMPORTANT
For the RESTORE_TYPE_ORDER parameter, NMDA does not support the
force_rollback option, which is supported by PowerSnap Modules. If the option is
specified, the restore fails, even if other valid restore options are also specified.
PowerSnap parameters
Table 28 on page 246 provides a basic list of supported PowerSnap parameters. The
list is not exhaustive. The NetWorker PowerSnap Module documentation provides a
complete list of PowerSnap parameters.
Set the required PowerSnap parameters by using the proper method:
◆ For DB2 PowerSnap operations, set the parameters in the Application
Information attribute in the NetWorker Client resource for a backup and in the
NMDA configuration file for a restore.
◆ For Oracle PowerSnap operations, set the parameters as described in “PowerSnap
parameter settings” on page 253.
The PowerSnap Module documentation for the given type of primary storage
provides details on the PowerSnap parameters shown in the following examples:
◆ Celerra:
NSR_DATA_MOVER=datamover.emc.com
NSR_SNAP_NAS_CEL_CS_HOST=controlstn
NAS_SNAP_SUBTYPE=CEL_SNAPSURE
NSR_SNAP_TYPE=nas
NSR_SNAP_NAS_CLIENT=11.222.333.44
246 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
◆ CLARiiON:
NSR_DATA_MOVER=datamover.emc.com
NSR_SNAP_TYPE=emcclar
EMCCLAR_SNAP_SUBTYPE=CoW
FRAME_IP=10.5.167.17:10.5.167.18
◆ Symmetrix:
NSR_DATA_MOVER=datamover.emc.com
NSR_SNAP_TYPE=symm_dmx
IMPORTANT
Snapshots are not produced if any data or log file related to the snapshot resides on
a different device than the snapshotable device.
NMDA supports only the snapshot backup and restore of DB2 databases.
Snapshots are supported only for scheduled full backups of databases. NMDA
does not support snapshot backup and restore of selected DB2 tablespaces, logs,
and files.
Note: Monitoring of the status of snapshots made with NMDA is not supported.
Note: If the nsrsnapck binary, required for deletion operations, is not in the default installation
location, set the NSR_NWPATH parameter in the NMDA configuration file. On Linux, the
default installation location is /usr/sbin. Appendix A, “NMDA Parameters and Configuration
File,” provides details on the NMDA configuration file.
248 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
Table 29 on page 249 provides details on parameters that can be set in the DB2
resource file.
The DB2 resource file uses the same syntax rules as the NMDA configuration file.
“Syntax rules for the NMDA configuration file” on page 295 provides details.
Note: Certain Oracle RMAN features, such as checking for corrupt blocks, are not applicable to
PowerSnap snapshot operations.
250 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
Note: For PowerSnap instant backups, use an RMAN recovery catalog instead of a control file.
The control file of an Oracle database can store only a limited number of backup
entries. When the maximum number of entries is exceeded, old entries in the control
file are overwritten by new ones. You can determine the number of entries in a
control file from the appropriate Oracle dynamic view. The Oracle documentation
provides more information.
Instant backups use control file entries of type PROXY COPY. For instant backups, an
RMAN recovery catalog (instead of a control file) can be used, since there is no limit
on the number of entries a recovery catalog can contain.
IMPORTANT
If you use a control file as the RMAN catalog during an instant backup, ensure that
the control file contains enough free entries for the backup. RMAN creates a new
entry in the control file for each file backed up in an instant backup. The backup of
a large database with many files can quickly use all the free entries in the control
file and start overwriting old entries. When entries are overwritten, the
corresponding backups cannot be restored.
Note: Certain options of the RMAN backup command, such as maxsetsize, filesperset,
and diskratio, are not supported with the proxy option. Contact Oracle Corporation for
more information on the RMAN options that are not supported.
The proxy backup performed with the following RMAN script is written to either the
OracleVolume1 or OracleVolume2 volume pool (not to both volume pools) because
Oracle uses only one of the allocated channels for the proxy backup:
run {
allocate channel c1 type ’SBT_TAPE’;
allocate channel c2 type ’SBT_TAPE’;
send channel c1 ’NSR_ENV=(NSR_DATA_VOLUME_POOL=OracleVolume1)’;
send channel c2 ’NSR_ENV=(NSR_DATA_VOLUME_POOL=OracleVolume2)’;
backup proxy only tablespace tbs1, tbs2, tbs3, tbs4;
release channel c1;
release channel c2;
}
The following RMAN script shows a configuration that NMDA does not support. The
script is intended to distribute proxy backups over two channels, but NMDA does not
support this configuration as Oracle uses only one of the channels for the proxy
backup:
run {
allocate channel c1 type ’SBT_TAPE’;
allocate channel c2 type ’SBT_TAPE’;
send channel c1 ’NSR_ENV=(NSR_DATA_VOLUME_POOL=OracleVolume1)’;
send channel c2 ’NSR_ENV=(NSR_DATA_VOLUME_POOL=OracleVolume2)’;
backup proxy
(tablespace tbs1, tbs2 channel c1)
(tablespace tbs3, tbs4 channel c2);
252 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
To ensure that the proxy backup succeeds, use the following RMAN script to replace
both of the preceding two backup scripts:
run {
allocate channel c1 type ’SBT_TAPE’;
send channel c1 ’NSR_ENV=(NSR_DATA_VOLUME_POOL=OracleVolume1)’;
backup proxy tablespace tbs1, tbs2, tbs3, tbs4;
release channel c1;
}
You might want to allocate more than one channel if you know that some of the data
does not reside on supported primary storage devices. In this case, one channel is
used for PowerSnap backups and all the others are used for regular backups.
The PowerSnap parameters must be set by using one of the following methods:
◆ By setting the parameters in the send command in one of these ways:
• With the rman command on the operating system command line.
• In the RMAN backup or restore script.
“The send command” on page 324 provides more information on how to use the
send command.
◆ By setting the parameters in a user-defined configuration file. The complete
pathname of the file must be specified in the parameter NSR_PROXY_PFILE, as
described in “NSR_PROXY_PFILE” on page 317.
The configuration file consists of a separate line such as the following for each
parameter setting:
parameter_name=parameter_value
where:
• parameter_name is the parameter name, such as RESTORE_TYPE_ORDER.
• parameter_value is the parameter value, such as pit.
send channel t1
'NSR_ENV=(NSR_PROXY_PFILE=/space/myorcl/rman/pfileclar.txt,
NSR_DATA_VOLUME_POOL=Oracle,
NSR_SNAPSHOT_POSTCMD=/space/myorcl/rman/snap.ksh)';
254 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
While the resulting backups are valid regular (not PowerSnap) backups, correct the
RMAN script or relocate the Oracle datafiles to a supported primary storage device,
as required to enable PowerSnap backups.
The current EMC compatibility guides provide details on the primary storage devices
supported for PowerSnap backups.
If a backup command in the RMAN script includes the proxy only option and the
Oracle data objects reside on volumes that do not support snapshots, the scheduled
backup fails since RMAN cannot perform a regular backup of the objects. The Oracle
documentation provides a detailed description of the difference between the proxy
and proxy only options.
Note: If the PowerSnap Module software involved in a snapshot backup cannot determine if a
file is snapshotable, the PowerSnap backup fails.
A scheduled backup includes the following RMAN script, with the database files
residing on volumes that support snapshots while archived logs reside on volumes
that do not support snapshots. However, the Snapshot attribute in the Group
resource is set to False. As a result, the PowerSnap database backup fails:
run {
allocate channel ch1 type ’SBT_TAPE’;
backup proxy database plus archivelog;
}
Despite the PowerSnap backup failure, RMAN performs a regular backup of the
archived redo logs. The savegroup completion report lists failure of the scheduled
backup.
Note: During RMAN operations, do not modify any files in this directory.
256 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
Note: If RMAN performs only a regular Oracle backup during the instant backup step
(“Checking configuration consistency” on page 255 provides details on when this can happen),
the deferred live backup fails because there is no point-in-time copy to be moved to secondary
storage. The entire backup is reported as failed, but the data is stored on tape and can be used
for restore.
Note: The file is stored under the "backup" namespace, not the "oracle" namespace.
The browse and retention policies applied to the NWORA resource file backup are
the most conservative policies associated with the given NetWorker client, not the
policies that are applied to the Oracle backups. As a result, you may see a difference
between the policies assigned to the NWORA resource file backup and the Oracle
backups.
Note: If a point-in-time recovery will be performed with an RMAN Recovery Catalog, the
information in this section does not apply.
During an Oracle PowerSnap backup, Oracle backs up the control file after the
PowerSnap backup of the datafiles is complete. In a large database production
environment, there might be a delay between the end time of the datafile backup and
the start time of the control file backup.
During this time delay, if the physical structure of the database is changed (for
example, a new datafile is added), the control file must be backed up in a separate
RMAN session before the changes occur. This is due to the fact that the control file
backup from the PowerSnap database backup session will include information on the
new database structure.
◆ Type the mminfo command to query the NetWorker media database. For
example:
mminfo -v -s NetWorker_server -c Oracle_Server_hostname
The EMC NetWorker Command Reference Guide and the UNIX man pages provide more
information on these NetWorker commands.
258 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
The nsrinfo command provides information on the PowerSnap backup entries in the
NetWorker client file index:
nsrinfo -n oracle marmaris
scanning client ’marmaris’ for all savetimes from the oracle namespace
/PROXY_O901JB_811_1/, date=1279735274 Wed Jul 21 14:01:14 EDT 2010
/brcmeta.1/, date=1279735271 Wed Jul 21 14:01:11 EDT 2010
Physical files to rollover:
/JBOD13_NMDA11_MVOL3/tbspc4_data1.dbf
/JBOD13_NMDA11_MVOL3/tbspc4_data1.dbf, date=1279735277 Wed Jul 21
14:01:17 EDT 2010
The mminfo command provides information on the PowerSnap backup entries in the
NetWorker media database:
mminfo -v -c marmaris
Query the NetWorker indexes for information about the NWORA resource file
backup by using the NetWorker commands nsrinfo and mminfo.
scanning client ’marmaris’ for all savetimes from the backup namespace
Note: This entry is not displayed with the nsrinfo -n oracle command because it is stored
under the "backup" namespace, not the "oracle" namespace. The "backup" namespace is the
default namespace for the nsrinfo command.
The EMC NetWorker Command Reference Guide and the UNIX man pages provide more
information on these NetWorker commands.
Note: The RMAN restore command does not include a proxy option.
260 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
The psrollback.res file lists all the files, directories, partitions, and volumes that are to
be excluded from the rollback safety check. The items excluded from the safety check
will be overwritten during a rollback operation.
For a rollback restore, the psrollback.res file must contain the directory name
.nworapc. The file is located as follows:
◆ On UNIX systems: /nsr/res/psrollback.res
◆ On Windows systems: NetWorker_install_path\res\psrollback.res, where
NetWorker_install_path is the root directory of the NetWorker installation path
Add the directory name to the file by using a text editor as either the root user on
UNIX or a member of the Microsoft Windows Administrators group.
The following sources provide more information on the psrollback.res file:
◆ NetWorker PowerSnap Module documentation for the primary storage system.
◆ Comments within the psrollback.res file itself.
Note: For NMDA systems, “.etc” must be added to the psrollback.res file.
To enable remount of the NAS file system at the end of a rollback operation, place an
entry for the target file system in the appropriate file:
◆ /etc/vfstab on Solaris
◆ /etc/fstab on HP-UX
◆ /etc/file systems on IBM AIX
If this is not done, the remount at the end of the rollback fails. The data is recovered,
but the file system must be remounted manually and the tablespace brought back
online.
IMPORTANT
Relocation is not supported during a rollback restore. If the
RESTORE_TYPE_ORDER parameter includes the rollback value and the RMAN
restore script specifies relocation, the restore fails, even if the parameter includes
other values.
Note: During a regular Oracle restore, relocation is also supported, but it is controlled by the
Oracle Server.
262 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
To relocate a regular file or raw volume during an Oracle PowerSnap restore, the set
newname command must specify the name of the relocated file as one of the
following:
◆ The complete pathname of the relocated file.
◆ The complete pathname of a symbolic link that points to the location where the
file will be restored.
IMPORTANT
The procedure to relocate a raw volume includes a restriction that does not apply
when relocating a regular file.
To relocate a raw volume, the base filename (the filename without the directory path)
of the original backed-up raw volume must be identical to one of the following:
◆ The base filename of the relocation path specified in the set newname command.
◆ If the set newname command specifies a symbolic link, the base filename in the
symbolic link.
Instant backup entries in the NetWorker indexes are removed in one of the following
ways:
◆ At the start of an instant backup, if the number of existing instant backups equals
the value of the Retain Snapshots attribute in the NetWorker Snapshot Policy
resource, the oldest instant backup is automatically expired and its NetWorker
index entries are removed.
Note: This automatic expiration and index entry removal does not apply to instant backups
performed with the nsrdasv -c different_client_name option, where different_client_name is a
different name than the one used in the Client resource for the backup.
◆ When an instant backup expires due to reaching the expiration time defined in
the NetWorker Snapshot Policy resource, the NetWorker process nsrim prunes
the backup entries from the NetWorker indexes.
◆ The DBA uses a NetWorker command, such as nsrmm, to remove a snap set.
264 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
IMPORTANT
To enable automatic catalog synchronization for PowerSnap backups:
- The parameter ORACLE_SID must be properly set in the NMDA configuration
file at the time of the PowerSnap backup. “Oracle-specific NMDA parameters” on
page 315 provides details.
- An NWORA resource file must include the required resources, as described in
“NWORA resource file” on page 265.
The NMDA program nsroraclecat uses the NWORA resources in the file to perform
automatic synchronization of the RMAN catalog and NetWorker indexes.
Note: DBAs can also synchronize the catalogs manually by using RMAN commands.
The following sections provide details on how to configure and perform the catalog
synchronization:
◆ “NWORA resource file” on page 265
◆ “Automatic catalog synchronization with the nsroraclecat program” on page 273
Note: The NWORA resource file must not be edited manually. All resources in the file must be
added, modified, or deleted by using the nsroraadmin program only. The nsroraadmin
program must be run by either the root user on UNIX or a member of the Microsoft Windows
Administrators group.
“Configuring the NWORA resource file with the nsroraadmin program” on page 270
provides details on the nsroraadmin program.
The NWORA resource file must contain two types of resources, NWORA parameter
resources and NWORA SID resources. The following sections provide more
information:
◆ “NWORA parameter resources” on page 265
◆ “NWORA SID resources” on page 268
NWORA parameter resources
To enable NMDA proxy backups with the PowerSnap Module, the NWORA resource
file must exist. The NSR_ORACLECAT_MODE parameter must be set to either
enabled or disabled. The following parameters are required for proxy backups:
◆ “NSR_NWPATH” on page 266
◆ “NSR_ORACLECAT_DEBUG_FILE” on page 266
◆ “NSR_ORACLECAT_LOG_FILE” on page 266
Note: The parameter resources listed in Table 30 on page 266 are the only ones supported. Do
not attempt to add other parameter resources to the NWORA resource file.
NSR_NWPATH Specifies the directory location of the NetWorker binary • Directory pathname for the location of
nsrsnapck. nsrsnapck (default).
• Valid directory pathname for the location of
Note: If you use NMDA with Sun-branded NetWorker, you the NetWorker binary nsrsnapck.
must set NSR_NWPATH by using the following nsroraadmin
command:
nsroraadmin -r update NSR_NWPATH=/usr/sbin/nsr
NSR_ORACLECAT_DEBUG_FILE Specifies the debug file used by the nsroraclecat program. • Undefined (default).
Set this parameter only for the purpose of debugging the • Valid pathname of the nsroraclecat debug
nsroraclecat program. file.
Note: The nsroraclecat debug file must be created in a Note: If undefined, debug information is not
secure location since it includes a copy of the strings from the generated.
RMAN connection file.
NSR_ORACLECAT_LOG_FILE Specifies the operations log file used by the nsroraclecat • Undefined (default).
program. The logged information includes the backup pieces • Valid pathname of the nsroraclecat log file.
successfully removed from the RMAN catalog, and those that
failed to be removed during automatic catalog Note: If undefined, logging information is written
synchronization. to the /nsr/applogs/nsroraclecat.log file by
default.
NSR_REMOVE_ON_FAILURE Specifies whether the corresponding NetWorker index entries • FALSE (default).
are removed when the nsroraclecat program fails to remove • TRUE.
one or more RMAN catalog entries during automatic catalog
synchronization. “Automatic catalog synchronization with the
nsroraclecat program” on page 273 provides more
information.
266 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
Note: The NWORA.res file is also used to configure save set bundling and policy uniformity
through the NSR_BUNDLING and NSR_INCR_EXPIRATION parameter settings,
respectively. “Configure save set bundling for scheduled Oracle backups” on page 107 and
“Configure policy uniformity for scheduled Oracle backups” on page 108 provide details.
Depending on the nsroraadmin command options used, the parameter resources are
set to either default or customized values.
Note: The NWORA parameter resources cannot be deleted. However, the parameter values can
be modified with the nsroraadmin command.
To view the NWORA parameter resources in the resource file, use the nsroraadmin -r
list command.
To modify NWORA parameter resource settings, use the nsroraadmin -r update
command.
“Configuring the NWORA resource file with the nsroraadmin program” on page 270
provides details on how to use the nsroraadmin command.
After the NMDA installation, if the first nsroraadmin command used is nsroraadmin
-r list (to list the NWORA resource file contents), the command adds the following
NWORA parameter resources to the resource file:
NSR_NWPATH=NetWorker_binary_path
NSR_ORACLECAT_MODE=enabled
NSR_REMOVE_ON_FAILURE=undetermined
NSR_ORACLE_NLS_LANG=
NSR_ORACLECAT_LOG_FILE=
NSR_ORACLECAT_DEBUG_FILE=
NSR_TMPDIR=
NSR_BUNDLING=disabled
NSR_INCR_EXPIRATION=disabled
IMPORTANT
If automatic catalog synchronization is enabled, but you do not create an NWORA
SID resource for an Oracle database, catalog synchronization of that database
might fail. As a result, the catalogs can become unsynchronized unless you
synchronize them manually by using RMAN commands. “Automatic catalog
synchronization with the nsroraclecat program” on page 273 provides more
information.
Note: Each NWORA SID resource must have a unique NSR_ORACLE_SID value.
NSR_ORACLE_CONNECT_FILE Mandatory. Specifies the location of the file containing the • Undefined (default).
connection strings required to create an RMAN session. “The • Valid pathname of the RMAN connection file.
connection file” on page 269 provides more information.
NSR_ORACLE_HOME Mandatory. Specifies the home directory of the Oracle • Undefined (default).
installation. The RMAN executable must be located in • Valid pathname of the Oracle home directory.
subdirectory bin of this directory.
Note: The value must be equal to the Oracle
parameter $ORACLE_HOME value.
NSR_ORACLE_LIB_PATH Optional. Specifies the pathname of the directory containing • Undefined (default).
the Oracle shared libraries on UNIX, typically • Valid pathname of the Oracle shared library
$ORACLE_HOME/lib. directory on UNIX.
268 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
NSR_ORACLE_SID Mandatory. Specifies the SID value of the Oracle database • Undefined (default).
whose RMAN catalog is to be synchronized. • Valid SID value of the Oracle database.
NSR_ORACLE_TNS_ADMIN Optional. Specifies the pathname of the directory containing • Undefined (default).
the Oracle Net configuration files. • Valid pathname of Oracle network
configuration directory.
Catalog synchronization requires the connection file for an Oracle database. The
nsroraclecat program uses the information in the connection file to delete RMAN
catalog entries.
In the NWORA SID resource for the target database, the parameter
NSR_ORACLE_CONNECT_FILE must be set to the pathname of the connection file.
“NWORA SID resources” on page 268 provides more information.
IMPORTANT
A DBA must create the connection file in a secure location.
Note: The connection file must not include any lines starting with the # symbol.
If the connection file does not contain a connection string for an RMAN recovery
catalog, the nsroraclecat program assumes that a control file is used as the RMAN
repository.
If the following lines exist in the connection file, an RMAN recovery catalog is used as
the RMAN repository:
connect target sys/oracle@proddb;
connect rcvcat rman/rman@oracat;
Note: RMAN catalog deletions fail if the connection file does not exist or does not contain valid
connection strings.
All resources in the NWORA resource file must be added, modified, or deleted by
using the nsroraadmin program only.
To run the program, type the nsroraadmin command at the operating system
command line, as the root user on UNIX or as a member of the Microsoft Windows
Administrators group.
“The nsroraadmin command syntax and options for PowerSnap backups” on
page 270 provides details on the command syntax and options.
Windows Server 2008 and Windows Vista requirements for the nsroraadmin command
On Windows Server 2008 and Windows Vista, you must run the nsroraadmin
command in the Command Prompt window as an administrator:
1. Click Start.
2. Right-click Command Prompt.
3. Select Run as administrator.
4. Run the nsroraadmin command in the open Command Prompt window.
The nsroraadmin command syntax and options for PowerSnap backups
The nsroraadmin command syntax and options used to configure PowerSnap
backup settings are as follows:
nsroraadmin [-D debug_level] -r list [ResourceName | SidName]
where:
◆ debug_level is the level of debug information generated.
◆ ResourceName is the name of an NWORA parameter resource.
◆ SidName is the value of the NSR_ORACLE_SID parameter of an NWORA SID
resource.
◆ ResourceValue is the value of the NWORA parameter resource.
270 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
Note: If the NWORA parameter resource already exists in the resource file, use of the add
keyword causes the resource value to be updated.
Note:
- When adding an NWORA SID resource, the keywords sid, home, and connect are mandatory;
the keywords lib and tns are optional.
- If an NWORA SID resource with the same NSR_ORACLE_SID value already exists, the
command updates the values of the existing resource.
After the nsroraadmin command is run, the NWORA SID resource includes the
following settings:
NSR_ORACLE_CONNECT_FILE=/dbapps/proddb/connect.file
NSR_ORACLE_HOME=/dbapps/proddb/app/oracle/product/10.2.0/Db_1
NSR_ORACLE_LIB_PATH=/usr/lib
NSR_ORACLE_SID=proddb
NSR_ORACLE_TNS_ADMIN=/dbapps/proddb/tns
Note: When updating an NWORA SID resource, the keyword sid is mandatory. The
keywords home, connect, lib, and tns are optional.
272 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
Note: Only NWORA SID resources can be deleted from the resource file. NWORA parameter
resources cannot be deleted.
Note: To perform manual catalog synchronization, you can use specific RMAN commands, as
described in “Crosscheck and delete Oracle backups” on page 136. The appropriate Oracle
documentation provides more information on RMAN commands.
◆ On Windows systems:
NetWorker_install_path\apps\tmp\.nworapc\nsroracat_date_pid
where:
• NetWorker_install_path is the root directory of the NetWorker installation path.
• date is the current date.
• pid is the nsroraclecat process ID.
The nsroraclecat program runs each script in an RMAN session. After the scripts
have finished running, the program removes them.
Note: The nsroraclecat program generates information about the backup piece entries
removed from the RMAN catalog. The information is written to the nsroraclecat log and debug
files. “NSR_ORACLECAT_LOG_FILE” and “NSR_ORACLECAT_DEBUG_FILE” on page 266
provide more information on these files.
IMPORTANT
After a nsroraclecat program failure occurs or while catalog synchronization is
disabled, the DBA must synchronize the catalogs manually by using specific
RMAN commands. The appropriate Oracle documentation provides more
information.
274 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
IMPORTANT
The NSR_REMOVE_ON_FAILURE setting controls whether a corresponding
NetWorker index entry is removed when the nsroraclecat program fails to remove
an expired RMAN backup piece.
- In general, NSR_REMOVE_ON_FAILURE should be set to TRUE, to enable
NetWorker index entries to be removed, even if the RMAN catalog entries are not
removed. Otherwise, if entries are not removed from the NetWorker index, the
DBA must synchronize the catalogs manually with the RMAN commands. The
Oracle documentation provides more information.
- If RMAN backup optimization is enabled, NSR_REMOVE_ON_FAILURE
should be set to FALSE, to prevent the removal of NetWorker index entries.
Otherwise, RMAN might skip backing up certain files.
The following example shows the RMAN commands used to synchronize the RMAN
catalog entries after a PowerSnap Oracle backup volume was relabelled manually:
Recovery Manager: Release 11.2.0.1.0 - Production on Mon Jul 26
10:39:28 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights
reserved.
RMAN> connect target
connected to target database: DB11GR2 (DBID=1557076238)
IMPORTANT
The parameter NSR_CLIENT is not supported for PowerSnap backups on a cluster
system. This parameter is used for restores and regular backups on a cluster
system, as described in Chapter 6, “Cluster Systems.”
Note: To avoid restarting the backups of all objects in the RMAN script during the NetWorker
retry, you can use the Oracle restartable backups feature. This feature enables you to back up
only the files that have not been backed up since a specified time, for example, by using the
’sysdate -1’ option. “Restartable backups” on page 41 provides more information.
276 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
• In the Remote Access attribute in the Client resource for a virtual cluster client,
specify the Oracle user from each physical client that can store and retrieve
backups.
• In the Save Set attribute, specify the complete pathname of the RMAN script
to back up the Oracle data on the shared disk.
3. Configure the other NetWorker resources required for PowerSnap backups, as
described in “Oracle considerations for PowerSnap operations” on page 249:
• To enable backup failover, specify a nonzero value in the Client Retries
attribute in the NetWorker Group resource for the scheduled backup. This
value causes the NetWorker server to restart the failed Oracle backup on the
failover node.
• Specify other recommended attribute settings in the Group resource, as
described in the cluster support information of the EMC NetWorker
Administration Guide.
4. Configure the NWORA resource file on each node of the cluster, as described in
“Configuring the NWORA resource file” on page 251.
5. If the PowerSnap backup entries are to be stored in a NetWorker client file index
other than the virtual client index (for example, in a physical client index), specify
the Oracle user from the virtual host in the Remote Access attribute of the Client
resource for client_name.
If the PowerSnap backup entries are stored in a NetWorker index other than the
virtual client index, the expiration of instant backups created with the
-c client_name option setting is different from the expiration of the instant backups
created without the setting.
At the start of an instant backup, if the number of existing instant backups created
by a client equals the value of the Retain Snapshots attribute in the NetWorker
Snapshot Policy resource, nsrsnapck automatically expires the oldest instant
backup and removes its NetWorker index entries based on the NetWorker
snapshot policy. The nsrsnapck program performs the automatic expiration
based on the hostname of the NetWorker Client resource (it is not aware of the
-c client_name option). As a result, the instant backup of -c client_name is not
automatically removed.
Notes:
• The host specified by client_name must have access to instant backups.
• The NMDA and PowerSnap Module software must be installed and
configured on the host specified by client_name.
• When the backup is started from the virtual cluster client, the backup entries
are stored in the NetWorker client file index of the virtual client by default.
To specify that the backup entries be stored in the index of the physical cluster client
mars.emc.com, specify nsrdasv -z config_filepath -c mars.emc.com in the Backup
Command attribute of the NetWorker Client resource.
Note: The entries for the NWORA resource file backup are stored in the NetWorker index of
the physical client by default.
To specify that the PowerSnap backup entries be stored in a NetWorker client file
index other than the physical client index, for example, in a virtual client index:
◆ Specify nsrdasv -z config_filepath -c client_name in the Backup Command attribute
in the Client resource for client_name.
Note: When the client is a physical host, the backup is indexed under the hostname of the
physical host by default. You need to specify the -c client_name option only when you want
the index to be stored under a different hostname.
◆ Specify the Oracle user from the physical host in the Remote Access attribute in
the Client resource for client_name.
If the PowerSnap backup entries are stored in a NetWorker index other than the
virtual client index, the expiration of instant backups created with the -c client_name
option setting is different from the expiration of the instant backups created without
the setting.
At the start of an instant backup, if the number of existing instant backups created by
a client equals the value of the Retain Snapshots attribute in the NetWorker Snapshot
Policy resource, nsrsnapck automatically expires the oldest instant backup and
removes its NetWorker index entries based on the NetWorker snapshot policy. The
nsrsnapck program performs the automatic expiration based on the hostname of the
NetWorker Client resource (it is not aware of the -c client_name option). As a result,
the instant backup of -c client_name is not automatically removed.
Notes:
◆ The host specified by client_name must have access to instant backups.
◆ The NMDA and PowerSnap Module software must be installed and configured
on the host specified by client_name.
To specify that the backup entries be stored in the index of the virtual client
monalisa.emc.com, specify nsrdasv -z config_filepath -c monalisa.emc.com in the
Backup Command attribute of the NetWorker Client resource.
278 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
Note: When a failover occurs during a restore, the restore must be restarted manually on the
failover node.
Note: Replication Manager cluster support for Oracle is primarily for Oracle RAC. Replication
Manager supports RAC, with or without ASM, but converts the RAC database into a single
instance database for the replica. While the solution described in this section also applies to
Oracle RAC, the scripts must be adjusted accordingly. The Replication Manager
documentation provides details on additional settings required for Oracle RAC.
During the snapshot backups of the Oracle ASM data, the replicas of Oracle ASM
volumes are created on the production (source) host, mounted to a separate mount
host, and backed up from the mount host, to reduce the backup overhead on the
production host.
A snapshot backup of an Oracle database on ASM storage with Replication Manager
involves the following processes:
1. Replication Manager creates and mounts the replica database from the Oracle
production database host to the mount host.
2. Oracle RMAN connects to the “replica” database on the mount host, and backs
up the data to NetWorker by using NMDA.
Configuration of the snapshot backups of Oracle ASM data includes separate
configuration procedures on the four main nodes involved in the backups:
◆ Replication Manager server
◆ Oracle production database host (contains Replication Manager Agent software)
◆ Oracle mount host (contains Replication Manager Agent software)
◆ NetWorker server
Note: If an SPFILE is not used, RMAN cannot back up the parameter file or PFILE. You
must back up a PFILE on the original database host through a file system backup.
◆ Archived redo logs — Replication Manager can replicate the archived redo log
directory. The archived redo logs on the mount host can then be backed up
through RMAN scripts.
To back up additional archived redo logs generated after the replication, you can
use the regular NMDA Oracle backups on the original database host.
280 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
If the archived redo logs do not reside on a supported storage array, then you
must use the regular NMDA Oracle backups on the production database host to
back up the archived redo logs.
◆ Flash Recovery Area (FRA) — All of the procedures used for the archived redo
logs backups also apply to the FRA backups.
282 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
– To back up the FRA from the replica through RMAN scripts, select
Replicate Flash Recovery Area.
– If required, select the appropriate setting for Copy parameter file to RM
Server.
Figure 19 on page 283 shows a sample of the advanced replication settings.
Note: Do not select Unmount the replica on job completion. The replica must
remain mounted during the RMAN backup. After the RMAN backup, the replica is
unmounted gracefully through the POSTCMD script described in “Configuration
on the Oracle mount host (Replication Manager Agent)” on page 285.
Figure 20 on page 284 shows a sample of the required mount options.
4. In the Starting the Job window of the job wizard, select Manually, or using a
third party scheduler. This setting is required to perform a manual or scheduled
NetWorker backup.
Figure 21 on page 285 shows the required setting in the job wizard.
284 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
• $ORACLE_HOME/network/admin/tnsnames.ora:
ORCL110REP =
(DESCRIPTION =
(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST =
bu-star2)(PORT = 1521)))
(CONNECT_DATA = (SERVICE_NAME = orcl110))
)
CATALOG =
(DESCRIPTION =
(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST =
bu-star1)(PORT = 1521)))
(CONNECT_DATA = (SERVICE_NAME = catalog))
)
7. Copy the production database password file to the mount host under
$ORACLE_HOME/dbs. For example:
scp bu-star1:/db/app/oracle/product/11.1.0/db/dbs/orapworcl110
bu-star2:/db/app/oracle/product/11.1.0/db/dbs/
8. Create a PRECMD script, which is a preprocessing script with its full pathname
specified by the PRECMD parameter in the NMDA configuration file.
Appendix A, “NMDA Parameters and Configuration File,” provides details on
the NMDA parameters and configuration file.
The PRECMD script must do the following:
• Create and mount the database replica by starting the Replication Manager job
described in “Configuration on the Replication Manager server” on page 281.
• Mount the ASM instance.
286 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
• Convert the control file from current mode to the backup mode, and mount
the database, according to the instructions in the “RMAN and Split Mirror
Disk Backups” Metalink note (302615.1).
• Register the replica instance explicitly to the listener by using alter system
register, and catalog the archived redo logs generated during hot backup
mode if online backups are used.
A sample PRECMD script is provided in “Preprocessing script for Oracle ASM
backups” on page 289.
9. Create a POSTCMD script, which is a postprocessing script with its full pathname
specified by the POSTCMD parameter in the NMDA configuration file.
The POSTCMD script must unmount the database replica gracefully by using
RMCLI.
A sample POSTCMD script is provided in “Postprocessing script for Oracle ASM
backups” on page 291.
10. Create an RMAN script to perform the required snapshot backup. In the script,
set the NSR_CLIENT parameter to the hostname of the production database host.
This NSR_CLIENT setting enables the production database host to access the
backup entries generated by the backup on the mount host, for catalog
maintenance operations and restore.
The following sample RMAN script is used to run an NMDA Oracle manual
backup after the "replica" database is mounted. This script backs up the full
database to the NetWorker server, bu-rocky, including all the archived redo logs
not backed for a day. The production database host is bu-star1. The script
connects to an RMAN Recovery Catalog database named catalog:
connect target sys/oracle@orcl110rep;
connect catalog rman/rman@catalog;
run {
allocate channel ch1 type 'SBT_TAPE';
allocate channel ch2 type 'SBT_TAPE';
send device type 'SBT_TAPE'
'NSR_ENV=(NSR_SERVER=bu-rocky, NSR_CLIENT=bu-star1)';
backup full
format 'RM_NMDA_DB_%d_%U'
database
plus archivelog not backed up since time 'sysdate - 1';
release channel ch1;
release channel ch2;
}
11. If you will perform scheduled backups, create the NMDA configuration file with
required parameter settings, as described in Appendix A, “NMDA Parameters
and Configuration File.” Ensure that you set the following parameters in the file:
PRECMD=full_pathname_of_PRECMD_script
POSTCMD=full_pathname_of_POSTCMD_script
where:
• full_pathname_of_PRECMD_script is the complete pathname of the
preprocessing script created in step 8 .
• full_pathname_of_POSTCMD_script is the complete pathname of the
postprocessing script created in step 9 .
288 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
The following shows a sample script used to perform preprocessing tasks on UNIX or
Linux, prior to a snapshot backup of Oracle ASM data. The main preprocessing
script, precmd, calls each of the following scripts in turn:
◆ create_replica.sh
◆ mountasm.sql
◆ convertcf.sql
◆ catalog.sql
You must specify the complete pathname of the main preprocessing script with the
PRECMD parameter in the NMDA configuration file:
$ more precmd
#!/bin/ksh
echo on
# This script creates and mounts the replica database
# by starting the job configured on the RM server.
# If the replica cannot be mounted, the script fails.
DATE=$(date +%Y%m%d)
LOGFILE=/db/home/ora110/rman/rm_rman_backup_$DATE.log
RM_HOME=/opt/emc/rm/gui
ORACLE_SID=orcl110
echo "*** Starting the Oracle database replica for $ORACLE_SID ****"
>> $LOGFILE
RM_COMMAND_LINE="$RM_HOME/rmcli host=bu-caspian.lss.emc.com
port=65432 login user=Administrator password=password
file=/db/home/ora110/rman/create_replica.sh >> $LOGFILE "
eval ${RM_COMMAND_LINE} &
Pid=$!
wait $Pid
rm_status=$?
if [ $rm_status != 0 ] ; then
echo "The RM job returned status of "$rm_status
echo $0 "exiting."
exit 1
fi
# Switch to the Oracle user
su - ora110
# Mount the ASM instance
export ORACLE_SID=+RM0001
eval "sqlplus /nolog < /db/home/ora110/rman/mountasm.sql >>$LOGFILE"
&
# Change the CONTROL FILE type to backup type and mount the "replica"
database
export ORACLE_SID=orcl110
eval "sqlplus /nolog < /db/home/ora110/rman/convertcf.sql >>$LOGFILE"
&
# Catalog the archived redo logs generated during hot backup mode
eval "rman @/db/home/ora110/rman/catalog.sql >>$LOGFILE" &
exit 0
$ more /db/home/ora110/rman/create_replica.sh
$ more /db/home/ora110/rman/mountasm.sql
$ more /db/home/ora110/rman/convertcf.sql
$ more /db/home/ora110/rman/catalog.sql
290 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Snapshot Backups and Restores
The following shows a sample script used to perform postprocessing tasks on UNIX
or Linux, after a snapshot backup of Oracle ASM data has finished. The main
postprocessing script, postcmd, calls the unmount_replica.sh script.
You must specify the complete pathname of the main postprocessing script with the
POSTCMD parameter in the NMDA configuration file:
$ more postcmd
#!/bin/ksh
echo on
# This script unmounts the replica database
# If the replica cannot be unmounted, the script fails.
DATE=$(date +%Y%m%d)
LOGFILE=/db/home/ora110/rman/rm_rman_backup_$DATE.log
RM_HOME=/opt/emc/rm/gui
ORACLE_SID=orcl110
echo "*** Unmounting the Oracle database replica for $ORACLE_SID ****"
>> $LOGFILE
RM_COMMAND_LINE="$RM_HOME/rmcli host=bu-caspian.lss.emc.com
port=65432 login user=Administrator password=password
file=/db/home/ora110/rman/unmount_replica.sh >> $LOGFILE "
eval ${RM_COMMAND_LINE} &
Pid=$!
wait $Pid
rm_status=$?
if [ $rm_status != 0 ] ; then
echo "The RM job returned status of "$rm_status
echo $0 "exiting."
exit 1
fi
exit 0
$ more /db/home/ora110/rman/unmount_replica.sh
292 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
A
NMDA Parameters and
Configuration File
Note: Unless noted otherwise, the parameters are supported for both regular backups and
restores and PowerSnap snapshot backups and restores. The PowerSnap snapshot operations
are supported for DB2 and Oracle only.
If you perform client-side configuration (without the configuration wizard), then you
must set specific parameters for an NMDA scheduled or manual backup or an
NMDA restore, typically in the NMDA configuration file.
“NMDA configuration file” on page 294 provides details on the NMDA
configuration file and the exceptions to setting the parameters in the file.
“Common NMDA parameters” on page 296 describes the parameters that NMDA
uses for backups and restores of all the supported databases and applications.
The following sections describe the parameters that NMDA uses for backups and
restores of specific databases and applications only:
◆ “DB2-specific NMDA parameters” on page 303
◆ “Informix-specific NMDA parameters” on page 306
◆ “Lotus-specific NMDA parameters” on page 307
◆ “Oracle-specific NMDA parameters” on page 315
◆ “Sybase-specific NMDA parameters” on page 319
294 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
IMPORTANT
Ensure that the NMDA configuration file is stored in a secure location, and is
accessible by privileged users only. If possible, make this file readable and
writeable by the administrative or application user that performs the operation.
Note: The LOTUS_DAOS keyword is used only to set parameters for a Lotus DAOS
backup. The LOTUS_DAOS{} section must appear after the LOTUS{} section in the same
configuration file. “Configure an integrated Lotus DAOS backup” on page 98 provides
details on setting parameters in the LOTUS_DAOS{} section.
NSR_AES_ENCRYPTION Specifies whether the NetWorker server encrypts the • FALSE (default) = Data is not encrypted through
backup data through 256-bit AES encryption, which 256-bit AES encryption during the backup.
uses the key or pass phrase that is set in the Datazone • TRUE = Data is encrypted through 256-bit AES
pass phrase attribute of the NetWorker Server encryption during the backup.
resource.
Optional for a backup.
Be careful when you change the pass phrase on the
NetWorker server. If the pass phrase on the server is
changed and you cannot remember the pass phrase
originally used for an NMDA backup, the encrypted data
cannot be recovered. The EMC NetWorker
Administration Guide provides more information on
pass phrases.
296 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
NSR_CHECKSUM Specifies whether the NetWorker software performs • FALSE (default) = NetWorker software does not
checksumming on the backup data. perform checksumming.
Optional for a backup. • TRUE = NetWorker software performs
checksumming.
Note: If you restore an NMDA Sybase backup that was
created with NSR_CHECKSUM set to TRUE and a
“CRC mismatch” error occurs during the restore
(indicating that the restored data does not match the
backed-up data due to backup corruption), then the
error message is not printed to the screen as expected.
The error message is printed only in the
nmda_sybase.messages.raw file and the Sybase
Backup server error log.
NSR_CLIENT Specifies the NetWorker Client resource to use for a • Hostname of the physical host on which the session
backup or restore. runs (default).
Recommended for a backup or restore in a cluster, DB2 • Valid NetWorker client hostname.
DPF, Informix MACH 11, Oracle RAC, or Sybase ASE
Cluster Edition system, and for a redirected restore (to
a different host). Chapter 6, “Cluster Systems” provides
more details.
NSR_COMPRESSION Specifies whether the NetWorker software performs • FALSE (default) = The NetWorker software performs
compression on the backup data. no compression.
Optional for a backup. • TRUE = The NetWorker software performs
compression.
NSR_DATA_VOLUME_POOL Specifies the name of the NetWorker volume pool to • Most appropriate pool, selected by the NetWorker
use for the backup. server (default).
For PowerSnap snapshot backups (DB2 and Oracle • Valid name of a NetWorker volume pool.
only), specifies the volume pool for live backups only • For a manual Oracle backup, the name must be
(backups to secondary storage only). different from the name used by the parameter
Optional for a DB2, Informix, Lotus, or Sybase manual NSR_DATA_VOLUME_POOL1,
backup. NSR_DATA_VOLUME_POOL2, or
Mandatory for an Oracle manual backup that uses the NSR_DATA_VOLUME_POOL3.
set duplex command (with duplex set to 1, 2, 3, or 4)
or other RMAN commands to generate backup copies.
For an Oracle manual backup that generates backup
copies, set this parameter with the parms option in the
RMAN script (not with the send command or send
option.).
NSR_DEBUG_LEVEL Specifies the level of debug messages that NMDA • 0 (default) = Debug messages are not generated.
writes to the debug log file, located in the directory • 1 to 9 = Debug messages are written to the debug
specified by NSR_DIAGNOSTIC_DEST or in the log file (name has .log extension). The level of detail
default directory, /nsr/apps/logs (UNIX) or in the generated debug messages increases with
NetWorker_install_path\apps\logs (Windows). the debug level.
Note: Use this parameter for debugging purposes with
assistance from EMC Customer Support only.
NSR_DEDUP_BACKUP Specifies whether Avamar deduplication is performed • FALSE (default) = Avamar deduplication is not
during a manual NMDA backup. performed during an NMDA backup. Other
Mandatory for a manual Avamar deduplication backup. NSR_DEDUP* parameters are ignored.
Do not set this parameter for a scheduled Avamar • TRUE = Avamar deduplication is performed during
deduplication backup. an NMDA backup. If NSR_DEDUP_NODE is not
set, the backup fails.
Note: For a scheduled Avamar deduplication backup,
set the De-duplication Backup attribute in the
NetWorker Client resource, instead of setting this
parameter.
NSR_DEDUP_CACHE_ENABLED Specifies whether a hash cache is used during an • TRUE (default) = A hash cache is used to increase
Avamar deduplication backup. performance during an Avamar deduplication
Optional for an Avamar deduplication backup. backup. This value is recommended in most cases.
The nsravtar process creates the cache in the • FALSE = A hash cache is not used during an
/nsr/dedup/cache directory (or the equivalent directory Avamar deduplication backup. The parameter
on Windows). Use of the cache increases both the NSR_DEDUP_CACHE_TAG is ignored.
Avamar deduplication backup performance and disk
usage in the cache directory.
298 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
NSR_DEDUP_CACHE_TAG Specifies the tag to be used to generate the hash cache • Application-specific default value:
name for an Avamar deduplication backup. - For DB2 (non-PowerSnap backup):
Mandatory for Informix parallel deduplication backups <DB2_node_name>_<backup_session_number>,
when caching is enabled. where the backup session number is supplied by
Mandatory for an Oracle deduplication backup the DB2 server.
configured without the wizard. - For DB2 (PowerSnap backup): / (forward slash).
- For Informix: <XBSA objectName.pathName>,
Optional for a DB2, Lotus, or Sybase deduplication supplied by the IDS server.
backup. - For Lotus: Same value as the save set name.
For an Oracle deduplication backup: - For Oracle: / (forward slash); all RMAN channels
• If multiple channels are used on Windows, set this (concurrent backup processes will have the same
parameter with the send command (not the parms cache tag, which will cause the backup to fail).
option) in the RMAN script. - For Sybase: <database>_<stripe_number> if a
• If automatic channel allocation is used (and multiple database is provided for backup; otherwise,
channels are not used on Windows), set this <instance>_<stripe_number>.
parameter with the parms option (not the send Default value is the recommended value for all
command) in the RMAN script. application backups except Informix parallel
• Set this parameter to a different value for each backups and Oracle backups.
channel; if the same tag value is used for more than • String value of the tag that will generate a
one channel, the deduplication backup fails. deduplication cache name. Do not include the client
name in the value. Set the parameter to a different
value for each concurrent NMDA process.
• Recommended value for an Oracle backup:
<ORACLE_SID or Net_service_name>_<channel_ID>
For example: ORCL102_t1
NSR_DEDUP_CHUNK_SIZE Specifies the size in bytes that the Avamar server uses • 0 (default). Signifies that variable sizes are used for
for data chunks in a deduplication backup. the data chunks, as determined by the Avamar
If a nonzero value is specified, the Avamar server uses server. This value is recommended in most cases.
the fixed size for all of the data chunks saved in the • Size (greater than zero) in bytes to use for all of the
deduplication backup. data chunks in a deduplication backup; for example,
Optional for an Avamar deduplication backup. 1024, 2048, 5096, 8194, or a value recommended in
the Avamar documentation.
Note: Setting this parameter requires knowledge of the
potential effects on Avamar server operations.
NSR_DEDUP_NODE Specifies the hostname of the Avamar server that will • Undefined (default).
store the deduplicated client data. The hostname must • Avamar server hostname set in the NetWorker
be the same as the Avamar server hostname set in the De-duplication Node resource.
NetWorker De-duplication Node resource.
Mandatory for a manual Avamar deduplication backup.
Do not set this parameter for a scheduled Avamar
deduplication backup.
NSR_DEVICE_INTERFACE Specifies whether the backup should always be stored • By default, backup data is stored on the most
on the Data Domain device from the given pool. appropriate device from a given pool, as determined
Optional for manual deduplication backups with the by NetWorker.
Data Domain media type only. Set this parameter when • DATA_DOMAIN = Backup data is always stored on
the backup pool contains a mixture of Data Domain the Data Domain device.
devices and other types of devices, for example, AFTD,
tape, and so on.
Do not set for a scheduled deduplication backup. For a
scheduled deduplication backup, ensure that the Data
Domain Backup attribute is set in the NMDA Client
resource when the pool has mixed devices.
NSR_DIAGNOSTIC_DEST Specifies the directory location of all the NMDA log files, • By default, the NMDA log files are generated in the
including the debug, operational, and error logs. directory /nsr/apps/logs or
Optional for a backup or restore. NetWorker_install_path\apps\logs.
For an Oracle operation, set this parameter either in the • Valid directory pathname for the location where all
configuration file or with the parms option in the RMAN the NMDA log files are generated.
script (not with the send command or send option).
NSR_DIRECT_ACCESS Specifies the method used to perform a deduplication • Default (default) = Data Domain backup attempts to
backup to a NetWorker Data Domain device. use the client direct method that deduplicates data
This parameter is ignored during restores. on the NMDA host and sends unique blocks directly
“Deduplication backups and restores with Data to the Data Domain device. If the client direct
Domain” on page 27 provides information on restore method cannot be used, the backup is deduplicated
behavior. on the storage node.
• No = The client direct method is not attempted. The
Data Domain backup is deduplicated on the storage
node or the Data Domain device.
• Yes = Data Domain backup uses only the client
direct method. If this method cannot be used, the
backup fails.
NSR_DPRINTF Specifies whether NetWorker core debug messages • FALSE (default) = NetWorker core debug messages
are written to the NMDA debug log files, as described are not written to the NMDA debug log files.
for “NSR_DEBUG_LEVEL” on page 298. • TRUE = NetWorker core debug messages are
Optional for a backup or restore. Used for debugging written to the NMDA debug log files.
purposes with assistance from EMC Customer Support
only.
For an Oracle operation, set this parameter either in the
configuration file or with the parms option in the RMAN
script (not with the send command or send option).
NSR_ENCRYPTION_PHRASES Specifies one or more encryption phrases for • By default, an NMDA restore obtains the encryption
decrypting data during an NMDA restore. If this phrase from the Datazone pass phrase attribute of
parameter is not set, the NMDA restore obtains the the NetWorker Server resource, as described in
encryption phrase from the NetWorker server. “Datazone pass phrase” on page 61.
Optional for a restore. • One or more encryption phrases to use during an
If both of the following are true, set this parameter to the NMDA restore. Each phrase must be a string
phrase used to originally back up the data: enclosed in quotes. Multiple phrases must be
• The data that is being restored was backed up with separated by commas. For Oracle restores only, the
256-bit AES encryption. entire group of phrases must be surrounded by
outer quotes that are different from the inner quotes.
• The encryption phrase on the NetWorker server has For example, the parameter is set for an Oracle
changed since the data was backed up. restore:
For an Oracle restore, set this parameter with the send NSR_ENCRYPTION_PHRASES="’key1’,’key2’"
command in the RMAN script. - NMDA itself supports double ("), single (’), and
backward (‘) quotes.
- Certain shells, databases, or applications might not
support certain types of quotes.
300 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
NSR_NO_BUSY_ERRORS Specifies whether a backup or restore fails immediately • FALSE (default) = The backup or restore waits for
when the NetWorker server is busy or waits for the the NetWorker server to accept the connection.
NetWorker server to accept the connection. • TRUE = The backup or restore fails immediately
Optional for a backup or restore. when the NetWorker server is busy.
NSR_NWPATH Specifies the pathname of the directory that contains • Platform-specific default location of the NetWorker
the NetWorker binaries. client binaries (default).
Mandatory for the following Avamar deduplication • If an Avamar deduplication backup will be performed
backups: on 64-bit Windows, valid directory pathname of the
• Sybase deduplication backup on 64-bit Windows NetWorker client binaries.
• Any deduplication backup when 32-bit NMDA is • If NetWorker PowerSnap software (nsrsnapck
installed on 64-bit Windows binary) is installed in a nondefault location, valid
Mandatory for Oracle backup deletions if the NetWorker directory pathname of the PowerSnap binary.
client binaries are located in a nondefault directory on • If NetWorker client software (nsravtar binary) is
the Oracle Server host. installed in a nondefault location, valid directory
Recommended for a PowerSnap snapshot or pathname of the nsravtar binary.
deduplication backup or restore if any of the following is • If Sun-branded NetWorker software is used,
true: /usr/sbin/nsr.
• NetWorker PowerSnap software (nsrsnapck
binary) is installed in a nondefault location.
• NetWorker client software (nsravtar binary) is
installed in a nondefault location.
• Sun-branded NetWorker software is used.
NSR_PHYSICAL_HOST_LICENSE Specifies whether the NMDA software is licensed per • FALSE (default) = NMDA is licensed per virtual
cluster node or per virtual cluster name in an cluster name in the active-passive cluster.
active-passive cluster environment with NetWorker • TRUE = NMDA is licensed per cluster node in the
server 7.6 SP1 or later. active-passive cluster.
Optional in an active-passive cluster.
NSR_RECOVER_POOL Specifies the name of the NetWorker volume pool to • Pool determined by the NetWorker server (default).
use for a restore. You can use this option to restore • Valid name of a NetWorker volume pool that
data from a specified volume pool if there are multiple contains a cloned backup to use for a restore.
copies (clones) of the backup on different volume pools.
Optional for a restore. Supported for a regular restore
only, not a PowerSnap snapshot restore.
NSR_SAVESET_BROWSE Specifies the browse policy of a backup, as the date • Browse policy specified in the NetWorker Client
when the entry for the backup is to be removed from the resource for the client (default).
NetWorker client index. • Valid date in nsr_getdate(3) format.
Optional for a manual backup.
NSR_SAVESET_RETENTION Specifies the retention policy of a backup, as the date • Retention policy specified in the NetWorker Client
when the save set becomes recyclable. resource for the client (default).
Optional for a manual backup. • Valid date in nsr_getdate(3) format.
NSR_SERVER Specifies the hostname of the NetWorker server to • Hostname of the NetWorker server detected on the
perform the backup or restore. client host (default).
Mandatory for a manual backup or restore if the • Valid hostname of a NetWorker server.
NetWorker server host is different from the client host.
For an Oracle operation:
• If backup copies will be generated, set this
parameter with the parms option in the RMAN script
(not with the send command or send option).
• If backup copies will not be generated, set this
parameter with the send command or send option
in the RMAN script.
302 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
DB2_ALIAS Specifies the database alias of the DB2 database to be • Undefined (default).
backed up. This alias is typically the same as the • Valid DB2 Alias Name.
database name.
If not set, this parameter and the partition number are
derived from the DB2 save set name. The DB2 save
set will retain its current form of
DB2:/DB_NAME/NODEXXXX, where XXXX is the
partition number.
Optional for a DB2 scheduled backup only.
DB2_APPLY_NW_LEVELS Specifies whether backups are performed at the levels • FALSE (default) = Backup level set in the
specified in either the NMDA configuration file (for configuration file is used and mapped to the
example, nmda_db2.cfg) or in the NetWorker NetWorker schedule as follows:
Schedule resource. - DB2BACKUP_FULL is mapped to the full level in
Optional for a DB2 scheduled backup only. the schedule.
- DB2BACKUP_INCREMENTAL is mapped to the
incr level in the schedule.
- DDB2BACKUP_DELTA is mapped to whatever
level is set in the NetWorker schedule. If the
schedule does not specify a level from 1 to 9, then
level 9 is applied.
• TRUE = Backup is performed with the level defined
in the NetWorker schedule. Backup level set in the
configuration file is ignored. Levels in the
NetWorker schedule are mapped to DB2 levels as
follows:
- The full level is mapped to DB2BACKUP_FULL..
- The incr level is mapped to
DB2BACKUP_INCREMENTAL..
- The levels from 1 to 9 are mapped to
DDB2BACKUP_DELTA.
DB2INSTANCE (UNIX) Specifies the name (not the alias) of the DB2 instance • Undefined (default).
that contains the database to be backed up. • Valid name of the DB2 instance that contains the
Mandatory for a DB2 scheduled backup on UNIX only. database.
DB2_NODE_NAME Specifies the alias of the DB2 instance to which the • Undefined (default).
user must connect for the backup. • Valid alias of the DB2 instance. If the node you are
Mandatory for a DB2 scheduled backup only. usiing is through a local connection, specify the
instance name.
DB2_PARTITION_LIST Specifies which nodes to back up for a DPF backup. • Undefined (default). If not specified, the backup will
Optional for a DB2 DPF backup only. Set this back up a single node only.
parameter only for DB2 release 9.5 or later. • Value “all” or any integer that specifies an individual
node to back up. Use commas to separate multiple
integers.
DB2PATH (Windows) Specifies the path where the DB2 binaries are located. • Undefined (default).
Mandatory for a DB2 scheduled backup on Windows • Valid path where the DB2 binaries to be used for
systems only. the backup are located.
DB2_QUIESCE Specifies whether to quiesce the DB2 database during • FALSE (default) = DB2 database is not quiesced
a backup. during a backup.
Optional for a DB2 scheduled backup only. • TRUE = DB2 database is quiesced during a
backup.
304 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
DB2_USER Specifies the name of the DB2 user that connects to • Undefined (default).
the DB2 instance for the backup. The password of the • Valid DB2 username.
user is specified by the USER_PSWD parameter.
Mandatory for a DB2 scheduled backup only.
DB2_VENDOR_LIB_PATH Specifies the complete pathname of the NMDA shared • On UNIX systems, the default location is assumed
library on the DB2 host. if not specified. For example, on Solaris systems:
Path can point to various library versions to test and /usr/lib/libnsrdb2.so
evaluate hot fixes. • On Windows systems, the default path is obtained
Optional for a DB2 scheduled backup only. automatically from the registry.
INSTHOME (UNIX) Specifies the path where the DB2 binaries are located. • Undefined (default).
Mandatory for a DB2 scheduled backup on UNIX only. • Valid path where the DB2 binaries to be used for
the backup are located.
NSR_DR_BACKUP_INFO Specifies whether additional disaster recovery and • TRUE (default) = Additional disaster recovery and
support information is backed up along with a support information is backed up, as detailed in
scheduled backup. “DB2 disaster recovery” on page 185.
If the additional information fails to be backed up, an • FALSE = Additional disaster recovery and support
error message is generated but the backup is reported information is not backed up.
as successful.
Optional for a DB2 scheduled backup only. Note: The following parameters must also be set:
- DB2_ALIAS
- DB2PATH (Windows)
- INSTHOME (UNIX)
NSR_DR_FILE_LIST Specifies a file that contains a list of files to be backed • Undefined (default).
up in addition to the database backup. These files will • Valid complete pathname of the file (containing the
be backed up as part of the scheduled backup, before list of extra files to be backed up).
any postprocessing script (defined with POSTCMD) For example, NSR_DR_FILE_LIST is set to
runs. nmda_savelist.txt, which is a file that contains:
If the extra files fail to be backed up, an error message /space12/vendor.cfg
is generated.
/space12/db2inst1/sqllib/db2nodes.cfg
Optional for a DB2 scheduled backup only.
NSR_LOG_VOLUME_POOL Specifies the volume pool to use for a backup of the • Predefined NetWorker volume pool named Default
transaction logs. (default).
Optional for a DB2 backup. • Valid name of a NetWorker volume pool for the
transaction logs.
USER_PSWD Specifies the encrypted password for the DB2 user • Undefined (default).
that connects to the DB2 instance, as specified by the • Encrypted DB2 user password, which must be set
DB2_USER parameter. with the nsrdaadmin -P command, for example:
Mandatory for a DB2 scheduled backup only. nsrdaadmin -P -z
configuration_file
The EMC NetWorker Module for Databases and
Applications Command Reference Guide provides
details on the nsrdaadmin command.
DO_LOGFILE_BACKUPS Specifies whether to perform the logical log file backup • TRUE (default) = Logical log file backup is
after the dbspace backup. performed after the dbspace backup.
Optional for an Informix scheduled backup only. • FALSE = Logical log file backup is not performed
after the dbspace backup.
Note: If DO_WHOLE_SYSTEM_BACKUP is set to
TRUE, DO_LOGFILE_BACKUPS is ignored. Note: If DO_LOGFILE_BACKUPS is set to TRUE, the
onbar -b -l -c command is run after the backups of any
Informix dbspaces are completed.
DO_WHOLE_SYSTEM_BACKUP Specifies whether to back up the logical log files during • TRUE (default) = Logical log files are backed up
a scheduled backup. during a scheduled backup. This is equivalent to
Optional for an Informix scheduled backup only. running onbar with the -w option.
• FALSE = Logical log files are not backed up during
Note: If DO_WHOLE_SYSTEM_BACKUP is set to a scheduled backup.
TRUE, DO_LOGFILE_BACKUPS is ignored.
INFORMIXDIR Specifies the pathname of the directory where the • Undefined (default).
Informix RDBMS is installed. • Valid directory pathname of the Informix RDBMS
Mandatory for an Informix scheduled backup only. installation.
INFORMIXSQLHOSTS Specifies the name of the Informix SQL hosts file. • Undefined (default).
Mandatory for an Informix scheduled backup on UNIX • Valid name of the Informix SQL hosts file.
only.
Optional for an Informix scheduled backup on
Windows systems only.
306 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
NSR_DR_BACKUP_INFO Specifies whether an additional set of files is backed • TRUE (default) = The following additional
up along with a scheduled backup, as additional information is backed up with a scheduled backup:
disaster recovery and support information. - Informix ONCONFIG file
If the additional files fail to be backed up, an error - ixbar file
message is generated but the backup is reported as - onconfig boot file
successful. - sqlhosts file (UNIX only)
Optional for an Informix scheduled backup only. - sm_versions file
- Copy of Windows registry information under
Note: If Avamar deduplication is enabled, the boot file "HKEY_LOCAL_MACHINE\SOFTWARE\Informix"
(Windows only)
is not deduplicated.
• FALSE = The additional information is not backed
up with a scheduled backup.
NSR_DR_FILE_LIST Specifies a file that contains a list of files to be backed • Undefined (default).
up in addition to the database backup. These files will • Valid complete pathname of the file that contains
be backed up as part of the scheduled backup, before the list of extra files to be backed up.
any postprocessing script (defined with POSTCMD) For example, NSR_DR_FILE_LIST is set to
runs. nmda_savelist.txt, which is a file that contains a list
If the extra files fail to be backed up, an error message of the extra file pathnames.
is generated but the backup is reported as successful.
Optional for an Informix scheduled backup only. Note: NSR_DR_BACKUP_INFO must also be set to
TRUE to enable the NSR_DR_FILE_LIST setting.
NSR_LOG_VOLUME_POOL Specifies the volume pool to use for a backup of the • Predefined NetWorker volume pool named Default
logical logs. (default).
Optional for an Informix scheduled backup only. • Valid name of a NetWorker volume pool for the
logical logs.
LOTUS_USER Specifies the name of the Lotus Domino or Notes user. • Undefined (default).
Mandatory for a Lotus scheduled backup on UNIX and • Valid name of the Lotus Domino or Notes user.
Linux.
Notes_ExecDirectory Specifies the complete pathname of the Lotus Domino • Undefined (default).
or Notes directory that contains the application library. • Valid pathname of the Lotus Domino or Notes
Mandatory for a Lotus backup or restore. directory that contains the libnotes.xx or nnotes.dll
library file.
NSR_APPLY_LOGS Specifies whether to apply the transaction logs after a • TRUE (default) = Transaction logs are applied after
Lotus backup is restored. the backup is restored.
Optional for a Lotus restore. • FALSE = Transaction logs are not applied after the
backup is restored.
NSR_AUTO_RESTORE Specifies whether the Lotus database or file restore • FALSE (default) = Lotus database or file restore
occurs automatically without user interaction. occurs with user interaction.
Optional for a Lotus restore. • TRUE = Lotus database or file restore occurs
automatically without user interaction.
NSR_BACKUP_ALL_EXTENSIONS Specifies whether all Lotus files or only the default set • FALSE (default) = Only Lotus files with names
of Lotus files (with specific filename extensions) are ending in .box, .dic, .dsk, .id, .ncf, .njf, .nsf, and .ntf
backed up. and the notes.ini file in the specific directory are
Optional for a Lotus backup. backed up.
• TRUE = All Lotus files (with names ending in all
extensions) are backed up.
NSR_BACKUP_LEVEL Specifies the level of Lotus backup to perform. • full (default) = Perform a full backup.
Optional for a Lotus manual backup. Do not set this • incr = Perform an incremental backup.
parameter for a scheduled backup.
NSR_BACKUP_LOGS_MODE Specifies the level of transaction log backup to perform • 0 (default) = Transaction logs are not processed.
during a full backup. • 1 = Transaction logs are backed up and marked as
Optional for a Lotus full backup only. Ignored for an reusable.
incremental backup. • 2 = Transaction logs are marked as reusable, but
are not backed up.
Note: Transaction logs are always backed up during a
Lotus incremental backup. Note: Use the NSR_BACKUP_LOGS_MODE = 2
setting with extreme caution. With this setting, the
transaction logs are not backed up and will be recycled
by the Domino server. When a log backup is missing,
you might not be able to recover a database to any
point in time; only the restore to the time of a given
backup is guaranteed.
NSR_BACKUP_LOTUS_DIR Specifies whether files in the Lotus Domino or Notes • FALSE (default) = Lotus directories and files
data directory are backed up. specified with NSR_BACKUP_PATHS are backed
• On UNIX systems, the data directory is defined as up.
the first Lotus data directory that NMDA finds in the • TRUE = Lotus data directory is backed up. On
parameter PATH. Windows systems, the notes.ini file is included in
• On Windows systems, the data directory is defined the backup, whether or not it resides in the default
as the first Lotus data directory that NMDA finds in data directory.
the Windows registry.
Optional for a Lotus backup. Note: The NSR_BACKUP_ALL_EXTENSIONS setting
determines whether all Lotus files or only the default
Note: You cannot use this parameter with the set of Lotus files (with specific filename extensions) in
NSR_BACKUP_PATHS parameter. the Lotus data directory are backed up.
308 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
NSR_BROWSELIST_CACHE_DEST Specifies the complete pathname of a directory to • By default, the browselist file is created in this
contain the browselist file, a temporary file that stores directory:
browselist data during a backup. - /nsr/apps/tmp (UNIX)
The first 10 MB of generated browselist data is stored - NetWorker_install_path\apps\tmp (Windows)
in a memory cache. Additional browselist data is • Valid complete pathname of a directory on a
stored in the browselist file on disk, named writable device that will contain the browselist file.
BrowselistCache_PID[_PID], where PID is the process
ID. The browselist file is deleted when the backup
ends or is terminated in a controlled manner.
Optional for a Lotus backup.
NSR_CATALOGFILE Specifies the complete pathname of the backup • If not specified, the backup catalog file is not
catalog file, which contains detailed information about generated (default).
each file that is backed up. The information is • Valid complete pathname of a backup catalog file.
appended to the file after each backup. The directory path to the file must exist. The file is
created during the backup if it does not exist.
Note: The catalog file does not list the files from an
integrated DAOS backup, but does list the files from a
stand-alone DAOS backup. The catalog file also
includes all the other details for a DAOS backup, same
as for other Lotus backups.
NSR_COMFORT_SPAN Specifies the comfort span value to use for an • Undefined (default).
incremental backup. “Comfort span” on page 96 • Integer value between 65536 and 65536000,
provides details on the comfort span. inclusive.
Optional for a Lotus incremental backup.
NSR_CROSS_MOUNT_POINTS Specifies whether the NMDA software crosses mount • FALSE (default) = Lotus backup does not cross
points during a Lotus backup. mount points.
Optional for a Lotus backup. • TRUE = Lotus backup crosses mount points.
NSR_DBIID Specifies that NMDA assigns either a new DBIID, or • Undefined (default).
both a new DBIID and new replica ID, to a restored • 1 = A new DBIID is assigned to the restored
database. database.
Optional for a Lotus restore. • 2 = A new DBIID and a new replica ID are assigned
to the restored database.
NSR_EXCLUDE_FILE Specifies the complete pathname of a file that lists file • If not specified, then no pathnames are excluded
pathnames to exclude from the Lotus backup. from the backup paths that the user specifies.
Optional for a Lotus backup. • Valid complete pathname of a file that lists file
“Wildcard support for Lotus operations” on page 313 paths to exclude from the Lotus backup.
provides details on using wildcards in the pathnames.
NSR_EXCLUDE_LIST Specifies the pathnames of database files or • If not specified, then no pathnames are excluded
directories to exclude from the Lotus backup. If a from the backup paths that the user specifies.
directory is specified, then all its data (including all • Valid pathnames of one or more database objects
subdirectories) is excluded from the backup. to exclude from the Lotus backup, with multiple
Optional for a Lotus backup. names being separated by commas.
“Wildcard support for Lotus operations” on page 313
provides details on using wildcards in the pathnames.
NSR_FOLLOW_LINKS Specifies which of the following actions occur when • TRUE (default) = Both the Lotus link files and the
Lotus link files are to be backed up or restored: data files or directories that the links point to are
• Both the Lotus link files and the data files or backed up or restored.
directories that the link files point to are backed up • FALSE = Only the Lotus link files are backed up or
or restored. restored.
• Only the Lotus link files are backed up or restored.
Optional for a Lotus backup or restore.
NSR_LOG_DIR Specifies the complete pathname of the log directory • Undefined (default).
of a partitioned Domino server for disaster recovery • Valid complete pathname of the log directory.
only.
Optional for a Lotus restore.
NSR_LOTUS_DATA_DIR Specifies the complete pathname of the directory that • Undefined (default).
contains the Lotus Notes data. • Valid complete pathname of the directory that
Optional for a Lotus backup. Required for a partitioned contains the Lotus Notes data.
Domino server or multiple Domino installations.
310 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
NSR_MAX_TXN_LOGS Specifies the number of transaction logs that are • 10 logs per save set (default).
stored in a single save set during a Lotus backup. • Integer number of logs per save set.
The logs are marked reusable after the successful
backup of all the logs in the save set. If a backup fails,
then none of the logs from the incomplete save set are
marked reusable.
Optional for a Lotus backup of transaction logs.
NSR_NO_NOTES_INIT Specifies whether the Notes API is initialized during a • FALSE (default) = Notes API is initialized during the
disaster recovery. disaster recovery.
Optional for a Lotus restore. • TRUE = Notes API is not initialized during the
disaster recovery.
NSR_NOTES_CONNECT_TIMEOUT Specifies a timeout value in seconds during which • 30 (default); signifies a timeout of 30 seconds.
NMDA retries a Lotus backup in either of the following • Integer value of timeout in seconds.
cases:
• A Lotus database is offline while the Domino server
runs a fixup command against the database.
• In-place compaction of a Lotus database is in
progress on the Domino server.
NMDA cannot back up a database in either of these
cases. NMDA retries the database backup after every
five seconds, until either the database becomes
accessible or the timeout is reached. If the timeout is
reached first:
• If NSR_SKIPDBERRORS = TRUE, NMDA skips
the database and proceeds to back up the next
database.
• If NSR_SKIPDBERRORS = FALSE, NMDA fails
the backup with an error.
Optional for a Lotus backup.
NSR_NOTES_INI_PATH Specifies the complete pathname of the notes.ini file, • Undefined (default).
including the filename. • Valid complete pathname of the notes.ini file.
Recommended for a Lotus backup or restore.
NSR_PARALLELISM Specifies the maximum number of concurrent backup • Value determined by the NetWorker server, based
or restore streams that can be sent to or from the on the NetWorker client and server parallelisms
NetWorker server during a backup or restore. (default).
Optional for a Lotus backup or restore. • Integer number of the maximum concurrent backup
or restore streams.
NSR_PREFETCH_LOGS Specifies the number of transaction log files that the • 0 (default) = NMDA does not prefetch extra logs.
NMDA software retrieves in advance when it is NMDA restores only a log that is requested by
applying logs to a restored Lotus database. Domino.
Optional for a Lotus restore. • Integer number of transaction logs retrieved in
advance, typically the number of logs backed up in
a single backup.
NSR_RECOV_INTERACT Specifies the default overwrite response when the • Undefined (default).
name of a file being restored conflicts with an existing • n = Do not restore the current file.
filename. • N = Do not restore any files with conflicting names.
The value of the parameter must be a single letter: No prompts appear.
• If the letter is lowercase, it applies to the current file • y = Overwrite the existing file with the restored file.
only, and the overwrite prompt continues to appear • Y = Overwrite all existing files with conflicting
for subsequent files. names. No prompts appear.
• If the letter is uppercase, it applies to all the files • r = If restoring a logged database, do not rename
being restored and no prompts appear unless as the existing file, and restore the backed-up file with
specified for the R value. a name that begins with a tilde (~). If restoring a
Optional for a Lotus restore. database that is not logged, rename the existing file
by adding a tilde to the start of the filename, and
restore the backed-up file with its original name.
• R = Apply the actions of the r option to all existing
files with conflicting names. No prompts appear.
NSR_RECOV_LIST_FILE Specifies the complete pathname of a file that lists the • Undefined (default).
files or directories to restore. • Valid complete pathname of a file that lists Lotus
Optional for a Lotus restore. Notes files or directories to restore. The file must
contain one pathname per line, without any
Note: You cannot use this parameter with the commas or other punctuation.
NSR_BACKUP_PATHS parameter.
NSR_RECOVER_TIME Specifies the point in time to which a database will be • By default, NMDA recovers the following:
recovered. - Recovers a database in archived log mode to the
Optional for a Lotus restore or recovery. current time.
“Setting the NSR_RECOVER_TIME parameter” on - Restores a database not in archived log mode to
page 314 provides details on setting this parameter. the most recent available backup.
• Valid time in nsr_getdate(3) format.
NSR_RESOURCE_DIR Specifies the location of the directory that contains the • Undefined (default).
Lotus resource files. • Valid complete pathname of the Lotus directory that
Mandatory for a Lotus backup on UNIX only. contains the resource files.
NSR_RETAIN_NUM_LOGS Specifies the number of archived transaction logs to • 0 = Mark all transaction logs reusable after a
retain after a Lotus backup without marking them backup (default).
reusable. • 1 or greater = Number of transaction logs to retain
Optional for a Lotus backup. without marking them reusable. If the number is
greater than the number of logs involved in the
backup, retain all the logs without marking them
reusable.
NSR_SAVESET_NAME Specifies the base name for the save sets of a Lotus • Undefined (default).
DAOS backup. If more than one save set is created, • Base name to use for DAOS backup save sets, for
NMDA appends a numeric extension to the name to example, notes_DAOS.
create the additional save set names.
Optional for a Lotus DAOS backup only.
312 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
NSR_SKIPDBERRORS Specifies whether NMDA continues a Notes database • FALSE (default) = NMDA does not continue a
backup if a noncritical error is encountered while Notes database backup if a noncritical error is
backing up Notes database files (not flat files). encountered.
A noncritical error is one that allows NMDA to recover • TRUE = NMDA continues a Notes database
from the problem, and to continue operations without backup if a noncritical error is encountered.
compromising the backup data integrity. A noncritical
error occurs when NMDA cannot access a Notes Note: If NSR_SKIPDBERRORS is set to TRUE, check
database while generating a list of files to back up. In the output log after a backup to see if any databases
this case, the file is skipped and the backup continues. were skipped due to errors.
A critical error occurs later if NMDA cannot access the
file while trying to read the data to be saved. This error
is critical because NMDA cannot safely skip the file
and continue.
During the backup of multiple databases,
NSR_SKIPDBERRORS enables NMDA to skip the
backup of problematic databases while continuing to
back up good databases.
Optional for a Lotus backup.
NSR_VERBOSITY Specifies whether NMDA prints a list of backed-up or • TRUE (default) = Successfully backed-up or
restored files to standard output or to the NetWorker recovered pathnames are written to standard
User for Lotus GUI. output or to the NetWorker User for Lotus GUI.
Optional for a manual backup or restore. • FALSE = Successfully backed-up or recovered
pathnames are not written to standard output or to
the NetWorker User for Lotus GUI.
NSR_XBSA_DEBUG Specifies whether debug messages from the • FALSE (default) = XBSA library debug messages
NetWorker XBSA library are written to the NMDA are not written to the NMDA Lotus log.
Lotus log at the level set by NSR_DEBUG_LEVEL, • TRUE = XBSA library debug messages are written
described in “NSR_DEBUG_LEVEL” on page 298. to the NMDA Lotus log.
Optional for a backup or restore.
PATH Specifies the pathnames of the Domino data directory • Undefined (default).
and Lotus software directory. • Valid directory pathnames of the Domino data
Recommended for a Lotus backup or restore. directory and the directory where the Lotus binaries
are installed.
For example:
• *.nsf matches abc.nsf and a.nsf, but not data.ntf.
• *.n?f matches abc.nsf, a.nsf, and data.ntf, but not test.nf.
• * matches all filenames.
• ?.nsf matches a.nsf, b.nsf, and c.nsf, but not ab.nsf.
◆ For NSR_BACKUP_PATHS, a wildcard can be used in the last component only of
a pathname. For example, the following includes an invalid pathname that the
NMDA software cannot expand:
NSR_BACKUP_PATHS = /local/*/*.nsf
This restriction does not apply to the exclusion of files from backup through the
NSR_EXCLUDE_LIST or NSR_EXCLUDE_FILE parameter or the wizard. The
following pathname is valid and supported by the NMDA software:
NSR_EXCLUDE_LIST = /local/*/*.nsf
This setting excludes all the files under /local and its subfolders with filenames
such as address.nsf and nmda_d5.nsf.
NOTES:/C:/IBM/Lotus/Domino/data/test_file.nsf, date=1304540291
2011/05/04 16:18:11
NOTES:/C:/IBM/Lotus/Domino/data/test_file.nsf, date=1304453871
2011/05/03 16:17:51
NOTES:/C:/IBM/Lotus/Domino/data/test_file.nsf, date=1304367455
2011/05/02 16:17:35
314 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
Setting NSR_RECOVER_TIME to any time between the start and end time of a
backup (for example, between 1304453871 and 1304458034 for the May 3rd backup)
might cause the following error to be generated when recovering a logged database:
Backup was later than recovery point in time
To prevent this error, ensure that NSR_RECOVER_TIME is set to a time outside of
the backup window.
Note: The parameter cannot be set to a value earlier than the time of the first backup because
the client file index does not have any entries before that time.
Note: With Oracle version 11gR2 or later, use parms ‘SBT_PARMS=(...)’ instead of
parms ‘ENV=(...)’.
Note: On Windows systems, this does not occur if the parameters are set with the send
command in all RMAN sessions.
NSR_DATA_VOLUME_POOL1 Specifies the name of the volume pool to use for a • Undefined (default).
duplexed Oracle backup. • Valid NetWorker pool name that is different from the
Mandatory for an Oracle manual backup that uses the name used by the parameter
set duplex command (with duplex set to 2, 3, or 4) or NSR_DATA_VOLUME_POOL,
other RMAN commands to generate two or more NSR_DATA_VOLUME_POOL2, or
backup copies. NSR_DATA_VOLUME_POOL3.
Set this parameter with the parms option in the RMAN
script (not with the send command or send option).
NSR_DATA_VOLUME_POOL2 Specifies the name of the volume pool to use for a • Undefined (default).
duplexed Oracle backup. • Valid NetWorker pool name that is different from the
Mandatory for an Oracle manual backup that uses the name used by the parameter
set duplex command (with duplex set to 3 or 4) or NSR_DATA_VOLUME_POOL,
other RMAN commands to generate three or more NSR_DATA_VOLUME_POOL1, or
backup copies. NSR_DATA_VOLUME_POOL3.
Set this parameter with the parms option in the RMAN
script (not with the send command or send option).
NSR_DATA_VOLUME_POOL3 Specifies the name of the volume pool to use for a • Undefined (default).
duplexed Oracle backup. • Valid NetWorker pool name that is different from the
Mandatory for an Oracle manual backup that uses the name used by the parameter
set duplex command (with duplex set to 4) or other NSR_DATA_VOLUME_POOL,
RMAN commands to generate four backup copies. NSR_DATA_VOLUME_POOL1, or
Set this parameter with the parms option in the RMAN NSR_DATA_VOLUME_POOL2.
script (not with the send command or send option).
NSR_MMDB_RETRY_TIME Specifies the number of minutes that NMDA should try • 0 (default) = NMDA does not try to reconnect to the
to connect to the NetWorker media database before media database if the first attempt fails.
terminating the operation (backup, restore, or RMAN • Valid integer = Number of minutes that NMDA tries
maintenance commands). When the media database is to connect to the media database.
busy, NMDA tries to reconnect after sleeping for five
seconds between attempts.
Optional for an Oracle backup or retore.
316 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
NSR_NO_MULTIPLEX When set for a specific RMAN channel, specifies • FALSE (default) = Multiplexing is enabled on the
whether multiplexing is disabled during a backup on the device that the RMAN channel is using.
NetWorker device that the RMAN channel is using. If • TRUE = Multiplexing is disabled on the device that
multiplexing is disabled, no other save sets can be the RMAN channel is using.
written to the device.
Optional for an Oracle backup. Note: Do not set this parameter to TRUE if you use a
To optimize restore operations, RMAN requires Oracle random access NetWorker device, such as an
backups not to be multiplexed. advanced file device.
Setting the parameter to TRUE may affect the backup
performance. For example, the device may sit idle
during part of the backup. If the performance is
adversely affected, reset the parameter to FALSE.
NSR_RETENTION_DISABLED Specifies whether the NetWorker browse and retention • FALSE (default) = NetWorker browse and retention
policies are disabled. policies are enabled and used to manage the
Optional for an Oracle backup. lifecycle of the NMDA backup data.
Set this parameter to TRUE to use Oracle policies only • TRUE = NetWorker browse and retention policies
(not NetWorker policies) to manage the backup data are disabled. Only Oracle policies are used to
lifecycle. Then the RMAN catalog and NetWorker manage the lifecycle of the NMDA backup data.
indexes cannot become unsynchronized, for example,
when a NetWorker index entry is expired but the
corresponding RMAN catalog entry is not expired.
NSR_RMAN_ARGUMENTS Specifies any valid combination of options for the • Undefined (default).
RMAN executable, rman(.exe). The appropriate Oracle • String that contains any valid combination of options
Recovery Manager documentation provides details on for the RMAN executable, rman(.exe).
the valid options. For example, set the parameter to append RMAN
Optional for an Oracle scheduled backup. output to message log file /nsr/apps/logs/msglog.log
Set this parameter in the configuration file only. if a Recovery Catalog is not used:
NSR_RMAN_ARGUMENTS=nocatalog
msglog ’/nsr/apps/logs/msglog.log’
append
NSR_SERVER_NIC Specifies the name of a network interface card (NIC) on • Undefined (default).
a NetWorker server. • Valid name of a NetWorker server NIC.
Optional for an Oracle backup or restore.
When this parameter is set with the RMAN send
command for an allocated channel, its value overrides
the NSR_SERVER setting for that channel only.
ORACLE_HOME Specifies the home directory pathname of the Oracle • Undefined (default).
Server installation. • Valid pathname of the home directory of the Oracle
Mandatory for an Oracle scheduled backup. Server installation.
Set this parameter in the configuration file only.
ORACLE_SID Specifies the system identifier (SID) value of the Oracle • Undefined (default).
database to be backed up. • Valid SID value of the Oracle database to be backed
Mandatory for an Oracle scheduled backup in the up.
following cases: For example, if catalog synchronization is enabled
• The connect target and connect rcvcat for PowerSnap snapshot backups, and orcl10 is the
commands for the scheduled backup are stored in a SID of the Oracle database to be backed up:
separate file, and the connect commands are ORACLE_SID=orcl10
invoked in the RMAN script by using the @
command.
• Save set bundling is enabled for the scheduled
backup.
• A PowerSnap snapshot backup is performed with
catalog synchronization enabled. Chapter 8,
“Snapshot Backups and Restores,” provides details
on PowerSnap snapshot backups.
• Oracle operating system authentication is used on
UNIX or Linux. ORACLE_USER must also be set,
as described in “ORACLE_USER (UNIX)” on
page 318.
Set this parameter in the configuration file only.
ORACLE_USER (UNIX) To enable a scheduled backup for operating system • Undefined (default).
authentication, specifies the username of the Oracle • Valid username of the Oracle operating system user
operating system user that is set up to connect to the that is set up to connect to the Oracle database
Oracle database through operating system through operating system authentication.
authentication. ORACLE_SID must also be set, as
described in “ORACLE_SID” on page 318.
Optional for an Oracle scheduled backup in a
client-side configuration (configured with the NMC
method, not the wizard) on UNIX systems only.
Set this parameter in the configuration file only.
TNS_ADMIN Specifies the directory pathname of the Oracle Net • Undefined (default).
configuration files. • Valid pathname of the directory that contains the
Mandatory for an Oracle scheduled backup if Oracle Oracle Net configuration files.
Net configuration files are located in a directory other
than the default $ORACLE_HOME/network/admin
directory.
Set this parameter in the configuration file only.
318 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
LD_LIBRARY_PATH Specifies the directory pathname of the Open Client • Undefined (default).
Server (OCS) library. • Directory pathname of the OCS library, which must
Mandatory for a Sybase scheduled backup on the be the same value as set in the SYBASE.sh or
following platforms: SYBASE.csh script.
• HP-UX Itanium
• Linux AMD64/EM64T
• Solaris SPARC
Optional for a Sybase manual backup on these
platforms.
For a Sybase manual backup, this parameter can
alternately be set as an environment variable.
LD_LIBRARY_PATH_64 Specifies the directory pathname of the Open Client • Undefined (default).
Server (OCS) library. • Directory pathname of the OCS library, which must
Mandatory for a Sybase scheduled backup on Solaris be the same value as set in the SYBASE.sh or
AMD64/EM64T. SYBASE.csh script.
Optional for a Sybase manual backup on Solaris
AMD64/EM64T.
For a Sybase manual backup, this parameter can
alternately be set as an environment variable.
LIBPATH Specifies the directory pathname of the Open Client • Undefined (default).
Server (OCS) library. • Directory pathname of the OCS library, which must
Mandatory for a Sybase scheduled backup on AIX. be the same value as set in the SYBASE.sh or
Optional for a Sybase manual backup on AIX. SYBASE.csh script.
For a Sybase manual backup, this parameter can
alternately be set as an environment variable.
NSR_ASE_VERIFY Specifies one of the following options for backup • Undefined (default).
verification: • One of the following values:
• full - full = Verify both the header information and rows
• header structure (full verification of the backup).
Optional for a Sybase backup only. - header = Verify the page header information only.
For example, the following specifies a full
verification of the backup:
NSR_ASE_VERIFY=full
NSR_BACKUP_LEVEL Specifies the level of Sybase manual backup to • full (default) = A full level backup is performed,
perform. which backs up the database.
Optional for a Sybase manual backup. Do not set this • incr = An incremental level backup is performed,
parameter for a scheduled backup. which backs up the transaction logs.
NSR_BACKUP_PATHS Specifies the backup of either the entire Sybase server • Undefined (default).
instance, or one or more Sybase databases. • Valid pathnames in either of the following forms,
Mandatory for a Sybase manual backup only. with multiple database names being separated by a
comma:
Note: Do not specify both an instance name and a list SYBASE:/ASE_server_name (backs up the entire
of databases. server instance)
SYBASE:/ASE_server_name/database_name
[,SYBASE:/ASE_server_name/database_name...]
NSR_DUMP_LOG_OPT Specifies options for the transaction log backup in case • Undefined (default).
of an emergency, such as a lack of free log space or a • One of the following values:
failed media database. - “no_log” = Truncate the transaction log without
Optional for a Sybase backup only. recording the operation.
“Sybase transaction log backups” on page 110 - “no_truncate” = Back up the transaction log
provides more details on using the options for without truncating it.
transaction log backups. - “truncate_only” =Truncate the transaction log
without backing it up.
Note: This parameter should be set only when there is For example, the following specifies to back up the
an emergency during the transaction log backup. transaction log without truncating it:
NSR_DUMP_LOG_OPT=”no_truncate”
NSR_EXCLUDE_FILE Specifies the complete pathname of a file that lists • Undefined (default).
databases to exclude from a backup of a Sybase • Valid complete pathname of an ASCII file that lists
server instance. the databases to exclude from the backup of the
Optional for a Sybase backup of a server instance. server instance. The file lists each database on a
separate line in the following format:
Note: Do not specify this parameter for a Sybase SYBASE:/ASE_server_name/database_name
backup of one or more databases.
320 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
NMDA Parameters and Configuration File
NSR_LOG_VOLUME_POOL Specifies the volume pool to use for a backup of the • Predefined NetWorker volume pool named Default
transaction logs. (default).
Optional for a Sybase backup. • Valid name of a NetWorker volume pool for the
transaction logs.
Note: The metadata from a transaction log backup is
backed up to a regular (non-log) volume pool. “Volume
pools for incremental Sybase backups” on page 110
provides details.
NSR_PROMOTE_FULL Specifies whether to promote an incremental backup • TRUE (default) = Promote an incremental backup
to a full backup when an incremental backup cannot be to a full backup if an incremental backup cannot be
performed. performed.
Optional for a Sybase backup only. • FALSE = Do not promote an incremental backup to
a full backup if an incremental backup cannot be
performed.
SHLIB_PATH Specifies the directory pathname of the Open Client • Undefined (default).
Server (OCS) library. • Directory pathname of the OCS library, which must
Mandatory for a Sybase scheduled backup on HP-UX be the same value as set in the SYBASE.sh or
PA-RISC. SYBASE.csh script.
Optional for a Sybase manual backup on HP-UX
PA-RISC.
For a Sybase manual backup, this parameter can
alternately be set as an environment variable.
SYBASE Specifies the pathname of the directory where the • Undefined (default).
Sybase ASE software is installed. • Valid directory pathname for the Sybase ASE
Mandatory for a Sybase backup or restore. software installation.
Set the parameter through the required method:
• For a scheduled backup, set it in the configuration
file.
• For a manual backup, set it in either the
configuration file or the environment.
• For a restore, set it in the environment.
SYBASE_USER Specifies the name of the Sybase user that connects • Undefined (default).
to the Sybase server instance for the backup. The • Valid Sybase username.
password of the user is specified by the USER_PSWD
parameter.
Mandatory for a Sybase backup.
USE_CONSISTENCY_CHECK Specifies whether the nsrsybcc command performs a • FALSE (default) = Database consistency check
database consistency check before a backup occurs. command, nsrsybcc, is not run before a backup.
Optional for a Sybase scheduled backup only. • TRUE = Database consistency check command,
nsrsybcc, is run before a backup. The specific
checks performed depend on the DBCCOPT
setting.
USER_PSWD Specifies the encrypted password for the Sybase user • Undefined (default).
that connects to the Sybase server instance, as • Encrypted Sybase user password, which must be
specified by the SYBASE_USER parameter. set through the nsrdaadmin -P command, for
Mandatory for a Sybase backup only if the Sybase example:
instance has a password. nsrdaadmin -P -z
configuration_file
The EMC NetWorker Module for Databases and
Applications Command Reference Guide provides
details on the nsrdaadmin command.
322 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
B
Oracle RMAN
Commands
This appendix includes the following major sections, which describe Oracle RMAN
commands that you can use in the RMAN scripts for Oracle backups and restores:
◆ The pool option of the backup command................................................................ 324
◆ The send command..................................................................................................... 324
If any nonzero value is specified for the pool option of the RMAN backup command,
the RMAN session terminates and NMDA returns the following error message:
sbtbackup: Oracle pools are not supported
“NMDA Oracle-specific error messages” on page 347 provides more information on
this error message.
To specify the NetWorker volume pool that NMDA will use, set the parameter
NSR_DATA_VOLUME_POOL in the RMAN script. Appendix A, “NMDA
Parameters and Configuration File,” provides more information.
Note: In the following sections, brackets ([]) are used to denote the optional portions of a
command, for example, command options and corresponding settings. When typing the
command, do not include the brackets.
Syntax rules
The send command must have the following format:
send [ device_type ’device_specifier’ | channel channel_id ]
’NSR_ENV=(name1=value1 [, name2=value2, ...])’
These sections describe the syntax rules for the two main parts of the send command:
◆ “The send command string” on page 325
◆ “The send command options” on page 325
324 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Oracle RMAN Commands
IMPORTANT
You can use the device_type or the channel option in the send command in an
RMAN script only. You cannot use either option in the send command on the
operating system command line. “The send command on the operating system
command line” on page 326 provides more information.
In the following sample script, the parameters are set for channel t1 only, not for
channel t2:
run {
allocate channel t1 type ’SBT_TAPE’;
allocate channel t2 type ’SBT_TAPE’;
send channel t1 ’NSR_ENV=(NSR_SERVER=server1,
NSR_DATA_VOLUME_POOL=MondayFulls)’;
:
}
This sample RMAN script is referenced in Table 38 on page 326.
Table 38 on page 326 lists the values for options used with the send command. The
example referred to is Example 47 on page 326.
device_specifier The device type as specified in an allocate channel command in the RMAN script. For a
backup tape device, use SBT or SBT_TAPE.
channel_id The channel identifier as specified in an allocate channel command in the RMAN script. In
the example, the identifier is t1.
name1 The first NMDA parameter name. In the example, the first parameter name is
NSR_SERVER.
value1 The value assigned to the first parameter. In the example, the first value is server1.
name2 The second NMDA parameter name. In the example, the second parameter name is
NSR_DATA_VOLUME_POOL.
value2 The value assigned to the second parameter. In the example, the second value is
MondayFulls.
326 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Oracle RMAN Commands
◆ Use two sets of quotes around the command string, each set consisting of a single
and double quote. The single quote can be either before or after the double quote,
but the second set of quotes must be opposite to the first set. For example, this
command is also correct:
rman send ’”NSR_ENV=(name1=value1[, name2=value2, ...])”’
Two sets of quotes are required to prevent some operating system shells (for
example, ksh) from treating spaces inside the quotes as meta (special) characters
and attempting to tokenize the string.
◆ The parameter values in the quoted string are applied to all channels allocated
during the RMAN session. These values are applied before any parameter values
specified in send commands within the RMAN script itself. “Precedence rules”
on page 328 provides more information.
Precedence rules
Parameters are set for channels allocated during the RMAN session in the following
order:
1. In the parms option in the allocate channel or configure channel command
(configure channel is used only for automatic channel allocation).
Note: With Oracle version 11gR2 or later, if you use both ‘SBT_PARMS=(...)’ and
‘ENV=(...)’ with the parms option, parameters set with parms ‘ENV=(...)’ are ignored.
IMPORTANT
If both the send command on the operating system command line and the send
option in the configure channel command are used at the same time, Oracle
executes only the send option in the configure channel command.
To prevent confusion and simplify the task of setting parameters in a specific order,
do not mix these different ways of setting parameters in the same RMAN session.
In the following example, the parameters NSR_SERVER and NSR_CLIENT are set in
this order:
◆ NSR_SERVER is set to server1 (by rman send), changed to server2 (by the first
send command), and finally changed to server3 (by send channel).
◆ NSR_CLIENT is set to client1 (by rman send), changed to client2 (by the first
send command), and finally changed to client3 (by send channel):
rman send ”’NSR_ENV=(NSR_SERVER=server1, NSR_CLIENT=client1)’”
(RMAN script:)
run {
allocate channel t1 type ’SBT_TAPE’;
send ’NSR_ENV=(NSR_SERVER=server2, NSR_CLIENT=client2)’;
send channel t1 ’NSR_ENV=(NSR_SERVER=server3,
NSR_CLIENT=client3)’;
}
328 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
C
Troubleshooting and
Error Messages
330 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
3. Ensure that you can perform a manual backup with NMDA according to the
instructions in “Performing a manual NMDA backup” on page 119.
4. Ensure that you can perform a scheduled backup with NMDA according to the
instructions in “Performing a scheduled NMDA backup” on page 116.
Note: When 32-bit NMDA is installed on a 64-bit Windows system, the logs generated by the
32-bit NMDA software are stored in the NetWorker_client_install_dir\nsr\apps\logs directory
instead of the C:\Program Files\Legato (x86)\nsr\apps\logs directory where NMDA is
installed.
As a workaround, set the NSR_DIAGNOSTIC_DEST parameter to the pathname of the
preferred logs directory, for example:
NSR_DIAGNOSTIC_DEST=C:\Program Files\Legato (x86)\nsr\apps\logs
Backup hangs
If the backup hangs, the NetWorker server might be temporarily unavailable at the
start of the backup. The backup waits until the NetWorker server becomes available.
As a solution, edit the NMDA configuration file or (for Oracle backups only) the
RMAN backup scripts, and set this parameter to TRUE:
NSR_NO_BUSY_ERRORS=TRUE
“NSR_NO_BUSY_ERRORS” on page 301 describes this parameter.
If the NSR_NO_BUSY_ERRORS parameter is set to TRUE and the backup still hangs,
determine if the nsrexecd program is running as follows:
# ps -ef | grep nsrexecd
If nsrexecd is not running, start the program with the following command:
# nsrexecd
332 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
◆ oracle
◆ sybase
NMDA generates error messages in the nmda_app.messages.raw file in a
language-independent form, readable by the nsr_render_log program only.
The EMC NetWorker Administration Guide provides information on how to use the
nsr_render_log program to read any language-independent binary file, such as
nmda_app.messages.raw.
BSA_RC_ABORT_SYSTEM_ERROR A general system error occurred within a NetWorker XBSA function call. This error is
System detected error due to explanation. Operation aborted returned for all NetWorker errors that do not map cleanly to XBSA errors.
BSA_RC_BAD_CALL_SEQUENCE An API call sequence was made that does not conform to the XBSA Data Movement
The sequence of API calls is incorrect. Must call item1 before API State Diagram document.
item2
BSA_RC_BAD_HANDLE The value passed into the function for bsaHandle contained a NULL pointer.
The handle used to associate this call with a previous BSAInit()
call is invalid because explanation
BSA_RC_BUFFER_TOO_SMALL The buffer is too small to hold the object entry to be returned.
Buffer is too small to hold the object entry to be returned.
n bytes required for the object entry
BSA_RC_DESCRIPTION_TOO_LONG The Description field in one of the supplied structures contained more than
The description field contained too many characters (n >= n) BSA_MAX_DESC characters, and the structure could not be used for the requested
operation.
BSA_RC_INVALID_COPYTYPE The copyType field in one of the supplied structures has a value that is not in the
the copyType field contained an unrecognized value of n NetWorker XBSA libraries implementation of this enumerated type.
BSA_RC_INVALID_DATABLOCK The fields of a supplied DataBlock parameter are not internally consistent. This can
the dataBlock parameter contained inconsistent values: occur under one of the following conditions:
bufferLength: n, bufferPtr: n, numBytes: n • When the bufferLen field is less than the numBytes field while data is being sent.
• When the bufferLen field is nonzero and the bufferPtr field is NULL.
BSA_RC_INVALID_KEYWORD One of the environment strings passed into the function did not have a valid structure.
an entry in the environment structure is invalid (variable=value) The value structure of an environment keyword is KEYWORD = VALUE, where
KEYWORD is a white space delimited string and VALUE is a white space delimited
string followed by a null terminator. This can indicate a number of possible errors:
• The KEYWORD was not in the reserved word list. This error is not returned by the
NetWorker XBSA libraries because other environment variables might be passed
into the library along with valid keywords.
• The KEYWORD and VALUE strings were not separated by a '=' character. This
type of error is also used to detect environment vectors that are not properly
terminated with a (char *)NULL entry, as well as invalid KEYWORD VALUE pair
formats.
• The VALUE string was invalid.
• The VALUE string could not be validated, as in the case of a hostname string that
could not be found by the gethostbyname() function.
BSA_RC_INVALID_OBJECTSTATUS The objectStatus field in one of the supplied structures has a value that is not in the
the objectStatus field contained an unrecognized value of n NetWorker XBSA libraries’ implementation of this enumerated type.
BSA_RC_INVALID_OBJECTTYPE One of the object type parameters was either passed in directly or contained in one of
the objectType is invalid (n) the following structures: ObjectDescriptor QueryDescriptor was not in the range of
BSAObjectType_ANY to BSAObjectType_DIRECTORY.
BSA_RC_MATCH_EXISTS The object already exists in the NetWorker server being used by the NetWorker XBSA
object matching the specified predicate already exists session and that the requested operation cannot be completed.
BSA_RC_MORE_DATA This has two meanings in the XBSA Data Movement API:
more data is available. Data can be obtained through • Object Data Retrieval – There is more data available for an object being read from
BSAGetData() or BSAGetNextQueryObject() the NetWorker server than is being used by the NetWorker XBSA session. Use
BSAGetData to retrieve the next DataBlock from the NetWorker server (see also
“BSA_RC_BUFFER_TOO_SMALL” on page 333 and
“BSA_RC_NO_MORE_DATA” on page 334). This message is not returned by the
BSAGetObjectF function because all data for an object is written to a file descriptor
by this function.
• Query Result Retrieval – There are more objects matching the requested query
descriptor from the NetWorker server than is being used by the NetWorker XBSA
session. Use BSAGetNextQueryObject to retrieve the next object descriptor from
Backup Services (see also “BSA_RC_NO_MORE_DATA” on page 334).
BSA_RC_NO_MATCH The client index and media database are out of synch. To resynchronize the client
The ResourceType predicate value of D does not match the index and media database, run the nsrck -X command. Alternatively, wait for
reference value of L NetWorker to run nsrck automatically.
BSA_RC_NO_MATCH No objects matching the specified QueryDescriptor were found in the NetWorker
The variable predicate value of value does not match the server that is being used by the NetWorker XBSA session.
reference value of variable
BSA_RC_NO_MORE_DATA This has two meanings in the XBSA Data Movement API:
there is no more data for the current object • Object Data Retrieval – This is used when all the data for an object being retrieved
from a NetWorker server was placed into the given DataBlock parameter for a
function call (see also “BSA_RC_NO_MORE_DATA” on page 334).
• Query Result Retrieval – This is used when the last (or only) object matching a
query is returned to the caller (see also “BSA_RC_NO_MORE_DATA” on
page 334).
BSA_RC_NULL_APIVERSION A pointer to an ApiVersion structure, passed into the function, was NULL and is
an ApiVersion pointer is required required as input.
334 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
BSA_RC_NULL_DATABLOCK The DataBlock pointer parameter for the called function was NULL. The caller is
a data block pointer is required responsible for allocating and passing in the DataBlock structure to the NetWorker
XBSA library (see also “BSA_RC_INVALID_DATABLOCK” on page 333).
BSA_RC_NULL_OBJECTNAME The ObjectName parameter passed into the called function was NULL.
an object name is required
BSA_RC_OBJECTINFO_TOO_LONG The ObjectInfo parameter passed into the function, either directly or in one of the
The objectInfo field contained too many characters following data structures, was found to have more than BSA_MAX_OBJINFO
characters: ObjectDescriptor
BSA_RC_SUCCESS The called function did not fail and is returned by all NetWorker XBSA function calls.
the function was successful
BSA_RC_TRANSACTION_ABORTED The current transaction was aborted by the BSAEndTxn function call. A transaction
the transaction was aborted can either be aborted by an internal error, or by user request through the Vote
parameter to this function.
Note: The NetWorker man pages, the EMC NetWorker Command Reference Guide, and the EMC
NetWorker Administration Guide provide details on NetWorker commands used to remove a
failed backup.
2. Inspect the output of the mminfo command to determine if a save set was created
for a failed backup and was not automatically removed by the server. Note the
save set ID (ssid).
3. Use the following command to remove the faulty save set from the media
database:
$ nsrmm -S ssid -d
Ensure that you have the NetWorker user privileges required to perform the
operation, as described in Table 5 on page 61.
AIX /usr/lib/libnsrdb2.o
HP-UX /usr/lib/libnsrdb2.sl
IMPORTANT
Identical messages are listed in the table for different causes. For these multiple
listings, examine each cause.
“NetWorker XBSA error messages” on page 333 describes the error messages
generated by the NetWorker XBSA interface.
336 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
SQL1268N The NSR_ENCRYPTION_PHRASES parameter does not contain the datazone pass
A rollforward recovery stopped due to error "SQL1042" while phrase that was used to back up the transaction logs.
retrieving log file <logfile> for database <db> on node "0". Set the NSR_ENCRYPTION_PHRASES parameter to the proper phrase.
“NSR_ENCRYPTION_PHRASES” on page 300 provides details.
SQL2025N The client is not registered on the NetWorker server to which the NMDA software is
An I/O error "3" occurred on media "VENDOR". backing up.
Create a valid client on the NetWorker server.
Test to ensure that the connection between the client and server is valid:
save -s servername/testfile
SQL2025N The NSR_CLIENT parameter is set to an invalid client name while running a backup.
An I/O error "3" occurred on media "VENDOR". Set the NSR_CLIENT parameter to the name of the client from which the backup is
running. “NSR_CLIENT” on page 297 provides details.
SQL2025N There is no NMDA license on the server. A separate client license is required for each
An I/O error "3" occurred on media "VENDOR". client.
Obtain a valid NMDA license.
SQL2025N For a manual deduplication backup, the deduplication backup attribute is not enabled
An I/O error "3" occurred on media "VENDOR". in the corresponding NetWorker Client resource.
Ensure that the corresponding NetWorker Client resource is defined on the
NetWorker server and the deduplication backup attribute is enabled.
SQL2025N For a manual or scheduled deduplication backup, the Avamar server is already in
An I/O error "3" occurred on media "VENDOR". maintenance mode before the backup starts.
Ensure that the Avamar server is available for the backup operation.
SQL2025N The NSR_ENCRYPTION_PHRASES parameter does not contain the datazone pass
An I/O error "25" occurred on media "VENDOR". phrase that was used to back up the database.
Set the NSR_ENCRYPTION_PHRASES parameter to the proper phrase.
“NSR_ENCRYPTION_PHRASES” on page 300 provides details.
SQL2025N The user does not have the restore privilege on the NetWorker server.
An I/O error "25" occurred on media "VENDOR". Add the "recover local data" privilege for the user.
SQL2025N For the restore of a deduplication backup, the Avamar server is already in
An I/O error “25” occurred on media “VENDOR”. maintenance mode before the restore starts.
Ensure that the Avamar server is available for the restore operation.
SQL2062N Permissions or ownership of debug files are incorrect for the database instance.
An error occurred while accessing media "/usr/lib/libnsrdb2.so". Ensure that each database instance has a unique debug filename.
Reason code: "0".
SQL2062N The NSR_CLIENT parameter was set to an incorrect client name while running a
An error occurred while accessing media "/usr/lib/libnsrdb2.so". restore.
Reason code: "4". Set the NSR_CLIENT parameter to the name of the client from which the restore is
Table 40 on page 336 provides the correct libnsrdb2 path and running. “NSR_CLIENT” on page 297 provides details.
suffix information.
SQL2062N The client is not registered on the NetWorker server to which the module is restoring:
An error occurred while accessing media "/usr/lib/libnsrdb2.so". 1. Create a valid client on the NetWorker server.
Reason code: "4". 2. Test to make sure the connection between the client and server is valid:
Table 40 on page 336 provides the correct libnsrdb2 path and save -s servername/testfile
suffix information.
SQL2062N No matching backups were found. Restore of the deduplicated save set failed
An error occurred while accessing media "/usr/lib/libnsrdb2.o". because the save set on the Avamar server was deleted.
Reason code: "11" Restore the save set to the Avamar server prior to restoring the deduplicated save
set.
SQL2062N A valid timestamp for the object being restored was not specified. Specify a valid
An error occurred while accessing media "/usr/lib/libnsrdb2.so". timestamp.
Reason code: "11". Or:
Failed to restore a database from one instance to another. The Applications
Information attribute in the Client resource is missing instance information. Specify
Applications Information:
DB2_R=database_name: db2inst1:db2inst2:
“Restore DB2 data” on page 145 provides details.
SQL2062N The NSR_SERVER parameter is set to an invalid server name. For example, the
An error occurred while accessing media "/usr/lib/libnsrdb2.so". server might not exist and you cannot ping it.
Reason code: "11". Set the NSR_SERVER parameter to a valid NetWorker server that has the DB2
Table 40 on page 336 provides the correct libnsrdb2 path and server defined as a client. “NSR_SERVER” on page 302 provides details.
suffix information.
SQL2062N Unable to back up the database_name database due to backup request failure. The
An error occurred while accessing media "libnsrdb2.o". BRC API call pb_open failed. Deduplication backup is supported only for serverless
Reason code: "25" backups.
Perform a serverless type of backup for the PowerSnap deduplication backup of the
database.
SQL2071N Missing NMDA DB2 library, libnsrdb2.dll, is not in the correct place as indicated.
An error occurred while accessing the shared library. Reinstall NMDA or place the libnsrdb2.dll library into the correct location as indicated.
"c:\progra~1\legato\nsr\bin\libnsrdb2.dll". Reason code: "1".
SQL2079N The configuration file is not found for either backup or recovery.
An error was reported by the shared library Specify the correct pathname for the NMDA DB2 configuration file (nmda_db2.cfg).
"/usr/lib/libnsrdb2.so". Return code: "30".
338 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
340 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
The following notes.ini settings on the Domino server can be used to overwrite these
defaults:
◆ DateOrder — May be set to DMY, YMD, MDY
◆ ClockType — May be set to 24_HOUR
◆ DateSeparator — May be set to an arbitrary string and may be longer than one
character, if required.
◆ TimeSeparator — May be set to an arbitrary string and may be longer than one
character, if required.
The Domino Administrator help provides additional information.
342 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
“NetWorker XBSA error messages” on page 333 describes the error messages
generated by the NetWorker XBSA interface. To ensure that XBSA error and debug
messages are included in the NMDA Lotus debug log, set the parameter
NSR_XBSA_DEBUG=TRUE as described in “NSR_XBSA_DEBUG” on page 313.
Table 42 on page 343 lists error messages generated during Lotus backup and restore
operations, in alphabetical order. Messages that are common to both backups and
restores are listed first, followed by backup messages and then restore messages.
A NW server with a NSR client resource for hostname could not The NMDA software cannot access the NetWorker server for the backup.
be located on the network. To resolve the error, ensure that the NetWorker server name is spelled correctly and
the server contains a Client resource for the NMDA client.
System error: error message is not available. A problem occurred in the XBSA code. To obtain more debugging information about
the problem, set NSR_XBSA_DEBUG=TRUE and NSR_DEBUG_LEVEL to a value
greater than 3.
The call to NotesInitExtended failed: Notes_API_error_number. The NMDA software cannot initialize the Notes session.
To resolve the error, locate the error message for the given Notes_API_error_number
and perform the appropriate corrective action. If the error number is 421, set the
NSR_NOTES_INI_PATH parameter.
The LoadLibrary() call failed. The NMDA software cannot find or load the libnotes.xx or nnotes.dll library file.
To resolve the error, ensure that the Notes_ExecDirectory parameter is set to the
directory path containing the Lotus library.
Could not open file: filename. The NMDA software cannot open the file to back it up.
To resolve the error, ensure that the file has the correct permissions.
Directory link points to its own directory. The NMDA software has detected a circular link.
To resolve the error, delete the directory link file or correct the path set in the file.
Duplicate entry: file_pathname. Ignoring. The NMDA software is not adding another entry for the file to the backup list because
the file is already on the list.
This is an informational message only, and does not require a resolution.
Either nothing was specified to backup or system is down. The NMDA software cannot derive a list of files to back up.
To resolve the error, ensure that the manual or scheduled backup is configured and
performed correctly, according to the instructions in this administration guide.
Error finding last backup instance for filename; error = The NMDA software cannot find an existing backup for the file, and performs a full
error_description. backup of the file. This error typically occurs during an incremental backup.
To resolve the error, ensure that the NetWorker server is up and accessible to the
Lotus user on the client computer.
Failed to build exclude list, ignoring exclude list entries. The NMDA software cannot correctly process the values specified with the
NSR_EXCLUDE_FILE or NSR_EXCLUDE_LIST parameter, so nothing is excluded
from the backup.
To resolve the error, ensure that the parameters specify the correct values.
Failed to open directory link file: filename, errno = The NMDA software cannot open the file.
error_number. To resolve the error, ensure that the file has the correct pathname or permissions or
both.
Failed to open exclude list file, errno = error_number. The exclude list file does not exist or does not have the correct access permissions.
To resolve the error, ensure the following:
The correct pathname is specified for the exclude list file with the NSR_EXCLUDE file
parameter.
The exclude list file has the correct permissions.
pathname is not a directory. The pathname contained in the Domino directory link (.dir) file is not a directory.
To correct the error, delete the .dir file from the directory if it is not used.
The password file lookup for the user Notes_user failed. The An invalid Notes user is specified with the LOTUS_USER parameter.
user name may be invalid. To resolve the error, ensure that the LOTUS_USER parameter specifies the name of
a Lotus Notes user that is running the server to be backed up.
The ReadFile() call failed. The NMDA software cannot read the contents of a file to be backed up.
To resolve the error, ensure that the file is a readable file.
Full backup not found, cannot recover without full backup The NMDA software cannot find a full backup for the file in the NetWorker index.
filename. To resolve the error, ensure that the path for the filename matches the case-sensitive
path in the NetWorker index.
No objects found for recover. Either nothing is specified for recovery or the specified items have been removed from
the recovery list.
To resolve the error, perform one of the following:
Specify the required items for recovery.
Set the parameter NSR_RELOCATION_DEST to enable relocated recovery, or set
NSR_RECOV_INTERACT to y or r to enable renaming of the file.
The list of items to recover includes Notes databases. The NSR_NO_NOTES_INIT parameter is specified during a database recovery.
NSR_NO_NOTES_INIT parameter cannot be used when To resolve the error, specify either the NSR_NO_NOTES_INIT parameter or a list of
recovering Notes databases. databases (not both) for the recovery. The NSR_NO_NOTES_INIT parameter is used
for a disaster recovery only.
The log directory may only be number characters in length. The log directory pathname specified with the NSR_LOG_DIR parameter is too long.
To resolve the error, specify a different (shorter) pathname with the NSR_LOG_DIR
parameter.
The recover time '-t' was either not specified or contained an During a document-level recovery, the mandatory -t option is not correctly specified
invalid value. with nsrdocrc command.
To resolve the error, specify the -t time option correctly by using the nsr_getdate()
format for the time. To recover the backup to the current time, use the -t now option.
344 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
Note: If the scheduling portion of an Oracle scheduled backup succeeds but the actual backup
fails, error messages and debug information might be generated in the locations described in
this section.
RMAN stores information and RMAN-specific error messages in the log file specified
by using the msglog option. Review the RMAN information in this log file after each
backup.
To specify the name of the RMAN log file:
◆ For a manual Oracle backup, specify the msglog option in the rman command on
the command line:
rman target ... rcvcat ... msglog filename
◆ For a scheduled Oracle backup, specify the msglog option in the parameter
NSR_RMAN_ARGUMENTS in the NMDA configuration file. “Oracle-specific
NMDA parameters” on page 315 provides more information.
The appropriate Oracle error messages guide provides more information on specific
RMAN error messages and recommended courses of action.
346 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
Table 43 on page 347 outlines the conditions that are traced when the trace option is
set to each of the three valid values.
A connection to NW server 'server' could not be established NMDA could not connect to the NetWorker client file index due to the given reason.
because 'reason'. The client might not be configured as a client on the server. Take the corrective action
suggested by the error message.
Could not create the LNM index lock file 'filename' (errno) NMDA failed to create the lock file required for an index deletion operation. Report the
error number (errno) to Technical Support.
Could not decode the 'sf_check' value: xdrs = 0xvalue This is an internal XDR error caused by a network read or write operation. Report the
error to Technical Support.
Could not decode the 'sf_magic' value: xdrs = 0x%value This is an internal XDR error caused by a network read or write operation. Report the
error to Technical Support.
Could not decode the 'sf_more' flag: xdrs = 0xvalue This is an internal XDR error caused by a network read or write operation. Report the
error to Technical Support.
Could not locate the LNM save file 'backup_piece_name' on NMDA could not locate an index record for the backup piece. The index record is
server 'server'. probably missing. Use the mminfo and nsrinfo commands to verify the status of the
index record.
Could not locate the LNM save time 'save_time' on server NMDA could not locate an index record for the save time in the client file index. The
'server'. index record is probably missing. Use the mminfo and nsrinfo commands to verify
the status of the index record.
Could not lock 'filename' for index deletion. There were number NMDA was able to create the lock file required for an index deletion operation, but
attempts. (errno) could not lock the file after the given number of attempts. Report the error number
(errno) to Technical Support.
Error in mmdb lookup by time: reason A lookup in the media database failed for the given reason. Use the mminfo
command to verify the status of the media database record. Take the corrective action
suggested by the error message.
Exceeded the number of retries. The NetWorker server may be NMDA could not contact the NetWorker index service nsrindexd. This was probably
down or unreachable. caused by the NetWorker services being shutdown. Restart the NetWorker services
on the server, as required.
Exceeded the number of retries for nsr_init(). The NetWorker After a maximum of five attempts, NMDA failed to call the NetWorker core function,
server may be down or unreachable. nsr_init(). This was probably caused by the NetWorker services being shut down.
Restart the NetWorker services on the server, as required.
Exceeded the number of retries for nsr_start(). The NetWorker After a maximum of five attempts, NMDA failed to call the NetWorker core function,
server may be down or unreachable. nsr_start(). This was probably caused by the NetWorker services being shut down.
Restart the NetWorker services on the server, as required.
Invalid browse and retention policies. Values Ignored. The NSR_SAVESET_BROWSE and NSR_SAVESET_RETENTION parameters both
had invalid time values. Ensure that the parameters NSR_SAVESET_BROWSE and
NSR_SAVESET_RETENTION in the RMAN script both have valid values in the
NetWorker date format.
Invalid browse policy browse_time. Value Ignored. The NSR_SAVESET_BROWSE parameter had an invalid time value, browse_time.
Ensure that the parameter NSR_SAVESET_BROWSE in the RMAN script has a valid
value in the NetWorker date format.
Invalid KEY word The syntax of the string in the RMAN send command was incorrect. “The send
command” on page 324 provides the correct send command syntax.
Invalid retention policy: retention_time. Value Ignored. The NSR_SAVESET_RETENTION parameter had an invalid time value,
retention_time. Ensure that the parameter NSR_SAVESET_RETENTION in the RMAN
script has a valid value in the NetWorker date format.
NSR_DATA_VOLUME_POOLn is not set. Multiple copies of the backup data were requested, but the required
NSR_DATA_VOLUME_POOL parameters were not set. In the message, n was
replaced by a number corresponding to the missing pool parameter. When multiple
copies of backup data are requested, set the required NSR_DATA_VOLUME_POOL
parameters. “NSR_DATA_VOLUME_POOL” on page 297 provides more information.
348 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
ORA-19511: Error received from media manager layer, error An NMDA backup failed because a valid NWORA resource file does not exist or is not
text: available. If you do not use the wizard to configure a scheduled backup with save set
Could not create the NWORA resource lock file (13) bundling, use the nsroraadmin command to create a valid NWORA resource file,
(103:105:13) according to instructions in Chapter 2, “Backup Configuration” or Chapter 8,
“Snapshot Backups and Restores.”
Oracle pools are not supported NMDA does not support Oracle pools. NMDA supports NetWorker pools only.
Remove the pool option of the backup command in the RMAN script or set the pool
option to zero. “The pool option of the backup command” on page 324 provides more
information.
'string' should be in format: KEY=(xxxxx) The syntax of the string in the RMAN send command was incorrect. “The send
command” on page 324 provides the correct send command syntax.
The ASDF body could not be unwrapped. The incoming recover stream of data could not be decoded due to a possible network
error or data corruption. Report the error to Technical Support.
The backup file already exists: backup_piece_name NMDA could not complete the backup because the backup piece name already
existed in the NetWorker client file index. Change the format option string of the
RMAN command to produce a unique backup piece name, or remove obsolete
backup pieces. Then restart the backup operation.
The call to nsr_init() failed with the message: A call of the NetWorker core function, nsr_init(), failed due to the given reason. Take
reason the corrective action suggested by the error message. If required, report the error to
Technical Support.
The call to nsr_start() failed with the message: A call of the NetWorker core function, nsr_rtart(), failed due to the given reason. Take
reason the corrective action suggested by the error message. If required, report the error to
Technical Support.
The current time could not be obtained (errno). NMDA could not obtain the current time due to an operating system error. Report the
operating system error (errno) to the appropriate vendor.
The data could not be XDR'd from the stream. The incoming recover stream of data could not be decoded due to a possible network
error or data corruption. Report the error to Technical Support.
The function mm_retrieve() failed with the error: reason During a restore, a call of the NetWorker core function, mm_retrieve(), failed due to
the given reason. Take the corrective action suggested by the error message. If
required, report the error to Technical Support.
The function nsr_bind_recov_mm() failed with the error: reason During a restore, a call of the NetWorker core function, nsr_bind_recov_mm(), failed
due to the given reason. Take the corrective action suggested by the error message.
If required, report the error to Technical Support.
The function nsr_end() failed with the error message: reason A call of the NetWorker core function, nsr_end(), failed due to the given reason. Take
the corrective action suggested by the error message. If required, report the error to
Technical Support.
The function nsr_rstart() failed with the error: reason During a restore, a call of the NetWorker core function, nsr_rstart(), failed due to the
given reason. Take the corrective action suggested by the error message. If required,
report the error to Technical Support.
The function sbtinit2() has already been called. This is an internal error caused by Oracle calling the function sbinit2() twice. Report
the error to Technical Support.
The functions sbtinit() or sbtinit2() have not been called. This is an internal error caused by Oracle not calling the two SBT initialization
routines. Report the error to Technical Support.
The index entry failed the cross check: During an index lookup, the entry was located in the client file index but not in the
cfx_name(backup_piece_name) save_time(save_time) media database. Restart the NetWorker services, and use the mminfo and nsrinfo
commands to verify the backup information in the indexes. Run the nsrck program to
resolve any corruption of the indexes.
The lookup of 'backup_piece_name' on server 'server' failed - NMDA could not locate backup_piece_name in the indexes due to the reason. The
'reason' indexes might be corrupted. Run the nsrck program to resolve any corruption of the
indexes.
The name of the NSR client could not be determined. The name of the NetWorker client could not be determined. Set the parameter
NSR_CLIENT to the NetWorker client name by using the send command.
The name of the NSR server could not be determined. The name of the NetWorker server could not be determined. Set the parameter
NSR_SERVER to the NetWorker server name by using the send command.
The NSR client name could not be determined. The name of the NetWorker client could not be determined. Set the parameter
NSR_CLIENT to the NetWorker client name by using the send command.
The NSR server name could not be determined. The name of the NetWorker server could not be determined. Set the parameter
NSR_SERVER to the NetWorker server name by using the send command.
The NSR_CLIENT parameter was not set. The name of the NetWorker client could not be determined. Set the parameter
NSR_CLIENT to the NetWorker client name by using the send command.
The NSR_SERVER parameter was not set. The name of the NetWorker server could not be determined. Set the parameter
NSR_SERVER to the NetWorker server name by using the send command.
The NW authentication for client 'client' was refused by server NMDA could not obtain the required authentication to connect to the NetWorker client
'server' because 'reason'. file index due to the given reason. The client might not be configured as a client on the
server. Take the corrective action suggested by the error message.
The NW client has not been set. The name of the NetWorker client could not be determined. Set the parameter
NSR_CLIENT to the NetWorker client name by using the send command.
The NW server does not have a valid NMDA proxy copy license. The NetWorker server attempted a proxy operation without the required license.
Ensure that the NetWorker server has the required license for the proxy operation.
The NW server has not been set. The name of the NetWorker server could not be determined. Set the parameter
NSR_SERVER to the NetWorker server name by using the send command.
The NWORA file ID could not be XDR'd. This is an internal XDR error caused by a network read or write operation. Report the
xdrm: 0xvalue error to Technical Support.
NWORA fid: 0xvalue
ssid: 0xvalue
ssoff: 0xvalue
The record obtained has the wrong save time 'save_time1'. The NMDA located an index record in the client file index, but it had an unexpected save
save time queried was 'save_time2'. time. The indexes might be corrupted. Restart the NetWorker services, and run the
nsrck program to resolve any corruption of the indexes.
The removal of SSID 'save_set_id' failed with error: reason An index deletion operation failed for the given reason. Use the mminfo and nsrinfo
commands to verify the status of the index record. If required, report the error to
Technical Support.
The savefile_fini() call failed. reason During a restore, a call of the NetWorker core function, savefile_fini(), failed due to the
given reason. Take the corrective action suggested by the error message. If required,
report the error to Technical Support.
The sfhead could not be XDR'd. This is an internal XDR error caused by a network write operation. Report the error to
Technical Support.
The SS browse time is not in the future: The specified browse policy time was in the past. This might be due to a problem with
current time: current_time the operating system time setting. Ensure that the browse policy time is set correctly.
browse: browse_time If required, ensure that the operating system time is set correctly.
350 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
The SS retention time is not in the future: The specified retention policy time was in the past. This might be due to a problem
current time: current_time with the operating system time setting. Ensure that the retention policy time is set
retention: rentention_time correctly. If required, ensure that the operating system time is set correctly.
The UNIX attributes could not be XDR'd. This is an internal XDR error caused by a network read or write operation. Report the
xdrm: 0xvalue error to Technical Support.
ua: 0xvalue
Attempted to restore file 'filename' to raw device 'device_name'. A proxy restore of a regular file to a raw device was attempted. This type of restore is
not supported. Do not attempt to restore a regular file to a raw device.
Attempted to restore raw device 'device_name' to file 'filename'. A proxy restore of a raw device file to a regular file was attempted. This type of restore
is not supported. Do not attempt to restore a raw device file to a regular file.
Cannot back up object object_name with proxy copy. The RMAN backup command included the proxy only option, but the object
object_name did not reside on a primary storage device that the PowerSnap Module
supports. When the backup command includes the proxy only option, ensure that
the object object_name resides on a primary storage device that the PowerSnap
Module supports.
Could not find the nsrsnapck binary. During an index removal for a proxy backup, NMDA could not locate the nsrsnapck
binary, which is probably in a nondefault location. Ensure that the parameter
NSR_NWPATH is set correctly.
Could not lstat - filename The lstat() system call failed. The file filename either did not exist or had invalid
permissions. Ensure that the file is an existing file with valid permissions.
Could not lstat secondary link - filename The lstat() system call failed. The file filename was a symbolic link that pointed to a file
that either did not exist or had invalid permissions. Ensure that the symbolic link points
to an existing file with valid permissions.
Could not obtain NSR_ORACLECAT_MODE from NWORA The error was caused by one of the following conditions:
resource file. • The NWORA resource file does not exist.
• The NWORA resource file has incorrect permissions.
• The NWORA resource file is corrupted.
Based on the condition, perform one of the following:
• If the NWORA resource file does not exist, create the file.
• Ensure that the NWORA resource file has correct permissions.
• If the NWORA resource file is corrupted, re-create the file.
“NWORA resource file” on page 265 provides more information.
Could not read link - pathname A proxy backup failed due to the pathname that was an invalid symbolic link. Before a
proxy backup, ensure that any symbolic link is a valid link.
Error creating staging directory 'directory'. During a proxy restore of a regular file, the permissions of the destination directory
were possibly invalid. NMDA was not able to create the required staging subdirectory,
.nworapc. Ensure that the destination directory has valid permissions for a proxy
restore.
Invalid source path argument A proxy backup failed due to an invalid source pathname. Perform a proxy backup
with a valid source pathname only.
nsrsnapck_binary_name process failed with error - reason During an index removal for a proxy backup, the nsrsnapck binary failed. The binary
name is nsrsnapck on UNIX systems and nsrsnapck.exe on Windows systems.
Report the error to Technical Support.
Path pathname is too long. A proxy backup failed because the given pathname exceeded the limit of 1,024 bytes.
Ensure that any pathname involved in a proxy backup does not exceed 1,024 bytes.
pb_init() failed with (reason): invalid BRCAPI version The version number of the BRC API that was reported by the PowerSnap Module was
corrupted. Report the error to Technical Support.
Proxy copy is not supported. A proxy operation was attempted on a platform that NMDA does not support for proxy
operations. Do not attempt a proxy operation on an unsupported platform. The EMC
Information Protection Software Compatibility Guide on the Powerlink website
provides details on supported platforms.
The BRC API did not return an error string for the SBTPC An unknown error occurred during a BRC API function call by the PowerSnap Module.
object: object_name Report the error to Technical Support.
The BRC status of logical object 'filename' was failure: The PowerSnap Module reported a failure during a proxy backup of the file filename.
file_status Report the error to Technical Support.
The call to pb_environment() failed with error: During a proxy operation, a pb_environment() function call failed due to the given
reason reason. Take the corrective action suggested by the error message. If required, report
the error to Technical Support.
The call to pb_open() failed with error: During a proxy operation, a pb_open() function call failed due to the given reason.
reason Take the corrective action suggested by the error message. If required, report the
error to Technical Support.
The call to pb_prepare() failed with error: During a proxy operation, a pb_prepare() function call failed due to the given reason.
reason Take the corrective action suggested by the error message. If required, report the
error to Technical Support.
The call to pb_status() failed for object 'object_name' with the During a proxy operation, a pb_status() function call failed due to the given reason.
error: Take the corrective action suggested by the error message. If required, report the
reason error to Technical Support.
The call to pb_status() for object 'object_name' failed with error: During a proxy operation, a pb_status() function call failed due to the given reason.
reason Take the corrective action suggested by the error message. If required, report the
error to Technical Support.
The canonical OS file name path is invalid: filename The operating system filename specified for a proxy operation was not a valid
pathname. Ensure that the file pathname specified for a proxy operation is a valid full
pathname that is not a directory.
The data source is neither a file or a RAW volume - filename The file filename involved in a proxy backup was not recognized as a regular file or
raw volume. For proxy backups, NMDA supports only regular files and raw volumes.
Ensure that filename is either a regular file or raw volume, as required for proxy
backups.
The destination does not have the same terminating name as A proxy restore of a raw device was attempted to a location with a different basename
the source 'device_name'. from the backed-up source. For example, c1t2d0s2 is the basename (or terminating
name) of /dev/rdsk/c1t2d0s2. Perform a proxy restore of the raw device to a location
with the same basename as the backed-up source.
The file being recovered could not be found in its staging During a proxy restore, an error occurred at the point where the file filename was to be
location: filename moved from the staging directory .nworapc to the destination directory. Ensure that
there are no permission or other problems with the destination directory and the
staging directory .nworapc, and then restart the proxy restore. If the error recurs,
report it to Technical Support.
The file 'filename' cannot be removed from the staging directory During a proxy restore of the file filename, a file with the same name was found in the
(errno). .nworapc subdirectory, probably left there by a previous failed restore. The errno is
the error number from the failed attempt to remove the existing file. Remove the file
file_name from the .nworapc subdirectory, and restart the proxy restore.
The NMDA BRCAPI version version is outside the range NMDA 1.2 does not support the PowerSnap Module release that was used for a proxy
supported by the BRC service: earliest_version - latest_version operation. Ensure that a supported release of the PowerSnap Module is installed. The
EMC Information Protection Software Compatibility Guide on the Powerlink website
provides details on supported releases.
352 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
The NWORA resource file does not exist. Please create it with A proxy backup failed because the NWORA resource file did not exist. Create the
nsroraadmin. NWORA resource file by using the nsroraadmin command, and restart the proxy
backup. “NWORA resource file” on page 265 provides details.
The NWORA resource lock file does not exist. Please create it A proxy backup failed because the NWORA resource lock file did not exist. Create the
by running 'nsroraadmin -r list' NWORA resource lock file by using the nsroraadmin -r list command, and restart the
proxy backup. “NWORA resource file” on page 265 provides details.
The NWORA resource NSR_ORACLECAT_MODE is in the In the NWORA resource file, NSR_ORACLECAT_MODE was set to the default value
'undetermined' state. of undetermined. Set the value of NSR_ORACLECAT_MODE to either enabled or
disabled (as required) by using the nsroraadmin command.
The object 'filename' is not a file. A proxy backup failed because the file filename is not a data file—neither a raw file
nor a regular file. Perform a proxy backup of a supported type of data file only.
The ORACLE_SID must be set when performing proxy copy During a scheduled proxy backup, the parameter ORACLE_SID was not set in the
backups. configuration file. In the configuration file, set the parameter ORACLE_SID to the SID
value of the Oracle database.
The OS file name has been specified multiple times by Oracle: This is an internal Oracle error caused by Oracle specifying the same filename twice
filename during a proxy operation. Report the error to Technical Support.
The parameter file cannot be open: filename The configuration file specified by the parameter NSR_PROXY_PFILE could not be
opened. The file should contain PowerSnap parameter settings for a proxy backup or
restore. Ensure that the value specified by the parameter NSR_PROXY_PFILE is a
valid pathname of the configuration file.
The pb_cancel() call for object 'object_name' returned the error The pb_cancel() function call failed during a proxy operation. Report the error to
message: Technical Support.
error
The pb_inquiry() call failed for object 'object_name': The pb_inquiry() function call failed during a proxy operation. Report the error to
error Technical Support.
The pb_inquiry() for object 'object_name' failed because: The pb_inquiry() function call failed during a proxy operation. Report the error to
error Technical Support.
The pb_inquiry() of object 'object_name' returned error: The pb_inquiry() function call failed during a proxy operation. Report the error to
error Technical Support.
The pb_restore() for object 'object_name' failed with error: The pb_restore() function call failed during a proxy operation. Report the error to
error Technical Support.
The pb_save() of object 'object_name' returned error: The pb_save() function call failed during a proxy operation. Report the error to
error Technical Support.
The pb_snapshot() call for object 'object_name' failed with error: The pb_snapshot() function call failed during a proxy operation. Report the error to
error Technical Support.
The restore destination path is not valid: filename During a proxy restore operation, NMDA found the specified restore destination,
filename, to be invalid. Ensure that the specified restore destination is a valid
pathname.
The restore operation for the file failed for an unknown reason: During a proxy restore, an error occurred at the point where the file filename was to be
filename moved from the staging directory .nworapc to the destination directory. Ensure that
there are no permission or other problems with the destination directory and the
staging directory .nworapc, and then retry the proxy restore. If the error occurs again,
report it to Technical Support.
The SBTPC object could not determine the destination of the During a proxy restore operation, NMDA was unable to determine where to restore
restore. the file. Report the error to Technical Support.
The SBTPC object is not in the PB_TYPE_PREPARE state: During a proxy operation, NMDA and the PowerSnap Module became
object_name unsynchronized as to the status of the object object_name. Report the error to
Technical Support.
The SBTPC object is not in the SBTPCSTATUS_NOTREADY During a proxy operation, NMDA and the PowerSnap Module became
state: object_name unsynchronized as to the status of the object object_name. Report the error to
Technical Support.
The SBTPC object 'object_name' failed with the error message: The proxy backup or restore of a file failed during a PowerSnap Module operation, for
reason the given reason. Report the error to Technical Support.
The SBTPC object 'object_name' is entering the SBTPCSTART During a proxy operation, NMDA and the PowerSnap Module became
backup state but its BRC type is: type unsynchronized as to the status of the object object_name. Report the error to
Technical Support.
The SBTPC object 'object_name' is entering the SBTPCSTART During a proxy operation, NMDA and the PowerSnap Module became
restore state but its BRC type is: type unsynchronized as to the status of the object object_name. Report the error to
Technical Support.
The SBTPC object 'object_name' is entering the SBTPCSTART During a proxy operation, NMDA and the PowerSnap Module became
state but its status is: status unsynchronized as to the status of the object object_name. Report the error to
Technical Support.
The SBTPC object 'object_name' is leaving the BRC prepare During a proxy operation, NMDA and the PowerSnap Module became
state but its status is: status unsynchronized as to the status of the object object_name. Report the error to
Technical Support.
The SBTPC object 'object_name' is leaving the BRC save state During a proxy operation, NMDA and the PowerSnap Module became
but its status is: status unsynchronized as to the status of the object object_name. Report the error to
Technical Support.
The SBTPC object 'object_name' is leaving the BRC snapshot During a proxy operation, NMDA and the PowerSnap Module became
state but its status is: status unsynchronized as to the status of the object object_name. Report the error to
Technical Support.
The SBTPC object 'object_name' was aborted by the BRC The PowerSnap Module terminated the proxy operation. Examine the PowerSnap
service. Please check the PowerSnap logs for an explanation. Module logs for a possible reason for the termination.
The sbtpccommit() function was called during restore. This is an internal Oracle error that occurred during a proxy restore. Report the error
to Technical Support.
The staging directory 'directory' has invalid permissions (errno). During a proxy restore, NMDA was unable to write to the staging directory, directory.
The errno is the error number from the function call that failed. Ensure that the staging
directory has valid permissions for a proxy restore.
There are no SBTPC objects that have not returned their status. This is an internal error during a proxy operation caused by Oracle expecting more
files to be processed whereas NMDA has completed its file processing. Report the
error to Technical Support.
This backup piece name is already used in the SBTPC session: This is an Oracle error caused by Oracle specifying the same backup piece name
backup_piece_name twice during a proxy operation. Report the error to Technical Support.
client: WARNING! The NWORA resource file 'save' process The NWORA resource file could not be backed up after a successful RMAN backup.
output error messages. Analyze the log_file and if it includes an error message, take the corrective action
client: Please check the save log file for more information: suggested by the error message.
log_file
ORACLE_HOME is not defined. Cannot start RMAN. ORACLE_HOME was not set properly in the configuration file. Set ORACLE_HOME
properly in the configuration file.
354 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
The backup config did not contain a string. The nsrdasv program was run with the -C option, but the Backup Config attribute was
not set properly in the Client resource. Remove this Client resource, and re-create the
Client resource by using the backup configuration wizard.
The NSR client resource for client_name does not contain any The nsrdasv program was run with the -C option, but the Backup Config attribute was
backup configuration. not set properly in the Client resource. Remove this Client resource, and re-create the
Client resource by using the backup configuration wizard.
The temporary file 'rman_script_path' could not be created The scheduled backup binary, nsrdasv, could not create the file rman_script_path to
(errno). write the RMAN script generated by the backup configuration wizard. Ensure that the
root user on UNIX or the Windows Administrator has "write" permissions on the
directory path of the rman_script_path file.
Command line arguments are not understood. The nsroraadmin command included one or more invalid options. Use the
nsroraadmin command with the correct options. “Configuring the NWORA resource
file with the nsroraadmin program” on page 270 provides details.
Could not create the NWORA resource file (errno) The nsroraadmin command could not create the NWORA resource file, possibly due
invalid permissions. Ensure that valid permissions exist to allow the nsroraadmin
command to create the NWORA resource file. “NWORA resource file” on page 265
provides details.
Could not create the NWORA resource lock file (errno) The nsroraadmin command could not obtain the required lock file in the /nsr/tmp or
NetWorker_install_path\tmp directory. The lock file is required for accessing the
NWORA resource file. Report the error to Technical Support.
Could not open resource file 'filename' (errno). The nsroraadmin command could not open the NWORA resource file, possibly due
invalid permissions. Verify that the NWORA resource file exists and has valid
permissions. If required, create or repair the file by using the nsroraadmin command,
or modify the file permissions.
No command line parameters are set. The nsroraadmin command options were missing. Use the nsroraadmin command
with the correct options.
NSR_ORACLECAT_MODE can only be set to 'enabled', In the nsroraadmin command, the NSR_ORACLE_CAT_MODE parameter resource
'disabled' or 'undetermined'. was set to a value other than enabled, disabled, or undetermined. In the nsroraadmin
command, set the NSR_ORACLE_CAT_MODE parameter resource to enabled or
disabled for instant backups. “Configuring the NWORA resource file with the
nsroraadmin program” on page 270 provides details.
NSR_REMOVE_ON_FAILURE can only be set to 'TRUE' or In the nsroraadmin command, the NSR_REMOVE_ON_FAILURE parameter
'FALSE'. resource was set to a value other than TRUE or FALSE. In the nsroraadmin
command, set the NSR_REMOVE_ON_FAILURE parameter resource to either TRUE
or FALSE only.
NWORA parameter resources must be specified in the In the nsroraadmin command, an NWORA parameter resource name and value
'ResourceName ResourceValue' format. were not specified in the correct format. In the nsroraadmin command, specify the
NWORA parameter resource name and value in the correct format.
NWORA SID resource must be specified when doing deletion. In the nsroraadmin command with the -r delete option, the SID value of an Oracle
database was not specified. In the nsroraadmin command with the -r delete option,
specify the correct SID value.
The '-r' flag cannot be set multiple times. The nsroraadmin command contained more than one -r option. Use the
nsroraadmin command with only one -r option.
The '-r' option requires an NWORA resource specification. The nsroraadmin command with the -r option did not include the required resource
specification. In the nsroraadmin command with the -r option, specify the required
resource name and value.
The '-r' option requires either an 'add', 'update', 'list' or 'delete' In the nsroraadmin command, the -r option did not include one of the required
option. keywords: add, update, list, or delete. In the nsroraadmin command, include one of
the required keywords with the -r option. “Configuring the NWORA resource file with
the nsroraadmin program” on page 270 provides details.
The first NWORA resource is not a header (errno). The NWORA resource file is probably corrupted. Verify the contents of the NWORA
resource file. If required, repair the resource file by using the nsroraadmin command.
The NWORA resource file does not contain the NSR_NWPATH The NWORA resource file does not contain the mandatory NSR_NWPATH parameter
resource. resource. The file might be corrupted. Verify the contents of the NWORA resource file.
If required, repair the resource file by using the nsroraadmin command.
The NWORA resource file does not exist. The NWORA resource file does not yet exist. Create the NWORA resource file by
using the nsroraadmin command.
The NWORA resource named 'resource_name' is not found. The nsroraadmin command specified the name of a resource that does not exist in
the NWORA resource file. In the nsroraadmin command, specify a valid resource
name from the NWORA resource file.
The NWORA resource parameter list can only contain one The NWORA resource file includes multiple values for a resource, which is not
entry. supported. The file is probably corrupted. The file might have been edited manually,
which is not supported. Repair the NWORA resource file by using the nsroraadmin
command.
The NWORA resource parameter list contains the invalid The NWORA resource file contains an invalid resource name. The file is probably
element 'resource_name'. corrupted. The file might have been edited manually, which is not supported. Repair
the NWORA resource file by using the nsroraadmin command. “Configuring the
NWORA resource file with the nsroraadmin program” on page 270 provides details.
The NWORA resource parameter list for a SID requires the The nsroraadmin command for creating or updating an NWORA SID resource was
item1, item2 and item3 information. missing the required items. In the nsroraadmin command for creating or updating an
NWORA SID resource, include the required items.
The NWORA resource 'resource_name' is not a SID resource. The nsroraadmin command with the -r delete option did not include a valid name of
an NWORA SID resource. In the nsroraadmin command with the -r delete option,
specify a valid name of an NWORA SID resource.
The NWORA resource specified is not supported: In the nsroraadmin command, an invalid name or value were specified for an
resource_name = resource_value NWORA parameter resource. In the nsroraadmin command, specify a valid name
and value for an NWORA parameter resource. “NWORA parameter resources” on
page 265 provides details.
The NWORA SID resource for 'sid_value' already exists. The nsroraadmin command attempted to add an NWORA SID resource that already
existed. In the nsroraadmin command, specify the values for a new NWORA SID
resource.
356 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
The SID token 'connect' is an empty string. The nsroraadmin command did not include the required pathname of the RMAN
connection file with the connect keyword. In the nsroraadmin command, specify a
valid pathname of the RMAN connection file with the connect keyword. “Configuring
the NWORA resource file with the nsroraadmin program” on page 270 provides
details.
The SID token 'home' is an empty string. The nsroraadmin command did not include the required pathname of the Oracle
home directory with the home keyword. In the nsroraadmin command, specify a
valid pathname of the Oracle home directory with the home keyword.
The SID token 'ORACLE_SID' is invalid. In the nsroraadmin command with the sid keyword, the specified SID value of the
Oracle database was invalid. In the nsroraadmin command, specify a valid SID value
with the sid keyword.
The SID token 'sid' is an empty string. The nsroraadmin command did not include the required SID value of the Oracle
database with the sid keyword. In the nsroraadmin command, specify a valid SID
value with the sid keyword.
The tokens 'sid', 'home' and 'connect' must be set when adding The nsroraadmin command to add an NWORA SID resource did not include the
a SID. settings of the mandatory sid, home, and connect keywords. In the nsroraadmin
command to add an NWORA SID resource, include the settings of the sid, home, and
connect keywords.
The value of the NWORA resource is missing. In the nsroraadmin command with the -r update option, the NWORA resource value
was not specified with the resource name. In the nsroraadmin command with the -r
update option, specify the NWORA resource value with the resource name.
Unrecognized argument 'option'. The nsroraadmin command included the unrecognized option option. Use the
nsroraadmin command with the correct options. “Configuring the NWORA resource
file with the nsroraadmin program” on page 270 provides details.
You must be the super-user to update the NWORA resource The nsroraadmin command was typed by the wrong user. Type the nsroraadmin
file. command as the root user on UNIX, or as a member of the Microsoft Windows
Administrators group.
A connection to NW server 'server' could not be established NMDA could not connect to the NetWorker client file index due to the given reason.
because 'reason'. The client might not be configured as a client on the server. Take the corrective action
suggested by the error message.
Could not locate the LNM save file 'backup_piece_name' on NMDA could not locate an index record for the backup piece. The index record is
server 'server'. probably missing. Use the mminfo and nsrinfo commands to verify the status of the
index record.
Could not locate the LNM save time 'save_time' on server NMDA could not locate an index record for the save time in the client file index. The
'server'. index record is probably missing. Use the mminfo and nsrinfo commands to verify
the status of the index record.
Error in mmdb lookup by time: reason A lookup in the media database failed for the given reason. Use the mminfo
command to verify the status of the media database record. Take the corrective action
suggested by the error message.
Exceeded the number of retries. The NetWorker server may be NMDA could not contact the NetWorker index service nsrindexd. This was probably
down or unreachable. caused by the NetWorker services being shutdown. Restart the NetWorker services
on the server, as required.
The file 'filename' could not be opened. The file specified with the -f option of the nsrorainfo command could not be
accessed. Ensure that the specified file exists, and then type the nsrorainfo
command again with the -f option.
The file name provided is NULL. In the nsrorainfo command, the -f option did not include the required filename. In the
nsrorainfo command, include the required filename with the -f option.
The index entry failed the cross check: During an index lookup, the entry was located in the client file index but not in the
cfx_name(backup_piece_name) save_time(save_time) media database. Restart the NetWorker services, and use the mminfo and nsrinfo
commands to verify the backup information in the indexes. Run the nsrck program to
resolve any corruption of the indexes.
The lookup of 'backup_piece_name' on server 'server' failed - NMDA could not locate backup_piece_name in the indexes due to the reason. The
'reason' indexes might be corrupted. Run the nsrck program to resolve any corruption of the
indexes.
The NW authentication for client 'client' was refused by server NMDA could not obtain the required authentication to connect to the NetWorker client
'server' because 'reason'. file index due to the given reason. The client might not configured as a client on the
server. Take the corrective action suggested by the error message.
The record obtained has the wrong save time 'save_time1'. The NMDA located an index record in the client file index, but it had an unexpected save
save time queried was 'save_time2'. time. The indexes might be corrupted. Restart the NetWorker services, and run the
nsrck program to resolve any corruption of the indexes.
358 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
Table 47 Error messages from Sybase consistency checks, backups, and restores (page 1 of 4)
CS-LIBRARY or CT-LIBRARY error: error_message. An error occurred in the Sybase Open Client library layer. The operating system part
Operating system error number(n): error_message. of the error message appears only if an operating system error occurred. These error
messages normally appear when the master database is recovered because this
operation shuts down the Sybase server, but they are not normal during other
operations. The error message text describes the specific problem.
error from server Sybase_server : Msg number, Level number, The Sybase server returned an error. Check the error message that follows this
State number message to determine the reason for the error.
No database names were specified. The nsrdasv, nsrsybrc, and nsrsybcc commands each operate on a database (or,
for nsrsybrc and nsrsybcc, a list of databases). No database names were specified
on the command line.
no NetWorker server was specified The NetWorker server was not specified or could not be found. The NetWorker server
to which the command is to be issued can be specified with the -s NetWorker_server
option.
non fatal internal error from server server_name: Msg number, The Sybase server returned a nonfatal error. This error does not stop the operation.
Level number, State number Examine the message to ensure that the error does not lead to future problems.
path needs to begin with SYBASE:. The command line has the The database name option for the nsrsybcc program did not begin with the
form SYBASE:/instance_name[/database_name] characters “SYBASE:”. All Sybase server save sets must begin with this name.
the command line may specify the entire instance or a list of Either the entire instance (SYBASE:/ASE_server_name) or a list of databases
individual databases, but not both (SYBASE:/ASE_server_name/database_name1
SYBASE:/ASE_server_name/database_name2) can be specified at the command
line. An instance name and a list of databases cannot be specified at the same time.
The command line specifies more than one Sybase instance. Each invocation of the nsrdasv, nsrsybcc, or nsrsybrc program can operate on a
Only a single instance may be supplied with each command single Sybase server because the user ID and password supplied are unlikely to be
line. the same over multiple servers. Retry the command and run it once for each Sybase
server.
the database name database_name has a length greater than The database name supplied at the command line was longer than 30 characters. The
the maximum of 30 maximum database name length is 30 characters.
The instance name was not provided in the command line The database to be processed was specified as “SYBASE:”, but the instance name
command_line_value. The command line has the form was not supplied.
SYBASE:/instance_name[/database_name].
unable to write environment variables to the temporary file The system could not write to the temporary file used to pass environment variables
between nsrdasv, nsrsybrc, and libnsrsyb. Check for file access or disk problems.
user name is required and was not supplied A username must be supplied for Sybase log in. This username can be queried from
the Client resource in the NetWorker server, entered on the command line, or
obtained from the environment variable, $USER.
invalid check option -o value was supplied The database consistency check option that was supplied is not valid. Refer to the
EMC NetWorker Module for Databases and Applications Command Reference Guide
or to the nsrsybcc man page for a list of supported options.
Table 47 Error messages from Sybase consistency checks, backups, and restores (page 2 of 4)
a full database backup is required and will be done before the The incremental backup failed because a full backup must first be performed. Perform
transaction log backup a full backup, then retry the transaction log backup.
An invalid backup level was supplied. Valid backup levels are The backup level supplied to the nsrdasv command is not permitted.
full, incremental, and skip
cannot find database database_name in instance server_name The database to be backed up does not exist in the Sybase server.
PRECMD or POSTCMD did not return a result. It needs to The PRECMD or POSTCMD did not return a status value.
return zero on success and nonzero on failure.
process process_number running command PRECMD or The PRECMD or POSTCMD exited with a nonzero result code. Check the PRECMD
POSTCMD completed with a result of n or POSTCMD exit code for details. Also verify that the settings of PRECMD or
POSTCMD are valid. The following provide details:
• “PRECMD” on page 302
• “POSTCMD” on page 302
the exit status of process process_number could not be The PRECMD or POSTCMD that was run did not exit, but the process no longer
determined exists.
The LNM level parameter value must be between 'FULL' and '9' The environment variable NSR_BACKUP_LEVEL specified a level other than full,
incremental, or skip.
the NSR_BACKUP_PATHS parameter was not set in the The required setting of the NSR_BACKUP_PATHS parameter could not be found in
configuration file the configuration file.
The Sybase user name was not set. Please specify the Sybase Supply a username for Sybase login through the SYBASE_USER parameter setting
user in the configuration by setting the SYBASE_USER in the configuration file.
parameter
unable to create directory entries The directory entries could not be created. Check the xbsa.messages file for the
specific reason that the entries could not be created.
unable to determine whether database and log are on separate The database to be backed up is not in a state in which it can be queried to determine
segments whether incremental backups are allowed. The error message from the Sybase server
that was displayed prior to this message indicates the reason the database cannot be
queried.
unable to dump database database_name in instance The dump database command failed. The error message from the Sybase server
server_name that was displayed prior to this message indicates the reason the database was not
dumped.
unable to dump the transaction log for database The command to dump the transaction log failed. The error message from the Sybase
database_name in instance server_name server that was displayed prior to this message indicates the reason the transaction
log was not dumped.
unable to dump the transaction log without truncating it for The command to dump the transaction log with the no_truncate option failed. The
database database_name error message from the Sybase server that was displayed prior to this message
indicated the reason the transaction log was not truncated.
unable to execute the command PRECMD or POSTCMD The PRECMD or POSTCMD could not be found. Ensure the command exists in one
contents of the directories specified in $PATH.
unable to print savegrp completion message After the backup occurred, the NetWorker software could not find the save sets in the
media database.
Unable to print summary. One or more parameters are not set The parameters that NetWorker software expected to find for the function that prints
the savegrp summary were not supplied.
unable to spawn process to issue the PRECMD or POSTCMD The PRECMD or POSTCMD could not be run because a process needed to run them
command was not available.
360 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
Table 47 Error messages from Sybase consistency checks, backups, and restores (page 3 of 4)
unable to truncate the transaction log for database The command to truncate the transaction log failed. The error message from the
database_name Sybase server that was displayed prior to this message indicated the reason the
transaction log was not truncated.
unable to truncate the transaction log for database The command to truncate the transaction log failed. The error message from the
database_name with the no_log option Sybase server that was displayed prior to this message indicates the reason the
transaction log was not truncated.
cannot restore database “database_name” because it does not The nsrsybrc command could not find a backup of the database specified for
exist in “instance_name” recovery. Run the nsrinfo command to see if a backup exists, and ensure that the
user ID used for the nsrsybrc command matches the object owner that is displayed.
Run the Sybase Backup server and the nsrsybrc and nsrdasv commands from the
same user ID to avoid this problem.
cannot restore to the destination database database_name The database to which the nsrsybrc command is recovering does not exist. Create
because it does not exist in the instance server_name the database and try the nsrsybrc command again.
If master is being restored, no others can be restored in the A list of databases to recover was specified, and the master database was listed
same session. The database must be in master recover mode along with others. Recovering the master database shuts down the Sybase server,
to recover master, and this precludes restoring any other which makes recovering other databases impossible.
database.
if the destination is an instance, the source must be an instance, The -d destination option was used to specify a server instance, but the item to be
too recovered is a single database. Retry the command and specify the destination
database. For example:
nsrsybrc -U sa -P xxx -d SYBASE:/destination_server/destination_database
SYBASE:/source_server/source_database
Note: The Sybase server and database names are case-sensitive and must be in the
same case as recorded in the NetWorker backup indexes.
if the source is an instance, the destination must be an instance, The object to be recovered is an entire Sybase server instance, but the destination
too specified to recover the instance to is a database name. Retry the command and
specify the destination as an instance. For example:
nsrsybrc -U sa -P xxx -d SYBASE:/destination_server SYBASE:/source_server
Note: The Sybase server names are case-sensitive and must be in the same case as
recorded in the NetWorker backup indexes.
internal error. Full backup expected but not found. A full backup was found, but was then no longer available before the nsrsybrc
command recovered the database. For example, this error occurs when the volume
containing the full backup is manually relabeled at the same time the incremental
backup that depends on that full backup is being recovered.
invalid time specification: time value The -t time option supplied with the nsrsybrc command was not valid. This option
should be supplied in the nsr_getdate form. The nsr_getdate man page provides
details.
no NetWorker server was specified The NetWorker server was not specified or could not be found. Specify the NetWorker
server to which the command is to be issued with the -s server_name option.
Recover option validation error. Either the entire instance (SYBASE:/ASE_server_name) or a list of databases
(SYBASE:/ASE_server_name/database_name1
SYBASE:/ASE_server_name/database_name2) must be specified at the command
line. Both an instance name and a list of databases cannot be specified at the same
time.
the command line did not specify a database or an instance to The name of the database or Sybase server instance to be recovered must be
restore supplied when using the nsrsybrc command.
Table 47 Error messages from Sybase consistency checks, backups, and restores (page 4 of 4)
there are no databases to restore in instance server_name There were no databases found in the directory entry for the Sybase server database.
there is no backup of the instance for the time supplied No backup could be found for the Sybase server name supplied. Make sure that the
nsrsybrc command is run with the same user ID that was used to run the nsrdasv
command. Otherwise, ensure that the time used is correct. If a time is not entered, the
current time is used.
there is no full backup of database database_name in instance Backups of this database exist, but there was not a full backup available for the time
server_name for the time supplied requested. Try an earlier time, or run the nsrinfo command to determine when the
last full backup occurred. For example, if the full backup has passed its browse policy,
the full backup might be listed in the media database but not in the client index. In this
situation, re-create the entry in the client index with the scanner -i command, and
then recover the database with the nsrsybrc command.
unable to query backup There was an error querying the backup from the server. Check the xbsa.messages
file for the specific error text.
libnsrsyb opened with an unknown mode: internal error The libnsrsyb shared library was opened with a mode other than read or write.
there is insufficient memory to continue There is not enough memory to complete the operation.
The time stamp dddddddd has non digits in it. Timestamps are The timestamp supplied for the load command from the isql command line has a
composed of digits in the form YYYYMMDDhhmmsslll. timestamp with an incorrect format. The timestamp must have the format
YYYYMMDDhhmmsslll, where:
• YYYY indicates the year.
• MM indicates the month.
• DD indicates the day.
• hh indicates the hour.
• mm indicates the minutes.
• ss indicates the seconds.
• lll indicates the milliseconds. The l millisecond position is optional. Alternatively,
000 can be entered for the milliseconds.
time stamps are not valid for dump command The isql command line specified a timestamp for a dump command. Timestamps are
not valid with the dump command.
unable to close and create save set The BSA call to create and close the save set for a database or transaction dump
failed. Check the xbsa.messages file for specific details.
unable to close save set The call to close the save set failed during a load of a database or a transaction log.
Check the xbsa.messages file for specific details.
unable to create environment variables The resources required to create the internal environment variable array were not
available. This might be due to access problems in the /nsr/tmp directory.
362 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Troubleshooting and Error Messages
Unable to create save set. There is likely a configuration or The save set could not be created on the NetWorker server. If the debug level is at
enabler problem. Set the debug level to at least 2, retry the least 2 (the default), check the xbsa.messages file for the error text. If the debug level
operation, and check the /nsr/applogs/xbsa.messages file for is not set at 2, change the setting to 2 and retry the operation. Check the
the underlying reason. xbsa.messages file for specific details.
unable to create the save set on the server The call to create the save set on the NetWorker server failed. Check the
xbsa.messages file for specific details.
unable to end the current read session During a load database or load transaction log operation, the read session of the data
from the NetWorker software could not be closed. Check the xbsa.messages file for
specific details.
Unable to find backup of the (database or transaction log) The item to be loaded could not be found. Use the nsrinfo command to check that the
SYBASE:/server_name/database_name. Check the command object-owner for the backup is the same as the process that launched the Sybase
line for errors in the instance or database name or use nsrinfo to Backup server and that backups exist for this database.
see which save sets are available.
Unable to find full backup of the database database_name for No backup could be found in the NetWorker server. If no time was supplied, the time
the time supplied. used is the current time, which means that no backup exists. Use the nsrinfo
Unable to find incremental backup of the database command to check which backups are available and make sure that the object owner
database_name for the time supplied. shown there is the same as the user ID that launched the Sybase Backup server.
Unable to find backup of the database database_name for the
time supplied.
unable to parse stripe specifier The isql command line had a poorly formatted stripe specifier.
unable to read the requested number of bytes from the save set During a load database or load transaction log operation, the save set could not be
read. Check the xbsa.messages file for specific details.
unable to send data to save set During a database or transaction log dump, the data could not be written to the save
set. Check the xbsa.messages file for specific details.
unknown backup type supplied The backup type supplied from the NetWorker server was not a database or a
transaction log.
364 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Glossary
This glossary contains the definitions of terms found in this manual. Most of the
terms are specific to the NMDA software. For terms specific to the NetWorker
software, refer to the latest EMC NetWorker Administration Guide.
A
active-active Type of cluster configuration where a group of linked virtual or physical hosts with
application cluster shared storage, called cluster nodes, can access the database data from multiple nodes
concurrently.
active-passive cluster Type of cluster configuration where the data server runs on the active physical node,
and other nodes are passive nodes that maintain data updates and wait to take over if
the active node fails.
administrator Person who normally installs, configures, and maintains software on network
computers, and who adds users and defines user privileges.
attribute Feature of a NetWorker resource. A setting or information that the resource provides.
auto media Feature that enables the storage device controlled by the NetWorker server to
management automatically label, mount, and overwrite a volume it considers unlabeled. Volumes
that are eligible for reuse are also automatically recycled.
B
backup 1. Duplicate of database or application data or an entire computer system stored
separately from the original, which can be used to recover the original if it is
destroyed or damaged.
2. Operation that saves data to a volume for use during a recovery.
backup cycle Full or level 0 backup and all the subsequent incremental backups that are dependent
on that backup.
blobspace (Binary large object space) Informix logical unit of storage consisting of one or more
data chunks, used to store large objects, such as multimedia images.
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 365
Glossary
bootstrap Save set that is essential for disaster recovery procedures with the NetWorker server.
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 the period of time during which backup entries are
retained in the client file index. The index makes the associated backed-up data
readily accessible for recovery. See also ”retention policy.”
C
catalog Process that removes a PowerSnap backup entry from the database server catalog
synchronization when the corresponding backup entry is removed from the NetWorker indexes. See
also ”NWORA resource file.”
client Database or application server whose data can be backed up and restored with the
NMDA software.
client file index Database maintained by the NetWorker server that tracks every database object, file,
or file system backed up. The NetWorker server maintains a single index file for each
client computer. The tracking information for each backup is deleted from the index
when the browse policy of the backup expires.
client-side NetWorker module backup configuration, made without the configuration wizard,
configuration that is performed through the NetWorker Management Console and configuration
files or parameters stored on the client host, as compared to server-side
configuration. See also ”server-side configuration.”
clone Duplicate copy of backed-up data, which is indexed and tracked by the NetWorker
server. Single save sets or entire volumes can be cloned.
clone volume Exact duplicate of a backup or archive volume. NetWorker software can track four
types of volumes (backup, archive, backup clone, and archive clone). Save sets of
these different types may not be intermixed on one volume. Clone volumes may be
used in exactly the same way as the original backup or archive volume.
cluster nodes A group of linked virtual or physical hosts with shared storage in a cluster, which
work together and represent themselves as a single host called a virtual cluster host.
D
daemon Process on UNIX systems that runs in the background and performs a specified
operation at predefined times or in response to certain events.
dbobject Informix database object, a term that can refer to a blobspace, dbspace, or logical log
file.
dbspace Informix logical unit of storage that consists of one or more chunks. An IDS instance
might consist of one or more dbspaces.
366 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Glossary
DD Boost An optimized library and communication framework with a special Data Domain
API that allows the NetWorker software to define and interact with storage devices
on the Data Domain system.
deduplication Type of backup in which redundant data blocks are identified and only unique
backup blocks of data are stored. When the deduplicated data is restored, the data is returned
to its original native format.
deferred live backup Type of snapshot backup in which an existing point-in-time copy (snapshot) of data,
which was created on the primary storage unit by an instant backup, is backed up to
secondary storage. The snapshot is retained on the primary storage.
destination client Computer to which database files are restored in a directed recovery.
device 1. Storage unit that can contain a backup volume. A storage unit can be a tape
device, optical drive, autochanger, or disk connected to the server or storage
node.
2. General term that refers to storage hardware.
3. Access path to the physical drive, when dynamic drive sharing (DDS) is enabled.
directed recovery Method that recovers data that originated on one client host and re-creates it on a
different client host, known as the destination client.
disaster recovery Restore and recovery of business operations and data in the event of hardware failure
or software corruption.
distributed segment Part of the DD Boost interface, which enables data deduplication to be performed on
processing (DSP) a host before the data is sent to the Data Domain system for storage.
E
emergency boot file Informix ON-Bar ASCII file that contains all of the information stored in the ON-Bar
catalog tables that pertain to critical dbspaces.
expired save set Save set that has exceeded its browse time and has been removed from the
NetWorker client file index. Expired save sets can no longer be browsed.
F
firewall A system designed to prevent unauthorized access to or from a private network.
G
group Client computer or group of clients that are configured to back up files during a
NetWorker scheduled backup, according to a single designated schedule or set of
conditions.
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 367
Glossary
H
high-availability System of multiple computers configured as cluster nodes on a network that ensures
system the application services continue despite a hardware or software failure.
I
immediate live Type of snapshot backup in which an existing point-in-time copy (snapshot) of data,
backup which was created on the primary storage during an instant backup, is immediately
backed up to secondary storage. The snapshot is automatically deleted from the
primary storage.
instant backup Type of snapshot backup that creates a point-in-time copy (snapshot) of data on the
primary storage unit, which may be immediately recovered as a backup copy.
instant restore Type of snapshot restore that copies data created during an instant backup to its
original location or to an alternate location.
internationalization Process of adapting software to accept input and output of data in various languages
(I18N) and locales.
J
jukebox See ”library.”
L
label Electronic header on a volume used for identification by NetWorker or other data
mover application.
legacy NetWorker One of the NetWorker modules that NMDA replaces: NMDB2, NMI, NML, NMO, or
module NMS.
level Backup configuration option that specifies how much data is saved during a
scheduled or manual backup:
◆ A full backup backs up all data objects, regardless of when they last changed.
◆ An incremental backup backs up only data objects that have changed since the
previous backup.
Table 8 on page 71 describes the backup levels supported for each type of database or
application.
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.
368 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Glossary
live backup Backup to secondary storage media of a previously created snapshot. Also known as
a rollover. The two types of live backup are as follows:
◆ “deferred live backup”
◆ “immediate live backup”
M
manual backup Backup that a user performs from the client, also known as an unscheduled,
on-demand, or ad hoc backup.
mean time to recover Time specified to perform a recovery. For example, you might set 10 minutes as the
(MTTR) goal for a recovery from a disk failure.
media Physical storage, such as magnetic tape, optical disk, or file system, to which backup
data is written. See also ”volume.”
media index Database that contains indexed entries of storage volume location and the life cycle
status of all data and volumes managed by the NetWorker server. Also known as
media database.
multiple session Method of backing up or restoring multiple parallel streams of data simultaneously
backup and restore between a database and multiple media devices. Also known as multistripe.
multiplex To simultaneously write data from more than one save set to the same storage device.
N
NetWorker Data A logical storage device created on a Data Domain server, which is used to store
Domain device deduplicated NetWorker backups. Each device appears as a folder on the Data
Domain system and is listed with a storage volume name in NMC.
NetWorker Software program that is used to manage NetWorker servers and clients. The NMC
Management server also provides reporting and monitoring capabilities for all NetWorker
Console (NMC) processes.
NetWorker Module for Add-on module for NetWorker software that provides backup, restore, and storage
Databases and management solutions for supported database or application software. NMDA is an
Applications (NMDA) aggregate of individual NetWorker modules for DB2 (NMDB2), Informix (NMI),
Lotus Domino/Notes (NML), Oracle (NMO), and Sybase (NMS) data.
NetWorker server Computer on a network that runs the NetWorker server software, contains the online
indexes, and provides backup and restore services to the clients and storage nodes on
the same network.
notification Message sent to the NetWorker administrator about important NetWorker events.
NWORA resource file NMDA Oracle resource file in which resources must be defined to enable Oracle
proxy backups and (optionally) catalog synchronization.
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 369
Glossary
O
offline backup Backup of database objects performed while the corresponding database or instance
is shut down and unavailable to users.
online backup Backup of database objects performed while the corresponding database or instance
is running and available to users.
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 index).
Oracle Recovery Collection of Oracle database tables maintained by RMAN, which includes
Catalog information about Oracle backup sets and pieces, image and proxy copies, archived
redo logs, stored scripts, and the target database schema.
Oracle Recovery Oracle utility that acts as an intelligent interface to Oracle databases for the backup
Manager (RMAN) and restore of Oracle database objects.
P
parallelism Method that backs up or recovers data for multiple clients, or multiple save sets for
one client, at the same time.
performing client Host where a directed recovery is initiated by using the NetWorker User for Lotus
program.
physical cluster client NetWorker client that is bound to a physical host in the cluster and can have its own
resources (private or local).
point-in-time copy Fully usable copy of a defined collection of data, such as a consistent file system,
(PIT 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 defined rules for client backups that can be named and applied to multiple
groups. Groups have dataset, schedule, browse, and retention policies.
policy uniformity Consistency of the browse and retention policies in a group of co-dependent Oracle
save sets from the same scheduled backup cycle or save set bundle, enforced by
NMDA to ensure that incremental Oracle backups do not persist after other Oracle
backups they depend on have expired.
pool 1. NetWorker sorting feature that assigns specific backup data to be stored on
selected media volumes.
2. Collection of NetWorker backup volumes to which specific data has been
backed up.
PowerSnap EMC NetWorker Module 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.
370 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Glossary
primary storage Server storage subsystem that contains application data and any persistent snapshot
backups of data. See also ”secondary storage.”
probe-based backup Type of scheduled backup, also known as an event-based backup, where the
NetWorker server initiates the backup only when specified conditions are met, as
determined by one or more probes.
proxy backup Backup of Oracle data that creates a point-in-time (snapshot) copy on primary
storage through the PowerSnap Module. The snapshot is optionally backed up to
secondary storage. See also ”instant backup” and “live backup.”
proxy client host Host used in PowerSnap backups that is separate from the database server host, with
access to the primary storage unit. During a PowerSnap live backup, either the
database server host or proxy client host backs up a point-in-time copy (snapshot)
from the primary storage to secondary storage.
proxy restore Restore of Oracle data from a proxy backup through the PowerSnap Module. See also
”instant restore,” “rollback restore,” and “restore from secondary storage.”
Q
quiesce Database or application state that enables a consistent backup to be performed.
R
recover To restore data files from a backup volume to a client disk and apply transactional
(redo) logs to the data to make it consistent with a given point in time.
recyclable save set Save set whose browse and retention policies have expired in the NetWorker indexes.
Recyclable save sets are removed from the media database.
recyclable volume NetWorker volume whose data has exceeded both its browse and retention policies
and is now available to be relabeled and reused.
remote device Storage device that is attached to a storage node that is separate from the NetWorker
server.
resource NetWorker software component that describes details of the NetWorker server or its
clients. Clients, devices, schedules, groups, and policies are all NetWorker resources.
Each resource has configurable attributes that define its properties.
restore To retrieve individual data files from backup media and copy the files to disk,
without applying transaction logs. See also ”recover.”
restore from Type of DB2 or Oracle restore that restores a proxy backup from a secondary storage
secondary storage medium.
retention policy NetWorker setting that determines the minimum period of time that backup data is
retained on a volume available for recovery. After this time is exceeded, the data is
eligible to be overwritten. See also ”browse policy.”
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 371
Glossary
roll forward To apply transactional logs to a recovered database to restore it to a state that is
consistent with a given point in time.
rollback restore PowerSnap 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.
S
save NetWorker command that backs up client files to backup media volumes and makes
data entries in the online index.
save set Group of data from a single client computer, which is backed up on storage media.
save set bundle Group of co-dependent Oracle save sets from the same scheduled backup cycle,
assembled into a bundle according to configuration settings.
save set consolidation Process that performs a level 1 backup and merges it with the last full backup of a
save set to create a new full backup.
save stream Data and save set information that is written to a storage volume during a backup. A
save stream originates from a single save set.
scanner NetWorker command used to read a backup volume when the online indexes are not
available.
scheduled backup Type of backup that is configured to start automatically at a specified time for a
group of one or more NetWorker clients. A scheduled backup generates a bootstrap
save set.
secondary storage Storage library attached to the NetWorker server or storage node, used to store
regular backups or snapshot backups. See also ”primary storage.”
shared disk Storage disk that is connected to multiple nodes in the cluster.
snap set Group of files, volumes, or file systems from a single client that describes 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 on a primary storage system during an
instant backup.
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.
372 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Glossary
stage To move data from one storage medium to a less costly medium, and later removing
the data from its original location.
storage node Storage device physically attached to a computer other than the NetWorker server,
whose backup operations are administered from the controlling NetWorker server.
T
tablespace Oracle database structure that consists of one or more data files.
target database Database that the NetWorker server backs up as a safeguard against data loss.
transaction log Record of named database transactions or list of changed files in a database, stored in
a log file to execute quick restore and rollback transactions.
U
unscheduled backup See ”manual backup.”
V
virtual cluster client NetWorker client that is not permanently bound to one physical host but is managed
by a cluster manager. It is also referred to as a logical cluster client or a virtual client.
volume 1. Unit of physical storage medium, such as a magnetic tape, optical disk, or file
system used to store data. Backup data must be stored on a backup volume and
cannot be stored on an archive volume or a clone volume.
2. Identifiable unit of data storage that may reside on one or more computer disks.
volume ID (volid) Internal identification that NetWorker software assigns to a backup volume.
volume name Name that you assign to a backup volume when it is labeled. See also ”label.”
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 373
Glossary
374 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Index
Symbols B
(Avamar) Deduplication Backup attribute backup
in Client resource 72 Client resource 243
(Avamar) Deduplication Node attribute command 251, 327
in Client resource 72 command (pool option) 324
command (trace option) 346
copies 105
Numerics delete 134
32-bit and 64-bit coexistence 232
error messages 332, 346
from NetWorker User for Lotus 124, 175
A from NetWorker User for Sybase 124, 175
active-active application cluster 210 Group resource 70, 242
active-passive cluster 202 levels supported 34
ADDRESS_LIST parameter 222 multiple session 89
Administrator, NetWorker partitioned Domino server 96
Client resource 243 required Sybase roles 109
Device resource 63 Schedule resource 71
Group resource 70, 242 transaction logs 93
Pool resource 63, 242 Backup Command attribute
Schedule resource 71 in Client resource 72, 243
Server resource 60 backup copies during manual backups 105
Snapshot Policy resource 238, 242 backup current control file command 196
User Group resource 61 backup failover 203
Advanced Copy Services (ACS) 247 backup hangs, troubleshooting 332
AES encryption 296 Backup Snapshots attribute
Aliases attribute in Snapshot Policy resource 238
in Client resource 72 backup spfile command 196
allocate channel command backup types
parms option 328 archived redo log 193, 226
archive logging 32 Avamar deduplication 27, 76
archived redo log control file 193, 196
backup 193, 226 Data Domain deduplication 27, 80
restore 226 deferred live 238, 257
sharing across RAC nodes 225 immediate live 238
attributes for resources instant 238, 256, 264
Client resource 63 manual 25, 27, 119
Server resource 60 NetWorker bootstrap 53
automatic catalog synchronization for proxy backups 273 NWORA resource file 257, 259
automatic channel allocation 38, 101, 103 password file 193
Avamar deduplication probe-based 28
backup 27, 76 proxy 236
backup in a cluster 208 registry files 193
restore 27 scheduled 25, 26, 116
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 375
Index
376 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Index
E L
enabling LD_LIBRARY_PATH parameter 319
policy uniformity 108 LD_LIBRARY_PATH_64 parameter 319
save set bundling 107 LIBPATH parameter 320
encryption live backup
AES encryption 296 deferred 238, 257
environment variable immediate 238
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 377
Index
378 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Index
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 379
Index
P NSR_CROSS_MOUNT_POINTS 309
Parallelism attribute NSR_DATA_MOVER 246
in Client resource 73 NSR_DATA_VOLUME_POOL* 63, 297, 316
in Server resource 61 NSR_DB2_RESTORE_TABLESPACE_BKUP 305
parameter NSR_DB2CAT_MODE 248
ADDRESS_LIST 222 NSR_DBIID 309
FAILOVER 222 NSR_DEBUG_LEVEL 85, 298
INSTANCE_NAME 223 NSR_DEDUP_BACKUP 298
LOCAL_LISTENER 223 NSR_DEDUP_CACHE_ENABLED 298
SERVICE_NAME 222, 223 NSR_DEDUP_CACHE_TAG 299
SID_LIST_LISTENER 222, 223 NSR_DEDUP_CHUNK_SIZE 299
parameter resources NSR_DEDUP_NODE 299
NSR_ORACLE_NLS_LANG 266 NSR_DEVICE_INTERFACE 300
NSR_ORACLECAT_DEBUG_FILE 266 NSR_DIAGNOSTIC_DEST 85, 300
NSR_ORACLECAT_LOG_FILE 266 NSR_DIRECT_ACCESS 300
NSR_ORACLECAT_MODE 266, 274 NSR_DPRINTF 300
NSR_REMOVE_ON_FAILURE 266 NSR_DR_BACKUP_INFO 305, 307
parameters NSR_DR_FILE_LIST 305, 307
DB2_ALIAS 303 NSR_DUMP_LOG_OPT 320
DB2_APPLY_NW_LEVELS 303 NSR_ENCRYPTION_PHRASES 300
DB2_NODE_NAME 304 NSR_EXCLUDE_FILE 310, 320
DB2_OPTIONS 304 NSR_EXCLUDE_LIST 310
DB2_PARTITION_LIST 304 NSR_FOLLOW_LINKS 310
DB2_QUIESCE 304 NSR_GROUP 104
DB2_SESSIONS 304 NSR_INCR_EXPIRATION 108
DB2_TBS_LIST 304 NSR_LOG_DIR 310
DB2_USER 305 NSR_LOG_VOLUME_POOL 305, 307, 321
DB2_VENDOR_LIB_PATH 305 NSR_LOTUS_DATA_DIR 310
DB2INSTANCE 304 NSR_MAX_START_RETRIES 305, 310
DB2PATH 248, 304 NSR_MAX_STREAMS 246
DBCCOPT 319 NSR_MAX_TXN_LOGS 311
DO_LOGFILE_BACKUPS 306 NSR_MMDB_RETRY_TIME 316
DO_WHOLE_SYSTEM_BACKUP 306 NSR_NO_BUSY_ERRORS 301
INFORMIXDIR 306 NSR_NO_MULTIPLEX 317
INFORMIXSQLHOSTS 306 NSR_NO_NOTES_INIT 311
INSTHOME 305 NSR_NOTES_CONNECT_TIMEOUT 311
LD_LIBRARY_PATH 319 NSR_NOTES_INI_PATH 311
LD_LIBRARY_PATH_64 319 NSR_NUMBER_LOGS 311
LIBPATH 320 NSR_NWPATH 241, 266, 301
LOG_THRESHOLD 85 NSR_ORACLE_CONNECT_FILE 86, 268
LOTUS_NSF_FILE 85 NSR_ORACLE_HOME 268
LOTUS_USER 308 NSR_ORACLE_LIB_PATH 268
Notes_ExecDirectory 308 NSR_ORACLE_NLS_LANG 242
NSR_AES_ENCRYPTION 296 NSR_ORACLE_SID 269
NSR_APPLY_LOGS 308 NSR_ORACLE_TNS_ADMIN 269
NSR_ASE_PASSWORD 320 NSR_PARALLELISM 311, 321
NSR_ASE_VERIFY 320 NSR_PHYSICAL_HOST_LICENSE 301
NSR_AUTO_RESTORE 308 NSR_PREFETCH_LOGS 311
NSR_BACKUP_ALL_EXTENSIONS 308 NSR_PROMOTE_FULL 321
NSR_BACKUP_LEVEL 308, 320 NSR_PROXY_PFILE 317
NSR_BACKUP_LOGS_MODE 308 NSR_PS_SAVE_PARALLELISM 246
NSR_BACKUP_LOTUS_DIR 308 NSR_RECOV_INTERACT 312
NSR_BACKUP_PATHS 309, 320 NSR_RECOV_LIST_FILE 312
NSR_BROWSELIST_CACHE_DEST 309 NSR_RECOVER_POOL 301
NSR_BUNDLING 107 NSR_RECOVER_TIME 312
NSR_CATALOGFILE 309 NSR_RELOCATION_DEST 312
NSR_CHECKSUM 297 NSR_RESOURCE_DIR 312
NSR_CLIENT 297 NSR_RETAIN_NUM_LOGS 312
NSR_COMFORT_SPAN 309 NSR_RETENTION 73
NSR_COMPRESSION 297 NSR_RETENTION_DISABLED 317
380 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Index
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 381
Index
382 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide
Index
U
uniformity, policy 44
USE_CONSISTENCY_CHECK parameter 322
User Group resource 61
USER_PSWD parameter 306, 322
V
VENDOROPT 135, 149
virtual cluster client, proxy backups from 276
virtual host 206
volume pool
Default pool 63
defined 63
resource 63, 242
specifying 63
volumes, determining for restore 163
W
wizard fails to create backup, troubleshooting 332
EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide 383
Index
384 EMC NetWorker Module for Databases and Applications Release 1.2 Administration Guide