Can not backup pluggable database of noarchivelog container database?
I want to backup a PDB of a non archive logged Container Database. When I run the script,
run{
alter pluggable database PDBORCL close;
backup pluggable database PDBORCL;
alter pluggable database open;
}
I get following error-
RMAN-06817: Pluggable Database PDBPROD cannot be backed up in NOARCHIVELOG mode.
Kindly guide.How can I achieve this?
-
Actually I am connected to the container and trying to backup the PDB after closing PDB. In my script I am also closing the PDB from the Container and then trying backup command. So why that is failing?
Do we need to be connected to the PDB in order to take cold backup of PDB in a nonarchivelogged CDB?
- OERR: RMAN-6817 "Pluggable Database %s cannot be backed up in NOARCHIVELOG mode." Reference Note (Doc ID 2050711.1)
-
PURPOSE
This is a brief reference note to show the meaning of database error "RMAN-6817". It includes the error text, "Cause" and "Action" from message files for each database version from 9.2 onwards, along with search links and details of any database bug issues related to the error.
SCOPE
This note is intended for general audience as a starting point to check the meaning of "RMAN-6817". It does not give detailed information about the error and does not give error message text for versions below 9.2 .
DETAILS
Error Text, Cause and Action from Message File/s for RMAN-06817
Versions 12.1Error: RMAN-06817 Pluggable Database %s cannot be backed up in NOARCHIVELOG mode.
---------------------------------------------------------------------------
Cause: Backing up the Pluggable Database when database was in NOARCHIVELOG
mode is not allowed.
Action: Pluggable Database backups are not allowed when the database is in
NOARCHIVELOG mode. Close the container database and backup the complete
database using the BACKUP DATABASE command.
Search Links for RMAN-06817
The links below can be used to locate RMAN-6817 in the documentation, and to search for documents that give more information about the error.
Search MOS for "RMAN-06817 Troubleshooting"Search 12.1 documentation for RMAN-06817
Database Bugs Related to RMAN-06817
Errors are usually due to usage, application or configuration issues but in some cases they may be caused by a bug issue. This section lists any database bugs that have been linked to error "RMAN-6817" .
There are currently no documented database bugs linked to "RMAN-6817" .