You specify the library as the argument to the LOAD parameter of the DB2 BACKUP

You specify the library as the argument to the load

This preview shows page 13 - 15 out of 165 pages.

You specify the library as the argument to theLOADparameter ofthe DB2BACKUPandRESTOREcommands.The installation program installs the vendor library in the followinglocation:On Windows:install_path\NetBackup\bin\nbdb2.dllOn UNIX:/usr/openv/netbackup/binOn UNIX, the name of the vendor library differs, depending on yourplatform as follows:64-bit Solaris SPARC and 64-bit Linux x86:nbdb2.so6464-bit AIX and HP-UX PARISC:nbdb2.sl6464-bit Linux Itanium, HP Itanium, and IBM pSeries:nbdb2.soNBDB2 vendor I/OlibraryThe NetBackup for DB2 user exit program,db2uext2, providesone method for backing up and restoring the DB2 archive log files.Use this method at the following times:When you use the DB2BACKUPcommand orROLLFORWARDcommand to back up or restore databases.When the user exits the database with the DB2TERMINATEorDISCONNECTcommand.When the log file fills and DB2 starts writing transactions toanother log file.The DB2ARCHIVE LOGcommand is issued.The user exit program backs up and restores the archive logs asfiles. The file is calleddb2uext2.64. NetBackup for DB2 supportsthis method for protecting the archive logs on all supported DB2releases.The user exit program resides in the following location:On Windows:%DB2_INSTANCE%\bin\db2uext2.exeOn UNIX:$DB2_INSTANCE/sqllib/adm/db2uext2.Other methods are available for backing up archive log files.See“About log archiving”on page 20.User exit program13Introduction to NetBackup for DB2NetBackup for DB2 overview
Background image
Table 1-2NetBackup for DB2 component descriptions(continued)DescriptionComponentThe installation software installs the following sample files:A sample configuration file (db2.conffile). Thedb2.conffileincludes specifications for backups and restores, and it providesinformation on policies and schedules. The NetBackup for DB2library and user exit program use the information in this file.Sample backup and restore scripts. NetBackup can invoke ascript to perform a scheduled backup or restore of a DB2database. The scripts contain DB2BACKUPorRESTOREcommands for use with NetBackup.Alternatively, users can use the NetBackup for DB2 wizards tocreate backup and restore templates. You can use the templatesin place of scripts, and you can convert templates into scripts.The installation software writes these sample files to the followinglocation:On Windows:install_path\NetBackup\dbext\db2\samplesOn UNIX:/usr/openv/netbackup/ext/db_ext/db2/scripts.To use the sample files, copy the sample files to working directoriesand modify them for your own use.Sample configurationfile (db2.conf) andscript filesNetBackup for DB2 provides wizards that enable you to createbackup and recovery templates. You invoke the wizards by browsingfor and selecting a DB2 database object in the Backup, Archive,and Restore interface. After you supply information about theoperation, the wizard creates a template that you can runimmediately or store on the server (for backup templates). You can
Background image
Image of page 15

You've reached the end of your free preview.

Want to read all 165 pages?

  • Spring '17
  • kevin croteu
  • Veritas NetBackup

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture