Veritas NetBackup™ for SAP Administrator's Guide

Last Published:
Product(s): NetBackup (8.2, 8.1.2)
  1. Introduction to NetBackup for SAP
    1.  
      New features in NetBackup 8.1.2
    2.  
      About NetBackup for SAP
    3.  
      Features of NetBackup for SAP
    4.  
      Technical overview of NetBackup for SAP
    5.  
      Sequence of operation for NetBackup for SAP
    6.  
      Using NetBackup for SAP on Oracle databases without RMAN
    7.  
      Using NetBackup for SAP on Oracle databases with RMAN
    8.  
      SAP tools overview
    9.  
      NetBackup for SAP on MaxDB databases
  2. Introduction to NetBackup SAP HANA
    1.  
      About NetBackup for SAP HANA
    2.  
      NetBackup for SAP HANA databases
  3. Installing NetBackup for SAP
    1.  
      Planning the installation of NetBackup for SAP
    2.  
      Verifying the operating system and platform compatibility
    3.  
      NetBackup server and client requirements
    4.  
      SAP server software requirements
    5.  
      Requirements for using NetBackup for SAP MaxDB, SAP Oracle, and SAP HANA in a NetBackup cluster
    6.  
      Configuration and licensing requirements for NetBackup for SAP with Snapshot Client
    7.  
      About the license for NetBackup for SAP
    8.  
      Copying the SAP binary file (Windows Oracle databases without RMAN only)
    9.  
      Linking NetBackup for SAP with backint (UNIX or Linux Oracle databases without RMAN only)
    10.  
      Linking the Oracle instances with the SBT library (UNIX or Linux Oracle databases with RMAN only)
  4. Installing NetBackup for SAP HANA
    1.  
      Planning the installation
    2.  
      Verifying the operating system and platform compatibility for NetBackup for SAP HANA
    3.  
      NetBackup server and client requirements for NetBackup for SAP HANA
    4.  
      SAP HANA software requirements for NetBackup for SAP HANA
  5. Configuring NetBackup for SAP
    1.  
      About configuring NetBackup for SAP
    2. About configuring a backup policy for SAP
      1.  
        Adding a new NetBackup for SAP policy
      2.  
        About policy attributes
      3.  
        NetBackup for SAP backup types
      4.  
        Configuring an application backup schedule
      5.  
        Example application backup schedule
      6.  
        Configuring automatic backup schedules
      7.  
        Example automatic backup schedule
      8.  
        About schedule properties
      9.  
        Adding clients to a policy
      10.  
        Adding NetBackup for SAP scripts to the backup selections list
      11.  
        Rules for NetBackup for SAP scripts
    3. NetBackup for SAP backup scripts
      1.  
        Modifying the NetBackup for SAP backup scripts
      2.  
        Example NetBackup for SAP backup script (Windows)
      3.  
        Example NetBackup for SAP backup script (UNIX)
      4.  
        NetBackup for SAP backup script parameters
    4.  
      Configuring the logon account for the NetBackup Client Service for NetBackup for SAP
    5. About SAP configuration files
      1.  
        Relationships between SAP database configuration files
      2.  
        Modifying the initSID.utl file for NetBackup for SAP
      3.  
        Example NetBackup for SAP initSID.utl file
      4.  
        Modifying the initSID.sap file (NetBackup for SAP Oracle databases only)
      5.  
        Example initSID.sap file (NetBackup for SAP on Oracle databases only)
      6.  
        Modifying the bsi.env file (NetBackup for SAP on MaxDB databases)
    6.  
      Backing up files mounted with LOFS with NetBackup for SAP (UNIX or Linux)
    7.  
      About permissions for NetBackup for SAP log files (UNIX)
    8.  
      Reviewing the auto-discovered mappings in Host Management
    9.  
      Configuring the Maximum jobs per client for NetBackup for SAP
    10.  
      Performing a manual backup
    11.  
      Testing multiple concurrent backup jobs for NetBackup for SAP for Oracle (without RMAN)
  6. Configuring NetBackup for SAP HANA
    1.  
      About configuring the master and the media servers
    2.  
      Configuring the media server for NetBackup SAP HANA
    3. Configuring the master server for NetBackup SAP HANA
      1.  
        Setting the logging level
      2.  
        Setting maximum jobs per client
      3.  
        Creating a backup policy for SAP HANA
      4.  
        Configuring redirected restores
    4. Configuring the NetBackup client
      1.  
        Updating the initsap.utl file
    5. Configuring the SAP HANA Agent
      1.  
        Node level configuration
      2.  
        SAP HANA backint configuration
    6.  
      Configuring SAP HANA instance for redirected restore
  7. Performing backups and restores of SAP
    1.  
      Using NetBackup for SAP to perform a backup
    2. Using BRTools to start an SAP backup (for Oracle database only)
      1.  
        Performing an SAP offline backup with SAPDBA
      2.  
        Performing brbackup online SAP backups
    3. Performing an SAP archive
      1.  
        Using the NetBackup multiple copies feature to create an SAP archive
      2.  
        Using two brarchive commands in sequence to create an SAP archive
    4.  
      Performing SAP restores using the SAPDBA utility (SAP on Oracle databases only)
    5.  
      Redirecting a restore to a different client (SAP on Oracle databases only)
    6.  
      SAP redirected restore sample environment (UNIX)
    7.  
      Disaster recovery using BRRECOVER
    8. Restarting failed NetBackup for SAP backups and restores
      1. Restarting NetBackup for SAP backups
        1.  
          Configuring the checkpoint restart option in a NetBackup for SAP policy
        2.  
          Restarting a NetBackup for SAP backup with the brbackup -f command
        3.  
          Example: Restarting a failed NetBackup for SAP backup job (UNIX or Linux)
        4.  
          Example: Restarting a failed NetBackup for SAP backup job (Windows)
      2. Restarting SAP database restores on Oracle
        1.  
          Restarting a restore with the brrestore -f option
        2.  
          Example: Restarting a NetBackup for SAP restore job (UNIX or Linux)
        3.  
          Example: Restarting a NetBackup for SAP restore job (Windows)
  8. Performing backups and restores of SAP HANA
    1.  
      About backup and restore of SAP HANA
    2.  
      Using the SAP HANA studio for backup
    3.  
      Using the SAP HANA studio for restore
    4.  
      Using SAP HANA studio for SAP HANA instance redirected restore
  9. NetBackup for SAP with Snapshot Client
    1.  
      NetBackup for SAP with Snapshot Client overview
    2.  
      Using NetBackup for SAP with Snapshot Client to back up large databases
    3. How the NetBackup for SAP Snapshot Client works
      1.  
        How NetBackup for SAP performs a split mirror backup using backint
      2.  
        How NetBackup for SAP performs a split mirror backup using RMAN
      3.  
        The util_file parameter incompatible with Snapshot Client
      4.  
        About the NetBackup for SAP restore process
      5.  
        SAP database objects supported by advanced backup methods
    4.  
      Configuration requirements for snapshot backups with NetBackup for SAP
    5. About configuring Snapshot Client with NetBackup for SAP
      1.  
        Configuring a snapshot policy for NetBackup for SAP
      2.  
        About NetBackup for SAP backup types
      3.  
        Prerequisites for instant recovery backups (UNIX or Linux)
      4.  
        Configuring a snapshot policy with Instant Recovery for NetBackup for SAP
      5.  
        Additional configuration required for NetBackup for SAP with Network Attached Storage (NAS) on UNIX or Linux
      6.  
        Configuring a NAS snapshot policy for NetBackup for SAP on UNIX/Linux
    6. About configuring NetBackup for SAP block-level incremental backups on UNIX
      1.  
        How BLI works with NetBackup for SAP (UNIX)
      2.  
        About Nodata Storage Checkpoint and NetBackup for SAP
      3.  
        About Fulldata Storage Checkpoint and NetBackup for SAP
      4.  
        Storage Checkpoint configuration on the NetBackup for SAP client
      5.  
        Configuration requirements for BLI backups with NetBackup for SAP
      6. Configuring policies for BLI backups with NetBackup for SAP
        1.  
          About the types of NetBackup for SAP BLI backups
    7.  
      About restoring individual files from a NetBackup for SAP snapshot backup
    8. About NetBackup for SAP restores of volumes and file systems using snapshot rollback
      1.  
        Performing a NetBackup for SAP snapshot rollback
      2.  
        Notes on NetBackup for SAP instant recovery restores
      3.  
        Performing SAP restores of volumes and file systems using block-level restore (Unix/Linux) or Fast File Resync (Windows)
      4.  
        Troubleshooting NetBackup for SAP rollback restores
    9.  
      About NetBackup for SAP sample backup scripts (UNIX or Linux)
    10.  
      About NetBackup for SAP sample backup scripts (Windows)
    11.  
      Mixing RMAN stream and RMAN proxy NetBackup for SAP backups
    12.  
      Performing user-directed snapshot backups with NetBackup for SAP
  10. NetBackup for SAP on MaxDB databases
    1.  
      About NetBackup for SAP on MaxDB databases
    2.  
      About configuring NetBackup for SAP on MaxDB databases
    3.  
      Creating a backup medium for NetBackup for SAP
    4. Using NetBackup for SAP on a MaxDB database to perform backups and restores
      1.  
        Performing a MaxDB database backup
      2.  
        Performing a MaxDB database query
      3.  
        Performing a MaxDB database restore
      4.  
        Performing SAP backups and restores using parallel medium groups
  11. Troubleshooting NetBackup for SAP and SAP HANA
    1.  
      About troubleshooting NetBackup for SAP
    2. NetBackup debug logs and reports
      1.  
        Enabling the debug logs for a NetBackup for SAP client automatically (Windows)
      2.  
      3.  
        Enabling the debug logs manually (UNIX)
      4.  
        About the bphdb directory on the Windows database client
      5.  
        About the bphdb directory on the UNIX database client
      6.  
        About the backint directory on the UNIX database client
      7.  
        Setting the debug level on a Windows client
      8.  
        Setting the debug level on a UNIX client
      9.  
        About NetBackup server reports
    3. sapdba logs and messages (Oracle-based SAP environments only)
      1.  
        NetBackup for SAP backup and restore log files
      2.  
        NetBackup for SAP archive log files
    4.  
      Minimizing timeout failures on large database restores
    5. About troubleshooting NetBackup for SAP HANA
      1.  
        NetBackup for SAP Oracle backup fails
      2.  
        NetBackup SAP HANA backup jobs fail with error 41 and 25
      3.  
        Recovery of SAP HANA database from tape storage fails
      4.  
        Log backup fails with status 50 for SAP HANA
    6.  
      Disaster recovery of an SAP Hana database
  12. Appendix A. backint command line interface
    1. About backint command line interface for SAP
      1.  
        About the BC-BRI BACKINT Interface
    2.  
      About backint command line interface for SAP HANA
  13. Appendix B. Input and output files for SAP HANA
    1.  
      About input and output files for SAP HANA
  14. Appendix C. backint -i in_file contents
    1.  
      About backint -i in_file contents
  15. Appendix D. backint -o out_file contents
    1.  
      About backint -o out_file contents
  16. Appendix E. NetBackup for SAP environment variables for backint
    1.  
  17. Appendix F. NetBackup for SAP configuration or bp.conf file settings
    1.  
  18. Appendix G. Parameters used in initSID.utl
    1.  
      About parameters used in initSID.utl
    2.  
      initSID.utl parameter summary
    3.  
      backup_stream_buffersize <size>
    4.  
      client <client_name>
    5.  
      custom_sort_file <file_path>
    6.  
      drives <number_of_drives>
    7.  
      inquiry_query_period <months>
    8.  
      master_time_offset <minutes> (UNIX or Linux)
    9.  
      multistream_restore
    10.  
      policy <policy_name>
    11.  
      policy2 <policy_name>
    12.  
      restore_stream_buffersize <size>
    13.  
      retry_backup <number_of_retries>
    14.  
      schedule <schedule_name>
    15.  
      schedule2 <schedule_name>
    16.  
      server <server_name>
    17. sort_backup_type <value>
      1.  
        sort_backup_type custom
      2.  
        sort_backup_type device
      3.  
        sort_backup_type drive
      4.  
        sort_backup_type size (default)
    18. sort_restore_type <value>
      1.  
        sort_restore_type custom
      2.  
        sort_restore_type drive
      3.  
        sort_restore_type image (default)
    19.  
      switch_list <control_file_path>
    20.  
      switch_log <control_file_path>
    21.  
      switch_sem <control_file_path>
  19. Appendix H. Configuring split mirror backups
    1.  
      About configuring split mirror backups
    2.  
      Local-host snapshot method: nbu_snap (Solaris SPARC platform only)
    3.  
      Local-host snapshot method: VxVM (Solaris SPARC, HP-UX, Windows)
    4.  
      Local-host snapshot method: VxFS_Checkpoint (UNIX or Linux)
    5.  
      Off-host alternate client, FlashSnap method
    6.  
      Off-host alternate client, VVR method (Solaris SPARC, HP-UX)
    7.  
      Hardware array-based snapshot method: Hitachi Shadow Image, EMC TimeFinder, HP Business Copy (UNIX or Linux)
  20. Appendix I. Register authorized locations
    1.  
      Registering authorized locations used by a NetBackup database script-based policy
  21.  
    Index

NetBackup for SAP with Snapshot Client overview

The NetBackup for SAP Snapshot Client software consolidates a variety of snapshot-based technologies into a single, easy-to-use backup solution. When NetBackup for SAP is used with Snapshot Client, the environments that are based on Oracle are supported.

Note:

Environments that are based on MaxDB databases are not supported.

The ability to restore your environment quickly depends on your ability to back up business-critical data quickly. Backups enable you to restore your environment in the event of logical database errors or physical errors such as hardware failures or disasters. Snapshot backups enable you to minimize the length of time that a database is in backup mode or offline. Veritas recommends that customers perform online backups at least daily and offline backups once a week. Since periods of low SAP system activity are few and far between because customers tend to run long batch jobs on weekends or during night hours, snapshots make it possible to protect the data with minimal delay.

Table: NetBackup for SAP with Snapshot Client features describes the Snapshot Client features.

Table: NetBackup for SAP with Snapshot Client features

Snapshot Client feature

Description

Array and software snapshot integration

Supports a variety of array and software snapshots and provides a base for all Snapshot Client solutions.

Snapshot backups

A snapshot backup occurs when NetBackup creates a point-in-time copy of the disk volumes on which the database resides. When snapshot backup is used with Snapshot Client, NetBackup for SAP backs up Oracle objects by taking snapshot images of the component files on the local host. Later it backs up the snapshot to a storage unit.

The snapshot process is nearly instantaneous; so user access to the database is not interrupted. Client operations and user access continue without interruption during the backup. The backup does not affect the performance or availability of the database. You can perform snapshot backup by using the backint command or by using RMAN proxy copy.

Instant recovery backups

This feature makes backups available for instant recovery from disk. Instant recovery combines snapshot technology with the ability to do rapid disk-based restores. NetBackup creates the image without interrupting user access to data. The snapshot can optionally be backed up to tape or other storage long-term storage, but is retained for recovery in the short term. Instant recovery makes it possible to perform file promotion and rollback without accessing the long-term storage. Additionally for UNIX and Linux, instant recovery makes it possible to perform block-level restores.

Off-host backups

An off-host backup shifts the burden of the backup process onto a separate backup agent, such as an alternate client or data mover. An off-host backup reduces the effect on the client's resources that a local backup ordinarily causes. The backup agent reads the data from the client disk and writes it to storage. You can perform off-host backups by using thebackint command or by using RMAN proxy.

Block-level incremental backup and recovery

This feature is available for UNIX and Linux. Less data leads to high performance data protection. A Block-Level Incremental (BLI) Backup uses the change tracking capabilities of the Veritas File System (VxFS) Storage Checkpoint feature. In a BLI backup, only the changed blocks of data are backed up, not the entire file or file system. A BLI backup saves time, decreases the amount of backup media that is required, and significantly reduces CPU and network overhead during backups.

RMAN proxy copy

Proxy copy is an extension to Oracle's media management API. A proxy copy is a special type of backup in which RMAN turns over control of the data transfer to the NetBackup for SAP Agent. The agent can then manage the entire data movement between the disks that contain the Oracle data files and the storage devices that NetBackup manages.

With proxy copy, RMAN provides a list of files that require backup or restore to the NetBackup for SAP Agent. The NetBackup for SAP Agent determines how the data is moved.

RMAN stream-based backups

RMAN stream-based operations are the standard way by which NetBackup for SAP implements conventional RMAN backups and restores. In a stream-based backup, NetBackup moves the data that the Oracle server process provides.

NetBackup for SAP captures the data stream content that RMAN provides and stores it to media.

If the user configures SAP for RMAN with multiple channels, the following occurs:

  • RMAN makes multiple backup requests to NetBackup in parallel

  • NetBackup backs up and catalogs the multiple backups as separate images

RMAN proxy and RMAN stream-based backups intermixed

RMAN Proxy backups can be used to perform off-host snapshot-based split mirror full backups. For example, you can use RMAN proxy for weekly full backups.

RMAN stream-based backups can be used to perform on-host incremental backups. In this way you can perform daily backups.

NetBackup for SAP offers you the flexibility to intermix backup methods. You can specify both RMAN proxy copy off-host snapshot backups and RMAN stream-based on-host incremental backups. When you perform both types of backups, you remove the backup load from the production host during full backups. You also reduce the amount of data for incremental backups.