Recovery Manager for Oracle User’s Guide

COMMAND

vcdba_remove

SYNOPSIS

vcdba_remove -s <oracle_sid> -p <primary_host> -t <timestamp> [-v]

DESCRIPTION

Removes a virtual copy.

The vcdba_remove command removes a virtual copy created by the vcdba_create command. The virtual copy must have Available status in order to be removed. The status of the virtual copy can be retrieved using the vcdba_display command.

If the specified virtual copy has been backed up, the actual database virtual copy is removed, but its repository remains for database restoration purposes. To remove the virtual copy's repository, use the vcdba_rmrep command. If the virtual copy's repository is removed, Recovery Manager will not be able to perform a database restore operation even if the virtual copy has been backed up.

You must run this command as a super user from the backup host. To allow the Oracle Database Administrator (Oracle Owner) to run this command, an identical Oracle Database Administrator user must exist on backup host. In addition, permission on the 3PAR Recovery Manager Installation and Repository directories must be changed appropriately.

OPTIONS

The following options are supported:

-s <oracle_sid> - The instance SID of the primary database. For an RAC database, any instance SID can be specified.

-p <primary_host> - The corresponding host name of the primary host where the specified Oracle database instance is running. The value of the primary host name must match the output of the hostname command.

-t <timestamp> - The timestamp of a virtual copy. It is also the name of the virtual copy. The virtual copy name can be obtained using the vcdba_display command.

-v- Runs the command in verbose mode to display useful messages.

Command

6.27

Page 135
Image 135
HP StoreServ Application Suite for Oracle Media manual Vcdbaremove -s oraclesid -p primaryhost -t timestamp