Veritas NetBackup™ for SAP Administrator's Guide
- Introduction to NetBackup for SAP
- Introduction to NetBackup SAP HANA
- Installing NetBackup for SAP
- Installing NetBackup for SAP HANA
- Configuring NetBackup for SAP
- About configuring a backup policy for an SAP database
- NetBackup for SAP backup scripts
- About SAP configuration files
- Configuring NetBackup for SAP HANA
- Performing backups and restores of SAP
- Using BRTools to start an SAP backup (for Oracle database only)
- Performing an SAP archive
- Restarting failed NetBackup for SAP backups and restores
- Performing backups and restores of SAP HANA
- NetBackup for SAP with Snapshot Client
- How the NetBackup for SAP Snapshot Client works
- About configuring Snapshot Client with NetBackup for SAP
- About configuring NetBackup for SAP block-level incremental backups on UNIX
- Configuring policies for BLI backups with NetBackup for SAP
- About NetBackup for SAP restores of volumes and file systems using snapshot rollback
- NetBackup for SAP on MaxDB databases
- Troubleshooting NetBackup for SAP and SAP HANA
- NetBackup debug logs and reports
- sapdba logs and messages (Oracle-based SAP environments only)
- About troubleshooting NetBackup for SAP HANA
- Appendix A. backint command line interface
- Appendix B. Input and output files for SAP HANA
- Appendix C. backint -i in_file contents
- Appendix D. backint -o out_file contents
- Appendix E. NetBackup for SAP environment variables for backint
- Appendix F. NetBackup for SAP configuration or bp.conf file settings
- Appendix G. Parameters used in initSID.utl
- sort_backup_type <value>
- sort_restore_type <value>
- Appendix H. Configuring split mirror backups
- Appendix I. Register authorized locations
Using two brarchive commands in sequence to create an SAP archive
You can also create two copies of the archive log by issuing two brarchive commands in sequence.
For the first copy, call brarchive with the -s option. For the second copy, call brarchive with the -sc option. Both commands automatically determine that the archive log file needs to be backed up and perform the backup.
Be sure that each brarchive command uses either a separate utl file or separate environment variable values where either the policy or schedule name differ. The policy or schedule should identify the unique media or storage units to use to ensure that the second copy is not written to the same media as the first copy (and subject to loss at the same time). For example, you can write each backup copy to two different volume pools, to disk and tape, or to two different DSUs.
The following example shows how two brarchive commands are used in sequence to create two copies of an SAP archive. This example assumes that only one archive log is to be backed up, archive log 77.
To create the backup copies | To create the first backup copy, issue the following commands: SAP_SCHED=To-DSU ; export SAP_SCHED brarchive -d util_file -s To create the second backup copy, issue the following commands: SAP_SCHED=To-Pool1 ; export SAP_SCHED brarchive -d util_file -sc On Windows, the syntax to set the environment variables is: SET SAP_SCHED=To-DSU |
To restore the archived log files | To restore from the first backup copy, issue the following command: brrestore -a 77 To restore from the second backup copy, issue the following command: brrestore -a2 77 |