Top
ETERNUS SF AdvancedCopy Manager V16.9.1 Operation Guide
FUJITSU Storage

B.2.1 Overview of Sample Scripts

The sample scripts that are provided for AdvancedCopy Manager are stored as follows. For the backup management function, the sample script is stored under the "C:\Win32app\AdvancedCopyManager\etc\backup\sample" directory. For the replication management function, the sample script is stored under the "C:\Win32app\AdvancedCopyManager\etc\repl\sample" directory. The figure below shows the correlation chart of sample scripts.

Figure B.4 Correlation Chart of Sample Scripts

Note

It is recommended that these sample scripts are copied to different folder before using them.

B.2.1.1 Collecting DB Information

The sample script for the backup management function (swst_or_iv.sql) or for the replication management function (swsrp_or_iv.sql) outputs the Oracle database information. This script outputs:

Use the above database information as a reference for creating a script that performs backup.

Sample Script for the Backup Management Function

Sample Script for the Replication Management Function

B.2.1.2 Backup

The sample script for the backup management function (swst_or_bk_as.js) or for the replication management function (swsrp_or_bk_as.js) backs up processing data stored in an Oracle database on a file system, using AdvancedCopy Manager.
Processing data is copied to a backup volume of AdvancedCopy Manager.
This script corresponds to steps 2 through 5 described in "B.1.1 Backup Procedure".

Sample Script for the Backup Management Function

Sample Script for the Replication Management Function