The acsora user interface for Oracle

Use the production system user interface, acsora, to issue commands in an Oracle database environment.

The acsora syntax follows:
acsora [-p <profile>] -f <function> [-B <backupID>] [-F] [-s <device_class> ]
[-U <client_section_name>]
where <function> is one of:
        backup
        restore
        delete
        inquire
        inquire_detail
Table 1. Parameters for Oracle databases
Option Description Default
-p <profile> Full path and name of the profile <ACS_DIR>/profile
-B <backupID> The backup ID for restore, delete, inquire functions
-f backup Backup database Function backup if -f is not specified.
-f restore Restore database
-f delete Delete snapshot backup
-f inquire List snapshot backups
-f inquire_detail List snapshot backups
-F When specified with the -f delete or -f inquire options, the -F option withdraws source and target relationships.
-U When the profile contains more than one CLIENT section, the name must be listed and passed through the command line.
-s <device_class> The name of the DEVICE_CLASS section in the profile that is used for the backup operation. As specified in the profile.
The return code of acsora is 0 if it finishes the request without an error. The return code 1 indicates one or more issues occurred during the process. Although not considered critical, resolve these minor issues to prevent potential critical issues later. Return code 2 indicates that an error occurred during command processing and that the operation did not complete successfully.

-f backup

This command backs up the Oracle database according to the profile settings.

Example backup database:
acsora -f backup -U A01 -s STANDARD

-f restore

This command restores the Oracle database from the backup that is specified by the backup ID, or the latest backup.

The Oracle database is available for immediate use after a snapshot restore and a rollforward recovery. However, for DS8000® and SAN Volume Controller, background copy processing from the target volumes to the source volumes might require more time to complete, especially if FLASHCOPY_TYPE COPY is specified. Although the database is available, you cannot perform another IBM® Storage Protect Snapshot backup or restore until background copy processing completes.

Example (restore specified backup):
acsora -f restore -U A01 -B A0FZ36AY8G

-f inquire

This command lists the details for the snapshot backup that is denoted by the backup ID, if specified by using the -B option, or all backups.

Example (list all backups):
acsora -f inquire -U A01

-f inquire_detail

This command queries the backup repository and lists all available backups.

This command is like the -f inquire command, but it prints more information like usability states and background copy progress, if available, for each backup.

-f delete

This command deletes the snapshot backup that is denoted by the entered backup ID.

Example (deleted specified backup):
acsora -f delete -U A01 -B A0FZ36AY8G