HP A.06.11 manual Pre- and post-exec commands, Disaster recovery, Example

Page 37

The following TurboSTORE/iX restore options cannot be used as they are replaced by the standard Data Protector functionality: COPYACD, KEEP,NEWDATE, NOACD, OLDDATE, and SHOW.

Pre- and post-exec commands

Before backup or restore, you may want to check the number of files to back up, stop some transaction processing, or shut down a database. Such actions are performed using pre- and post-exec commands, which are not supplied by Data Protector. Depending on your need, you may prepare your own executables that perform the required actions.

To execute pre- and post-exec commands, enter /bin/sh and the full script pathname in the pre-exec and post-exec fields.

Example

/bin/sh /usr/omni/bin/script_name

Shell script can contain commands for job streaming:

callci stream job_file_name

Example

callci stream MYJOB.SYS.PUB

NOTE:

Make sure the permissions for pre- and post-exec commands are set properly before starting backup or restore.

For more information on pre- and post-exec commands, see the online Help index: “pre- and post-exec commands”.

Disaster recovery

Disaster recovery on MPE/iX is performed manually and involves recovering the system using the SLT tape. In addition, Data Protector is used to restore all files, including the system directory information.

MPE/iX system user guide

37

Image 37
Contents HP Data Protector A.06.11 MPE/iX system user guide Page Contents Index Figures Tables Part number Guide edition Product Edition historyPublication history Documentation set Intended audienceGuides Other documents and online Help provide related informationHP Data Protector disaster recovery guide HP Data Protector integration guide for HP Reporter This guide fulfills a similar function for Media Operations Online HelpAbbreviations Documentation mapGuide Abbreviation Guide MapIntegrations Integration Guide Document conventions Document conventions and symbolsConvention Element Provides additional information Data Protector graphical user interfaceProvides helpful hints and shortcuts Data Protector graphical user interface General information HP technical supportHP websites Subscription serviceDocumentation feedback For additional information, see the following HP websitesIntroduction Configuring the integrationIntegration concepts PrerequisitesConfiguring standalone devices Configuring devicesBefore you begin Connect a device to the systemO configuration standalone device Run the Sysgen utility, IO subsystem Ioadev LDEV=31 PATH=52.3.1 ID=PICKER Autochanger robotics device and identify it as PickerKeep the new configuration and exit Sysgen Configuring Scsi tape librariesCreate a device link file using mknod At the ISL prompt, enter O configuration Scsi tape libraryMODE=AUTOREPLY Paths and devices for tapesTurboSTORE/iX supports two backup types BackupBackup types List of backup variables User-definable backup variablesVariable Value Description Setting Backup Variables Specifying backup options TurboSTORE/iX backup options Full system backupClick Add to add the new variable to the list Creating SLT RestoreCreating Store Tapes To create a SLT, runSetting Restore Variables User-definable restore variablesList of restore variables Click OK to apply the settings TurboSTORE/iX restore optionsDisaster recovery Pre- and post-exec commandsShell script can contain commands for job streaming ExampleRecovery Procedure Supported CLI commandsData Protector A.06.11 supports the omnib command Backup and restore of MPE/iX database Example 1. TurboSTORE/iX log files with Online TurboSTORE/iX log filesUDC files and environment variables To create a UDC file, enter the following in command promptUDC files Example 2. TurboSTORE/iX log files with ONLINE=STARTExample OB2SET fileTo activate the UDC file enter Index