B RMAN Command Examples Quick Reference
This appendix provides a few examples for commonly used RMAN commands.
Table B-1 Commonly Used RMAN Command Examples
Operation | Command Example |
---|---|
Starting and connecting to RMAN |
|
To simulate The internal API accepts
|
|
See: formatSpec for RMAN substitution variables.
|
|
To back up a read-only database regardless of optimization
See: formatSpec for RMAN substitution variables.
See formatSpec for RMAN substitution variables.
See formatSpec for RMAN substitution variables.
See formatSpec for RMAN substitution variables.
Backup - Validate Target
For bigfile tablespace data files
|
|
|
|
|
|
|
|
See: formatSpec for RMAN substitution variables. |
|
|
|
Connect to an auxiliary instance and start RMAN duplicate. The following command will execute duplicate of the CDB from tape backups while skipping a tablespace in the pluggable database See formatSpec for RMAN substitution variables. |
|
|
|
|
|
|
Recover to merge incremental backup to database copy
|
If there is a space constraint to restore archive logs, use
Recover standby database from primary service
Table recovery
Tablespace Point-in-Time Recovery (TSPITR)
|
|
To restore a control file and then restore the database using the control file:
|
|
Write RMAN output to a trace (
|
|
|
|
|
|
Validate Mirror
|