Vcdba_rmrep – HP 3PAR Application Software Suite for Oracle User Manual

Page 141

Advertising
background image

6.33

Command

Recovery Manager for Oracle User’s Guide

COMMAND

vcdba_rmrep

SYNOPSIS

vcdba_rmrep -s <oracle_sid> -p <primary_host> [-t <timestamp>]

[-f] [-v]

DESCRIPTION

Removes a virtual copy repository.

The

vcdba_rmrep

command removes a virtual copy repository, specified by the

<timestamp>

parameter. If the

<timestamp>

is not specified, the entire database repository

will be removed.

If removing a virtual copy repository, the virtual copy's status must be

Removed

and its backup

status must be

N

. If the virtual copy’s status is

Y

, the

-f

option can be used to force the

removal of the repository. The virtual copy's status and backup status can be obtained using

the

vcdba_display

command.

If removing a database repository, all of the existing virtual copies and their repositories must

be removed first.

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 whose repository is to be removed.

The virtual copy name can be obtained using

vcdba_display

command. If the

<timestamp>

is not specified, the entire repository will be removed.

Advertising
This manual is related to the following products: