Rmora_rmrep – HP 3PAR Application Software Suite for Oracle Licenses User Manual

Page 79

Advertising
background image

rmora_rmrep

SYNOPSIS

rmora_rmrep -s <oracle_sid> -p <db_server> [-t <timestamp>] [-f] [-v]

DESCRIPTION

The rmora_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 status of a Virtual Copy must be Removed and its backup
status must be N. If the status of a Virtual Copy is Y, the -f option can be used to force the removal
of the repository. The status of the Virtual Copy and backup status can be obtained using the
rmora_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 server. To allow the Oracle Database
Administrator (Oracle owner) to run this command, an identical Oracle Database Administrator
user must exist on backup server. In addition, permission on the Recovery Manager for Oracle
Installation and Repository directories must be changed appropriately.

OPTIONS

The following options are supported:

-s <oracle_sid>

The Oracle SID of the database instance. For Real Application Cluster (RAC) database, an Oracle
SID of any RAC instance can be specified.

-p <db_server>

The corresponding host name of the database server where the specified Oracle database instance
is running. The value of the database server 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 rmora_display command. If the <timestamp> is not specified, the entire
repository will be removed.

-f

Forces the removal of the Virtual Copy repository even if the Virtual Copy has been previously
backed up.

-v

Runs the command in verbose mode.

Recovery Manager Commands

79

Advertising