+ All Categories
Home > Documents > NSR-R/3 V3.0 (Solaris, Linux) - Fujitsu Technology...

NSR-R/3 V3.0 (Solaris, Linux) - Fujitsu Technology...

Date post: 25-May-2018
Category:
Upload: trinhthuy
View: 230 times
Download: 2 times
Share this document with a friend
169
NSR-R/3 V3.0 (Solaris, Linux) Administrator’s Guide Target group The information in this guide is intended for system administrators who are responsible for installing software and maintaining the servers and clients on a network. Operators who monitor the daily backups may also find this manual useful. Contents This guide provides information on how to configure and manage the NSR-R/3 software. Edition: September 2004 Product Number: 04128 File: nsr-r3.pdf Base of NSR-R/3 V3.0 / this guide: Legato NetWorker™ Module for SAP R/3® with Oracle®, Release 3.0, Multiplatform Version, Administrator’s Guide Copyright © 2003, LEGATO Software, a division of EMC Copyright © Fujitsu Siemens Computers GmbH 2004. All rights reserved. Delivery subject to availability; right of technical modifications reserved. All hardware and software names used are trademarks of their respective manufacturers. This manual was produced by cognitas. Gesellschaft für Technik-Dokumentation mbH www.cognitas.de
Transcript

NSR-R/3 V3.0 (Solaris, Linux)

Administrator’s Guide

Target group

The information in this guide is intended for system administrators who are responsible for installing software and maintaining the servers and clients on a network. Operators who monitor the daily backups may also find this manual useful.

Contents

This guide provides information on how to configure and manage the NSR-R/3 software.

Edition: September 2004

Product Number: 04128

File: nsr-r3.pdf

Base of NSR-R/3 V3.0 / this guide: Legato NetWorker™ Module for SAP R/3® with Oracle®, Release 3.0, Multiplatform Version, Administrator’s Guide Copyright © 2003, LEGATO Software, a division of EMC

Copyright © Fujitsu Siemens Computers GmbH 2004.

All rights reserved.Delivery subject to availability; right of technical modifications reserved.

All hardware and software names used are trademarks of their respective manufacturers.

This manual was produced bycognitas. Gesellschaft für Technik-Dokumentation mbHwww.cognitas.de

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 3

Contents

Preface ........................................................................................................... 9.

Audience............................................................................................................................ 9.

Product Documentation ..................................................................................................... 9.

Conventions..................................................................................................................... 10.

Information and Services................................................................................................. 11.

Customer Service...................................................................................................... 11.

Technical Support ..................................................................................................... 11.

Chapter 1: Introduction............................................................................... 13.

Importance of Backing Up Mission-Critical Data ............................................................. 13.

Naming Conventions Used in This Guide........................................................................ 14.

Basic Network Configuration ........................................................................................... 14.

Summary of Features ...................................................................................................... 15.

NetWorker Server Software Features ....................................................................... 16.

NSR-R/3 Software Features ..................................................................................... 16.

New or Enhanced Features................................................................................ 16.

Improved Administrator’s Security ............................................................... 16.

Expiration Parameter Replaces Browse and Retention Policy Settings ...... 17.

Added Support for SAP BRRECOVER........................................................ 17.

Improved Manageability and Performance of Backups and Restores ......... 17.

Improved Logging and Placement of Log/Temporary Files ......................... 18.

More Flexible Query and Restore ................................................................ 18.

More Flexible Backup and Restore User Selection...................................... 19.

New Data Compression Algorithms ............................................................. 19.

BRTools Software Features ...................................................................................... 19.

Oracle RMAN Software Features.............................................................................. 19.

NetWorker PowerSnap Features .............................................................................. 20.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Contents

4

Types of PowerSnap Backups Supported....................................................20.

Types of PowerSnap Restores Supported ...................................................21.

Summary of Components and Settings ...........................................................................21.

NetWorker Server Components ................................................................................22.

NSR-R/3 Components...............................................................................................22.

NetWorker Client Settings .........................................................................................23.

SAP Components ......................................................................................................23.

Oracle Components...................................................................................................24.

PowerSnap Components...........................................................................................24.

Summary of Processes ....................................................................................................25.

Backup with SAPDBA or brbackup............................................................................25.

Backup with RMAN....................................................................................................26.

Restore with SAPDBA or brrestore ...........................................................................27.

Restore with RMAN ...................................................................................................27.

Related Documentation....................................................................................................28.

Chapter 2: Basic Software Configuration..................................................29.

Task 1: Configure the Environment..................................................................................30.

Task 2: Configure the NetWorker Resources ..................................................................31.

Task 3: Configure the NSR-R/3 Parameters....................................................................33.

Task 4: Configure the Backup and Restore Utility ...........................................................42.

Example: Configuring backint as the Backup and Restore Utility .......................44.

Example: Configuring RMAN as the Backup and Restore Utility ........................44.

Task 5: Configure a Backup of Cluster Data....................................................................46.

Chapter 3: Installation .................................................................................47.

Installation Requirements.................................................................................................47.

Supported Operating Systems.........................................................................................48.

Software Requirements....................................................................................................48.

Files Installed ...................................................................................................................49.

Upgrading from Release 2.x of NSR-R/3 .........................................................................49.

Contents

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 5

Install Procedures............................................................................................................ 50.

Installing the NSR-R/3 Software ............................................................................... 50.

Task 1: Access the Installation Files ......................................................................... 50.

From a Local CD-ROM....................................................................................... 50.

From the Fujitsu Siemens Computers Web Site ................................................ 51.

Task 2: Install the NSR-R/3 Software ....................................................................... 51.

Installing the NSR-R/3 Software in a Nondefault Location ................................. 52.

Installing the NSR-R/3 Software on Solaris with Installer ................................... 52.

Installing RMAN Components (NSR-DBM-ORA, Optional) ................................ 53.

Installing Licenses ........................................................................................................... 53.

Managing Your Fujitsu Siemens Computers Licenses.................................................... 54.

Uninstall Procedures ....................................................................................................... 54.

Uninstalling the RMAN Components (NSR-DBM-ORA) ........................................... 55.

Chapter 4: Manual Backups ....................................................................... 57.

About Manual Backups.................................................................................................... 57.

Performing an Offline Manual Backup............................................................................. 58.

How to Perform an Offline Backup............................................................................ 58.

Performing an Online Manual Backup............................................................................. 59.

How to Perform an Online Backup............................................................................ 60.

Backing Up the Client File Indexes and Bootstrap .......................................................... 61.

Reviewing Backup Session Reports................................................................................ 62.

Chapter 5: Scheduled Backups ................................................................. 65.

Task 1: Test Basic Settings ............................................................................................. 65.

Task 2: Configure the Client Resource............................................................................ 66.

Task 3: Configure the Scheduled Backup Configuration File .......................................... 68.

Reviewing Backup Session Reports................................................................................ 73.

Chapter 6: Cloning Save Sets .................................................................... 75.

Clone Command Syntax and Options ............................................................................. 75.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Contents

6

Monitoring the Cloning Process .......................................................................................77.

Chapter 7: Restoring Data...........................................................................79.

Reviewing Save Sets .......................................................................................................79.

Expiration of Save Sets .............................................................................................80.

Performing Restores ........................................................................................................80.

How to Restore a Database or Database Object ......................................................81.

Restoring SAP R/3 with Oracle Cluster Data ...................................................................82.

Reviewing Restore Session Reports................................................................................82.

Chapter 8: PowerSnap Backups and Restores.........................................85.

Requirements................................................................................................................... 86.

Supported Environments ...........................................................................................86.

Required Software Components ...............................................................................86.

Types of PowerSnap Backups.........................................................................................87.

Instant Backup...........................................................................................................87.

Live Backup ...............................................................................................................88.

Immediate Live Backup.......................................................................................88.

Deferred Live Backup..........................................................................................88.

Types of PowerSnap Restores ........................................................................................89.

Instant Restore ..........................................................................................................89.

Rollback.....................................................................................................................89.

Restore from Secondary Storage ..............................................................................90.

PowerSnap Backup and Restore Data Flows ..................................................................90.

Quick Start .......................................................................................................................92.

PowerSnap Software Configuration Roadmap ................................................................94.

Configuring NetWorker Resources for PowerSnap..........................................................96.

Configuring the NetWorker Snapshot Pool Resource ...............................................96.

Configuring the NetWorker Snapshot Policy Resource.............................................96.

Configuring the NetWorker Group Resource.............................................................96.

Configuring the NetWorker Client Resource .............................................................97.

Contents

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 7

Setting PowerSnap Parameters in the NSR-R/3 configuration file.................................. 98.

Setting Variables in the PowerSnap Configuration File................................................. 102.

PowerSnap Use of Equivalent NSR-R/3 Parameters ............................................. 104.

Invoking PowerSnap Backup Processes....................................................................... 106.

Instant Backup Processes....................................................................................... 106.

Immediate Live Backup Processes ......................................................................... 109.

Deferred Live Backup Processes............................................................................ 112.

Querying PowerSnap Backup Records ......................................................................... 114.

Invoking PowerSnap Restore Processes ...................................................................... 115.

Instant Restore and Rollback Processes ................................................................ 115.

Restore from Secondary Storage Processes.......................................................... 117.

Appendix A: Commonly Used Command Options for brbackup, brarchive, brrecover, and brrestore ........................................................ 119.

Syntax and Options for brbackup and brarchive Commands ........................................ 120.

Syntax and Options for brrecover Command ................................................................ 123.

Syntax and Options for brrestore Command ................................................................. 126.

Appendix B: Environment Variables for RMAN...................................... 129.

Setting the Environment Variables ................................................................................ 129.

Environment Variable Definitions .................................................................................. 130.

Appendix C: Troubleshooting................................................................. 137.

Verifying the Release Information ................................................................................. 137.

Generating Diagnostic Logs .......................................................................................... 138.

Backup and Restore Problems...................................................................................... 138.

Regular Session Error Messages.................................................................................. 140.

Fatal Error Messages .................................................................................................... 143.

Glossary..................................................................................................... 149.

Index........................................................................................................... 157.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Contents

8

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 9

Preface

This guide provides information on how to configure and manage the NSR-R/3 software.

Install this multiplatform NSR-R/3 software on the supported Solaris, or Linux server and clients before using the information presented in this guide. For installation instructions, refer to "Chapter 3: Installation" on page 47.

AudienceThe information in this guide is intended for system administrators who are responsible for installing software and maintaining the servers and clients on a network. Operators who monitor the daily backups may also find this manual useful.

Product DocumentationFujitsu Siemens Computers offers an extensive archive of product documentation at its web site www.fujitsu-siemens.com/networker. The NetWorker Module documentation can be found following the links NetWorker Modules / NSR-R/3 and then Support / manuals. Most of the documents are in Adobe® Acrobat® Portable Document Format (PDF), and can be viewed by downloading and installing the Adobe Acrobat Reader as of V4.05. The Reader is available from Adobe at www.adobe.com. To install and use the Reader on the platform of your choice, refer to the instructions at the Adobe web site.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Conventions

10

ConventionsThis document uses the following typographic conventions and symbols to make information easier to access and understand.

Convention Indicates Example

boldface Names of line commands, daemons, options, programs, or scripts

Ensure the backint executable binary file is in the same directory as BRTools.

italic in text Pathnames, filenames, computer names, new terms defined in the Glossary or within the chapter, or emphasized words

Most NSR-R/3 logs can be found by searching for /nsr/applogs/*backint*.

italic in command line

A variable that must be provided in the command line

brrestore -m tablespace_name

fixed-width Examples and information displayed on the screen

media waiting: recover waiting for 8mm 5GB tape volume name

fixed-width, boldface

Commands and options that must be entered exactly as shown

brrestore -verify

Important: Information that must be read and followed to ensure successful backup and recovery of data

Important: Use the no_verify option with extreme caution.

Preface

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 11

Information and ServicesFujitsu Siemens Computers offers a variety of methods for you to obtain company, product, and technical information.

Customer Service

Technical Support

The Support section of the Fujitsu Siemens Computers web site at http://www.fujitsu-siemens.com/rl/servicesupport/ provides links with contact information, software patches, technical documentation, and information about available support programs.

• If you have an active support agreement, you may contact your service provider.

• If you do not have an active support agreement, contact your Fujitsu Siemens Computers sales representative to purchase a service contract or updates.

Technical Support Service Address

Latest news about NetWorker and software patches

www.fujitsu-siemens.com/networker

Support phone +49-180-54040

Support fax +49-180-5336779

Customer Interaction Center http://its.siemens.de/cgi-bin/icm/icmlog

Fujitsu Siemens Computers workshop center

+49-911-9622230www.fujitsu-siemens.de/workshop-center

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Technical Support

12

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 13

Chapter 1: Introduction

This chapter describes the main features and components of NSR-R/3, and the associated NetWorker, SAP, and Oracle systems. It also describes the NetWorker PowerSnap™ module, which is required for snapshot backups.

This chapter contains the following sections:

• "Importance of Backing Up Mission-Critical Data" on page 13• "Naming Conventions Used in This Guide" on page 14• "Basic Network Configuration" on page 14• "Summary of Features" on page 15• "Summary of Components and Settings" on page 21• "Summary of Processes" on page 25• "Related Documentation" on page 28

Importance of Backing Up Mission-Critical DataIt is important to back up computer systems to protect them from the loss of valuable data. In a network environment, where users depend on shared data and the amount of data continuously grows, the need to manage data becomes crucial.

A viable backup strategy includes regular backups of databases and archive logs. Without archive logs, you can recover a database only to the time of its last full backup.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Naming Conventions Used in This Guide

14

1

Naming Conventions Used in This GuideTable 1 on page 14 lists special terms that are used in this guide.

Basic Network ConfigurationThis section describes a network configuration for regular backup and recovery services when using the NSR-R/3 software.

Note: For information on snapshot backup and restore with PowerSnap, see "Chapter 8: PowerSnap Backups and Restores" on page 85

A basic backup and recovery network can be configured as follows:

• The NetWorker storage management server has NetWorker server software installed.

• A backup storage device is either attached to the NetWorker server or on a separate NetWorker storage node server.

Table 1. Naming Conventions Used in This Guide

Term Description or Usage

BRTools SAP R/3 backup utilities, specifically the brbackup, brrestore, brrecover, and brarchive programs.

NSR-R/3 software The shortened form, used throughout this guide, for the complete name, NetWorker Module for SAP R/3 with Oracle, release 3.0 software.

<ORACLE_SID> The name of the Oracle database instance that you want to back up, usually the argument for the -u option of brbackup or brarchive.

restore and recover This guide follows Oracle terminology, which distinguishes between restoring and recovering a database. • Restore means to retrieve individual datafiles from

backup media and store the files on disk.• Recover means to apply the redo log to make the

database consistent.

This usage is unlike NetWorker terminology, which uses recover for all data retrieval activities (as distinguished from the restore command).

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 1: Introduction

15

1

• Each database server has NetWorker client software, NetWorker Module software, SAP software, and Oracle database software installed.

• Each Networker client, including each database server, has Networker client software installed.

Figure 1 on page 15 shows a sample configuration with the NetWorker server software and the database server software on separate computers.

Figure 1. NetWorker Server and the Database Server on Separate Systems

Summary of FeaturesThis section describes the features of the related NetWorker server and client software, NSR-R/3 software, SAP R/3 software, and optional Oracle RMAN software that work together to provide storage management services. For a summary of software components, see "Summary of Components and Settings" on page 21.

UNIX Client without databaseUNIX NetWorker Client

Database Server

SAP R/3 ServerOracle database

NetWorker ModuleNetWorker Client

NetWorker Server

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

NetWorker Server Software Features

16

1

NetWorker Server Software Features

The NetWorker software provides data storage management services that protect and help manage data across an entire network.

The main NetWorker server software features that work in conjunction with the NetWorker Module software include:

• Save group, pool, and client configuration• Backup scheduling• Authorization• Online index maintenance (client file index and media database)

NSR-R/3 Software Features

The NSR-R/3 software is an add-on module for NetWorker client software that provides a backup and restore interface between the SAP BRTools program and the NetWorker server. The main component of NSR-R/3 is the backint program, which provides backup, inquiry, and restore processes for all Oracle and SAP R/3 files.

The NSR-R/3 software enables you to perform the following operations for SAP R/3 data on Oracle databases:

• Manual backups• Scheduled backups• Inquiry of backed up data• Restores of backed up data• Automated media management• Snapshot backup and recovery• Sapclone

New or Enhanced Features

NSR-R/3 provides several new or enhanced features that are described in the following sections.

Improved Administrator’s Security

The requirement to add the SAP database administrator's user ID and host name to the NetWorker server's Administrator's list was removed.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 1: Introduction

17

1

Expiration Parameter Replaces Browse and Retention Policy Settings

For all backups, the expiration parameter, which is configured in the NSR-R/3 configuration file, init<ORACLE_SID>.utl, sets both the browse and retention periods for the stored data.

Note: If using NetWorker version 7.x, the behavior of the expiration parameter is different than it is for NetWorker version 6.x. For NetWorker 7.x, this parameter overrides the NetWorker server-side Client resource settings. For NetWorker 6.x this parameter does not override the NetWorker server-side Client resource settings unless it specifies a longer period of time.

Added Support for SAP BRRECOVER

Support has been added for BRRECOVER functionality, included in SAP BRTools version 6.20. SAP documentation states the following recommendation concerning BRRECOVER:

We strongly recommend you to use BRRECOVER functions rather than the equivalent SAPDBA ones. The reason is that we will in future no longer develop the SAPDBA functions, whereas BRRECOVER functions will always be fully up-to-date.

Note: If up-front errors are encountered while using BRRECOVER in disaster recovery mode, check the backint logs. You may be instructed to set the following operating system environment variable at your shell/command prompt and then retry BRRECOVER, for example using the Bourne shell:

NSR_SAP_BRRECOVER=yesexport NSR_SAP_BRRECOVER

Improved Manageability and Performance of Backups and Restores

New parameters simplify backup configuration and improve backup and restore performance.

• The ss_group_by_fs parameter allows more efficient grouping of files into save sets by file system instead of by file size. Setting this parameter to yes potentially improves performance of backups, index lookups, and restore times.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

NSR-R/3 Software Features

18

1

• The ss_size_max parameter lets you limit the maximum save set size. This has the effect of breaking up many large files that reside on the same file system into multiple save sets, which thereby potentially improves backup and restore manageability and performance.

• The device_server parameter lets you define the device server to use during backup, improving therefore the backup manageability. If not defined, the NetWorker server will determine it according to the client ressource definition.

• New operating system environment variables allow automatic internal retries of a restore when there is a heavy NetWorker server load: – NSR_SAP_RESTORE_RETRY_COUNT – NSR_SAP_RESTORE_RETRY_DELAY_SECSFor more details see Table 18 on page 70.

Improved Logging and Placement of Log/Temporary Files

New parameters have been added to allow more streamlined, organized, and flexible placement of logs and temporary files, and log file names are now more user-friendly.

• The backint_log parameter specifies the full pathname of the backint log file for running the brbackup and brrestore commands. You can modify this parameter before running restores, or you can specify this parameter in a customized init<ORACLE_SID>_restore.utl file, which can be referenced from the util_par_file parameter in your init<ORACLE_SID>_restore.sap file, for example:

brrestore -p init<ORACLE_SID>_restore.sap

• The arch_backint_log parameter specifies the full pathname of the log file for running the brarchive command.

• The backint_tmpdir parameter specifies the directory of the backint temporary files.

• The max_logs parameter specifies the maximum number of backint session logs to be saved in the backint_log file.

More Flexible Query and Restore

A new parameter provides more flexible query processing and restores.

The prev_bk_restore parameter allows you to automatically restore the previous earlier version of a file if the specified version does not exist. The default condition is to not allow this.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 1: Introduction

19

1

More Flexible Backup and Restore User Selection

New operating system environment variables have been introduced to specify the user and group to run the BRTools

• NSR_SAP_ADMIN_USER • NSR_SAP_ADMIN_GROUP

For more details see Table 18 on page 70.

New Data Compression Algorithms

The compress_type parameter specifies the directive to use while compressing the data. You may define here the new options of the compressasm directive to determine the compress algorithm.

BRTools Software Features

Backup, restore, and inquiry of SAP R/3 databases on Oracle is provided through the following SAP R/3 features:

• BRTools (comprised of the brbackup, brrestore, brarchive, and other utilities).

• SAP database administration (SAPDBA) utility, a menu-driven interface to BRTools.

Invoking the brbackup command directly or from the SAPDBA Backup Database screen passes the following data to backint for backup:

• Oracle datafiles• Control files• Any existing profiles or specified files• SAP internal catalogs for backup sessions

Invoking the brarchive command directly or from the SAPDBA Backup Archive Logs screen passes the offline redo logs to backint for backup.

Oracle RMAN Software Features

The NSR-R/3 software supports the use of Oracle’s Recovery Manager (RMAN) backup and restore utility, which is available with Oracle8 or later databases. Use of RMAN with NSR-R/3 is optional, and you can continue to use NSR-R/3’s backint program as the sole backup and restore tool. If you

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

NetWorker PowerSnap Features

20

1

want to use RMAN to back up Oracle databases, you must still use backint to back up SAP R/3 configuration files, logs, and other files. For a description of RMAN features, refer to Oracle documentation.

NetWorker PowerSnap Features

NetWorker backups use the PowerSnap functionality to create a snapshot (point-in-time copy) of a group of files or filesystems that belong to a client. The snapshot serves as an instant backup, which can then optionally be backed up immediately to a traditional storage medium, such as tape. Many instant backups can be performed in a single day, thus reducing the exposure to data loss.

Instant backups protect only against logical failures. To protect against physical failures, the snapshot must be backed up to a traditional storage medium.

Whether or not a backup uses the PowerSnap features is determined by Client, Group, and Policy resource configurations.

To use the PowerSnap features, NSR-R/3 must be used with the NetWorker PowerSnap Module. The PowerSnap Module creates the snapshots, and NSR-R/3 stores the snapshot data.

Note: PowerSnap release 1.0 modules support scheduled backups only. Manual (client-initiated) backups are not supported.

Types of PowerSnap Backups Supported

NSR-R/3, with the appropriate PowerSnap Module, supports the following types of snapshot-backups:

• Instant backup, which creates a permanent PIT copy (snapshot) of SAP R/3 with Oracle data. This copy is then stored on the primary storage system where it is available to NSR-R/3 for performing instant restores or rollbacks. Instant backups can be scheduled to occur many times in a single day, with little impact to the SAP R/3 with Oracle Server or network.

• Immediate live backup (also known as "serverless snapshot backup" or "snapshot-based backup"), which creates a temporary snapshot that is immediately backed up to secondary storage such as tape. The snapshot is then automatically deleted from the primary storage (and is not available for performing instant restores or rollbacks).

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 1: Introduction

21

1

• Deferred live backup, which creates a permanent snapshot on the primary storage system by an instant backup, and backs up the snapshot to secondary storage, such as tape. The permanent snapshot is retained on the primary storage (and is available for performing instant restores or rollbacks) for a specified period.

Types of PowerSnap Restores Supported

NSR-R/3, with the appropriate PowerSnap Module, supports the following types of snapshot-based restores:

• Instant restore, which is the process of mounting a snapshot that was created by an instant backup. This enables the snapshot’s saved data to be retrieved. A minimal amount of time is required for this type of restore.

• Rollback, which restores the entire snapshot to the source location by using the hardware’s particular capabilities. Relocation during rollbacks is not currently supported by PowerSnap. To determine if a rollback is supported on a specific type of hardware, refer to the appropriate NetWorker PowerSnap Module Installation and Administrator’s Guide.

• Restore from secondary storage, which is the process of restoring from a snapshot that was saved to the secondary storage system. The PowerSnap Module software effectively uses the NetWorker recover program, to retrieve the data.

Summary of Components and SettingsThis section summarizes the user-configurable components and basic settings of the various products used with NSR-R/3, and how they work with their associated binary executable files to provide storage management services. These components are described in the following topics:

• "NetWorker Server Components" on page 22• "NSR-R/3 Components" on page 22• "NetWorker Client Settings" on page 23• "SAP Components" on page 23• "Oracle Components" on page 24• "PowerSnap Components" on page 24

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

NetWorker Server Components

22

1

NetWorker Server Components

The NetWorker Administrator program is a graphical user interface. This NetWorker Server component is used to configure NetWorker resources, such as Client, Group, and Pool. For details, refer to the Fujitsu Siemens Computers NetWorker Administrator’s Guide

NSR-R/3 Components

Table 2 on page 22 lists the NSR-R/3 components.

Table 2. NSR-R/3 Components

Component Type Description

backint Binary executable

This backup, restore, and inquiry program provides an interface to SAP BRTools. It uses configurations from the init<ORACLE_SID>.utl file.

init.utl Configuration file

This is the sample configuration file for the backint program and is to be used as a template. Its location is /opt/nsr/NSR_R3. Copy this file and name it init<ORACLE_SID>.utl, where <ORACLE_SID> is the name of the Oracle database instance that is to be backed up. Use the copy and save the original.

backint*nsrsapsv*NSRSAP*

log files Log files used for the NSR-R/3 software. The default location by operating system is as follows:/nsr/applogs

nsrsapsv Binary executable

The scheduled backup program, which invokes the appropriate BRTools executables. It uses configurations from the renamed copy of the nsrsapsv.cfg template file. Specify this file as the backup command in the NetWorker Client resource.

nsrsapsv.cfg Configuration file

The sample configuration file for the nsrsapsv program. Its location is /opt/nsr/NSR_R3. Copy the sample template file and save the original.

sapclone Binary executable

The save set cloning program. Provides an interface to the NetWorker nsrclone program.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 1: Introduction

23

1

NetWorker Client Settings

Table 3 on page 23 lists the main NetWorker Client resource attributes used with the NSR-R/3 software. For a complete description of NetWorker Client resource attributes, refer to the Fujitsu Siemens Computers NetWorker Administrator’s Guide.

SAP Components

Table 4 on page 23 lists the SAP software components used with the NSR-R/3 software.

Table 3. NetWorker Client Resource Settings Used by the NSR-R/3 Software

Attribute Description

Backup command Specifies the command used for scheduled backups, including parameters and configuration file. For example: nsrsapsv -f /nsr/res/nsrsapsv.cfg

Save Set Normally specified as backint:<ORACLE_SID>. • For PowerSnap usage, this attribute must be specified.• For all other usage, this attribute is only informational, because

the nsrsapsv.cfg file determines the ORACLE_SID parameter.

Table 4. SAP Components Used by the NSR-R/3 Software

Component Type Description

BRTools Binary executables

SAP R/3 backup utilities, specifically the brbackup, brrestore, and brarchive programs (equivalent to NetWorker client save, recover, nsrinfo, and mminfo programs). Invoked by nsrsapsv, SAPDBA, or command line. As of SAP version 6.20 brrecover is also part of BRTools.

SAPDBA Binary executable

Menu-driven interface to BRTools for backup, restore, and inquiry-related operations.

init<ORACLE_SID>.sap Configuration file

The SAP configuration file. Relevant parameters specify whether to use the backint program or RMAN for backup, inquire, and restore sessions.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Oracle Components

24

1

Oracle Components

Table 5 on page 24 lists the Oracle software components used with the NSR-R/3 software.

PowerSnap Components

The NetWorker Module software components that are used specifically to enable and configure PowerSnap features are listed in Table 6 on page 24.

Table 5. Oracle Components Used by the NSR-R/3 Software

Component Type Description

RMAN Binary executable

Oracle utility for performing backups and restores of the Oracle database, using the rman_parms parameter. To enable RMAN, set the backup_dev_type parameter in the init<ORACLE_SID>.sap file to rman_utl.

rman_parms Parameter Optional parameter in the init<ORACLE_SID>.sap file. Used to specify environment variables for an RMAN backup or restore with NSR-R/3.

Table 6. PowerSnap Components Used by the NSR-R/3 Software

Component Type Description

init.utl Configuration File

The init<ORACLE_SID>.utl configuration file for the backint program. The parameters within this file that are specific to PowerSnap are those with the ps_ prefix.

nsrsapps.cfg(example name)

Configuration File

User-defined PowerSnap configuration file, in which the PowerSnap parameters are set.

ps_opaque_pfilename Parameter Parameter in the init<ORACLE_SID>.utl file that specifies the complete file pathname for the user-defined PowerSnap configuration file, for example /nsr/res/nsrsapps.cfg

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 1: Introduction

25

1

Summary of ProcessesThe NSR-R/3 software provides storage management services that connect NetWorker functionality to SAP R/3 servers running Oracle databases. The backup and restore processes can be initiated from the following interfaces:

• SAPDBA menu-driven interface• BRTools: brbackup, brarchive, brrestore, or brrecover commands• NSR-R/3’s nsrsapsv command, used for scheduled backups

Additionally, Oracle’s RMAN can be invoked through these interfaces to back up and restore Oracle databases.

Note: PowerSnap backups must be initiated through the nsrsapsv scheduled backup program, and are not supported for manual backups.

Backup with SAPDBA or brbackup

When a backup is initiated from SAPDBA or the brbackup program on the SAP R/3 server running Oracle, brbackup sends a request to the backint program. The backint program runs two or more times, as required, to back up the requested Oracle datafiles, control files, online redo logs, and profiles. It sends all the data and process information in parallel streams to the NetWorker server. The data stream is backed up on storage media or a NetWorker storage node, and NetWorker software creates entries in the client file index and media database. The final results of the backup are recorded in a log file, backint<ORACLE_SID>.log, on the SAP R/3 server running Oracle.

Figure 2 on page 26 shows how the NetWorker services, processes, and programs interact during a backup.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Backup with RMAN

26

1

Figure 2. NetWorker and Database Interaction during a Backup

Backup with RMAN

When the Oracle RMAN utility (available with Oracle8 or later) is used to back up an Oracle database, the process is similar to backup that uses SAPDBA, except brbackup sends requests to both RMAN and backint. The following occurs as a result:

1. RMAN backs up the Oracle datafiles.

2. The backint backs up the configuration files, logs, and other flat files that are specific to SAP.

SAP R/3 on Oracle Server

backint (save)

nsrmmdbd

nsrmmd

Client FileIndex

MediaDatabase

NetWorker Client NetWorker Server StorageMedium

nsrd

nsrindexd

backint

brbackup(SAPDBA)

inter-process communication

data

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 1: Introduction

27

1

Restore with SAPDBA or brrestore

When a restore is initiated from SAPDBA or the brrestore program on the SAP R/3 server running Oracle, brrestore sends a restore request to the backint program. The backint program browses the NetWorker server’s client file index and restores the specified files in a parallel stream from the NetWorker server to the SAP R/3 server running Oracle.

Figure 3 on page 27 shows how NetWorker services, processes, and programs interact during a restore.

Figure 3. NetWorker and Database Interaction during a Restore

Restore with RMAN

If RMAN is used to restore the Oracle database, RMAN restores the Oracle database datafiles only. If you also want to restore the configuration files, logs, and other flat files that are specific to SAP R/3, you must manually restore them by using any of the following:

• The backint program• The NetWorker recover program

SAP R/3 on Oracle Server

backint (recover)

nsrmmdbd

nsrmmd

Client FileIndex

MediaDatabase

NetWorker Client NetWorker Server StorageMedium

nsrd

nsrindexd

backint

brrestore(SAPDBA)

inter-process communication

data

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Related Documentation

28

1

• BRTools with appropriate command line parameters.

Related DocumentationFor further information on the NSR-R/3 software, refer to the following related documentation:

• NetWorker PowerSnap Module Installation and Administrator’s Guide appropriate for your primary storage system

• NetWorker V7.1 (UNIX) Administrator’s Guide

• Online man pages (for NetWorker commands)• NetWorker Command Reference Guide

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 29

Chapter 2: Basic Software Configuration

This chapter provides basic configuration instructions for NSR-R/3 and other supporting software required for backup, recovery, and inquiry of SAP R/3 with Oracle data and other files. Unless otherwise noted, the configurations described in this chapter apply to both manual and scheduled backups.

This chapter describes the following tasks that need to be performed, although not necessarily in this order:

• "Task 1: Configure the Environment" on page 30• "Task 2: Configure the NetWorker Resources" on page 31• "Task 3: Configure the NSR-R/3 Parameters" on page 33• "Task 4: Configure the Backup and Restore Utility" on page 42• "Task 5: Configure a Backup of Cluster Data" on page 46

More specific configurations are covered in later chapters:

• "Chapter 4: Manual Backups" on page 57• "Chapter 5: Scheduled Backups" on page 65• "Chapter 6: Cloning Save Sets" on page 75• "Chapter 7: Restoring Data" on page 79• "Chapter 8: PowerSnap Backups and Restores" on page 85

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

2

Task 1: Configure the Environment

30

Task 1: Configure the EnvironmentUse the following steps to configure the environment for the NSR-R/3 software:

1. Install and enable NSR-R/3 on each Oracle database server with SAP R/3 that requires backup and recovery services. For instructions, refer to "Chapter 3: Installation" on page 47.

2. Set the PATH environment variable for the Oracle user to point to the location of the NetWorker client executables, which is typically /opt/nsr.

3. Ensure the backint executable binary file is in the same directory as BRTools. Usually you only have to make a symbolic link to /opt/nsr/backint. Set the owner of backint to root.

4. If you need to restore to raw device files, set the uid bit on for the backint program by entering the following command:

chmod 4755 backint

5. For NetWorker 7.x, ensure that the SAP backup user is listed in the User Groups, and has the following privileges:

• Monitor NetWorker processes• Back up local data• Recover local dataTo verify these settings, run NetWorker Administrator (nwadmin) on the server and select User Groups from the Customize menu.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 2: Basic Software Configuration

2

31

Task 2: Configure the NetWorker ResourcesThe NetWorker resources reside on the NetWorker server and are configured using the NetWorker Administrator program.

Table 7 provides resource configuration details that are specific to the NSR-R/3 software.

Table 7. NetWorker Resources (Part 1 of 2)

Resource Comments

Client Specifies the NetWorker Client resources for each SAP R/3 server running Oracle that requires backup, restore, and inquiry operations.

Browse and Retention settings in the Client resource are ignored. Instead, a value must be set in the "expiration" parameter in NSR-R/3’s parameter file, init<ORACLE_SID>.utl. See the listing for "expiration" on page 36.

For details on setting the Save Set and Backup Command attributes, which are specific for scheduled backups, see Table 17 on page 66.

Group Specifies a set of clients to start backing up data at a specified time.

Note: The group name must be the same as defined in NSR-R/3’s parameter file, init<ORACLE_SID>.utl, see the listing for "group" on page 36.

Pool Specifies the medium volumes in each pool to receive specific backup data. When configuring the Pool resource, complete the following:• Leave the Save Sets attribute blank; the NSR-R/3 program sets this

attribute during each backup session. • Once a pool is created, specify its name in NSR-R/3’s parameter file,

init<ORACLE_SID>.utl.

Schedule Specifies the days of the week or month when scheduled backups runs.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

2

Task 2: Configure the NetWorker Resources

32

For more information on configuring the NetWorker resources, refer to the NetWorker Online Help or the NetWorker Administrator’s Guide.

Server Defines the NetWorker server to be used for backup, restore, and inquiry operations.

When configuring the Server resource, check for the following: • Ensure that the Parallelism attribute is equal to or greater than the

number of save streams being sent to the NetWorker server by the Oracle server or cluster client. The value should match or be greater than the parallelism setting found in NSR-R/3’s parameter file, init<ORACLE_SID>.utl, see "parallelism" on page 38.

• When performing manual backups, ensure the Manual Saves attribute is set to Enabled.

It is not necessary to specify the SAP backup user in the Administrator attribute.

Device Specifies the NetWorker storage device used for backup the data.

Ensure that a Device resource is configured for each storage device used for backup and restore operations. Each device must contain a labeled and mounted volume.

Table 7. NetWorker Resources (Part 2 of 2)

Resource Comments

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 2: Basic Software Configuration

2

33

Task 3: Configure the NSR-R/3 ParametersDuring backup, restore, or inquire sessions, the NSR-R/3 program uses the parameter settings specified (or the default values if not specified) from the init<ORACLE_SID>.utl parameter file. These parameter settings provide client, server, pool, group, expiration and other values to the backint program.

Important: The names for the server, group, client, and pool specified in the parameter file must match the corresponding resource settings defined on the NetWorker server. An error results if there is a mismatch.

To set a parameter in the init<ORACLE_SID>.utl parameter file, use the following format:

parameter=value

Refer to the following rules when setting parameters:

• Uncomment and modify as necessary all parameters to be used in backup, restore, or inquire operations.

• Use lowercase parameter names and values.

For descriptions and default values for NSR-R/3 parameters, see Table 8 on page 34.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

2

Task 3: Configure the NSR-R/3 Parameters

34

For specific instructions on configuring data clusters, see "Task 5: Configure a Backup of Cluster Data" on page 46.

Table 8. Parameters for the NSR-R/3 init<ORACLE_SID>.utl File (Part 1 of 8)

Parameter Default Description

arch_backint_log See Description Specifies the full pathname of the log file for running the brarchive command.

Default location:/nsr/applogs/arch_backint<ORACLE_SID>.log

backint_log See Description Specifies the full pathname of the backint log file for running the brbackup, brrestore or brrecover commands.

Default location:/nsr/applogs/backint<ORACLE_SID>.log

Note: To specify a separate log file to use specifically for restores, modify this parameter before running brrestore. Alternatively, the "backint_log" parameter can be specified in an init<ORACLE_SID>_restore.utl file, which can be referenced from the "util_par_file" parameter in the init<ORACLE_SID>_restore.sap file, for example:

brrestore -p init<ORACLE_SID>_restore.sap

backint_tmpdir /nsr/applogs Specifies the directory name of the backint temporary files.

client Local host Specifies the NetWorker client hostname to use for the client file index for the current backup.

If you are using NSR-R/3 to back up a virtual cluster client, set this value to the virtual node name.

During cluster restores, this parameter specifies the name of the client with the client file index for the backup to be restored. For example, to restore data to a host named saturn using the backup from a host named mars, set this parameter to mars so that the client file indexes for mars are used.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 2: Basic Software Configuration

2

35

compress No Compresses data during a backup before the data is passed over the network or written to tape, which can speed up the backup process.

If set to Yes, you can choose the compression algorithm by providing the corresponding directive in the "compress_type" parameter below.

Compression increases CPU usage on the SAP R/3 server running Oracle, but reduces the amount of data sent to the NetWorker server.

compress_type compressasm Determines the directive to use while compressing the data. You can specify any valid option for the ASM to determine the algorithm to be used during the compression (e.g. compressasm -gzip -level 9).

The "compress_type" parameter is ignored if the "compress" parameter is set to No.

Valid Values: compressasmor compressasm -bzip2 [-<level>]or compressasm -gzip [-<level>]

The value for <level> depends on the specific compress algorithm:

bzip2: 0 - 250 (default: 0)gzip: 0 - 9 (default: 6)

device_server Not specified Defines the Storage Node to use during backup. If not specified, the NetWorker Server will determine it according to the "Storage Node" attribute in the client resource. This parameter will be passed to any save command initiated by backint as parameter for option -J.

Valid Values: Name of the NetWorker Server or any NetWorker Storage Node

Table 8. Parameters for the NSR-R/3 init<ORACLE_SID>.utl File (Part 2 of 8)

Parameter Default Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

2

Task 3: Configure the NSR-R/3 Parameters

36

expiration 2 Weeks For all backups, the "expiration" parameter sets both the browse and retention periods. • For NetWorker 7.x, this parameter overrides the

NetWorker server-side Client resource settings. • For NetWorker 6.x this parameter does not

override the NetWorker server-side Client resource settings unless it specifies a longer period of time.

The value must use nsr_getdate format, for example:

expiration = 2 Weeks

files_per_save 10 Determines the maximum number of files to be included in a saveset.It should be set to prevent the creation of single save sessions in case of small files. If not set, or set to zero, then the allowed number of files in a saveset is unrestricted.

Valid Values: > 1 integer (limited by the command buffer size)

The "files_per_save" parameter is ignored if the "ss_group_by_fs" parameter is set to Yes.

group Default Specifies the backup Group resource that is used by the NetWorker save program. If not specified, the Default group is used. To assign a value, set the parameter, for example:

group = SAPBackup

Note: The group name must match the corresponding group attribute in the NetWorker Client resource, see "Group" on page 31.

level_full Yes Specifies that a full backup is always performed. For SAP data, do not change this setting from Yes.

Table 8. Parameters for the NSR-R/3 init<ORACLE_SID>.utl File (Part 3 of 8)

Parameter Default Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 2: Basic Software Configuration

2

37

max_logs 0 Specifies the maximum number of backint session logs to be saved in the backint log file. If the value is set to 0, all backup logs will be saved in the log file. See also the "backint_log" parameter on page 34.

notify_done Not specified Executed at the completion of a backup or restore session. Uncomment the option and replace mailx with the name of the command line e-mail utility to be used as an alert when the backint program has completed its activity, for example:

notify_done = mailx -s ’backint done’ root

notify_error Not specified Executed at the completion of a failed backup or restore session. Uncomment the option and replace mailx with the name of the command line e-mail utility to be used as an alert if the backint program encounters any errors during its activity, for example:

notify_error = mailx -s ’backint error’ root

notify_start Not specified Executed at the beginning of a backup or restore session. Uncomment the option and replace mailx with the name of the command line e-mail utility to be used as an alert when the backint program begins its activity, for example:

notify_start = mailx -s ’backint start’ root

Table 8. Parameters for the NSR-R/3 init<ORACLE_SID>.utl File (Part 4 of 8)

Parameter Default Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

2

Task 3: Configure the NSR-R/3 Parameters

38

notify_success Not specified Executed at the completion of a successful backup or restore session. Uncomment the option and replace mailx with the name of the command line e-mail utility to be used as an alert when the backint program has successfully completed its activity, for example:

notify_success = mailx -s ’backint success’ root

parallelism 8 Specifies the number of save sets or save streams to send simultaneously to the NetWorker server. Typically, this setting should be equal to the sum of the "target sessions" for all of the devices dedicated to NSR-R/3.

Ensure that the NetWorker server is configured to support this parallelism value or greater, see the listing for "Server" on page 32.

Note: The Parallelism value will be reduced if it is greater than the value of the "savesets" parameter, provided the "ss_group_by_fs" parameter is set to No or not set.

Table 8. Parameters for the NSR-R/3 init<ORACLE_SID>.utl File (Part 5 of 8)

Parameter Default Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 2: Basic Software Configuration

2

39

pool Default Specifies the NetWorker media Pool resource, (defined in the NetWorker server), that receives backup data from the SAP R/3 server that is running Oracle. If not specified, the Default pool is used.

To use a pool other than the Default, uncomment this parameter and set it equal to the name of the pool, for example:

pool = SAPData

To use multiple pools to separate data:1. Create separate init<ORACLE_SID>.utl

parameter files.2. Use the -r option to specify the parameter

"filename" to use at the command line when using brbackup or brarchive.

For example, a pool named ARCHData is used specifically for archive logs. You can create a separate parameter file for archive logs, named for example archiveC11.utl, and set the pool attribute equal to ARCHData. To use this pool to back up the archive logs, you would enter the following command at the command line:

brarchive -u sys/admin -d util_file -r archiveC11.utl -m all -s save

prev_bk_restore No Specifies whether to restore the previous backup if the required backup cannot be found, when the "query_index" parameter is set to No.

query_index No Specifies whether to query the NetWorker server indexes for validation of the requested files and backup IDs before a restore begins. If set to No, the query does not occur.

Table 8. Parameters for the NSR-R/3 init<ORACLE_SID>.utl File (Part 6 of 8)

Parameter Default Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

2

Task 3: Configure the NSR-R/3 Parameters

40

raw_dir Not specified Specifies the directory for raw disk partitions. Any files below these directories are considered to be raw disk partitions. Do not set the /dev or /devices directories for raw partitions. They are already treated as raw devices. To specify the directory, uncomment this option, and use a semicolon (;) to separate the directory paths, for example:

raw_dir = /oracle/data;/sap/data

retry_count 0 Specifies the number of times that a retry of a failed backup is attempted for each save set. Any integer greater than 0 is allowed.

savesets 20 To distribute the backup load, a client’s files can be divided among several save sets, as specified by this value. If the value is equal to or greater than the number of database files, then a separate save set is made for each file. If the value is smaller than the number of database files, then a save set may contain more than one file, according to the parameter "files_per_save".

This value is ignored if the "ss_group_by_fs" parameter is set to Yes.

sem_timeout 30 Sets the amount of time, in minutes, that backint waits for brbackup or brconnect to remove the semaphore file. If the semaphore file is not deleted, backint exits with an error at the end of this timeout period.

server Local Host The hostname of the NetWorker server that NSR-R/3 uses for backup, restore, and inquiry sessions, for example:

server = jupiter

Note: The server name must match the server attribute specified in the NetWorker Server resource. If the "server" parameter is not specified, then NSR-R/3 backs up data to the local host.

Table 8. Parameters for the NSR-R/3 init<ORACLE_SID>.utl File (Part 7 of 8)

Parameter Default Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 2: Basic Software Configuration

2

41

ss_group_by_fs No If set to Yes, the "savesets" and "files_per_save" parameters are ignored and save sets are grouped by filesystem instead of file size. This more efficient grouping of files can improve performance of scheduled backups, index lookups, and restore times.

ss_size_max 0 Specifies maximum save set size in megabytes. If not set, or set to zero, then size is unrestricted.

ssNameFormat Old Sets the naming convention for save sets without PowerSnap. • If set to Old, then the name for all save sets is

backint:<ORACLE_SID>. • If set to New, then the save set name for each

session differs according to the files being backed up. It uses the format backint:<ORACLE_SID>:<full path of the first filename in the save set>.

If you set each save set to store one file, then a value of New simplifies the process of browsing the media database. The media database will shows each filename as part of the save set name.

Note: If set to New, the NetWorker recover -S command cannot be used to restore the database, however the brrestore command can be used.

Note: For PowerSnap savesets the saveset name will be always generated as backint:<ORACLE_SID>:PS:.

verbose No Provides more detailed information in the log file from save and recover operations.

Table 8. Parameters for the NSR-R/3 init<ORACLE_SID>.utl File (Part 8 of 8)

Parameter Default Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

2

Task 4: Configure the Backup and Restore Utility

42

Task 4: Configure the Backup and Restore UtilityDepending on your configuration needs and preferences, you can perform backups, restores, and inquiries of SAP R/3 data using the SAP BRTools with or without use of Oracle’s RMAN utility. The following examples describe a simple configuration of each of the cases of use with NSR-R/3.

• For the SAP BRTools, see "Example: Configuring backint as the Backup and Restore Utility" on page 44.

• For the Oracle RMAN utility, see "Example: Configuring RMAN as the Backup and Restore Utility" on page 44.

You will have to set the "backup_dev_type" parameter accordingly to the description on Table 9 on page 43 , to be able to use NSR-R/3 as your Backup and Restore Utility.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 2: Basic Software Configuration

2

43

You may use command line options to override these parameters from your [email protected]:

Table 9. SAP parameters for the use of NSR-R/3

backup_dev_type = backup_type = online backup_type = offline

util_file The database will be brought online, all tablespaces to be backed up will be set in backup mode and in addition the list of files will be provided to backint for the needed operation. After completion of all tablespaces, the backup mode will be ended.

The database will be brought offline and in addition the list of files will be provided to backint for the needed operation.

util_file_online The database will be brought online, the list of files will be provided to backint for the needed operation and with use of semaphore files, each tablespace will be set in backup mode as soon as their files turn arrives. After completion of each tablespace, its backup mode will be ended.

This combination is accepted as of SAP 6.10. The database will be brought offline, the list of files will be provided to backint for the needed operation. The semaphore files generated by backint are non-relevant for the operation.

rman_util Only the database files will be backed up online using the RMAN-Utility provided by Oracle.

The additional SAP files will be still backed up with backint.

Only the database files will be backed up offline using the RMAN-Utility provided by Oracle.

The additional SAP files will be still backed up with backint.

-t [online|offline] will override the backup_type parameter

-d [util_file|util_file_online|rman_util] will override the backup_dev_type parameter

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

2

Task 4: Configure the Backup and Restore Utility

44

Example: Configuring backint as the Backup and Restore Utility

The following example describes a simple configuration of BRTools (specifically the SAPDBA interface and the brbackup, brarchive, brrestore, and brrecover commands) to use the backint program for backup, restore, and inquiry operations. For complete instructions, refer to the appropriate SAP documentation.

1. With a text editor, open the SAP initialization file, init<ORACLE_SID>.sap, which is typically located in the directory $ORACLE_HOME/dbs

2. Set the backup_dev_type parameter to use the backint program by entering one of the following:

# backup device type• backup_dev_type = util_file

• backup_dev_type = util_file_online

3. Set the util_par_file parameter to point to the NSR-R/3’s parameter file, init<ORACLE_SID>.utl, as follows:

# backup utility parameter file

util_par_file = ?/dbs/init<ORACLE_SID>.utl

where ? = $ORACLE_HOME

For details on the NSR-R/3 parameter file, see "Task 3: Configure the NSR-R/3 Parameters" on page 33.

Example: Configuring RMAN as the Backup and Restore Utility

The following example describes a simple configuration of Oracle’s RMAN utility (available with Oracle8 or later databases), which works with the BRTools utilities, for backup, restore, and inquiry operations. For complete instructions, refer to the appropriate SAP documentation.

1. With a text editor, open the SAP initialization file, init<ORACLE_SID>.sap, which is typically located in the directory $ORACLE_HOME/dbs

2. Set the backup_dev_type parameter to use the RMAN utility by entering the following:

# backup device type

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 2: Basic Software Configuration

2

45

backup_dev_type = rman_util

3. Uncomment the line for the rman_parms parameter and set it to include each NetWorker software-specific (NSR_*) environment variable that is appropriate for your backup, restore, and inquiry sessions.

For a list of these environment variables, see Table 29 on page 130. The environment variable names must be uppercase and use the following syntax:rman_parms="ENV=(<var1>=<value>, <var2>=<value>, ...)"

For example:rman_parms="ENV=(NSR_SERVER=server_name, NSR_DATA_VOLUME_POOL=pool_name)"

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

2

Task 5: Configure a Backup of Cluster Data

46

Task 5: Configure a Backup of Cluster DataNote: If you are not using a cluster configuration, ignore this task.

NSR-R/3 backs up all Oracle data residing on private disks in a cluster, or only shared Oracle data residing on a virtual client in a cluster.

To configure a backup of cluster data on SAP R/3 with Oracle systems:

1. Ensure that NSR-R/3 is installed on both physical nodes of the cluster, but only on the private disks of the nodes. For details on installing NSR-R/3, refer to "Chapter 3: Installation" on page 47.

2. Ensure that a NetWorker Client resource is created for each physical node and for the virtual node.

3. Configure the NSR-R/3 parameter file (init<ORACLE_SID>.utl) with the appropriate client parameter setting for the type of backup you want:

• To back up Oracle data located on a private disk, use the physical node name as the client name.

• To back up Oracle data located on a shared disk that belongs to a virtual system, use the network name associated with the virtual system as the client name.

For details on NSR-R/3’s client parameter settings, see "client" on page 34.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 47

Chapter 3: Installation

This chapter describes how to install, enable, and uninstall NSR-R/3 on a supported operating system.

This chapter includes the following main sections:

• "Installation Requirements" on page 47• "Supported Operating Systems" on page 48• "Software Requirements" on page 48• "Files Installed" on page 49• "Upgrading from Release 2.x of NSR-R/3" on page 49• "Install Procedures" on page 50• "Installing Licenses" on page 53• "Managing Your Fujitsu Siemens Computers Licenses" on page 54• "Uninstall Procedures" on page 54

Installation RequirementsThis section discusses the requirements necessary for installing the NSR-R/3 software.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

3

Supported Operating Systems

48

Supported Operating SystemsTable 10 on page 48 lists the operating systems on which this release of the NSR-R/3 software operates. Versions in bold text have been added in this release.

For the latest NetWorker software compatibility information, refer to the Release Notes.

For details on patches required for a particular system, refer to the Support section of the Fujitsu Siemens Computers web site.

Software RequirementsTable 11 on page 48 lists the software that may be used to properly configure this release of the NSR-R/3 software. Support for software and versions in bold text have been added in this release.

Table 10. Supported Operating Systems

Operating System Supported versions

Red Hat Linux Advanced Server 2.1, Enterprise Edition 3

SuSE SLES7, SLES8

Sun Solaris 7, 8, 9

Table 11. Supported Software

Software Supported Versions Comments

BRTools 4.0B to 6.10B, 6.20 Required for all operating sytems newly supported by NSR-R/3, release 3.0.

NetWorker client software

7.1 or later

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 3: Installation

3

49

For the latest NetWorker software compatibility information, refer to the Release Notes.

Files InstalledThe following files are installed with the NSR-R/3 software:

• backint — Backup, restore, and inquire program• sapclone — Save set cloning program • nsrsapsv — Scheduled backup program• init.utl — Example parameter file that specifies the variables backint uses• nsrsapsv.cfg — Example configuration file for the nsrsapsv program

Upgrading from Release 2.x of NSR-R/3Note: If removing the NSR-R/3 software from a cluster, you must perform this procedure on each cluster node.

To upgrade from release 2.x of NSR-R/3:

1. Verify that no SAP R/3 with Oracle database backups or restores are currently running on the SAP R/3 Server host.

2. Log in as root.

# su root

NetWorker server software

7.1 or later

NetWorker PowerSnap Module

1.0 Required for serverless backup and snapshot management on Solaris; supports concurrent multiple PowerSnap modules to enable parallel backup and recovery services.

Table 11. Supported Software

Software Supported Versions Comments

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

3

Install Procedures

50

3. If uninstalling on an Oracle system earlier than Oracle 9i, shut down all Oracle instances that use this ORACLE_HOME. If uninstalling on a system using Oracle 9i or later, this step is not required.

4. Enter the appropriate command for your operating system. Table 14 on page 54 lists the uninstall commands by operating system.

5. Install and enable the license for release 3.0 of NSR-R/3 on the SAP R/3 Server host, see "Install Procedures" on page 50.

Install ProceduresThis section describes how to install NSR-R/3 on a supported operating system.

Installing the NSR-R/3 Software

To install the NSR-R/3 software, complete the following tasks:

• "Task 1: Access the Installation Files" on page 50• "Task 2: Install the NSR-R/3 Software" on page 51

Task 1: Access the Installation Files

Access NSR-R/3 files from any of these sources:

• "From a Local CD-ROM" on page 50• "From the Fujitsu Siemens Computers Web Site" on page 51

From a Local CD-ROM

To access the NSR-R/3 installation software from a local CD-ROM drive:

1. Log on as root on the server running SAP R/3 with the Oracle database.

2. Insert and mount the NSR-R/3 CD-ROM in the CD-ROM drive:

# mount /dev/cd_drivename /mount_point

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 3: Installation

3

51

3. Go to the correct directory on the CD-ROM, as described in Table 12 on page 51.

4. Continue with "Task 2: Install the NSR-R/3 Software" on page 51.

From the Fujitsu Siemens Computers Web Site

Visit the Fujitsu Siemens Computers web site at www.fujitsu-siemens.com/networker and follow the links NetWorker Modules and then NetWorker SW. Select the appropriate operating system (Linux or Solaris) and note the information provided before downloading NSR-R/3 V3.0.

After downloading, gunzip the package, if necessary, and continue with "Task 2: Install the NSR-R/3 Software" on page 51.

Task 2: Install the NSR-R/3 Software

To install the NSR-R/3 software on a computer running SAP R/3 with Oracle software:

1. Log on as root on the SAP R/3 with Oracle database server and change to the directory containing the installation files.

2. Depending on the operating system, at a command prompt enter the appropriate installation command with the appropriate package name, as listed in Table 13 on page 51.

Table 12. Accessing the Correct Directory on the Local CD-ROM

On this system: Enter the following command:

Linux # cd /mount_point/rpms

Solaris # cd /mount_point/products/NSR-R3_<VERSION>/sparc

Table 13. Commands for Installing NSR-R/3

Operating System Install Package Command

Linux # rpm -i nsrbckint.rpm

Solaris # pkgadd -d installation_path SMAWnwr3

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

3

Task 2: Install the NSR-R/3 Software

52

3. Link the backint program to the directory where the SAP BRTools reside, for example on Solaris:

# ln -s /opt/nsr/backint/usr/sap/<ORACLE_SID>/SYS/exe/run/backint

4. Copy the init.utl file to the $ORACLE_HOME/dbs directory and rename this file to init<ORACLE_SID>.utl, where <ORACLE_SID> is the name of the Oracle system ID (defined in the environment variable $ORACLE_SID), for example on Solaris:

# cp /opt/nsr/NSR_R3/init.utl$ORACLE_HOME/dbs/init<ORACLE_SID>.utl

5. Set the $PATH environment variable to include the location of the NetWorker client executables, typically /opt/nsr.

6. Enable and register NSR-R/3. For instructions, see "Installing Licenses" on page 53.

Installing the NSR-R/3 Software in a Nondefault Location

If the NetWorker software is installed in a nondefault location, you can either:

• Install the NSR-R/3 software into the same nondefault location using the appropriate options for your operating system’s installation program.

• Copy the nsrsapsv and sapclone executables from their default installation location into the directory where nsrexecd is located. For example, the default installation directory for nsrsapsv is /opt/nsr.

Installing the NSR-R/3 Software on Solaris with Installer

If you perform the installation at the console, the installation program appears automatically after inserting the CD. If you are not at the system's console, please perform the following steps:

• Insert the NetWorker CD into the CD ROM drive.Solaris automatically performs the mount operation.

• Log in as the root user.• Set the variable DISPLAY

# DISPLAY=<myhost>:0

• Enter the following command, to change to the product directory on the CD# cd /cdrom/<CD name>

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 3: Installation

3

53

• Execute the following command# ./installer

• Select the package SMAWnwr3.

SMAWnwr3 is then installed automatically using the Solaris pkgadd command (see pkgadd(8)).

Installing RMAN Components (NSR-DBM-ORA, Optional)

Oracle version 8 or later can use Oracle RMAN software in conjunction with the NSR-R/3 software as an optional method of backing up and restoring data files. To use RMAN, you must install NSR-DBM-ORA (Solaris, Linux) from the NetWorker CD-ROM or downloaded files. For further information refer to the NSR-DBM-ORA Administrator’s Guide.

Installing LicensesLicenses are delivered in a license file. This license file can contain one or more license strings.

You can use the keylic command to install the licenses from your license file.

1. Log on to the NetWorker server as root.

2. When you see the shell prompt, enter the following command to install the license:

# keylic -f license file

The following messages are then displayed: license name enabledlicense name authorized

This two messages are displayed for each license string contained in the license file.

Option -s server can be used to load a license into a remote NetWorker server. This can be used to load a license from a Fujitsu Siemens Computers NetWorker client into a Legato NetWorker server. Note that option -s is not allowed for all types of licenses.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

3

Managing Your Fujitsu Siemens Computers Licenses

54

Managing Your Fujitsu Siemens Computers LicensesThe Fujitsu Siemens Computers License Manager provides a central place for managing the licenses of all your NetWorker clients and servers. Instead of managing licenses separately, you can maintain all your NetWorker licenses from a single computer. Installation of the License Manager is an option when installing the NetWorker software.

Using the Fujitsu Siemens Computers License Manager software, you can move the NetWorker software from one computer to another or use a new IP address on an existing NetWorker server without having to reauthorize the software.

Uninstall ProceduresTo uninstall the NSR-R/3 software:

1. Ensure that no Oracle database backups or restores are running.

2. Log in as root.

# su root

3. If uninstalling on an Oracle system earlier than Oracle 9i, shut down all Oracle instances that use this ORACLE_HOME. If uninstalling on a system using Oracle 9i or later, this step is not required.

4. Enter the appropriate command for your operating system. Table 14 on page 54 lists the uninstall commands by operating system:

Table 14. NSR-R/3 Uninstall Commands

Operating System Uninstall Command

Linux # rpm -e nsrbckint

Solaris # pkgrm SMAWnwr3

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 3: Installation

3

55

Uninstalling the RMAN Components (NSR-DBM-ORA)

To uninstall RMAN components of the NSR-R/3 software, run the command that is appropriate for your operating system. Table 15 on page 55 lists the NSR-DBM-ORA uninstall commands by operating system:

For further information on the uninstallation refer to the NSR-DBM-ORA Administrator’s Guide.

Table 15. NSR-DBM-ORA Uninstall Commands

Operating System NSR-DBM-ORA Uninstall Command

Linux # rpm -e nsrdnmo

Solaris # pkgrm SMAWnwnmo

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

3

Uninstalling the RMAN Components (NSR-DBM-ORA)

56

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 57

Chapter 4: Manual Backups

This chapter describes how to configure and perform manual backups of either online or offline Oracle database instances residing on a SAP R/3 server running Oracle. It assumes that you have properly configured the basic settings for manual backups, described in "Chapter 2: Basic Software Configuration" on page 29.

This chapter includes the following sections:

• "About Manual Backups" on page 57• "Performing an Offline Manual Backup" on page 58• "Performing an Online Manual Backup" on page 59• "Backing Up the Client File Indexes and Bootstrap" on page 61• "Reviewing Backup Session Reports" on page 62

About Manual BackupsYou can use the following to perform manual backups:

• The SAPDBA menu interface • The brbackup or brarchive command

Oracle’s RMAN utility can be invoked through either SAPDBA or the brbackup or brarchive command

Each of these methods uses NSR-R/3’s backint program.

Note: PowerSnap operations are not supported for manual backups, and must be initiated through the nsrsapsv scheduled backup program. For details, see "Chapter 8: PowerSnap Backups and Restores" on page 85.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

4

Performing an Offline Manual Backup

58

Important: Manual backups do not automatically back up the NetWorker server’s client file index database and the bootstrap save set. Regular backups of these components are needed to ensure adequate protection for disaster recovery. For details, see "Backing Up the Client File Indexes and Bootstrap" on page 61

Performing an Offline Manual BackupPerform offline backups when network traffic is low, typically in the evenings or on weekends, because the SAP R/3 services and the Oracle database instance are not available to users during the backups.

Before you begin an offline backup, ensure the following:

• The backup parameters are set in NSR-R/3’s init<ORACLE_SID>.utl file. For details on configuring backup parameters, see "Task 3: Configure the NSR-R/3 Parameters" on page 33.

• The parameters for the backup device type (backup_dev_type) and backup utility parameter file (util_par_file) are set in the SAP utilities profile, init<ORACLE_SID>.sap. For details on configuring the utilities profile, see "Task 4: Configure the Backup and Restore Utility" on page 42.

• The NetWorker server, the SAP R/3 server running Oracle, and the NetWorker Remote Exec services are all running.

How to Perform an Offline Backup

For complete instructions on how to perform an offline backup, refer to the following:

• To perform an offline backup using the SAPDBA menu interface or the brbackup or brarchive command, refer to the appropriate SAP documentation.

• To perform an offline backup using the RMAN utility, refer to the appropriate Oracle documentation.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 4: Manual Backups

4

59

The following is an example of an offline backup using the brbackup command:

1. Enter the following command:

brbackup -m all -t offline [-d util_file]

– The -m all option specifies that the backup mode is to back up the entire Oracle database instance.

– The -t offline option specifies that the backup type is offline.– The (optional) -d util_file option specifies that NSR-R/3 is to be used

for the backup.– For more information on the available brbackup command options,

see "Appendix A: Commonly Used Command Options for brbackup, brarchive, brrecover, and brrestore" on page 119.

With this brbackup command, the Oracle database instance is backed up to the NetWorker server.

2. Back up the client file indexes and bootstrap. For instructions, see "Backing Up the Client File Indexes and Bootstrap" on page 61.

Performing an Online Manual BackupAn online backup allows users to continue using SAP R/3 services and Oracle database instances while the Oracle tablespaces on the SAP R/3 server are being backed up.

Before you begin an online backup, ensure the following:

• The backup parameters are set in NSR-R/3’s init<ORACLE_SID>.utl file. For details on configuring the backup parameters, see "Task 3: Configure the NSR-R/3 Parameters" on page 33.

• The parameters for the backup device type (backup_dev_type) and backup utility parameter file (util_par_file) are set in the SAP utilities profile, init<ORACLE_SID>.sap. For details on configuring the utilities profile, see "Task 4: Configure the Backup and Restore Utility" on page 42.

• The NetWorker server, the SAP R/3 server running Oracle, and the NetWorker Remote Exec services are all running.

• The Oracle database instance is in ARCHIVELOG mode. To set an Oracle database instance to ARCHIVELOG mode, refer to the appropriate Oracle manual.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

4

Performing an Online Manual Backup

60

How to Perform an Online Backup

For complete instructions on how to perform an online backup, refer to the following:

• To perform an online backup using the SAPDBA menu interface or the brbackup or brarchive command, refer to the appropriate SAP documentation.

• To perform an online backup using the RMAN utility, refer to the appropriate Oracle documentation.

The following is a simple example of an online backup using the brbackup command:

1. Enter the following command:

brbackup -m backup_objects -t online [-d util_file_online]

• The -m backup_objects option specifies the objects to be backed up, where backup_objects is a tablespace, file ID, file ID range, or object list.

• The -t online option specifies that the backup type is online.• The (optional) -d util_file_online option specifies that NSR-R/3 is to

be used for the online backup.• For more information on the available brbackup command options,

see "Appendix A: Commonly Used Command Options for brbackup, brarchive, brrecover, and brrestore" on page 119.

With this brbackup command, the selected objects are backed up to the NetWorker server.

2. Enter the following command to back up the archive redo logs:

brarchive

For more information on the available brarchive command options, see "Appendix A: Commonly Used Command Options for brbackup, brarchive, brrecover, and brrestore" on page 119.

Note: Archive redo logs are required for an online backup. Without redo logs, you can recover a database only to the time of its last full backup.

3. Back up the client file indexes and bootstrap. For instructions, see "Backing Up the Client File Indexes and Bootstrap" on page 61.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 4: Manual Backups

4

61

Backing Up the Client File Indexes and BootstrapUnlike scheduled backups, manual backups do not automatically back up the client file indexes and the NetWorker server’s bootstrap file. If you do not perform regular scheduled backups, you need to protect this vital information following a manual backup.

Important: The client file indexes and bootstrap record are required for restoring the data to a database system in the event of a disaster, such as a disk failure.

To back up the client file indexes and NetWorker server bootstrap file, and to apply browse and retention policies to the client file indexes:

1. Include the client in a Group resource, which you must define in both the NetWorker Administrator program and the init<ORACLE_SID>.utl file. (A Group resource can be created even for a single client.) This ensures that browse and retention policies are applied to the client file indexes when the savegrp command is entered in step 2.

For more information on how to configure a Group resource with the NetWorker Administrator program, refer to the NetWorker Administrator’s Guide.

Note: If the client is not included in a Group resource, you must perform step 3 as an additional step to manually run the nsrim command.

2. On the NetWorker server, log in as the root user (Solaris, Linux) or administrator (Windows), and enter the following savegrp command:

savegrp -O -c client_name

where:• -O saves the client’s index files and the associated NetWorker

server’s bootstrap without backing up the client’s database files.• -c client_name specifies the hostname of the SAP R/3 server running

Oracle whose index files are to be backed up.For more information on the savegrp command, refer to the NetWorker Command Reference Guide.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

4

Reviewing Backup Session Reports

62

3. If the client is not included in a Group resource (see step 1), apply browse and retention policies to the client index files by entering the following nsrim command:

nsrim -c client_name

where -c client_name specifies the hostname of the SAP R/3 server running Oracle whose index is to be backed up.For more information on the nsrim command, refer to the NetWorker Command Reference Guide.

Important: Applying browse and retention policies to SAP R/3 backups avoids the problems of client file indexes using large amounts of hard drive space and slow index queries.

Reviewing Backup Session ReportsDuring backup, NSR-R/3 appends a backup session report to a log file on each SAP R/3 server running Oracle where NSR-R/3 resides. This file can be viewed with any text editor.

The default location for all logs is the directory /nsr/applogs

Logs can be written to a different location, using a different name, as specified in the backint_log, arch_backint_log, or backint_tmpdir parameters. Logs can be made verbose by setting the verbose parameter. See "verbose" on page 41.

Most NSR-R/3 logs can be found by searching for nsr/applogs/*backint*, nsr/applogs/*sap*, or nsr/applogs/*SAP*.

The default format for the backup report’s log filename is as follows:

backint<ORACLE_SID>.log

At the end of each operation in the report, there is a statement of the number of successfully completed files out of the total number of files.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 4: Manual Backups

4

63

Table 16 on page 63 lists the attributes recorded in a backup, restore, or inquire session report.

Table 16. Report Attributes for Backup and Restore Sessions (Part 1 of 2)

Attribute Description

#BACKUP <backup_id> <file>

Indicates the ID and filename from a successful inquiry function.

#ERROR <file>or#NOTFOUND <file>

Indicates an unsuccessful backup, restore, or inquire function and the intended file.

#RESTORED <backup_id> <file>

Indicates the ID and filename for each successful restore function.

#SAVED <backup_id> <file>

Indicates the ID and file name for each successful backup function.

Files Indicates the number of files to be backed up or restored in this backup or restore session.

Input File Indicates the name of the input file containing all files that backint is requested to back up or restore. Each requested file is listed under the message, "Reading input file."

Local Host Indicates the SAP R/3 server running Oracle that is associated with the report.

n of m files savedn of m files restoredn of m files reported

Indicates the number of files (n) successfully saved, restored, or reported by the NetWorker program out of the total number of files (m, see "Files" attribute) intended for the backup or restore operation.

Backups list two records, one for data and one for profiles.

Number of Symlinks Indicates the total number of symbolic links found in the files listed in the Input File.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

4

Reviewing Backup Session Reports

64

Parallelism Indicates the parallelism setting that backint uses when either passing save sets to the NetWorker server for backup or receiving save sets for restore.

Params File Indicates the init<ORACLE_SID>.utl parameter file that backint uses for backup, restore, or inquiry of the SAP R/3 with Oracle data.

Processing Parameter File

Indicates the parameter that backint uses during the backup, restore, or inquire process. For details on the NSR-R/3 parameters, see"Task 3: Configure the NSR-R/3 Parameters" on page 33.

Savesets/Sessions Indicates the number of save sets that backint sends to the NetWorker server.

Starting Indicates the backup or restore command, which is followed by a list of the files that were or were not successfully backed up or recovered in each session.

Symlink Specifies the location of a symbolic link associated with the file backed up or restored. The most common symbolic link is between the /oracle and /mnt/oracle directories. During backup, this link is backed up so that upon recovery the link is resolved.

User Indicates the database ID (ORACLE_SID) associated with the database instance. BRTools passes this value to backint.

Table 16. Report Attributes for Backup and Restore Sessions (Part 2 of 2)

Attribute Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 65

Chapter 5: Scheduled Backups

This chapter describes how to configure scheduled backups of SAP R/3 servers running Oracle. It includes the following sections, which describe tasks that should be performed in sequence:

• "Task 1: Test Basic Settings" on page 65• "Task 2: Configure the Client Resource" on page 66• "Task 3: Configure the Scheduled Backup Configuration File" on page 68• "Reviewing Backup Session Reports" on page 73

Task 1: Test Basic SettingsBefore configuring scheduled backups, test the network connections and basic software settings by performing a successful manual SAP R/3 with Oracle backup.

• For basic settings, see "Chapter 2: Basic Software Configuration" on page 29.

• For manual backup instructions, see "Chapter 4: Manual Backups" on page 57.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

5

Task 2: Configure the Client Resource

66

Task 2: Configure the Client ResourceUse the NetWorker Administrator program on the NetWorker server to configure the Client resource for each SAP R/3 server running Oracle to be scheduled for backup.

• For general Client resource settings for NSR-R/3, review the listings for "Client" on page 31.

• For Client resource settings that are specific to scheduled backups, see Table 17 on page 66.

• All other settings for scheduled backups must be specified in NSR-R/3’s parameter file and the scheduled backup configuration file. For more information, see the following:– "Task 3: Configure the NSR-R/3 Parameters" on page 33– "Task 3: Configure the Scheduled Backup Configuration File" on

page 68.

Important: Settings in NSR-R/3’s parameter file override any corresponding settings (including default settings) in the NetWorker Client resource.

For a complete description of Client resource settings, refer to the NetWorker Administrators Guide.

Table 17. Client Resource Settings for Scheduled Backups (Part 1 of 2)

Attribute Description

Save Set Ensure that the save set name includes the backint command and is defined in the following format:

backint:<ORACLE_SID>

For non-PowerSnap usage, this attribute is only informational, because the nsrsapsv.cfg file determines the ORACLE_SID parameter. For PowerSnap usage, this attribute must be set to backint:<ORACLE_SID>.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 5: Scheduled Backups

5

67

Figure 4 on page 68 provides an example showing part of a Client resource configuration in the NetWorker Administrator program on a Solaris or Linux system. Note the sample values in the Save Set and Backup Command fields.

Backup Command

Enter the nsrsapsv command in this attribute, with the-f option and the configuration filename:

nsrsapsv -f filename

where filename is the full pathname of the scheduled backup configuration file (for example, /nsr/res/nsrsapsv.cfg). For information on the scheduled backup configuration file, see "Task 3: Configure the Scheduled Backup Configuration File" on page 68.

Note: Because the Backup Command attribute is limited to 64 characters, store scheduled backup configuration files in the default path /nsr/res/nsrsapsv.cfg

Table 17. Client Resource Settings for Scheduled Backups (Part 2 of 2)

Attribute Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

5

Task 3: Configure the Scheduled Backup Configuration File

68

Figure 4. Example Client Resource

Task 3: Configure the Scheduled Backup Configuration FileNSR-R/3’s scheduled backup configuration file, named nsrsapsv.cfg (included with the installation), is a text file that contains parameters required by the NetWorker nsrsapsv scheduled backup program.

Note: Use a copy of the /opt/nsr/NSR_R3/nsrsapsv.cfg file, and preserve the original file.

Among other things, the nsrsapsv.cfg configuration file is used to:

• Identify the SAP Oracle database to be backed up.• Specify the BRTools command used for the scheduled backups.• Configure system specific environment variables.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 5: Scheduled Backups

5

69

To use this configuration file, its full pathname must be specified in the Backup Command attribute of the Client resource (see "Backup Command" on page 67).

Uncomment any parameters in the configuration file that you want to use in the backup. To set a parameter, use the following format:

parameter = value

Important: Use full pathnames for parameters that specify a path or filename. Oracle special characters such as ? are not supported. Also environment variables such as $ORACLE_HOME are not supported.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

5

Task 3: Configure the Scheduled Backup Configuration File

70

Table 18 on page 70 lists the parameters and values for the scheduled backup configuration file, nsrsapsv.cfg, or a copy of this file.

Table 18. Parameters for the NSR-R/3 Scheduled Backup Configuration File (Part 1 of 4)

Parameter Value

Any name_PATH=value pair

This parameter is used to append values to any environment variable named name_PATH (for example, LD_LIBRARY_PATH).• If an environment variable with this name already exists, then

the parameter value listed here is appended to the existing value for the environment variable.

• If an environment variable with this name does not exist, then it is created.

For example:

LD_LIBRARY_PATH=/export/home/oracle/product/8.1.5/lib:/usr/openwin/lib

This parameter is optional.

Any name=value pair This parameter is used to add any environment variable named name. If the environment variable specified by name already exists, then it is overwritten. For example:

BR_TRACE=1

BR_TRACE is set to 1 in the environment, which instructs brbackup or brarchive to print out additional trace information.

This parameter is optional.

BR_EXEC This parameter specifies the brbackup or brarchive command, with any options that nsrsapsv uses.

Note: Do not use the -u option, which identifies the user name and password of the Oracle database administrator.

For example:

BR_EXEC=brbackup

This is a required parameter.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 5: Scheduled Backups

5

71

NLS_LANG Format the value of this parameter as follows:LANGUAGE_TERRITORY.CHARACTERSET

For example:

NLS_LANG=AMERICAN_AMERICA.US7ASCII

For more information about this parameter, refer to the Oracle documentation.

This is a required parameter.

NSR_SAP_ADMIN_USER

This parameter specifies the user name as which BR_EXEC tool will run. If no name is specified, or the name is not valid, the '<OracleSID>adm' user will be used.

This parameter is optional.

NSR_SAP_ADMIN_GROUP

This parameter specifies the group name as wich BR_EXEC tool will run. If no name is specified, or the specified name is not a valid group for the admin user, the default group for this user will be used.

This parameter is optional.

NSR_SAP_RESTORE_RETRY_COUNT

This parameter specifies the number of times a failed restore will retry. If no value is set, retry is not attempted.

NSR_SAP_RESTORE_RETRY_DELAY_SECS

This parameter specifies the wait time in seconds before attempting retries of failed restores. If no value is set, retry is immediately attempted.

ORACLE_BIN This parameter specifies the location of the Oracle binaries. The specified path is appended to the PATH environment variable so that all Oracle binaries can be found, if needed.

This parameter is required only if the Oracle binaries are not in the default location, $ORACLE_HOME/bin.

Table 18. Parameters for the NSR-R/3 Scheduled Backup Configuration File (Part 2 of 4)

Parameter Value

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

5

Task 3: Configure the Scheduled Backup Configuration File

72

ORACLE_HOME Set this parameter to the installation path for the Oracle server software for ORACLE_SID. Use the full pathname.

For example:

ORACLE_HOME=/export/home/oracle/product/8.1.5

This is a required parameter.

ORACLE_SID This parameter identifies the system identification (SID) for the Oracle instance to be backed up.• If this parameter is specified, then its value is used for the

Oracle SID.• If the parameter is not specified, then the Oracle SID is derived

from the save set name in the NetWorker Administrator’s Client resource for this client.

For example, if the save set name is backint:SAP and you do not specify ORACLE_SID in the scheduled backup configuration file, then SAP is used for the Oracle SID.

For example:

ORACLE_SID=SAP

This parameter is optional.

PATH This parameter is used to add more search paths to the PATH environment variable. The specified value is appended to the PATH environment variable. You may specify multiple search paths, using either one of the following methods:• PATH=/dir1:/dir2:/dir3/dir4/dir5• PATH=/dir1PATH=/dir2PATH=/dir3/dir4/dir5

This parameter is optional.

Table 18. Parameters for the NSR-R/3 Scheduled Backup Configuration File (Part 3 of 4)

Parameter Value

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 5: Scheduled Backups

5

73

Reviewing Backup Session ReportsDuring a backup session, several reports are written to log files on each SAP R/3 server running Oracle where NSR-R/3 resides.

• Each time the nsrsapsv program is called, a log file is created with the name nsrsapsv.<process_id>_<ORACLE_SID>, for example, nsrsapsv.359_SAP.

• The backint program saves a backup report in the backint log file. The default log filename is backint <ORACLE_SID>.log.

These log files can be viewed with any text editor. The default location for all logs is the directory /nsr/applogs

The default format for the backint log filename is as follows:

backint <ORACLE_SID>.log

SAP_BIN This parameter specifies the path to the location of the BRTools binary files. This should also be where the backint executable resides, after it is manually moved to this location following installation of NSR-R/3. This path is added to the PATH environment variable so that the BRTools binaries and backint can be found.

For example in case of ORACLE_SID = "SAP":

SAP_BIN=/usr/sap/SAP/SYS/exe/run

This is a required parameter.

SAPBACKUP This parameter indicates the directory to store backup logs. BRTools uses this directory to store temporary or log files.

The default value is $ORACLE_HOME/sapbackup.

SAPDATA_HOME This parameter specifies the root directory for SAP datafiles. For details, refer to the SAP documentation.

Table 18. Parameters for the NSR-R/3 Scheduled Backup Configuration File (Part 4 of 4)

Parameter Value

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

5

Reviewing Backup Session Reports

74

Logs can be written to a different location, using different names, as specified in the backint_log, arch_backint_log, or backint_tmpdir parameters. For information on these parameters, see Table 8 on page 34. Logs can be made verbose by setting the verbose parameter. See "verbose" on page 41.

For a list of backup and restore session report attributes, see Table 16 on page 63.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 75

Chapter 6: Cloning Save Sets

Cloning is the NetWorker process used to make an exact copy of saved data (save sets) from a storage volume to a clone volume. NetWorker software indexes and tracks clones in both the client file index and the media database. The NSR-R/3 software uses the sapclone command to clone save sets.

This chapter includes the following sections:

• "Clone Command Syntax and Options" on page 75• "Monitoring the Cloning Process" on page 77

Clone Command Syntax and OptionsSave sets generated for the Oracle database ID, ORACLE_SID, using NSR-R/3 can be cloned by running the sapclone command from either the NetWorker server or the SAP R/3 server running Oracle. The sapclone command works with nsrclone to write the cloned data to the default clone pool, or to a specified clone volume whose pool type is "clone."

Use the following syntax for the sapclone command:

sapclone [-a] [-b pool] [-c client] [-n] [-s server] -u user

Command options in brackets ([ ]) are optional; only the -u option is mandatory and user specifies the ORACLE_SID of the database.

Table 19 on page 76 lists the options to use with the sapclone command.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

6

Clone Command Syntax and Options

76

Table 19. The sapclone Options (Part 1 of 2)

Option Description Example

-a Clones all of a client’s save sets. If this option is not specified, NSR-R/3 only clones save sets created in the last 24 hours.

sapclone -a -u SAP

-b pool Specifies the pool to which the cloned save sets are sent. If this option is not specified, the save sets are sent to the Default clone pool.

sapclone -b SAPClone -u SAP

-c client Identifies the name of the client whose backed up data should be cloned. NetWorker software uses the client file index for the specified client to find and clone the client’s data.

Use this option for cloning data backed up from a cluster. For example, you may want to set this option to the name of the cluster’s virtual node.

sapclone -c saturn -u SAP

-n Tests the cloning operation on a client’s save sets. When this option is specified, the cloning operation is not initiated.

The example performs a trial cloning process on the save sets created by backint in the last 24 hours, with none of the data being stored onto volumes of a clone pool.

sapclone -n -u SAP

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 6: Cloning Save Sets

6

77

Monitoring the Cloning ProcessTo enable monitoring of the cloning process, the NetWorker server displays messages in the NetWorker Administrator program for each save set that is cloned. Because the cloning process only clones complete save sets, additional volumes are requested if a save set spans multiple volumes.

Messages generated during the cloning process appear on screen and are recorded in the NetWorker messages log file in the location /nsr/logs

For more information on NSR-R/3 and NetWorker error messages, see "Appendix C: Troubleshooting" on page 137.

-s server Specifies the NetWorker server to which to clone. You need this option only if one of the following conditions is true:• You want to clone to a NetWorker

server other than the default server• You enter the sapclone command on a

SAP R/3 server running Oracle.

sapclone -s mars -u SAP

-u user Mandatory option. Specifies the ID of the Oracle database, whose save sets are to be cloned.

sapclone -u SAP

Table 19. The sapclone Options (Part 2 of 2)

Option Description Example

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

6

Monitoring the Cloning Process

78

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 79

Chapter 7: Restoring Data

This chapter describes how to restore data that was backed up by NSR-R/3. It includes the following sections:

• "Reviewing Save Sets" on page 79• "Performing Restores" on page 80• "Restoring SAP R/3 with Oracle Cluster Data" on page 82• "Reviewing Restore Session Reports" on page 82

Note: In the event of a disaster, such as disk failure, refer also to the NetWorker Disaster Recovery Guide.

Reviewing Save SetsTo review NetWorker save sets in the NetWorker Administrator program, select Indexes from the Client menu to open the Indexes window.

Select an entry to review. Each entry displays the ID assigned to the save set, the number and size of the file, and the date and level of the backup session.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

7

Expiration of Save Sets

80

Expiration of Save Sets

For every client save set backed up, the NetWorker server stores two sets of records:

• One or more records are written to the online client file index for the client computer and its save set. These records are maintained until the browse policy for the save set expires.

• One record is written to the online media database for the location of the save set’s data on a specific storage media. This record is maintained until the retention policy for the save set expires.

The expiration for the browse and retention policies must be set in NSR-R/3’s parameter file. For details, see "Task 3: Configure the NSR-R/3 Parameters" on page 33.

Once the browse and retention policies expire, the backup media is eligible for recycling and can be overwritten. Until the media is actually overwritten (relabeled), the data from the media can be restored by using the scanner command on the NetWorker server.

For a complete description of how NetWorker software uses browse and retention policies to track data, refer to the NetWorker Administrator’s Guide.

Performing RestoresIf a SAP R/3 server running Oracle was backed up by using the NSR-R/3 software, then you can restore data to the server by using either the SAPDBA interface or BRTools (the brrecover or brrestore command) directly. If a backup was done with RMAN, then the restore should also be done with RMAN. For information on restoring with RMAN, refer to the appropriate Oracle documentation.

• A full restore of an entire Oracle database instance restores database files, redo logs, and control files.

• A restore of a single database object, such as a tablespace or datafile, restores the object you specify, and does not restore redo logs and control files.

Note: Restore options used with either SAPDBA or BRTools overwrite any corresponding settings in the SAP R/3 initialization file, init<ORACLE_SID>.sap. For information on using the initialization file, see "Task 4: Configure the Backup and Restore Utility" on page 42.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 7: Restoring Data

7

81

Important: The brrestore program, whether invoked directly from the command line or from the SAPDBA interface, first deletes all the original files to be restored before calling backint to restore the files. If brrestore is unable to invoke backint for any reason, the original files are lost. Perform an inquiry of the backup first, before performing a restore.

An alternative is to restore the files to another location, and preserve the original files. Use the -m parameter, and specify the restore destination, as follows:

brrestore -m tablespace_name=restore_directory

For more information on restoring to a different location, refer to the appropriate SAP documentation.

How to Restore a Database or Database Object

To restore an entire database instance or a single database object using either the SAPDBA interface or the brrestore command:

1. Ensure that the NetWorker server, the SAP R/3 server running Oracle, and the NetWorker Remote Exec services are running.

2. Shut down the Oracle database instance (for a full restore), or take the database objects you are restoring offline (for restore of a single database object).

3. Ensure that either utl_file or rman_utl is configured as the backup device type in the SAP initialization file, init<ORACLE_SID>.sap. For details, see "Task 4: Configure the Backup and Restore Utility" on page 42.

4. Ensure that the appropriate NetWorker server, client, and parallelism settings are configured in NSR-R/3’s init<ORACLE_SID>.utl file. For details, see "Task 3: Configure the NSR-R/3 Parameters" on page 33.

5. Ensure that the backup you want to restore exists using either SAPDBA or the brrestore inquire function as follows:

brrestore -verify

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

7

Restoring SAP R/3 with Oracle Cluster Data

82

6. Depending on the type of restore you are performing and your restore method, do one of the following:

• To restore an entire database instance:– If using the SAPDBA interface, in the Restore/Recovery window,

select Full Restore.– If using the command line, enter the brrestore command with the

-m full option. See "Syntax and Options for brrestore Command" on page 126.

• To restore a single database object:– If using the SAPDBA interface, in the Restore/Recovery window,

select Restore One Tablespace or Restore Individual Files.– If using the command line, enter the brrestore command with the

-m option to specify a tablespace, file ID, or file ID range. See "Syntax and Options for brrestore Command" on page 126.

7. For details on applying the applicable redo logs to recover the database, refer to the related SAP R/3 and Oracle documentation.

8. To recover the database after a disaster occurence please use the brrecover command if available. See "Syntax and Options for brrecover Command" on page 123.

For more details on using the SAPDBA interface or the BRTools, refer to the appropriate SAP documentation.

Restoring SAP R/3 with Oracle Cluster DataRestoring data backed up from private disks in a cluster node is similar to restoring data on a system that is not part of a cluster.

To restore data from a shared disk of a virtual client, set NSR-R/3’s client parameter to restore files to the virtual client, where the files originated during the backup. For more information on this parameter, see "client" on page 34.

Reviewing Restore Session ReportsDuring restore, NSR-R/3 appends a restore session report to a log file on each SAP R/3 server running Oracle where NSR-R/3 resides. This file can be viewed with any text editor.

The default location for all logs is the directory /nsr/applogs

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 7: Restoring Data

7

83

The default format for the restore report’s log filename is as follows:

backint <ORACLE_SID>.log

Logs can be written to a different location using different names, as specified in the backint_log, arch_backint_log, or backint_tmpdir parameters. For information on these parameters, see Table 8 on page 34.

For a list of restore session report attributes, see Table 16 on page 63.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

7

Reviewing Restore Session Reports

84

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 85

Chapter 8: PowerSnap Backups and Restores

This chapter describes how to configure and run PowerSnap backups and restores of SAP R/3 with Oracle data on supported primary storage devices.

This chapter includes the following sections:

• "Requirements" on page 86• "Types of PowerSnap Backups" on page 87• "Types of PowerSnap Restores" on page 89• "PowerSnap Backup and Restore Data Flows" on page 90• "Quick Start" on page 92• "PowerSnap Software Configuration Roadmap" on page 94• "Configuring NetWorker Resources for PowerSnap" on page 96• "Setting PowerSnap Parameters in the NSR-R/3 configuration file" on

page 98• "Setting Variables in the PowerSnap Configuration File" on page 102• "Invoking PowerSnap Backup Processes" on page 106• "Querying PowerSnap Backup Records" on page 114• "Invoking PowerSnap Restore Processes" on page 115

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Requirements

86

8

RequirementsThis section describes the types of environments and software required to use the PowerSnap features of the NSR-R/3 software.

Supported Environments

PowerSnap provides continuous point-in-time (PIT), snapshot-based (immediate live backup) protection and availability of SAP R/3 with Oracle data on supported primary storage platforms.

To use the PowerSnap features, NSR-R/3 must be used in conjunction with the NetWorker PowerSnap Module. The PowerSnap Module creates the snapshots, and NSR-R/3 stores the snapshot data.

PowerSnap backups must use servers, clients, or storage nodes on Solaris platforms only. The supported types of primary storage platforms include, but are not limited to EMC CLARiiON.

The Oracle control file and all SAP directories, except sapdata<n>, should not be located on a snap volume. Refer to your snapshot vendor and corresponding NetWorker PowerSnap documentation for details.

Note: A PowerSnap backup can only be invoked by a NetWorker savegroup run. The savegroup may be started manually or automatically. A PowerSnap backup must not be started by directly invoking the BRTools commands or SAPDBA.

Required Software Components

PowerSnap backup and restore of SAP R/3 with Oracle data and files require the following software components:

• On the application server (Oracle Server):– SAP R/3, which contains the BRTools and SAPDBA– At least NetWorker Client – NSR-R/3 for SAP R/3– NetWorker PowerSnap Module

• On the PowerSnap proxy client:– NetWorker PowerSnap Module– At least NetWorker Client. If the secondary storage is on this host,

NetWorker Storage Node is required

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

87

8

For details on the installation requirements, refer to the appropriate NetWorker PowerSnap Module Installation and Administrator’s Guide.

Types of PowerSnap BackupsThis NSR-R/3, in conjunction with the PowerSnap Module, supports the types of PowerSnap for SAP R/3 with Oracle backups summarized in Table 20 on page 87:

The PowerSnap backup type is configured by the Snapshot Policy attribute in the NetWorker Backup Group, see "Configuring the NetWorker Group Resource" on page 96.

Instant Backup

An instant backup creates a permanent point-in-time (PIT) copy, or snapshot, of SAP R/3 with Oracle data. This copy is then stored on the primary storage system where it is available to NSR-R/3 for performing instant restores or rollbacks. Instant backups can be scheduled to occur many times in a single day, with little impact to the SAP R/3 with Oracle Server or network.

A group of SAP R/3 with Oracle datafiles in the snapshot is referred to as a snap set. The snapshot policy must be configured to control the lifecycle of the snap set. This policy specifies the frequency of instant backups and how long snapshots are retained before being recycled. For more information, see "Configuring the NetWorker Snapshot Policy Resource" on page 96.

Table 20. Summary of Supported PowerSnap Backup Types

Backup TypeSnapshot Retention

Location of Stored Data

"Instant Backup" see page 87 Permanent Snapshot only

"Immediate Live Backup" see page 88 Temporary Secondary storage (tape) only

"Deferred Live Backup" see page 88 Permanent Both snapshot and secondary storage

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Live Backup

88

8 Important: Instant backups protect against logical failures only. To protect against physical media failures, the snapshot must be backed up to secondary storage, such as tape.

For functional details of an instant backup, see "Instant Backup Processes" on page 106.

Live Backup

A live backup (also known as "snapshot rollover" or "rollover to tape" backup) is a tape backup of a previously-created snapshot. NSR-R/3 supports two types of live backup: immediate live backup, and deferred live backup.

Immediate Live Backup

Immediate live backup (also known as "serverless snapshot backup" or "snapshot-based backup") is a process by which a temporary snapshot is created, and immediately backed up to secondary storage such as tape. The snapshot is then automatically deleted from the primary storage (and not available to NSR-R/3 for performing instant restores or rollbacks).

Deferred Live Backup

Deferred live backup is a process by which a permanent snapshot, created on the primary storage system by an instant backup, is backed up to secondary (conventional) storage, such as tape. The permanent snapshot is retained on the primary storage (and available to NSR-R/3 for performing instant restores or rollbacks) for the period specified by either of the following:

• Snapshot expiration policy• Retain SnapShots attribute of the SnapShot Policy for the client’s Group

resource.

The Group Snapshot Policy must be configured to enable live backups. For more information, see "Configuring the NetWorker Snapshot Policy Resource" on page 96.

Note: A PowerSnap client host that is separate from the SAP R/3 host can be used to move the snapshot to the conventional storage medium such as tape. The use of a PowerSnap client as a secondary host reduces the demand on the SAP R/3 host. The PowerSnap client can be a NetWorker storage node.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

89

8

For functional details on live backups, see the following:

• "Immediate Live Backup Processes" on page 109 • "Deferred Live Backup Processes" on page 112

Types of PowerSnap RestoresNSR-R/3, in conjunction with the PowerSnap Module, supports the types of PowerSnap for SAP R/3 with Oracle restores described in Table 21 on page 89.

The restore type is specified in the RESTORE_TYPE_ORDER variable in the user-defined PowerSnap configuration file. See "Setting Variables in the PowerSnap Configuration File" on page 102.

Instant Restore

An instant restore is the process by which a snapshot that was created by an instant backup is mounted. This enables its saved data to be retrieved. A minimal amount of time is required for this type of restore.

For functional details of instant restores, see "Instant Restore and Rollback Processes" on page 115.

Rollback

A rollback restores the entire snapshot to the source location by using the hardware’s particular capabilities. Relocation during rollbacks is not currently supported by PowerSnap. To determine if a rollback is supported on a specific type of hardware, refer to the appropriate NetWorker PowerSnap Module Installation and Administrator’s Guide.

Table 21. Summary of Supported PowerSnap Restore Types

Restore Type Data Retrieved From:

"Instant Restore" see page 89 Mounted snapshot

"Rollback" see page 89 Unmounted snapshot, entirely restored to source location

"Restore from Secondary Storage" see page 90

Secondary storage (no snapshot available)

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Restore from Secondary Storage

90

8 Important: Rollbacks are potentially destructive because they overwrite the entire contents of a snapshot unit, such as a volume or disk.

For functional details of rollbacks, see "Instant Restore and Rollback Processes" on page 115.

Restore from Secondary Storage

A restore from secondary storage is the process by which a snapshot that was saved to the secondary storage system is restored from the secondary storage. The PowerSnap Module software essentially uses the NetWorker recover program, to retrieve the data.

For functional details on restores from secondary storage, see "Restore from Secondary Storage Processes" on page 117.

PowerSnap Backup and Restore Data FlowsThe backup and restore strategy requires knowledge of how the Oracle and Fujitsu Siemens Computers NetWorker software components all work together, see "Required Software Components" on page 86.

During a PowerSnap backup of SAP R/3 with Oracle data, the SAP R/3 with Oracle Server processes interact indirectly with the NetWorker server through the NSR-R/3 and PowerSnap Module software.

1. The SAP brbackup program invokes the NSR-R/3 software, which then communicates with the PowerSnap Module.

2. On the SAP R/3 with Oracle server host, the PowerSnap Module takes a point-in-time snapshot of the Oracle data on the primary storage.

3. If a live backup is performed, the PowerSnap Module moves the SAP R/3 with Oracle data from the snapshot on the primary storage to the NetWorker server or storage node.

4. The NetWorker server or storage node then stores the Oracle data on the secondary storage, such as a tape.

5. At the end of the PowerSnap backup, the NetWorker server updates the online client and media indexes with information about the backup.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

91

8

For more information about NetWorker server and NetWorker client programs and services, refer to the NetWorker Administrator’s Guide.

Data flow and intraprocess communication for SAP R/3 with Oracle PowerSnap backup and restore is illustrated in Figure 5 on page 91.

For functional details on backup and restore process, see the following topics:

• "Invoking PowerSnap Backup Processes" on page 106• "Invoking PowerSnap Restore Processes" on page 115

Figure 5. NSR-R/3 PowerSnap Backup and Restore Data Flow

NetWorkerClient

SAP R/3 withOracle Server Host

PowerSnap Client(NetWorker Storage Node)

NetWorkerServer

NetWorkerClient

PowerSnapModule

StorageMedium

SAP R/3 withOracle Datafiles

Point-in-Time Copyof SAP R/3 withOracle Datafiles

PowerSnapModule

NetWorkerServer

Primary Storage

NSR-R3

BRTools/SAP R/3

with Oracle process

data

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Quick Start

92

8

Quick StartThe following steps describe typical settings to enable and use NSR-R/3’s PowerSnap features for backup and restore. To customize your configuration, use this information in conjunction with more specialized information described in "PowerSnap Software Configuration Roadmap" on page 94.

Note: Before running the test included in this procedure, back up the test database. Test on a nonproduction database.

To configure and test the PowerSnap features for a typical configuration:

1. Ensure that the NetWorker Group used by NSR-R/3 has the proper PowerSnap attribute settings, as listed in Table 22 on page 92.

Table 22. Backup Group’s PowerSnap Attributes

Attribute Setting

Snapshot To enable PowerSnap functionality: True

Snapshot Policy Serverless is recommended for this testing. If needed, daily or other customized policies can be used later.

Snapshot Pool Selecting a "Pool" resource dedicated to storing snapshot operation 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 "Start Time" and the "Number of Snapshots" attribute for the snapshot policy.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

93

8

2. Modify NSR-R/3’s init<ORACLE_SID>.utl file to enable the PowerSnap parameters and variables.

A typical and recommended configuration is as follows:ps_backup_mode = yesps_archive_mode = nops_restore_mode = yesps_inquire_mode = yesps_exclude_backup_bi_run_nums = 2ps_exclude_archive_bi_run_nums = 1;2ps_exclude_backup_paths = (leave blank)ps_exclude_archive_paths = (leave blank)ps_ps_before_nonps = yesps_group_objs = yesps_opaque_pfilename = /nsr/res/nsrsapps.cfg

Descriptions of these parameters are listed in Table 23 on page 98.

3. Create and edit the PowerSnap configuration file by using an appropriate filepath and name, for example /nsr/res/nsrsapps.cfg

Include any parameters required or intended for use with the PowerSnap Module, for example:NSR_SNAP_TYPE = emcclarNSR_PS_DEBUG_LEVEL = 5 NSR_VERBOSE = trueNSR_DATA_MOVER = jupiter

Debug level is intended for technical support diagnostics only. For more information on the nsrsapps.cfg file’s contents, refer to Table 24 on page 102 or to the NetWorker PowerSnap Module Installation and Administrator’s Guide.

4. Test the client’s group snapshot settings by invoking the savegrp command.

a. From the NetWorker server nwadmin program, open the Group resource.

b. In the Autostart attribute, select Enabled.c. In the Start Time attribute, enter a time that is one or two minutes

later than the current time.d. Click Apply, or invoke the savegrp command from the command

prompt as follows:savegrp -c clientname grpname

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

PowerSnap Software Configuration Roadmap

94

8

The backup test is successful if the backint log reports the following message: n of n PS files reported

where n is the number of files requested that reside on a PowerSnap disk.

Note: If you encounter a problem, check NSR-R/3’s backint log file for PowerSnap related messages. Some common problems include:

• The target file is not managed by the PowerSnap Module.• The PowerSnap Module daemon or service, nsrpsd, is not running.• The PowerSnap powersnap.res configuration file needs to be modified.• The ps_xxx_mode or ps_exclude_xxx parameter (where xxx is

specified as described in Table 23 on page 98) is set to exclude a file from PowerSnap processing.

• The ps_opaque_pfilename file needs to be modified. For further troubleshooting, refer to "Generating Diagnostic Logs" on page 138.

5. Run a pre-restore inquiry with the following command:

brrestore -verify

6. Test a restore with the following command:

brrestore

The restore test is successful if a backint log reports the following message: n of n PS files reported

where n is the number of files requested that reside on a PowerSnap disk.

PowerSnap Software Configuration RoadmapBefore you configure the PowerSnap features, ensure that both NSR-R/3 for SAP R/3 with Oracle and the required PowerSnap Module software are installed according to the instructions in the following documentation:

• "Chapter 3: Installation" on page 47

• NetWorker PowerSnap Module Installation and Administrator’s Guide(Refer to the PowerSnap Module version for the primary storage system.)

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

95

8

To configure the PowerSnap features, complete the following sets of procedures:

1. Use the instructions in "Chapter 2: Basic Software Configuration" to configure the NetWorker Server, Client, Device, and other resources.

2. For live SAP R/3 with Oracle backups, configure a Device resource for each secondary storage device (such as a tape) to be used during backups. The devices must be mounted.

3. Configure the SAP R/3 with Oracle database layout to position the datafiles on the primary storage supported by the specific PowerSnap Module.

4. Use the instructions in "Chapter 5: Scheduled Backups" to configure the basic scheduled backup.

5. Complete the procedure: "Configuring NetWorker Resources for PowerSnap" on page 96.

6. Complete the procedure: "Setting PowerSnap Parameters in the NSR-R/3 configuration file" on page 98.

7. Complete the procedure: "Setting Variables in the PowerSnap Configuration File" on page 102.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Configuring NetWorker Resources for PowerSnap

96

8

Configuring NetWorker Resources for PowerSnapConfigure the following NetWorker resources as described in this section:

• SnapShot Pool resource• SnapShot Policy resource• Group resource• Client resource

Configuring the NetWorker Snapshot Pool Resource

Configure a separate snapshot pool to support PowerSnap for SAP R/3 with Oracle backups. The PowerSnap Module stores the metadata from the snapshot in this pool. Use the same configuration method as for a regular NSR-R/3 for SAP R/3 with Oracle backup. However, the specified backup device should be a file or advanced file type.

Specify the pool name in the Snapshot Pool attribute of the NetWorker Group resource as described in "Configuring the NetWorker Group Resource" on page 96.

For more information on configuring this extra pool, refer to the appropriate NetWorker PowerSnap Module Installation and Administrator’s Guide.

Configuring the NetWorker Snapshot Policy Resource

A NetWorker snapshot policy must be configured to perform either instant or live PowerSnap for SAP R/3 with Oracle backups. You can either specify a preconfigured policy, or create a new one.

Configure a NetWorker Snapshot Policy resource by using the instructions in the appropriate NetWorker PowerSnap Module Installation and Administrator’s Guide.

Configuring the NetWorker Group Resource

For PowerSnap for SAP R/3 with Oracle backups, configure a NetWorker Group resource by using the instructions in the appropriate NetWorker PowerSnap Module Installation and Administrator’s Guide.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

97

8

Configuring the NetWorker Client Resource

The basic NetWorker Client resource for NSR-R/3 is configured according to the settings described in "Task 2: Configure the Client Resource" on page 66.

Only members of a NetWorker user group with the Change Security Settings privilege can set the Remote Access attribute in the Client resource.

The Browse Policy attribute in the Client resource, which is superseded by the init<ORACLE_SID>.utl expiration parameter, applies only to the NetWorker client file index entries for these types of backups:

• Backups that reside on secondary storage (live backups).• Backups not performed by the PowerSnap Module.

The Retention Policy attribute in the Client resource, which is superseded by the init<ORACLE_SID>.utl expiration parameter, applies only to the NetWorker media database entries for these types of backups:

• Live backups.• Backups not performed by the PowerSnap Module.

The life cycle of a snapshot (instant backup) is governed by the snapshot policy specified in the client’s Group resource.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Setting PowerSnap Parameters in the NSR-R/3 configuration file

98

8

Setting PowerSnap Parameters in the NSR-R/3 configuration file

PowerSnap parameters are set in the init<ORACLE_SID>.utl file. These settings assume that the PowerSnap Module is installed and licensed.

Descriptions of the PowerSnap parameters for NSR-R/3 are listed in Table 23 on page 98.

Table 23. PowerSnap Parameters in init<ORACLE_SID>.utl File (Part 1 of 4)

PowerSnap ParameterDefault Value Description

ps_backup_mode

ps_archive_mode

ps_restore_mode

ps_inquire_mode

No Each of these PowerSnap functional modes is enabled if set to Yes.

Normally, all the modes are set together to either all Yes or all No, except ps_archive_mode=no and all others =yes. Do not use any other settings except for diagnostic purposes.

ps_opaque_pfilename Null Absolute pathname of the PowerSnap parameter file. For details, refer to the appropriate PowerSnap module documentation. This setting is mandatory if the PowerSnap functional mode parameters are enabled. For example: /nsr/res/nsrsapps.cfg. See Table 24 on page 102.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

99

8ps_exclude_backup_bi_run_nums

ps_exclude_archive_bi_run_nums

Null Specifies which backint runs are to be excluded from PowerSnap processing (typically run number 2). Parameter files, SAP backup catalog files, and other files that do not benefit from PowerSnap processing can be backed up by conventional processing without PowerSnap, thereby saving valuable snapshot disk resources.

Specify a value of one or more valid backint run numbers to exclude, each separated by a semicolon (;).

Important! The following starting values are strongly recommended:ps_exclude_backup_bi_run_nums=2ps_exclude_archive_bi_run_nums=1;2

Each brbackup or brarchive session invokes multiple backint processes sequentially, for example run number 1 followed by run number 2. If run 2 is excluded, then run 1 backs up the database datafiles exclusively by using PowerSnap, and run 2 forces files that do not benefit from PowerSnap processing, to be backed up by conventional processing without PowerSnap.

Table 23. PowerSnap Parameters in init<ORACLE_SID>.utl File (Part 2 of 4)

PowerSnap ParameterDefault Value Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Setting PowerSnap Parameters in the NSR-R/3 configuration file

100

8ps_exclude_backup_paths

ps_exclude_archive_paths

Null Specifies individual PowerSnap files to exclude from PowerSnap processing, but to back up with conventional non-snapshot processing instead. PowerSnap files are those on a snapshot-capable file system that NetWorker is aware of.

Valid values are any full path string, including standard wildcard characters. Use values that are based on the actual filenames that BRTools passes to backint.

Note: Wildcard support follows standard shell support for full file pathnames. For example the file /db01/foo.dbf is excluded if the parameter is set to a value of:/db01/foo.*, or /db??/*.dbf, but not excluded if set to /db*.

Specify one or more valid, full pathnames, each separated by a semicolon (;).

Whenever possible, preference should be given to setting the ps_exclude_xxx_bi_run_nums parameters instead of using these parameters.

Table 23. PowerSnap Parameters in init<ORACLE_SID>.utl File (Part 3 of 4)

PowerSnap ParameterDefault Value Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

101

8ps_ps_before_nonps Yes Specifies whether to perform all PowerSnap

processing before conventional processing without PowerSnap. This helps prevent potential resource conflicts.

Setting this value to No enables concurrent processing of all files set for backup, archive, or restore.

Note: The No value is not recommended and is done at the user’s own discretion.

ps_group_objs Yes Specifies whether to group all session files for each PowerSnap operation, such as prepare or sync, snapshot or split, save or restore, or postpare.

Setting this value to Yes will group all files from a certain LUN to one session, thus improving the NSR-R/3 performance for certain database disk or filesystem configurations, particularly if large numbers of files are processed by BRTools and PowerSnap with util_file_online.

However, grouping files also reduces the potential parallelism for certain backup and restore suboperations, which in turn can reduce performance.

Setting this value to Yes is also intended for use with BRTools 6.10 and later, offline and util_file_online, for example:

brbackup -t offline -d util_file_online

Table 23. PowerSnap Parameters in init<ORACLE_SID>.utl File (Part 4 of 4)

PowerSnap ParameterDefault Value Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Setting Variables in the PowerSnap Configuration File

102

8

Setting Variables in the PowerSnap Configuration FileThe PowerSnap parameters that do not directly belong to NSR-R/3 for SAP R/3 with Oracle must be set as variables in the attribute application information, in the client resource or in a user-defined PowerSnap configuration file, for example: nsrsapps.cfg. This file must be specified by its complete file pathname in the ps_opaque_pfilename parameter in the init<ORACLE_SID>.utl file.

The configuration file must list a separate line for each variable setting by using the following format:

var_name=var_value

where:

• var_name is the variable name, such as RESTORE_TYPE_ORDER.• var_value is the variable value, such as pit.

Commonly-used PowerSnap environment variables are listed in Table 24 on page 102. For a complete list, refer to the appropriate NetWorker PowerSnap Module Installation and Administrator’s Guide.

PowerSnap variables that have settings equivalent to NSR-R/3 parameters are listed separately in Table 25 on page 104.

Table 24. Commonly-Used PowerSnap Module Environment Variables (Part 1 of 3)

PowerSnap Variables Description Default and Valid Values

FRAME_IP Both IP addresses for the EMC CLARiiON Storage Processor nodes, separated by colons; for example, 135.27.48.3:135.27.48.4. If only one IP address is specified for the Storage Processor, PowerSnap operations fail.

none

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

103

8NSR_DATA_MOVER Mandatory if the PowerSnap

backup uses a live backup host different from the PowerSnap client host (NSR_CLIENT). Specifies the hostname of the PowerSnap backup host.

• Local host (default).• The valid hostname of the

secondary live backup host.

Note: The NSR_CLIENT PowerSnap variable must always be set to the original brbackup or brarchive host, init<ORACLE_SID>.utl client value.

NSR_MAX_STREAMS Optional. Specifies the maximum number of restore streams.

• Defaults to the parallelism value set in the init<ORACLE_SID>.utl file, or its default value of 8.

• An integer value.

NSR_PS_DEBUG_LEVEL Optional. PowerSnap debug level.

Valid values are 0 to 9. Default value is 1.

NSR_PS_SAVE_PARALLELISM

Optional. Specifies the maximum number of concurrent save streams on the PowerSnap client host.

• Defaults to the parallelism value set in the init<ORACLE_SID>.utl file, or its default value of 8.

• An integer value.

NSR_SNAP_TYPE Optional. Specifies snapshot platforms and releases, when multiple snapshot platforms are used.

Value should be a concatenated string, delimited by a colon (:). Default: emcclar

Table 24. Commonly-Used PowerSnap Module Environment Variables (Part 2 of 3)

PowerSnap Variables Description Default and Valid Values

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

PowerSnap Use of Equivalent NSR-R/3 Parameters

104

8

PowerSnap Use of Equivalent NSR-R/3 Parameters

Some parameters used by PowerSnap are the same as those used in conventional backup and restore operations and are inherited from the init<ORACLE_SID>.utl file. Normally, these equivalent parameters should not be specified as variables in the PowerSnap configuration file. See Table 25 on page 104.

RESTORE_TYPE_ORDER Optional. Specifies the type of restore to be performed.

Note: If multiple values are specified, each type of restore is attempted, in the order specified, until a restore operation is successful.

One or more of the following values, with each value delimited from the others by a colon(:):• pit - Specifies an instant

(point-in-time) restore.• conventional - Specifies a

restore from secondary storage media.

• rollback - Specifies a rollback restore from a PIT copy.

The default value ispit:conventional

Note: For NSR-R/3, a rollback operation aborts if one of the following occurs:• If brrestore file relocation is

specified.• If nonrequested files exist in the

brrestore-requested filesystems. (These files could become corrupted after a rollback.)

Table 25. PowerSnap Use of Equivalent NSR-R/3 Parameters (Part 1 of 2)

PowerSnap variables in the ps_opaque_pfilename parameter

Equivalent parameter in the init<ORACLE_SID>.utl file

NSR_CLIENT client (must match if NSR_CLIENT is used)

NSR_SERVER server (must match if NSR_SERVER is used)

Table 24. Commonly-Used PowerSnap Module Environment Variables (Part 3 of 3)

PowerSnap Variables Description Default and Valid Values

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

105

8NSR_GROUP group (must match if NSR_GROUP is used)

NSR_SAVESET_EXPIRATION expiration

NSR_COMPRESSION compress

NSR_PS_SAVE_PARALLELISM parallelism

NSR_MAX_STREAMS parallelism

NSR_DATA_VOLUME_POOL pool

Table 25. PowerSnap Use of Equivalent NSR-R/3 Parameters (Part 2 of 2)

PowerSnap variables in the ps_opaque_pfilename parameter

Equivalent parameter in the init<ORACLE_SID>.utl file

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Invoking PowerSnap Backup Processes

106

8

Invoking PowerSnap Backup ProcessesA PowerSnap for SAP R/3 with Oracle backup is started by automatically or manually invoking the scheduled NetWorker backup group on the NetWorker server. For information on how to invoke a scheduled backup, refer to the NetWorker PowerSnap Module Installation and Administrator’s Guide.

Note: A PowerSnap backup must not be started by directly invoking the client-side BRTools commands or SAPDBA.

There are three types of scheduled PowerSnap backup processes, which are summarized in the following sections:

• "Instant Backup Processes" on page 106• "Immediate Live Backup Processes" on page 109• "Deferred Live Backup Processes" on page 112

Instant Backup Processes

An instant backup creates a permanent snapshot copy of SAP R/3 with Oracle data that is retained on the primary storage system, where it is available to NSR-R/3 for performing instant restores or rollbacks. An instant backup is performed as follows:

1. At the backup start time, the main NetWorker service, nsrd, invokes the savegrp program to start the group’s backup.

2. The savegrp program requests that the NetWorker client-side service, nsrexecd, on the SAP R/3 with Oracle Server host run the savefs program to validate the client.

3. If the savefs program succeeds, the savegrp program starts the PowerSnap program, nsrsnap, on the SAP R/3 with Oracle Server host. Otherwise, the backup fails.

4. If an existing snapshot needs to be removed (for example, it is due to be recycled according to the snapshot policy), the nsrsnap program invokes the nsrsnapck program, which removes both the snapshot from the storage system and the corresponding NetWorker file and media index entries. File and media index entries are removed only if the snapshot was not backed up to tape.

Note: If the existing snapshot was not backed up to tape, there will be invalid records in the BRTools sapbackup catalog that do not correspond to any file index entries for the snapshots, because they were deleted by nsrsnapck processing. A subsequent brrestore attempt, without prior

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

107

8

verification, results in an expected "#NOT FOUND" message for all requested files. Run the brrestore -verify command after running Snapshot Policies that do not back up to tape.

This message does not appear if you run brrestore for either of the following:• The most recent backup.• An earlier backup that had its snapshot backed up to the tape.

5. The nsrsnap program contacts the nsrexecd service, which starts the nsrsapsv program for the scheduled backup.

6. The nsrsapsv program sets the required environment variables and invokes the brbackup or brarchive program.

7. The brbackup or brarchive program starts NSR-R/3’s backint program for the SAP R/3 with Oracle backup.

8. The backint program contacts the PowerSnap master program, nsrpsd, to perform the instant backup.

• PowerSnap processes create the snapshot that comprises the backup.• The nsrmmd service stores metadata (used only by the PowerSnap

Module) about the snapshot on the media configured for the snapshot pool, typically on a file or disk type device.

• The nsrmmd service records tracking information about the point-in-time metadata in the NetWorker media database by using the nsrmmdbd service.

• The nsrindexd service records tracking information about each file name in the NetWorker client file index. The client index contains one entry per datafile.

• brbackup resp. brarchive records the backup entry in its sapbackup catalog.

9. The brbackup or brarchive program calls backint a second time to invoke backup processes for non-databasefiles, for example init<ORACLE_SID>.sap, that do not benefit from PowerSnap processing. This extra backup is configured to be a conventional backup without PowerSnap by the following setting in the init<ORACLE_SID>.utl parameter file:

ps_exclude_xxx_bi_run_nums = 2

where xxx is backup or archive. For configuration details, see Table 23 on page 98.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Instant Backup Processes

108

8

10. If the Snapshot Policy resource specifies that the snapshot must be copied to secondary storage, the nsrsnap program performs the steps in "Deferred Live Backup Processes" on page 112.

Note: The snapshot is not deleted from the primary storage.

11. The savegrp program backs up the NetWorker server bootstrap and SAP R/3 with Oracle client file indexes.

Figure 6 on page 108 shows how the Oracle Server and NetWorker processes interact during a scheduled instant backup.

Figure 6. Scheduled Instant Backup Processes

SAP R/3 withOracle Server

(NetWorker Client)PowerSnap Client

(NetWorker Storage Node)NetWorker

Server

SnapshotPool Media

nsrmmdbd

Media Database

Client File Index

interprocess communication

backint

nsrindexd

nsrexecd nsrmmd

trackinginformation

brbackupor brarchive

savegrp

nsrsnap nsrd

Primary StorageSAP R/3

with OracleDatafiles

Point-in-Time Copyof SAP R/3 withOracle Datafiles

data

PowerSnapprocesses

PowerSnapprocesses

nsrpsd

nsrexecdnsrsnapck

savefs

nsrsapsv

green fillindicatesNSR-R3elements

violet fillindicates

PowerSnapelements

white fillindicates

NetWorkerand Oracleelements

StartHere

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

109

8

Immediate Live Backup Processes

An immediate live backup creates a temporary snapshot copy of the SAP R/3 with Oracle data on the primary storage, which is then immediately backed up to secondary storage, such as tape. The snapshot is then automatically deleted from the primary storage, and is not available for instant restores or rollbacks. This process involves the following sequence:

Note: The first seven steps are the same as those in "Instant Backup Processes" on page 106.

1. At the backup start time, the main NetWorker service, nsrd, invokes the savegrp program to start the group’s backup.

2. The savegrp program requests that the NetWorker client-side service, nsrexecd, on the SAP R/3 with Oracle Server host run the savefs program to validate the client.

3. If the savefs program succeeds, the savegrp program starts the PowerSnap program, nsrsnap, on the SAP R/3 with Oracle Server host. Otherwise, the backup fails.

4. If an existing snapshot needs to be removed (for example, it is due to be recycled according to the snapshot policy), the nsrsnap program invokes the nsrsnapck program, which removes both the snapshot from the storage system and the corresponding NetWorker file and media index entries. File and media index entries are removed only if the snapshot was not backed up to tape.

Note: If the existing snapshot was not backed up to tape, there will be invalid records in the BRTools sapbackup catalog that do not correspond to any file index entries for the snapshots, because they were deleted by nsrsnapck processing. A subsequent brrestore attempt, without prior verification, results in an expected "#NOT FOUND" message for all requested files. Run the brrestore -verify command after running Snapshot Policies that do not back up to tape.

This message does not appear if you run brrestore for either of the following:• The most recent backup.• An earlier backup that had its snapshot backed up to the tape.

5. The nsrsnap program contacts the nsrexecd service, which starts the nsrsapsv program for the scheduled backup.

6. The nsrsapsv program sets the required environment variables and invokes the brbackup or brarchive program.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Immediate Live Backup Processes

110

8

7. The brbackup or brarchive program starts NSR-R/3’s backint program for the SAP R/3 with Oracle backup.

8. The backint program contacts the PowerSnap master program, nsrpsd, to perform the immediate live backup.

• PowerSnap processes create the snapshot, move the data to secondary storage, and then delete the snapshot from the primary storage.

• The nsrmmd service records tracking information about the secondary storage save sets in the NetWorker media database by using the nsrmmdbd service.

• The nsrindexd service records tracking information for each backup piece name and for each stored operating system datafile in the NetWorker client file index. The client index contains two entries per datafile.

• brbackup resp. brarchive records the backup entry in its sapbackup catalog.

9. The brbackup or brarchive program calls backint a second time to back up backup processes for non-databasefiles, for example init<ORACLE_SID>.sap, that do not benefit from PowerSnap processing. This extra backup is configured to be a conventional backup without PowerSnap by the following setting in the init<ORACLE_SID>.utl parameter file:

ps_exclude_xxx_bi_run_nums = 2

where xxx is backup or archive. For configuration details, see Table 23 on page 98.

10. The savegrp program backs up the NetWorker server bootstrap and Oracle client file indexes.

Figure 7 on page 111 shows how the Oracle server and NetWorker processes interact during a scheduled immediate live backup.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

111

8

Figure 7. Scheduled Immediate Live Backup

SAP R/3 withOracle Server

(NetWorker Client)PowerSnap Client

(NetWorker Storage Node)NetWorker

Server

SecondaryStorage Meduim

nsrmmdbd

Media Database

Client File Index

interprocess communication

backint

nsrindexd

nsrexecd nsrmmd

trackinginformation

brbackupor brarchive

savegrp

nsrsnap nsrd

Primary StorageSAP R/3

with OracleDatafiles

Point-in-Time Copyof SAP R/3 withOracle Datafiles

data

PowerSnapprocesses

PowerSnapprocesses

nsrpsd

nsrexecdnsrsnapck

savefs

nsrsapsv

green fillindicatesNSR-R3elements

violet fillindicates

PowerSnapelements

white fillindicates

NetWorkerand Oracleelements

StartHere

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Deferred Live Backup Processes

112

8

Deferred Live Backup Processes

A deferred live backup creates a permanent snapshot copy of the SAP R/3 with Oracle data on the primary storage system, which is then backed up to secondary storage system, such as tape. The snapshot is retained on the primary storage for the period specified by either of these snapshot policy attributes for the client’s Group resource:

• SnapShot Expiration Policy• Retain Snapshots

A deferred live backup will run only automatically as part of a scheduled NSR-R/3 backup.

For more information, refer to the appropriate NetWorker PowerSnap Module Installation and Administrator’s Guide.

A scheduled deferred live backup uses the following process:

1. The nsrsnap program invokes the PowerSnap processes to copy the snapshot to secondary storage.

Note: The snapshot is not deleted from the primary storage.

2. The nsrmmd service records tracking information about the deferred live backup in the NetWorker media database by using the nsrmmdbd service.

3. The nsrindexd service records tracking information for each stored operating system datafile in the NetWorker client file index.

Figure 8 on page 113 shows how the Oracle Server and NetWorker processes interact during a scheduled deferred live backup.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

113

8

Figure 8. Scheduled Deferred Live Backup

SAP R/3 withOracle Server

(NetWorker Client)PowerSnap Client

(NetWorker Storage Node)NetWorker

Server

SecondaryStorage Medium

nsrmmdbd

Media Database

Client File Index

interprocesscommunication

nsrindexd

nsrexecd nsrmmd

trackinginformation

Primary StorageSAP R/3

with OracleDatafiles

Point-in-Time Copyof SAP R/3 withOracle Datafiles

data

nsrsnap (at endof savegrp)

PowerSnapprocesses

violet fillindicates

PowerSnapelements

white fillindicates

NetWorkerelements

StartHere

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Querying PowerSnap Backup Records

114

8

Querying PowerSnap Backup RecordsThe NetWorker server records information about each backup in its online indexes. The index entry for NSR-R/3 for SAP R/3 with Oracle PowerSnap backup is stored in the NetWorker client file index for the SAP R/3 with Oracle Server host, under the new "saporacle" namespace (instead of the "backup" namespace, which is used for regular NSR-R/3 for SAP R/3 with Oracle backups).

For NetWorker release 7.1 or later, you can query the online NetWorker indexes by using the NetWorker commands, nsrinfo and mminfo.

• To query the NetWorker client file index, enter the nsrinfo command. This displays BRTools file BIDs, for example:nsrinfo [-v] -n saporacle -s NetWorker_server client

where client is your SAP R/3 with Oracle server hostname.• To query the NetWorker media database, enter the mminfo command.

For example:mminfo [-v] [-N backint:<ORACLE_SID>:PS:] -s NetWorker_server -c client

where client is your SAP R/3 with Oracle server hostname.

NSR-R/3 for SAP R/3 with Oracle PowerSnap save sets all have the following save set format:

backint:<ORACLE_SID>:PS:

For more information on these NetWorker commands, refer to the NetWorker Command Reference Guide and the online man pages.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

115

8

Invoking PowerSnap Restore ProcessesNSR-R/3 for SAP R/3 with Oracle restores are performed with either the brrecover command, the brrestore command or the SAPDBA interface, each of which ultimately calls NSR-R/3’s backint program. For PowerSnap restores, the backint program interacts with both the PowerSnap and NetWorker software.

For descriptions of the processes involved, see the following:

• "Instant Restore and Rollback Processes" on page 115• "Restore from Secondary Storage Processes" on page 117

Instant Restore and Rollback Processes

Both instant restores and rollbacks use the permanent snapshot created by an instant backup or as part of a deferred live backup.

• For an instant restore, the snapshot copy is mounted and the files are copied as needed.

• For a rollback, the entire snapshot is moved to the source destination by using the appropriate commands for the specific platform, if supported by the NetWorker PowerSnap Module.

Instant restores and rollbacks use the following process:

1. NSR-R/3’s backint program verifies the existence of the requested files’ versions through the nsrindexd service.

2. The backint program contacts the PowerSnap master program, nsrpsd, on the Oracle Server host.

3. The nsrpsd program works with other PowerSnap and NetWorker programs to access the instant backup copy on the primary storage, and to perform the restore operation.

• PowerSnap processes retrieve the snapshot metadata saveset by using the nsrmmd and nsrmmdbd processes.

• PowerSnap processes do one of the following, depending on the RESTORE_TYPE_ORDER setting, see Table 24 on page 102:– For an instant restore, mount the snapshot and copy the files into

a destination requested by NSR-R/3.– For a rollback, execute the command (specific to the primary

storage system) to move the entire snapshot unit into the source destination.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Instant Restore and Rollback Processes

116

8

Once the required SAP R/3 with Oracle files are restored, a database administrator can complete the standard SAP R/3 with Oracle database recovery.

Figure 9 on page 116 shows how the Oracle server and NetWorker processes interact during an instant restore or rollback.

Figure 9. Instant Restore or Rollback

SAP R/3 withOracle Server

(NetWorker Client)PowerSnap Client

(NetWorker Storage Node)NetWorker

Server

SnapShotPool Media

nsrmmdbd

Media Database

Client File Index

interprocess communication

nsrindexd

nsrmmd

trackinginformation

nsrd

Primary StorageSAP R/3

with OracleDatafiles

Point-in-Time Copy of SAP R/3 with Oracle

Datafiles

data(for details ondata flow, seedescription)

PowerSnapmodule

nsrpsd

nsrexecd

green fillindicatesNSR-R3elements

violet fillindicates

PowerSnapelements

white fillindicates

NetWorkerand Oracleelements

PowerSnapmodule

nsrexecd

backint

brrestore/brrecover

StartHere

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Chapter 8: PowerSnap Backups and Restores

117

8

Restore from Secondary Storage Processes

A restore of a PowerSnap backup from secondary storage uses the following process:

1. NSR-R/3’s backint program verifies the existence of the requested files’ versions through the nsrindexd service.

2. The backint program contacts the PowerSnap master program, nsrpsd, on the Oracle Server host.

3. The nsrpsd program works with other PowerSnap and NetWorker programs to retrieve the data from secondary storage, and perform the restore operation.

PowerSnap processes restore the files (save sets) into a destination requested by NSR-R/3. The processes use the nsrmmd and nsrmmdbd programs to do the following:• Determine which media contain the requested save sets.• Read the backup volumes.

4. Once the required SAP R/3 with Oracle files are restored from the backup volumes, a database administrator can complete the standard SAP R/3 with Oracle database recovery.

Figure 10 on page 118 shows how the Oracle Server and NetWorker processes interact during a restore from secondary storage.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Restore from Secondary Storage Processes

118

8

Figure 10. Restore from Secondary Storage

SAP R/3 withOracle Server

(NetWorker Client)PowerSnap Client

(NetWorker Storage Node)NetWorker

ServerPrimary Storage

OracleDatafiles

SecondaryStorage nsrmmdbd

Media Database

Client File Index

interprocess communication

backint

nsrindexd

nsrmmd

trackinginformation

nsrd

data

nsrpsd

nsrexecd

green fillindicatesNSR-R/3elements

violet fillindicates

PowerSnapelements

white fillindicates

NetWorkerand Oracleelements

brrestore/brrecover

PowerSnapmodule

StartHere

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 119

Appendix A: Commonly Used CommandOptions for brbackup, brarchive, brrecover, and

brrestore

This appendix provides sample syntax and options for the SAP R/3 Release 4.6B brbackup, brarchive, brrecover and brrestore commands, which are commonly used for NSR-R/3 operations. For a complete listing of the syntax and options used with the brbackup, brarchive, brrecover and brrestore commands, refer to the appropriate SAP documentation.

Note: The commands can be used from any command prompt.

This appendix includes the following sections:

• "Syntax and Options for brbackup and brarchive Commands" on page 120

• "Syntax and Options for brrecover Command" on page 123• "Syntax and Options for brrestore Command" on page 126

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

A

Syntax and Options for brbackup and brarchive Commands

120

Syntax and Options for brbackup and brarchive CommandsNSR-R/3 uses the following brbackup command syntax and options:

brbackup [-c force][-d {util_file|util_file_online|rman_util}][-m {all|tablespace_name|file_ID|file_ID_range}][-p profile][-r parameter_file][-t {online|offline|offline_force|offline_standby}][-u user/password][-w|-verify]

Command options in brackets ([ ]) are optional. At least one of the command options in braces ({ }) must be included in the command.

NSR-R/3 uses the following brarchive syntax and options:

brarchive [-c force][-d {util_file|util_file_online|rman_util}][-f stop][-m delay_time][-p profile][-r parameter_file][-s save][-u user/password][-w|-verify]

Table 26 on page 120 lists the options available with the brbackup and brarchive commands.

Table 26. The brbackup and brarchive Command Options (Part 1 of 3)

Option Description

-c force Suppresses most of the confirmation messages that interrupt the backup process.

-d util_file | util_file_online|rman_util

Specifies that NSR-R/3 is used for the backup or archive process. This option is not required because it is set during configuration (see "Task 4: Configure the Backup and Restore Utility" on page 42.)

-f stop Instructs brarchive to wait for the next offline redo log file written by Oracle, and then send it to backint for archiving.

-m all Sends the entire database to backint for backup.

-m tablespace_name Sends a single tablespace to backint for backup.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix A: Commonly Used Command Options for brbackup, brarchive, brrecover, and brrestore

A

121

-m file_ID Sends a datafile with an associated Oracle file ID to backint for backup. The following file ID formats are acceptable:• Specify control files as ID 0.• Specify online redo log files as the following ID:

0 group_number

where group_number is the group number associated with the redo log files.

• Specify all online redo log files as ID 00.

-m file_ID_range Sends datafiles within a specified Oracle file ID range to backint for backup.

-m delay_time Specifies the delay time between Oracle creating the offline redo log file and sending datafiles to the database in standby mode.

-p profile Specifies a profile other than the default, init<ORACLE_SID>.sap. The nondefault profile used for BRTools must specify the settings outlined in "Task 4: Configure the Backup and Restore Utility" on page 42.

-r parameter_file Specifies the parameter file that NSR-R/3 uses during the backup or archive process. This option is required only if you have created additional parameter files. Otherwise, this option is not required, because init<ORACLE_SID>.utl is set as the default parameter file during configuration. For details on setting the default parameters, see "Task 3: Configure the NSR-R/3 Parameters" on page 33.

-s saveset Specifies the number of members in save sets (1, 2, 3, 4, tablespace, or all).

-t online Instructs brbackup and NSR-R/3 to perform an online backup of the Oracle database. To reduce the number of redo logs that Oracle generates, use this option with the -d util_file_online option.

Table 26. The brbackup and brarchive Command Options (Part 2 of 3)

Option Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

A

Syntax and Options for brbackup and brarchive Commands

122

-t offline Specifies to brbackup and NSR-R/3 that the Oracle database is shut down.

-t offline_force Instructs the SAP R/3 system to shut down the Oracle database immediately and tell brbackup to send data to backint for backup.

-t offline_standby Instructs the SAP R/3 system that the database in standby mode is ready for backup.

-u user/password Specifies the Oracle database administrator’s user name and password.

-w|-verify Instructs brbackup or brarchive to perform a verification after a successful backup of the data. So backint has to be called again with the option-f inquire.

Table 26. The brbackup and brarchive Command Options (Part 3 of 3)

Option Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix A: Commonly Used Command Options for brbackup, brarchive, brrecover, and brrestore

A

123

Syntax and Options for brrecover CommandNSR-R/3 uses the following brrecover syntax and options:

brrecover [-b [log_name|last]][-c [force]][-i days] [-own own_name|own_name_list][-p profile][-pit yyyy-mo-dd hh.mi.ss][-r parfile][-scn scn][-seq seq_nr][-seq1 seq_nr][-t complete|dbpit|tspit|reset|restore|apply|disaster][-tsp tsp_name|tsp_name_list][-u [user[/password]]|/]

Command options in brackets ([ ]) are optional.

Table 28 on page 126 lists the options available with the brrecover command.

Table 27. The brrecover Command Line Options (Part 1 of 3)

Option Description

-b log_name|last Specifies a brbackup run from which to restore the database files.

log_name: brrecover restores database files from the brbackup backup with the log name entered in log_name as "bencoded_timestamp.function_id".

last (default): brrecover restores the files from the last successful database backup.

-c [force] Specifies whether the recovery is attended (default) or unattended.

In unattended mode, brrecover only stops at menus. At other prompts, it continues processing with the default value.

force: all confirmation messages are suppressed. In addition, brrecover automatically selects default choices and accepts default input values in menus.

Note: Do not use the option -c force when recovering a production database. In this case, follow the brrecover prompts and menus, and carefully check the default choices and input values suggested by brrecover.

-i days Specifies the interval in which brrecover searches for backups.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

A

Syntax and Options for brrecover Command

124

-own own_name|own_name_list

Specifies the SAP owner for a tablespace point-in-time (PIT) recovery.

-p profile Defines the profile name. Default: init<ORACLE_SID>.sap

-pit yyyy-mo-dd hh.mi.ss Specifies the point in time to which brrecover recovers the database or tablespaces for a point-in-time (PIT) recovery.

-r parfile Defines the backint parameter file. Default: no parameter file.

-scn scn Specifies the last Oracle system change number for a point-in-time (PIT) recovery.

-seq seq_nr Specifies the sequence number of the last redo log file for a point-in-time (PIT) recovery.

-seq1 seq_nr Specifies the sequence number of the first redo log file for applying offline redo log files using the command option -t apply.

-t complete|dbpit|tspit|reset|restore|apply|disaster

Specifies the type of recovery.

complete: complete database recovery

dbpit: database point-in-time recovery

tspit: tablespace point-in-time recovery

reset: whole database reset

restore: restore of individual backup files

apply: apply offline redo log files (that is, archivelogs)

disaster: disaster recovery

Table 27. The brrecover Command Line Options (Part 2 of 3)

Option Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix A: Commonly Used Command Options for brbackup, brarchive, brrecover, and brrestore

A

125

-tsp tsp_name|tsp_name_list

Specifies the tablespaces to be recovered in a tablespace point-in-time (PIT) recovery.

-u user/password|/ Defines the user name and password with which brrecover connects to the database. The user must have SYSDBA privileges.

Default: system/default_password

Table 27. The brrecover Command Line Options (Part 3 of 3)

Option Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

A

Syntax and Options for brrestore Command

126

Syntax and Options for brrestore CommandNSR-R/3 uses the following brrestore syntax and options:

brrestore [[-c [force]][-d {util_file|util_file_online|rman_util}][-m {all|full|table_space_name|file_ID|file_ID_range|generic_path}][-p profile][-r parameter_file][-w|-verify]

Command options in brackets ([ ]) are optional. At least one of the command options in braces ({ }) must be included in the command.

Table 28 on page 126 lists the options available with the brrestore command.

Table 28. The brrestore Command Line Options (Part 1 of 2)

Option Description

-c [force] Suppresses most of the confirmation messages that interrupt the restore process.

-d util_file | util_file_online|rman_util

Specifies that NSR-R/3 is used for the restore process. This option is not required because it is set during configuration (see "Task 4: Configure the Backup and Restore Utility" on page 42).

-m all Requests the backint program to restore all tablespaces and associated files.

-m full Requests the backint program to restore the entire database instance.

-m table_space_name Requests the backint program to restore a single tablespace.

-m file_ID Requests the backint program to restore a datafile with an associated Oracle file ID. The following file ID formats are acceptable:• Specify control files as ID 0.• Specify online redo log files as the following ID:

0 group_number

where group_number is the group number associated with the redo log files.

• Specify all online redo log files as ID 00.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix A: Commonly Used Command Options for brbackup, brarchive, brrecover, and brrestore

A

127

-m file_ID_range Requests the backint program to restore datafiles within a specified Oracle file ID range.

-m generic_path Requests the backint program to restore all the datafiles whose names start with that full path. The path must contain at least the SAPDATA_HOME directory and an additional generic specification (for example, sapdata<n> ).

If the generic path is a directory, you can also restore one or more files from this directory by additionally specifying one or more filenames.

-p profile Specifies a profile other than the default init<ORACLE_SID>.sap profile. A nondefault profile must specify the settings outlined in "Task 4: Configure the Backup and Restore Utility" on page 42.

-r parameter_file Specifies the parameter file that NSR-R/3 uses during the restore process. This option is required only if you have created additional parameter files. Otherwise, this option is not required, because init<ORACLE_SID>.utl is set as the default parameter file during configuration. For details on setting the default parameters, see "Task 3: Configure the NSR-R/3 Parameters" on page 33.

-w|-verify Instructs brrestore to perform only a verification of the data. So backint will be called with the option -f inquire.

Table 28. The brrestore Command Line Options (Part 2 of 2)

Option Description

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

A

Syntax and Options for brrestore Command

128

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 129

Appendix B: Environment Variables for RMAN

To configure the RMAN utility for backup and restore, NetWorker software uses specific NSR_* environment variables that are described in this appendix. This appendix contains the following sections:

• "Setting the Environment Variables" on page 129• "Environment Variable Definitions" on page 130

Setting the Environment VariablesThe environment variables are set with the rman_parms parameter in the SAP initialization file (also called the utilities profile), init<ORACLE_SID>.sap, which is typically located in the directory $ORACLE_HOME/dbs

For instructions on configuring the RMAN utility for NSR-R/3, see "Configuring RMAN as the Backup and Restore Utility" on page 44.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

B

Environment Variable Definitions

130

Environment Variable DefinitionsTable 29 on page 130 lists all the NSR_* environment variables that can be used with NSR-R/3.

Table 29. NSR_* Environment Variables (Part 1 of 6)

Variable Description Default and Valid Values

NSR_CLIENT Recommended for a backup of Oracle running on a cluster, Oracle Parallel Server (OPS), or Real Application cluster (RAC) system.

Recommended for all restores.

Specifies the NetWorker Client resource to use for a backup or restore session.

Might be needed for disaster recovery.

• The physical host on which the session runs (default).

• A valid NetWorker client hostname.

NSR_COMPRESSION Optional. Specifies whether or not the NetWorker software performs compression on the backup data.

• FALSE (default) = The NetWorker software performs no compression.

• TRUE = The NetWorker software performs compression.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix B: Environment Variables for RMAN

B

131

NSR_DATA_VOLUME_POOL

Mandatory if using set duplex command (set to 1, 2, 3, or 4).

Specifies the name of the volume pool to use for the Oracle backup, including a duplexed Oracle backup.

In the case of proxy backups, specifies the volume pool for live backups only (backups to secondary storage only).

Note: For a scheduled backup, the NSR_DATA_VOLUME_POOL setting takes precedence over any pool associated with the scheduled backup group.

• The most appropriate pool, selected by the NetWorker server (default).

• A valid NetWorker pool name.

• The name must be different from the name used by another NSR_DATA_VOLUME_POOL* variable.

NSR_DATA_VOLUME_POOL1

Mandatory if using set duplex command (set to 2, 3, or 4).

Specifies the name of the volume pool to use for a duplexed Oracle backup.

• Undefined (default).• A valid NetWorker pool

name.• The name must be different

from the name used by another NSR_DATA_VOLUME_POOL* variable.

NSR_DATA_VOLUME_POOL2

Mandatory if using set duplex command (set to 3 or 4).

Specifies the name of the volume pool to use for a duplexed Oracle backup.

• Undefined (default).• A valid NetWorker pool

name.• The name must be different

from the name used by another NSR_DATA_VOLUME_POOL* variable.

NSR_DATA_VOLUME_POOL3

Mandatory if using set duplex command (set to 4).

Specifies the name of the volume pool to use for a duplexed Oracle backup.

• Undefined (default).• A valid NetWorker pool

name.• The name must be different

from the name used by another NSR_DATA_VOLUME_POOL* variable.

Table 29. NSR_* Environment Variables (Part 2 of 6)

Variable Description Default and Valid Values

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

B

Environment Variable Definitions

132

NSR_DEBUG_FILE Optional. Enables debugging by specifying the complete pathname of the log file on the Oracle Server that receives debugging information during a proxy or nonproxy backup or restore.

Only used for debugging the NSR-R/3 for Oracle media management library (MML).

• Undefined (default).• The valid pathname of the

debug file to use on the Oracle Server.

Note: If undefined, no debugging information is generated. If a file with the specified pathname cannot be created, debugging information is either directed to the default location or not generated.

NSR_DEBUG_LEVEL Optional. Controls the amount of debugging information that NSR-R/3 for Oracle writes to the debug log file, which is specified by NSR_DEBUG_FILE.

The debug level limits only the amount of debug information generated by the three functions—sbtread(), sbtwrite(), and sbtpcstatus()—that are called most often during backups and restores. All the debug messages for other functions are always written to the log file, regardless of the debug level.

• 0 (default) = Only operational messages are written for the sbtread(), sbtwrite(), and sbtpcstatus() functions. No entry or exit messages are written for the functions.

• 1 = Only entry and exit messages are written for the sbtread(), sbtwrite(), and sbtpcstatus() functions. No operational messages are written for the functions.

• 3 = All debug messages for all the functions are written to the log file.

NSR_GROUP Optional. Use for a manual backup only. Specifies the NetWorker group to use for a backup session. Used by the NetWorker server to select the volume pool for the manual backup.

Note: Do not set this variable for a scheduled backup.

• Default group (default).• A valid NetWorker backup

group name.

Note: A NetWorker Group resource must be configured for the specified backup group.

Table 29. NSR_* Environment Variables (Part 3 of 6)

Variable Description Default and Valid Values

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix B: Environment Variables for RMAN

B

133

NSR_NO_BUSY_ERRORS

Optional. Specifies whether a scheduled backup fails immediately when the NetWorker server is busy or waits for the NetWorker server to accept the connection.

Note: For proxy Oracle backups, this variable is always set to FALSE.

• FALSE (default) = The scheduled backup waits for the NetWorker server to accept the connection.

• TRUE = The scheduled backup fails immediately when the NetWorker server is busy.

NSR_NWPATH Mandatory when removing a backup from the NetWorker server if both:• The nsrmm binary is in a

nondefault location; and• The /nsr/res/nwora.res file does not

contain the correct location of the NetWorker client binaries.a

Specifies the complete pathname of the directory containing the nsrmm binary.

• The platform-specific default location of the NetWorker client binaries (default).

• A valid pathname of the nsrmm binary directory, for example, /usr/local/bin.

NSR_PROXY_PFILE Supported only for a proxy Oracle backup or restore.

Mandatory if setting PowerSnap variables in a configuration file.

Specifies the complete pathname of a configuration file that contains PowerSnap variable settings for a proxy Oracle backup or restore.

• Undefined (default).• A valid pathname of the

configuration file.

Note: If undefined or an invalid pathname, variable settings in the preferred configuration file are ignored.

Table 29. NSR_* Environment Variables (Part 4 of 6)

Variable Description Default and Valid Values

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

B

Environment Variable Definitions

134

NSR_SAVESET_BROWSE

Mandatory if setting a nondefault browse policy for a manual Oracle backup with NetWorker server 6.x or later.

Specifies the date when the entry for the backup is to be removed from the NetWorker client file index.

Note: This variable has an effect only for an Oracle backup with NetWorker server 6.x or later. For a scheduled Oracle backup with NetWorker server 6.x or later, this variable overrides the Browse Policy attribute setting in the NetWorker Client resource.

• The most appropriate policy for the client, as selected by the NetWorker server (default).

• A valid date in nsr_getdate(3) format.

NSR_SAVESET_EXPIRATION

Not recommended. This variable from release 3.5 of NSR-R/3 for Oracle has been replaced by the NSR_SAVESET_RETENTION variable.

If this variable is used, its value is assigned to the NSR_SAVESET_RETENTION variable.

NSR_SAVESET_RETENTION

Mandatory if setting a nondefault retention policy for a manual Oracle backup with NetWorker server 6.x or later.

Specifies the date when the save set becomes recyclable.

Note: This variable has an effect only for an Oracle backup with NetWorker server 6.x or later. For a scheduled Oracle backup with NetWorker server 6.x or later, this variable overrides the Retention Policy attribute setting in the NetWorker Client resource.

• The most appropriate policy for the client, as selected by the NetWorker server (default).

• A valid date in nsr_getdate(3) format.

Table 29. NSR_* Environment Variables (Part 5 of 6)

Variable Description Default and Valid Values

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix B: Environment Variables for RMAN

B

135

NSR_SERVER Mandatory for a manual backup if the NetWorker server host is different from the Oracle Server host.

Recommended for a local manual backup.

Specifies the hostname of the NetWorker server to perform the Oracle backup.

• The local physical host (default).

• A valid NetWorker server name.

a. Instead of setting the NSR_NWPATH variable in the RMAN script, a line containing NSR_NWPATH=nsrmm_dirpath can be added to the /nsr/res/nwora.res file, where nsrmm_dirpath is the complete pathname of the directory containing the NetWorker nsrmm program. For example: NSR_NWPATH=/opt/nsr

Table 29. NSR_* Environment Variables (Part 6 of 6)

Variable Description Default and Valid Values

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

B

Environment Variable Definitions

136

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 137

Appendix C: Troubleshooting

This appendix contains troubleshooting tips and NSR-R/3 error messages. It also provides suggestions to help diagnose and fix problems with NSR-R/3 during backup and restore sessions.

This appendix includes the following sections:

• "Verifying the Release Information" on page 137• "Generating Diagnostic Logs" on page 138• "Backup and Restore Problems" on page 138• "Regular Session Error Messages" on page 140• "Fatal Error Messages" on page 143

Verifying the Release InformationWhen making queries or requests to Customer Support, provide specific information for the NSR-R/3 software you are using.

To verify the release information for your NSR-R/3 installation, use the appropriate command or procedure as follows:

• On Solaris, enter the following commands as the root user:pkginfo -l SMAWnwr3

pkgparam -v SMAWnwr3

mcs -p filename | sort -u

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

C

Generating Diagnostic Logs

138

• On Linux, enter the following commands as the root user:ident filename | sort -u

rpm -q -i nsrr3

where filename is the name of a NSR-R/3 binary file, for example backint or nsrsapsv.

Generating Diagnostic LogsTo generate backint diagnostic logs, set the following values in your init<ORACLE_SID>.utl file:

debug_level = 5nsr_debug_msg = yesverbose = yes

Note: Debug level is intended for testing and technical support diagnostics only.

Backup and Restore ProblemsTable 30 on page 138 provides guidelines for solving problems that may occur during a NSR-R/3 backup or restore process.

Table 30. NSR-R/3 Backup or Restore Problems (Part 1 of 2)

Problem Possible Reason or Solution

Data is not being backed up to the NetWorker server.

Ensure that the SAP initialization file, init<ORACLE_SID>.sap, is configured to use NSR-R/3. For information, see "Task 4: Configure the Backup and Restore Utility" on page 42.

Data is not being backed up using the settings in the Client resource on the NetWorker server.

During a backup, NSR-R/3 does not use most of the settings in the Client resource, except for the save set name and backup schedule. The client settings must be specified in the init<ORACLE_SID>.utl file on the SAP R/3 server running Oracle. For information, see "Task 3: Configure the NSR-R/3 Parameters" on page 33.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix C: Troubleshooting

C

139

The bootstrap notification report was not printed to the printer specified in the Group resource on the NSR-R/3 server.

Bootstrap notification reports are not generated after a manual NSR-R/3 backup. To generate a bootstrap notification report, see "Backing Up the Client File Indexes and Bootstrap" on page 61.

Online backup of an Oracle tablespace is taking a long time.

Oracle creates more online redo logs during an online backup than during an offline backup. This might prolong the online backup.

Following a backup, the parallelism setting in the backint<ORACLE_SID>.log is different from the setting in the parameter file init<ORACLE_SID>.utl.

The parallelism setting is adjusted by backint during the backup session depending on other parameters, for example, when the number of files within the backup session is lower than the server parallelism setting.

A specified backup of an Oracle directory failed.

NSR-R/3 does not support backing up directories. Specify each database object within the directory to back up and then perform the backup.

You are unable to view the files backed up to the NetWorker server from the SAPDBA program on the SAP R/3 server running Oracle.

Ensure that the SAP user’s operating system authorization has the appropriate permission to access the NetWorker server.

You are unable to restore the most recent version of the file that was backed up.

When a restore is initiated within a certain time frame that expired or otherwise is not available, brrestore restores files from previous backups, depending on whether the prev_bk_restore parameter is set to Yes. For more information, see "prev_bk_restore" on page 39.

Ensure that the SAP user’s operating system authorization has the appropriate permission to access the NetWorker server.

Table 30. NSR-R/3 Backup or Restore Problems (Part 2 of 2)

Problem Possible Reason or Solution

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

C

Regular Session Error Messages

140

Regular Session Error MessagesThis section discusses error messages that may occur during a backup, restore, or inquire session, but which do not prevent the session from continuing.

Table 31 on page 140 indicates possible error messages that might appear in the backint<ORACLE_SID>.log file.

Table 31. NSR-R/3 Regular Session Error Messages (Part 1 of 3)

Error Message Description Solution

Error when sending out e-mail

NSR-R/3 could not write a notification to the command line mail utility specified in the error message.

Check the usage of the notify parameters in the init<ORACLE_SID>.utl file. See "Task 3: Configure the NSR-R/3 Parameters" on page 33.

Error: filename is not a regular file, raw partition, or directory.

The backint program does not support the file type (such as a symbolic link or a named pipe).

Check the filename to see what type of file is being backed up. If brbackup is requesting backup of special files, contact SAP support.

Error: save symlinks had errors

During the process of saving symbolic links, backint ran out of memory and could no longer add symbolic links to its list.

This situation is unlikely to occur. The computer may be low on memory, or the program may contain a logic error. If this situation recurs, contact Fujitsu Siemens Computers Technical Support.

Error: unexpected inquire case.

The files requested in the input file do not match the SAP R/3 backint specification. Valid file specifications include: • #NULL is specified for a

backup ID, with or without a filename

• A filename is specified with a backup ID.

• A backup ID is specified without a filename

Check the backup input file generated by brbackup. If the input file generated appears to be the wrong format, contact SAP support.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix C: Troubleshooting

C

141

Ignoring, use format param=value

Uncommented text in the init<ORACLE_SID>.utl parameter file does not conform to “param = value” and is ignored.

For information on setting the parameters in the init<ORACLE_SID>.utl file, see "Task 3: Configure the NSR-R/3 Parameters" on page 33.

Lookup failed on filename (backup_ID)

The backint program was trying to look up a filename and/or backup ID in the client file index, but the attempt to query the index failed. The next message should explain why the index query failed.

Check the error message to determine why the attempt to query the index failed. If this message does not explain the problem, and future inquire or restore requests fail, contact Fujitsu Siemens Computers Technical Support.

Pathname nothing found in index

The specified file was not found in the NetWorker client file index.

Ensure that the file was actually backed up in a previous run of backint. If brbackup specifies filenames that were never backed up, check the SAP R/3 installation.

Process_ID File filename not found in index, no attempt to recover will be made

The NetWorker software did not save the filename specified for recovery and the filename does not appear in the client file index.

Check the filename specified to see if the name is correct. Check previous backups to determine whether the file was actually saved in a previous backup.

Unable to build command line.

The backint command was unable to build a command line for a subprocess because the program ran out of memory.

This situation is unlikely to occur. The computer may be low on memory, or the program may contain a logic error. If this situation recurs, contact Fujitsu Siemens Computers Technical Support.

Table 31. NSR-R/3 Regular Session Error Messages (Part 2 of 3)

Error Message Description Solution

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

C

Regular Session Error Messages

142

Unable to find pid process ID in list of files

The backint program is checking the status of a subprocess that was created to save individual files. However, the subprocess ID does not match any of the expected process IDs.

Check the rest of the messages from the backup process to ensure that everything was saved. In particular, check for the message “x of y files saved at time.” If all of the files were not saved, retry the backup.

Unable to query with savetime and filename both absent

The backint program was trying to find a file in the client file index, but neither the save time nor the filename were provided.

Check the input file to see if any file information is specified incorrectly. If this situation persists, contact Legato Technical Support.

Warning: Unknown parameter, parameter_name

The parameter indicated is not a valid NSR-R/3 parameter.

For valid parameters, see "Task 3: Configure the NSR-R/3 Parameters" on page 33.

Table 31. NSR-R/3 Regular Session Error Messages (Part 3 of 3)

Error Message Description Solution

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix C: Troubleshooting

C

143

Fatal Error MessagesThis section discusses fatal error messages and provides information as to why a particular backup, restore, or inquire session fails.

Table 32 on page 143 indicates any fatal error messages that begin with the following line:

Backint exiting at time_stamp with fatal error

Table 32. NSR-R/3 Fatal Error Messages (Part 1 of 6)

Error Message Description Solution

BACKUP: Bad input line: line

One of the lines in the input file had a bad format. There should be only one or two specifications on each input line (filename and size, if it is a special file).

Check the input file brbackup generated to make sure it has the correct format. If not, and this error keeps occurring, contact SAP technical support.

Bad function on input line, function

The function indicated cannot be performed as it is either an invalid function or you are attempting to use unsupported options.

NSR-R/3 can only be invoked through the SAPDBA program or associated commands. For information on supported functions refer to the -f option in SAP’s BC-BRI BACKINT Interface for Oracle documentation.

Can not reopen filename as stderr

The backint program was unable to open a log file for writing.

Check the permissions on the file listed in the message, as well as the permissions on the directory.

Cannot connect to server: error

The backint program was unable to connect to the NetWorker server to start reading the media database.

Ensure that the correct NetWorker server is specified. Check the log file to see if any other messages refer to this problem.

Cannot start session with server: error

The backint program was unable to start reading the media database on the NetWorker server.

Ensure that the correct NetWorker server is specified. Check the log file to see if any other messages refer to this problem.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

C

Fatal Error Messages

144

Checking for deletion of semaphore file: error

The existence of the semaphore file could not be confirmed because of a system error.

Check to see if the .switch.sem file is still in the SAPBACKUP directory. If so, delete it before running the SAP R/3 backup again.

Creating directive file: error

The directive file for NetWorker software to use cannot be created. This directive file is created so the NetWorker software can process files with the correct attributes.

Check the directory where the directive file is being created, specified by the backint_tmpdir parameter in NSR-R/3’s parameter file, to ensure files can write to it.

Error: Too many symlinks

There are too many symbolic links to save (more than 100).

If the list of database files to be backed up contains more than 100 symbolic links, consider restructuring the directories to eliminate the extra symbolic links.

File was filename, lstat error

NSR-R/3 tried to get information for a symbolic link that does not exist or NSR-R/3 cannot access because permission is denied.

Check the file to see that it exists and is a valid symbolic link.

Improperly formatted backup id: backup ID

The backup ID is incorrect. It should specify either a number or the word #NULL.

Check the input file brrestore generated to ensure that it has the correct format. If not, and this error keeps occurring, contact SAP technical support.

INQUIRE: Bad input line: line

One of the lines in the input file had a bad format. There should be only one or two specifications on each input line (backup ID or #NULL an optional filename).

Check the input file brrestore generated to ensure that it has the correct format. If not, and this error keeps occurring, contact SAP technical support.

Interrupted... backint exiting

The NSR-R/3 backint program was interrupted during a backup, restore, or inquire session.

This error usually occurs due to a keyboard error.

Table 32. NSR-R/3 Fatal Error Messages (Part 2 of 6)

Error Message Description Solution

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix C: Troubleshooting

C

145

Non-recursive directory backup is not supported at this time

You have attempted to back up a directory. The backup of directories is not supported.

Select specific database objects to back up from the SAPDBA program and restart the backup process.

Not enough save sets, please increase savesets setting in .utl file

The number or size of the save sets to be backed up exceeds the current settings for the number of save sets allowed or the maximum save set size allowed.

Increase the number of save sets. or the maximum save set size.• To configure the parameter for

the number of save sets, see "savesets" on page 40.

• To configure the parameter for maximum save set size, see "ss_size_max" on page 41.

Opening input file: error

The input file, which lists all files to be backed up or restored, could not be opened. It may not exist, or it may not have read permissions.

Ensure that the input file exists and is readable.

Opening output file: error

The output file could not be opened for the reason specified.

Check the permissions on the output file and directory, and check for sufficient disk space to create a new file.

Opening parameter file

Unable to open the backint parameter file, init<ORACLE_SID>.utl.

Attempt to open the parameter file for backint in any text editor. If you are unable to open the parameter file, replace it with the original file from the NSR-R/3 CD.

Opening switch list file for online backup: error

When performing an online backup, backint tries to open a file to communicate with brbackup. This file could not be opened for the reason given.

Check to see if the .switch.lis file exists in the SAPBACKUP directory. If so, check the permissions on this file. Normally, NSR-R/3 deletes and re-creates this file for every tablespace to be switched into backup mode.

Table 32. NSR-R/3 Fatal Error Messages (Part 3 of 6)

Error Message Description Solution

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

C

Fatal Error Messages

146

Opening switch log file for online backup: error

When performing an online backup, backint expects brbackup to provide a log file of the tablespaces that were switched into or out of backup mode.

Check to see if the .switch.log file is still in the SAPBACKUP directory. If so, delete it before running the SAP R/3 backup again.

Opening switch semaphore file for online backup: error

When performing an online backup, backint tries to open a file to communicate with brbackup. This file could not be opened for the reason given.

Check to see if the .switch.sem file exists in the SAPBACKUP directory. If so, check this file’s permissions. Normally, NSR-R/3 deletes and re-creates this file for every tablespace to be switched into backup mode.

ORACLE_HOME not set.

The ORACLE_HOME environment variable must be set.

Set the ORACLE_HOME environment variable to the correct directory.

recover_start: cannot connect to server server_name

The backint program was unable to connect to the NetWorker server to start the recovery process.

Ensure that the correct NetWorker server is specified. Check the log file to see if any other messages refer to this problem.

RESTORE: Bad input line: line

One of the lines in the input file had a bad format. There should be only two or three specifications on each input line (backup ID or #NULL, a filename, and an optional destination directory).

Check the input file brrestore generated to make sure it has the correct format. If not, and this error keeps occurring, contact SAP technical support.

Semaphore file not deleted in time seconds

When performing an online backup, the SAP R/3 module was waiting for the switch semaphore file to be deleted. After waiting some number of seconds, the switch semaphore file still was not deleted.

If brbackup appears to be running properly but just slowly, you can increase the sem_timeout setting in init<ORACLE_SID>.utl.

stat’ing file: error

The filename given in the input file does not exist, or it may be inaccessible.

Check the file to see if it exists and has read permissions.

Table 32. NSR-R/3 Fatal Error Messages (Part 4 of 6)

Error Message Description Solution

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Appendix C: Troubleshooting

C

147

Switch log file indicates an error.

The brconnect program indicated in the switch log file that there was an error switching one of the tablespaces into or out of backup status. This is considered a fatal error in the backint specification.

Investigate the error messages in the switch log file to determine the problem. Check the SAP R/3 installation or the SAP R/3 documentation to determine the problem.

Unable to allocate memory for struct fileinfo

The backint program ran out of space when it tried to allocate memory for a block of file information.

Check the memory usage on the computer. You may need to reboot the computer if it is running low on memory. If the input file is excessively large, check to make sure SAPDBA is providing a valid list of files.

Unable to allocate memory: error

The backint program was unable to allocate memory.

Check the memory usage on the computer. You may need to reboot the computer if it is running low on memory.

Unable to change to root: error

In a cluster environment the program was unable to change its real and effective user IDs to root.

Ensure the user has proper permission to log on as root.

Unable to execute child backint process.

The backint process could not execute a subprocess to back up an individual save set.

Ensure that the backint binary is installed in the directory from which SAPDBA, brbackup, or brrestore is run. Check the log file for any other messages which may help pinpoint the problem.

Unable to open output file: error

The output file could not be opened because of the error specified.

Check the permissions on the output file and directory, and check for sufficient disk space to create a new file.

Usage error An unsupported option was included in the backint command.

For parameters accepted by backint, refer to SAP’s BC-BRI BACKINT Interface for Oracle documentation.

Table 32. NSR-R/3 Fatal Error Messages (Part 5 of 6)

Error Message Description Solution

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

C

Fatal Error Messages

148

Use absolute path name for: filename

The filename given in the input file was not an absolute pathname. The file cannot be restored or inquired without having the full pathname.

Check the input file brrestore generated to ensure that it has the correct format. If not, and this error keeps occurring, contact SAP technical support.

waitchild (name) failed: error

The program could not properly receive the exit code from a subprocess. It is possible that the subprocess did not start correctly.

Check any prior error messages to determine whether a subprocess failed, and if so, why.

Warning, empty input file

The input file that contains the list of files to be backed up or restored is empty.

Ensure that you have selected database objects for backup or restore.

Table 32. NSR-R/3 Fatal Error Messages (Part 6 of 6)

Error Message Description Solution

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 149

Glossary

This glossary contains terms and definitions found in this manual. Most of the terms are specific to NSR-R/3 products.

? The Oracle placeholder for the main directory of the Oracle database instance identified as $ORACLE_HOME. See init<ORACLE_SID>.utl.

archive The process by which NetWorker software backs up directories or files to an archive volume and then grooms them to free disk space. When data is archived, it is written to one or more storage volumes and then marked so that it is never subject to automatic recycling. You can delete the archived files from the client, thus freeing disk space.

archived redo log An archived copy of a filled online Oracle redo log. You can optionally configure an Oracle database to archive copies of the online redo logs after they fill. An archived redo log preserves older redo log data for recovery operations while the preallocated online redo log files are reused to store the most current database changes. See redo log.

ARCHIVELOG mode Setting the Oracle database to this mode enables archiving of the online redo logs.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide150

Glo

ssar

y

authentication method A security method that enables high confidence in the identity of users, clients, and servers in distributed environments. The NSR-R/3 software allows two methods of authenticating identity: • Database authentication uses the SAP R/3 or Oracle

system user name, as designated by the database administrator for the client’s Oracle database.

• External or enterprise authentication applies a user name that is derived from either the save set name entered in the Client resource or the ORACLE_SID parameter set in the scheduled backup configuration file.

backint The interface the NSR-R/3 software uses to connect the NetWorker software with the SAP BRTools. The backint program enables backups, restores, or inquiries on the associated Oracle databases.

backup device type The backup device type to which the SAP BRTools program sends data. When this attribute is set to util_file| util_file_online, BRTools use NSR-R/3 for backup and recover. When this attribute is set to rman_util BRTools use RMAN for DB files backup/restore and NSR-R/3 for all other files.

BID Backup ID is the savetime of the backup.

bootstrap A save set that is essential for the NetWorker disaster recovery procedures. It is composed of three components that reside on the NetWorker server: the media database, the resource database, and the server index.

brarchive The SAP BRTools program that sends requests to NSR-R/3 to back up Oracle database archive logs.

brbackup The SAP BRTools program that sends requests to NSR-R/3 to back up Oracle data files, control files, redo logs, and tablespaces.

browse policy A policy that determines how long entries for backup data remain in the client file index.

brrecover The SAP BRTools program of newer SAP Versions used to interactively recover the database from disaster. This utility should be preferred to SAPDBA for recovery.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Glossary

151

Glo

ssary

brrestore The SAP BRTools program that sends requests to NSR-R/3 to restore Oracle data to the Oracle server.

BRTools A set of SAP tools used to back up and recover SAP R/3 data in an Oracle database. The tools are: brbackup, brarchive, brrecover, and brrestore.

client file index A database of information the NetWorker server maintains that tracks every database object, file, or filesystem backed up. The NetWorker server maintains a single client file index for each client computer.

clone The NetWorker process used to make an exact copy of saved data (save sets). NetWorker software indexes and tracks clones in both the client file index and the media database. The NSR-R/3 software uses the sapclone command to clone save sets.

clone volume A duplicated volume belonging to a clone pool. NetWorker software can track four types of volumes: backup, archive, backup clone, and archive clone. Save sets of different types may not be intermixed on one volume.

cluster Two or more nodes that are connected and appear to network users as a single highly available system. A highly available system allows the application services to continue despite most hardware or software failures.

cold Oracle backup See offline backup.

database authentication See authentication method.

DATA_MOVER Hostname of the PowerSnap proxy client

DBA An abbreviation for database administrator. The person normally responsible for installing, configuring, and maintaining Oracle database systems.

deferred live backup See live backup.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide152

Glo

ssar

y

device A storage unit that reads from and writes to storage volumes. A storage unit can be a tape device, optical drive, autochanger, or file connected to the server or storage node.

directed recovery A recovery method used to recover data that originated on one computer and re-create it on another computer.

directive An instruction that directs NetWorker software to take special actions on a given set of files for a specified client during a backup.

external or enterprise authentication

See authentication method.

file index See client file index.

filesystem 1. A file tree located on a specific disk partition or other mount point.

2. The entire set of all files.

3. A method of storing files.

hot Oracle backup See online backup.

immediate live backup See live backup.

init<ORACLE_SID>.sap The SAP initialization file used to set the parameters the SAP BRTools program uses during backup, restore, and archive sessions.

init<ORACLE_SID>.utl The NSR-R/3 parameter file that specifies the parameters the backint command uses during backup, restore, and archive sessions.

instance See Oracle instance.

instant backup A permanent point-in-time copy, or snapshot, of SAP R/3 with Oracle data that is stored as a backup on the primary storage system.

instant restore The process by which the snapshot that was created on the primary storage system with an instant backup is mounted and its saved data is retrieved as needed.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Glossary

153

Glo

ssary

license enabler The license code that enables you to run a feature or product.

live backup A live backup (also known as a "PIT rollover" or "rollover to tape" backup) is a tape backup of a previously-created snapshot. NSR-R/3 for SAP R/3 with Oracle supports the following two types of live backup:• Immediate live backup (also known as "serverless

snapshot backup" or "snapshot-based backup") is a process by which a temporary snapshot is created, and immediately backed up to secondary storage such as tape. The snapshot is then automatically deleted from the primary storage.

• Deferred live backup is a process by which a permanent snapshot, created on the primary storage system, is backed up to secondary storage such as tape. The snapshot is retained on the primary storage for a specified period of time.

manual backup An unscheduled backup that a user requests from the NetWorker client side. A manual backup does not generate a bootstrap save set.

media database A database that contains indexed entries about the storage volume location and the life cycle status of all data and volumes the NetWorker server manages.

NSR-R/3 NetWorker Service Release for SAP R/3 with Oracle

offline backup A backup of Oracle database objects performed while the corresponding Oracle instance is shut down and unavailable to users.

online backup A backup of Oracle database objects performed while the corresponding Oracle instance is running and available to users.

online indexes The databases located on the NetWorker server that contain all the information pertaining to the client backups (client file index) and backup volumes (media database).

Oracle instance The combination of Oracle processes and shared memory that is created each time a database starts up.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide154

Glo

ssar

y

Oracle user The user of an Oracle database.

ORACLE_SID The system ID of the Oracle database instance.

parameter A variable used to identify the specific values or options to be used by associated commands.

pathname A set of instructions to the operating system for accessing a file. • An absolute pathname indicates how to find a file starting

from the root directory and working down the directory tree.

• A relative pathname indicates how to find the file starting from where you are now.

PIT copy Point-in-time copy, which generally means a permanently retained snapshot of data created with a PowerSnap Module. A snapshot results in one or more PITs being created nearly simultaneously with the option to back these up to tape.

PowerSnap proxy client Surrogate client that performs the NetWorker save operation for client that requested the backup.

RDBMS An abbreviation for Relational Database Management System, which refers to the primary architecture that the Oracle database uses.

recover NetWorker software: The command used to browse the server index and to recover files from a backup volume to a client’s disk (a process in Oracle known as "restore").

Oracle: The datafile recovery method that uses Oracle commands to apply archived redo logs and online redo logs to make the database consistent.

Recovery Manager See RMAN.

redo log The online log of an Oracle database, consisting of at least two redo log files (separate from the datafiles) that record all changes made in the database. See also archived redo log.

resource database A database that contains information about each of the configured backup server’s resources.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide

Glossary

155

Glo

ssary

restore The process of retrieving individual files from backup media and storing the files on disk.

RMAN An abbreviation for Recovery Manager, the Oracle utility that acts as an intelligent interface to Oracle databases and works with third-party media management products, such as NetWorker, to back up and restore Oracle database objects.

rollback restore The process by which the entire snapshot, created on the primary storage system by an instant backup, is restored to the source location by using the hardware’s particular capabilities.

rollover to tape See live backup.

root The superuser account (with user name “root” and user ID). By extension, the privileged system-maintenance login on any operating system.

sapclone The NSR-R/3 command used to create a duplicate copy of the data (save sets) backed up using the NSR-R/3 software.

SAPDBA The SAP R/3 database administration utility that simplifies the administrative tasks related to Oracle databases, including backup and restore operations. This utility can be used to call brbackup, brrestore, and brarchive programs.

save set A group of files or a filesystem from a single client computer backed up to storage media.

save set ID A unique identification number that NetWorker software assigns to a save set.

save set status The NetWorker attribute that indicates whether a given save set is restorable, recoverable, or recyclable. The save set status also indicates whether the save set has been successfully backed up.

secondary storage restore

The process by which a snapshot that was backed up to secondary storage by a live backup is restored by using the traditional NetWorker recover program.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide156

Glo

ssar

y

server index A database containing information about the NetWorker server's files that have been backed up during scheduled backups. Also known as the NetWorker server’s client file index.

SID An Oracle abbreviation for system identifier, a unique name for an Oracle database instance. This value is typically set in an ORACLE_SID environment variable.

snap set The group of datafiles included in any given snapshot copy, the lifecycle of which is specified in the Snapshot Policy.

snapshot A point-in-time copy of a filesystem or partition.

ssid See save set ID.

tablespace An Oracle database structure comprising one or more datafiles.

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 157

Index

<ORACLE_SID>, description 14

A

alert, backup completion 37arch_backint_log parameter 34archive logs 39archive redo logs 60ARCHIVELOG mode 59attempts, retry backup 40

B

backintbackup process 25command 22, 57description 16, 22parameter file 33restore process 27setting ownership of 30

backint_log parameter 34backint_tmpdir parameter 34backup

archive redo logs 60bootstrap file 61client file index 61client settings 66command 67command attribute 23completion notification 38deferred live 88, 112diagram 26group 36immediate live 88, 109instant 87, 106live 88, 109manual 57offline manual 58online manual 59–60PowerSnap records 114PowerSnap types of 87

processes 25, 106with RMAN 26with SAPDBA 25

rollover 88, 109save sets grouped by filesystem 41scheduled 65serverless snapshot 88session log 62, 73session report 62, 73snapshot-based 88

backup_dev_type parameter 44bootstrap file, backing up 61bootstrap, NetWorker 108, 110BR_EXEC 70brarchive 107, 109

command 23, 119description 23difference from brbackup 19manual backup 119supported options 119syntax 119

brbackup 107, 109, 119command 23, 119description 23difference from brarchive 19offline backup 59online backup 60supported options 119syntax 119

browse naming format 41browse policy 80

expiration 36for manual backup 61

BRRECOVERadded support 17

brrecover 123command 123options, syntax 123

brrestore 27, 115command 23, 115description 23supported options 123, 126

IndexC - D

Ind

ex

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide158

usage 123, 126BRTools 23

configuring 44See also SAPDBA

C

clientconfiguring 31, 66expiration parameter 36NetWorker, configuring 66parameter 34resource 31save set location 80settings in parameter file 66

client file indexbackup 61database 61

Client resource 66configuration 66parameter 34

client resourcePowerSnap 97

cloningmessages 77monitoring 77save sets 75syntax of sapclone 75

clusterclient file index 34data, cloning 76data, restoring 82

commandbackint 22, 57backup 67brarchive 23, 119brbackup 23, 119brrecover 123brrestore 23, 115mminfo 114nsrim 62nsrinfo 114nsrsapsv 22, 67sapclone 75savefs 106, 109savegrp 61, 106, 109scanner 80

componentsdescription 21NetWorker client 23NSR-R/3 22Oracle 24PowerSnap 24SAP R/3 23user-configurable 21

compress parameter 35configuration

BRTools 44NetWorker client 66NetWorker for PowerSnap 96NetWorker Module environment 30PowerSnap 94SAPDBA 44

configuration fileinit<ORACLE_SID>.sap 23, 44init<ORACLE_SID>.utl 22, 24, 33, 93, 102init<ORACLE_SID>.utl for PowerSnap 98nmsapps.cfg 24, 93, 102nsrsapsv.cfg 22, 67–68

customerservice 11

D

databacking up 25–26, 57, 65expiration 80recovering 14restoring 27, 79

data flow descriptionbackup 25PowerSnap 90restore 27

databaseinstance, restoring 80, 126server, description 15

datafile, restoring by ID 126debug level 138deferred live backup 88, 112description

backup and restore processes 25components 21features 15NetWorker server 16

IndexE - I

Ind

ex

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 159

NSR-R/3 16RMAN 19SAP R/3 19SAPDBA 19, 23

device_server 35diagnose problems 137diagnostic logs 138disaster recovery files 61disk failure 61distributing backup load 40documentation

conventions 10

E

electronic access to Fujitsu Siemens information 11

environment variablesmandatory 131, 133–135NSR_CLIENT 104, 130NSR_COMPRESSION 105, 130NSR_DATA_MOVER 103NSR_DATA_VOLUME_POOL 105, 131NSR_DEBUG_FILE 132NSR_DEBUG_LEVEL 132NSR_GROUP 105, 132NSR_MAX_STREAMS 103, 105NSR_NO_BUSY_ERRORS 133NSR_NWPATH 133NSR_PROXY_PFILE 133NSR_PS_DEBUG_LEVEL 103NSR_PS_SAVE_PARALLELISM 103, 105NSR_SAVESET_BROWSE 134NSR_SAVESET_EXPIRATION 105, 134NSR_SAVESET_RETENTION 134NSR_SERVER 104, 135NSR_SNAP_TYPE 103RESTORE_TYPE_ORDER 104used with RMAN 45, 129

error messages 137fatal 143nonfatal 140

errors notification, enabling 37expiration of data 80expiration parameter 31, 36

feature 17

F

failure notification 37features

description 15expiration parameter 17improved administrator’s security 16NetWorker server 16new or enhanced features 16NSR-R/3 16Oracle, with 19PowerSnap 20RMAN, with 19SAP BRRECOVER 17SAP R/3, with 19SAPDBA, with 19

files backed up, number of 63files requested for backup 63filesystem

group save sets by 41Fujitsu Siemens

customer service 11support 11workshop center 11

full restore 80

G

group parameter 36group resource for PowerSnap 96group save sets by filesystem 41

H

hostname, NetWorker server 40

I

ID range, restoring by 127ID, restore by 126immediate live backup 88, 109index entries, query parameter 39init<ORACLE_SID>.sap file

description 23enabling SAPDBA or brbackup 44

IndexL - N

Ind

ex

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide160

enabling SAPDBA or RMAN 44specifying different profile 127

init<ORACLE_SID>.utl file 22, 102equivalent parameters for PowerSnap 104parameters 33parameters for PowerSnap 24, 93, 98

input file report 63installation

files installed 49licenses 53

instant backup 87, 106instant restore 89, 115

L

level_full parameter 36license file

installing 53live backup 88, 109location of save set data 80logs

arch_backint_log parameter 34archive redo 60backint_log parameter 34backint_tmpdir parameter 34backup session reports 62, 73restore 82verbose setting 41

M

mailx utility 38mandatory environment variables 131, 133–

135manual backup 57

backup session reports 62, 73bootstrap 58, 61client file indexes 61command line options 119offline 58online 59using brarchive command 58, 60using brbackup command 58, 60with SAPDBA 58, 60

max_logs parameter 37maximum size of save sets 41

media database records 80messages

cloning 77notify_done 37notify_error 37notify_start 37notify_success 38

mminfo 114monitoring

backups 62, 73cloning 77restores 82

N

namingconventions 14save set format 41save sets 41

NetWorkerbootstrap backup 108, 110client

components 23configuration 66name 34

media database service, nsrmmdbd 107, 110, 112

save set records 80server

components 22features 16hostname 40

NLS_LANG 71nmsapps.cfg file 24, 93, 102notify_done message 37notify_error message 37notify_start message 37notify_success message 38NSR_CLIENT 104, 130NSR_COMPRESSION 105, 130NSR_DATA_MOVER 103NSR_DATA_VOLUME_POOL 105, 131NSR_DEBUG_FILE 132NSR_DEBUG_LEVEL 132NSR_GROUP 105, 132NSR_MAX_STREAMS 103, 105NSR_NO_BUSY_ERRORS 133

IndexO - P

Ind

ex

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 161

NSR_NWPATH 133NSR_PROXY_PFILE 133NSR_PS_DEBUG_LEVEL 103NSR_PS_SAVE_PARALLELISM 103, 105NSR_SAP_ADMIN_ GROUP 71NSR_SAP_ADMIN_ USER 71NSR_SAP_RESTORE_ RETRY_COUNT 71NSR_SAP_RESTORE_

RETRY_DELAY_SECS 71NSR_SAVESET_BROWSE 134NSR_SAVESET_EXPIRATION 105, 134NSR_SAVESET_RETENTION 134NSR_SERVER 104, 135NSR_SNAP_TYPE 103nsrexecd service 106, 109nsrim command 62nsrindexd service 107, 110, 112, 117nsrinfo command 114nsrmmdbd service 107, 110, 112nsrpsd program 94, 117NSR-R/3 153

components 22environment 30example network 14features 16features summary 15parameter file 93restoring with 126

nsrsapsvcommand 22, 67configuration file 68description 22program 107, 109

nsrsapsv.cfg fileconfiguration 68description 22enabling 67

O

offline manual backup 58online manual backup 59–60options

brarchive 119brbackup 119brrecover 123brrestore 126

sapclone command 75Oracle

components used 24features used 19user 30

ORACLE_BIN 71ORACLE_HOME 72ORACLE_SID 72

P

parallelism, setting 38parameter

arch_backint_log 34backint_log 34backint_tmpdir 34backup_dev_type 44BR_EXEC 70Client resource 34compress 35device_server 35equivalents to PowerSnap variables 104expiration 36group 36level_full 36max_logs 37NLS_LANG 71notify_done 37notify_error 37notify_start 37notify_success 38NSR_SAP_ADMIN_ GROUP 71NSR_SAP_ADMIN_ USER 71NSR_SAP_RESTORE_ RETRY_COUNT 71NSR_SAP_RESTORE_

RETRY_DELAY_SECS 71ORACLE_BIN 71ORACLE_HOME 72ORACLE_SID 72parallelism 38PATH 72pool 39PowerSnap 98prev_bk_restore 39ps_archive_mode 98ps_backup_mode 98ps_exclude_backup_bi_run_nums 99–101

IndexP - P

Ind

ex

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide162

ps_group_objs 101ps_opaque_pfilename 24, 102query_index 39raw_dir 40retry_count 40rman_parms 45SAP_BIN 73SAPBACKUP 73SAPDATA_HOME 73savesets 40sem_timeout 40server resource 40ss_group_by_fs 41ss_size_max 41ssnameformat 41verbose logs 41

parameter filechanging 127

parametersfor brarchive 119for brbackup 119NetWorker Module 33

PATH 72PATH variable, setting 30physical media failures 88PIT copy 87point-in-time copy 87policies, expiration 36, 80pool

multiple 39parameter 39selection 36settings 39

PowerSnapattribute settings 92backup processes 106backup records 114backups and restores 85client resource 97components 24configuration 94configuration file 24, 93, 102data flow descriptions 90features 20getting started 92group resource 96instant backup 87, 106

instant restore 89, 115invoking a restore 115invoking backups 106live backup 88, 109Module 86nsrpsd daemon 94parameter file 24parameter settings 98ps_opaque_pfilename file 94requirements 86restore from secondary storage 90, 117restore processes 115rollback restore 89, 115rollover backup 88, 109Snapshot Policy resource 96Snapshot Pool resource 96types of backups 87types of restore 89variables 24

PowerSnap Module 93prev_bk_restore parameter 39problems, backup or restore 138processes, NetWorker Module 25profile, using different for restore 127program

brarchive 107, 109brbackup 107, 109nsrd 106, 109nsrexecd 106, 109nsrindexd 107, 110, 112nsrmmdbd 107, 110, 112nsrsapsv 107, 109savefs 106, 109savegrp 106, 109

ps_archive_mode 98ps_backup_mode 98ps_exclude_archive_bi_run_nums 99ps_exclude_archive_paths 100ps_exclude_backup_bi_run_nums 99ps_exclude_backup_paths 100ps_group_objs 101ps_inquire_mode 98ps_opaque_pfilename 98ps_opaque_pfilename file 94ps_opaque_pfilename parameter 24, 102ps_ps_before_nonps 101ps_restore_mode 98

IndexQ - S

Ind

ex

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 163

Q

queryPowerSnap backup records 114

query_index parameter 39

R

raw directories 40raw_dir parameter 40recover

command line options 123recover, description 14Recovery Manager 19

See also RMANrelated documentation 28release information, verifying 137Remote Exec services 58–59report, backup session 62, 73requirements

PowerSnap 86resources, NetWorker 31, 36

client 66configuring 31group 31pool

and pool parameter 31, 39configuring 31

schedule 31server 32

restorea single tablespace 126all tablespaces 126brrestore, syntax 123, 126by datafile ID 126by ID range 127cluster data 82command line options 126data 79description 14diagram 27entire database instance 80, 126from secondary storage 90, 117full 80instant 89, 115monitoring 82

options, syntax 126parameter file used for setting 127PowerSnap 89previous backup if not found 39process described 25processes 115reviewing report log 82rollback 89, 115single database object 80using a different profile 127using NSR-R/3 126

restore messages, suppress 126restore process

with RMAN 27with SAPDBA 27

RESTORE_TYPE_ORDER 104retention policy

expiration 80manual backup 61

retry_count, setting 40reviewing

backups 62, 73restore logs 82

RMAN 24backup process 26enabling 44environment variables 45, 129features with 19restore process 27rman_parms parameter 24, 45

rollback restore 89, 115rollover backup 88, 109root, setting owner to 30

S

SAP R/3components 23features 19initialization file 44

SAP_BIN 73SAPBACKUP 73sapclone

command 75description 22options 76syntax 75

IndexT - V

Ind

ex

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide164

SAPDATA_HOME 73SAPDBA 25

backup process 25components 23configuring 44description 23features 19restore process 27utilities 19

savearchive redo logs 60bootstrap file 61client file index 61command 40

save setsdescription 66expiry 80maximum size parameter 41naming 41parameter 40setting 23viewing 79

save streams, setting 38savefs command 106, 109savegrp command 61, 106, 109savesets parameter 40scanner command 80scheduled backup

configuration file 67–68tasks 65

sem_timeout parameter 40semaphore file 40server resource parameter 40serverless snapshot backup 88service

nsrd 106, 109nsrexecd 106, 109nsrindexd 107, 110, 112nsrmmdbd 107, 110, 112

service for customers 11setting backint ownership 30single database object, restoring 80single tablespace, restoring 126snap set 87snapshot 87, 106Snapshot Policy resource 96Snapshot Pool resource 96

snapshot-based backup 88special terms 14ss_group_by_fs parameter 41ss_size_max parameter 41ssnameformat parameter 41starting attribute 64support 11suppress restore messages 126symbols 10symlink attribute 64

T

tablespaces, restoring 126temporary files directory 34testing 138timeout period 40troubleshooting tips 137typographic conventions and symbols 10

U

uid bit 30Upgrading NSR-R/3 49user, SAP 64user-configurable components 21

V

validation of server indexes 39variables

mandatory 131, 133–135NSR_CLIENT 104, 130NSR_COMPRESSION 105, 130NSR_DATA_MOVER 103NSR_DATA_VOLUME_POOL 105, 131NSR_DEBUG_FILE 132NSR_DEBUG_LEVEL 132NSR_GROUP 105, 132NSR_MAX_STREAMS 103, 105NSR_NO_BUSY_ERRORS 133NSR_NWPATH 133NSR_PROXY_PFILE 133NSR_PS_DEBUG_LEVEL 103NSR_PS_SAVE_PARALLELISM 103, 105NSR_SAVESET_BROWSE 134

IndexW - W

Ind

ex

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide 165

NSR_SAVESET_EXPIRATION 105, 134NSR_SAVESET_RETENTION 134NSR_SERVER 104, 135NSR_SNAP_TYPE 103PowerSnap 24, 102RESTORE_TYPE_ORDER 104

verbose logs parameter 41viewing save sets 79virtual node 34

W

web address 11workshop center 11

IndexW - W

Ind

ex

NSR-R/3 V3.0 (Solaris, Linux)Administrator’s Guide166

Comments on NSR-R/3 V3.0 (Solaris, Linux)

CommentsSuggestionsCorrections

Submitted by

Fujitsu Siemens Computers GmbHUser Documentation81730 MunichGermany

Fax: (+49) 700 / 372 00000

e-mail: [email protected]://manuals.fujitsu-siemens.com

NSR-R/3 V3.0Administrator’s Guide168

Information on this document On April 1, 2009, Fujitsu became the sole owner of Fujitsu Siemens Compu-ters. This new subsidiary of Fujitsu has been renamed Fujitsu Technology So-lutions.

This document from the document archive refers to a product version which was released a considerable time ago or which is no longer marketed.

Please note that all company references and copyrights in this document have been legally transferred to Fujitsu Technology Solutions.

Contact and support addresses will now be offered by Fujitsu Technology So-lutions and have the format …@ts.fujitsu.com.

The Internet pages of Fujitsu Technology Solutions are available at http://ts.fujitsu.com/... and the user documentation at http://manuals.ts.fujitsu.com.

Copyright Fujitsu Technology Solutions, 2009

Hinweise zum vorliegenden Dokument Zum 1. April 2009 ist Fujitsu Siemens Computers in den alleinigen Besitz von Fujitsu übergegangen. Diese neue Tochtergesellschaft von Fujitsu trägt seit-dem den Namen Fujitsu Technology Solutions.

Das vorliegende Dokument aus dem Dokumentenarchiv bezieht sich auf eine bereits vor längerer Zeit freigegebene oder nicht mehr im Vertrieb befindliche Produktversion.

Bitte beachten Sie, dass alle Firmenbezüge und Copyrights im vorliegenden Dokument rechtlich auf Fujitsu Technology Solutions übergegangen sind.

Kontakt- und Supportadressen werden nun von Fujitsu Technology Solutions angeboten und haben die Form …@ts.fujitsu.com.

Die Internetseiten von Fujitsu Technology Solutions finden Sie unter http://de.ts.fujitsu.com/..., und unter http://manuals.ts.fujitsu.com finden Sie die Benutzerdokumentation.

Copyright Fujitsu Technology Solutions, 2009


Recommended