Top
ETERNUS SF AdvancedCopy Manager 14.2 Operator's Guide

B.3.2 Applying a sample script

B.3.2.1 Updating a sample script

Customize a sample script so that it is appropriate for the actual operation being performed.

Note

This sample script assumes that the physical file of an instance is stored across two drives. If the information of an instance referenced (as described in "B.3.1.1 Collecting DB information") has only one drive, delete the two parts enclosed between the following lines. If more than two drives are used, copy the parts for the third and subsequent drives and modify each of them as appropriate.

//[[[ Second Drive  - START - ]]] 
          XXXXXXX
          XXXXXXX
//[[[ Second Drive  - END - ]]]

Change the svrmgrl command to the sqlplus command (nolog/option specification) for Oracle9i.

This script operates only on a Storage Server of AdvancedCopy Manager.

B.3.2.2 Creating a volume locking specification file

In the sample script (swst_or_bk_as.js), updated as described in "B.3.2.1 Updating a sample script", swstbackup (backup execution command) is executed. swstbackup (backup execution command) normally locks a volume to be backed up so that no file can be updated while being backed up.
As explained above, only flushing the file system buffer without locking the backup target volume is necessary for execution of swstbackup (backup execution command) with the backup target volume of the Oracle database specified as in "B.3.2.1 Updating a sample script" Therefore, change pre-processing and post-processing operations in the transaction volume locking specification file for backups. An example of the settings is shown below. If a machine in the SP-series is not used, then the pre-processing and post-processing operations can be changed by specifying the Xflush option in swstbackup (backup execution command).

Figure B.5 Transaction volume locking specification file for backups