Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Need RMAN script command to close database
Hi smart guys,
I need a RMAN script command to close a database, do you think this can be done.
What I know is I can start the database, for "MOUNT" state to "OPEN" with next script, using a SQL command:
{
allocate channel type disk ....
sql 'ALTER DATABASE OPEN';
}
What I have?
I have an open database in NOARCHIVE log mode (don't ask why) which I want
to backup.
What I want?
To put database in MOUNT state from RMAN script, backup whole database,
reopen the database.
{
????HERE NEED COMMAND TO PUT DATABASE IN MOUNT STATE
allocate channel type disk ....
backup .... whole database in MOUNT state
sql 'ALTER DATABASE OPEN';
}
Thanks alex.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Berindei Alex INET: Alex.Berindei_at_elsag.it Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Mar 09 2001 - 14:52:13 CST
![]() |
![]() |