Perform the following steps to backup pluggable databases:
Steps
Open a command shell.
Log in to Oracle RMAN by using the Oracle user ID and password.
The command prompt changes to an RMAN prompt.
Connect to the Oracle database to back up.
For ad hoc CLI backup:
Set the value
--rman_command_id=COMMAND_ID in taskfile and RMAN script.
Back up the Oracle database by typing RMAN commands similar to the following commands:
run { set command id to "COMMAND_ID"; set controlfile autobackup format for device type sbt to 'CONTROLFILE.db.%F'; allocate channel c0 type sbt PARMS="SBT_LIBRARY=install-dir/lib/libobk_avamar.so" format '%d_%U'; send channel='c0' ' "prefix=12/db" "--cacheprefix=db-c0" "--bindir= install-dir/bin" "--flagfile=/path/my-avtarflags.txt" "--taskfile=/path/taskfile.txt" '; backup pluggable database pdbname plus archivelog delete input; }
Where:
install-dir is the base installation directory for the platform. For example, specify
/usr/local/avamar on Linux,
/opt/AVMRclnt on Solaris,
C:\Progra~1\avs\bin on Windows, and so on.
pdbname is the Oracle pluggable database to be backed up
COMMAND_ID is the RMAN command ID to distinguish between concurrent pluggable database backups. The value of
COMMAND_ID for RMAN script and taskfile must be same.
NOTE:Altering the system switch logfile should be done from the root container after every backup in order to do a PIT restore.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\