Cloud Protect Fleet Agent Commands in SQLcl
Review the Cloud Protect Fleet Agent commands in SQLcl, and their usage.
SQL> rcv <action> <object> [options]
- rcv - Use
rcv
to invoke the Cloud Protect Fleet Agent commands in SQLcl. - action - Specifies the action you
want to perform, such as
backup
,configure
, oradd
. - object - Specifies the object to
perform the action. Example,
database
,recovery_service_subnet
, orprotection_policy
. - options - Specifies an option to run the command.
help
rcv
to preview the list of Cloud Protect Fleet Agent
commands.SQL> help rcv
ORACLE_HOME
environmental variable before you
run the rcv
commands in SQLcl. For example,
ORACLE_HOME=/u01/app/oracle/product/19.25.0.0/dbhome_3
In
an Oracle RAC environment, set the ORACLE_HOME
environmental
variable on the current node.
Table 6-2 Summary of Cloud Protect Fleet Agent Commands
Action | Purpose |
---|---|
add object
|
Adds an object such as a database or a protection policy. |
configure
object |
Configures an object such as a Recovery Service subnet or schedule. |
remove object |
Removes an object such as a protection policy or a database. |
show object |
Displays the information about an object, such as the protection details of a database. |
backup
object |
Backs up a database. |
run object |
Runs checks on a database. |
import
object |
Imports an object such as a database. |
Table 6-3 add <object>
add <object> | Requires SYSBACKUP Privileges?
|
---|---|
|
No |
|
No |
|
No |
|
Yes |
|
Yes |
Table 6-4 configure <object>
configure <object> | Requires SYSBACKUP Privileges?
|
---|---|
|
Yes |
|
Yes |
|
Yes |
|
No |
|
No |
|
Yes |
|
No |
Table 6-5 remove <object>
remove <object> | Requires SYSBACKUP Privileges?
|
---|---|
|
Yes |
|
No |
|
Yes |
|
Yes |
Table 6-6 show <object>
show <object> | Requires SYSBACKUP Privileges?
|
---|---|
|
Yes |
|
Yes |
|
No |
|
No |
|
Yes |
|
No |
|
Yes |
Table 6-7 backup <object>
backup <object> | Requires SYSBACKUP Privileges?
|
---|---|
|
Yes |
Table 6-8 run <object>
run <object> | Requires SYSBACKUP Privileges?
|
---|---|
|
Yes |
Table 6-9 import <object>
import <object> | Requires SYSBACKUP Privileges?
|
---|---|
|
No |
Parent topic: Preparing to Use Cloud Protect Fleet Agent with SQLcl