ADD_DB
This procedure adds the specified database to the Recovery Appliance, and assigns a protection policy to the database. This procedure enables a non-protected database to attain the status of a protected database.
Enrolling a database with the Recovery Appliance involves:
adding the protected database with ADD_DB
.
granting access to this database to a Recovery Appliance user account
(
).
GRANT_DB_ACCESS
registering this database in the virtual private catalog
(RMAN REGISTER DATABASE
command).
The protected database must be enrolled before Recovery Appliance can process backup and restore operations.
You cannot use this procedure to add additional databases in a physical standby configuration. Such databases will be automatically recognized as they perform recovery catalog resynchronizations.
Syntax
PROCEDURE add_db ( db_unique_name IN VARCHAR2, protection_policy_name IN VARCHAR2, reserved_space IN VARCHAR2 DEFAULT NULL, comments IN VARCHAR2 DEFAULT NULL);
Parameters
Table 22-4 ADD_DB Parameters
Parameter | Description |
---|---|
|
The |
|
The name of the protection policy to assign to the database. The protection policy must exist. |
|
The amount of disk space that is guaranteed to be available for the protected database. The format of this value is a character string that must contain
a number consisting only of the characters
If no unit is specified, then the Recovery Appliance interprets the value as a number of bytes.
|
|
Optional user supplied comment describing reason for executing this command. |