Cloud Protect Fleet Agent Commands in SQLcl
Review the Cloud Protect Fleet Agent commands in SQLcl, and their usage.
Use this format to run the Cloud Protect Fleet Agent commands:
SQL> rcv <action> <object> [options]-
rcv - Use
rcvto 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.
Run help rcv to preview the list of Cloud Protect Fleet Agent commands.
SQL> help rcvNote:
If your SQLcl version is lower than 26.2.0, then set the 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_3In an Oracle RAC environment, set the ORACLE_HOME environmental variable on the current node.
Table 7-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 7-3 add <object>
| add object | Requires SYSBACKUP Privileges? |
|---|---|
add database |
No |
add protection_policy |
No |
add recovery_service_subnet |
No |
add realtime_redo |
Yes |
add schedule |
Yes |
Table 7-4 configure <object>
| configure object | Requires SYSBACKUP Privileges? |
|---|---|
configure database |
Yes |
configure rman |
Yes |
configure rman_env |
Yes |
configure protection_policy |
No |
configure recovery_service_subnet |
No |
configure schedule |
Yes |
configure authentication |
No |
Table 7-5 remove <object>
| remove object | Requires SYSBACKUP Privileges? |
|---|---|
remove database |
Yes |
remove protection_policy |
No |
remove realtime_redo |
Yes |
remove schedule |
Yes |
Table 7-6 show <object>
| show object | Requires SYSBACKUP Privileges? |
|---|---|
show database |
Yes |
show rman |
Yes |
show protection_policy |
No |
show recovery_service_subnet |
No |
show schedule |
Yes |
show authentication |
No |
show restore_range |
Yes |
Table 7-7 backup <object>
| backup object | Requires SYSBACKUP Privileges? |
|---|---|
backup database |
Yes |
Table 7-8 run <object>
| run object | Requires SYSBACKUP Privileges? |
|---|---|
run checks |
Yes |
Table 7-9 import <object>
| import object | Requires SYSBACKUP Privileges? |
|---|---|
import database |
No |