From csvenkata@lycos.com Tue, 27 Mar 2001 20:02:27 -0800 From: "C.S.Venkata Subramanian" Date: Tue, 27 Mar 2001 20:02:27 -0800 Subject: Re: RMAN Message-ID: MIME-Version: 1.0 Content-Type: text/plain Yes def RMAN will recognise and execute the same. After u have backed up the database, We need to backup the Archivelog and then the controlfiles. This is the sequence in which the backup is done. We need to issue the SQL stmt to archive the current redo log so that we don't loose the transactions. This will help u to restore the database. Hope this helps you. -- On Tue, 27 Mar 2001 18:25:44 Yustiono wrote: >Dear DBAs, > >I found this RMAN command on Oracle8i Backup Recovery documentation. This is >used to backup all data files and controlfiles. > >run { >allocate channel ch1 type disk; >backup database; >sql 'ALTER SYSTEM ARCHIVE LOG CURRENT'; # archives current redo log >sql 'ALTER SYSTEM ARCHIVE LOG ALL'; # archives all un-archived redo logs >} > >My question is, why they put sql commands to archives current redo log and >unarchived redo logs, after the "backup database" command? Why not before >the "backup database" command? Will RMAN execute it as a transaction for all >commands in curly bracket? > >TIA > >Yustiono > >-- >Please see the official ORACLE-L FAQ: http://www.orafaq.com >-- >Author: Yustiono > INET: tekait11@bni.co.id > >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@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). > Get 250 color business cards for FREE! at Lycos Mail http://mail.lycos.com/freemail/vistaprint_index.html -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: C.S.Venkata Subramanian INET: csvenkata@lycos.com 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@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).