Oracle® Database Recovery Manager Reference 10g Release 1 (10.1) Part Number B10770-01 |
|
|
View PDF |
dropDatabase::=
Text description of dropDatabase
Deletes the target database and, if RMAN is connected to a recovery catalog, unregisters it. RMAN removes all datafiles, online logs, and control files belonging to the target database.
DROP DATABASE INCLUDING BACKUPS
form of the command.In this example, you maintain a test database called test1
that is registered in the recovery catalog. You connect to test1
and delete the database files as well as all backups, copies, and archived logs associated with the database:
% rman TARGET SYS/oracle@test1 CATALOG test1/test1@catdb RMAN> DROP DATABASE INCLUDING BACKUPS NOPROMPT;