ebook img

Oracle9i Recovery Manager Reference PDF

276 Pages·2001·1.626 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Oracle9i Recovery Manager Reference

Oracle9i Recovery Manager Reference Release 1 (9.0.1) July 2001 Part No. A90136-02 Oracle9i Recovery Manager Reference, Release 1 (9.0.1) Part No. A90136-02 Copyright © 2001, Oracle Corporation. All rights reserved. Primary Author: Lance Ashdown Contributors: Beldalker Anand, Tammy Bednar, Don Beusee, Senad Dizdar, Muthu Olagappan, Francisco Sanchez, Steve Wertheimer Graphic Designer: Valarie Moore The Programs (which include both the software and documentation) contain proprietary information of Oracle Corporation; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs is prohibited. Theinformationcontainedinthisdocumentissubjecttochangewithoutnotice.Ifyoufindanyproblems in the documentation, please report them to us in writing. Oracle Corporation does not warrant that this document is error free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation. If the Programs are delivered to the U.S. Government or anyone licensing or using the programs on behalf of the U.S. Government, the following notice is applicable: Restricted Rights Notice Programs delivered subject to the DOD FAR Supplement are "commercial computer software" and use, duplication, and disclosure of the Programs, including documentation, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer software" and use, duplication, and disclosure of the Programs shall be subject to the restrictions in FAR 52.227-19, Commercial Computer Software - Restricted Rights (June, 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065. The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and Oracle Corporation disclaims liability for any damages caused by such use of the Programs. Oracle is a registered trademark, and LogMiner, Oracle Net, Oracle Store, Oracle7, Oracle8, Oracle8i, Oracle9i, PL/SQL, Real Application Clusters, and SQL*Plusare trademarks or registered trademarks of Oracle Corporation. Other names may be trademarks of their respective owners. Contents Send Us Your Comments.................................................................................................................. vii Preface............................................................................................................................................................ ix 1 About RMAN Commands Conventions Used in this Reference............................................................................................... 1-2 Command Entries............................................................................................................................... 1-6 2 RMAN Commands Summary of RMAN Commands...................................................................................................... 2-2 @............................................................................................................................................................. 2-6 @@.......................................................................................................................................................... 2-7 ALLOCATE CHANNEL.................................................................................................................... 2-9 ALLOCATE CHANNEL FOR MAINTENANCE........................................................................ 2-13 allocOperandList............................................................................................................................... 2-16 ALTER DATABASE.......................................................................................................................... 2-20 archivelogRecordSpecifier.............................................................................................................. 2-22 BACKUP............................................................................................................................................. 2-26 BLOCKRECOVER............................................................................................................................ 2-46 CATALOG.......................................................................................................................................... 2-50 CHANGE............................................................................................................................................ 2-53 cmdLine.............................................................................................................................................. 2-57 completedTimeSpec......................................................................................................................... 2-61 CONFIGURE..................................................................................................................................... 2-63 iii CONNECT.......................................................................................................................................... 2-76 connectStringSpec............................................................................................................................. 2-79 COPY................................................................................................................................................... 2-81 CREATE CATALOG......................................................................................................................... 2-86 CREATE SCRIPT............................................................................................................................... 2-88 CROSSCHECK.................................................................................................................................. 2-92 datafileSpec........................................................................................................................................ 2-95 DELETE............................................................................................................................................... 2-96 DELETE SCRIPT............................................................................................................................. 2-100 deviceSpecifier................................................................................................................................. 2-101 DROP CATALOG........................................................................................................................... 2-102 DUPLICATE..................................................................................................................................... 2-103 EXECUTE SCRIPT.......................................................................................................................... 2-112 EXIT................................................................................................................................................... 2-113 HOST................................................................................................................................................. 2-114 keepOption....................................................................................................................................... 2-116 LIST................................................................................................................................................... 2-118 listObjList......................................................................................................................................... 2-135 maintQualifier................................................................................................................................. 2-137 obsOperandList............................................................................................................................... 2-139 PRINT SCRIPT................................................................................................................................ 2-141 QUIT.................................................................................................................................................. 2-143 recordSpec........................................................................................................................................ 2-144 RECOVER......................................................................................................................................... 2-146 REGISTER........................................................................................................................................ 2-152 RELEASE CHANNEL.................................................................................................................... 2-154 releaseForMaint............................................................................................................................... 2-155 REPLACE SCRIPT.......................................................................................................................... 2-156 REPLICATE...................................................................................................................................... 2-160 REPORT............................................................................................................................................ 2-162 RESET DATABASE........................................................................................................................ 2-170 RESTORE......................................................................................................................................... 2-172 RESYNC............................................................................................................................................ 2-182 RUN................................................................................................................................................... 2-184 SEND................................................................................................................................................. 2-187 iv SET..................................................................................................................................................... 2-189 SHOW............................................................................................................................................... 2-196 SHUTDOWN................................................................................................................................... 2-199 SPOOL.............................................................................................................................................. 2-202 SQL.................................................................................................................................................... 2-204 STARTUP.......................................................................................................................................... 2-206 SWITCH........................................................................................................................................... 2-208 untilClause....................................................................................................................................... 2-210 UPGRADE CATALOG.................................................................................................................. 2-212 VALIDATE....................................................................................................................................... 2-214 3 Recovery Catalog Views Summary of RMAN Recovery Catalog Views.............................................................................. 3-2 RC_ARCHIVED_LOG....................................................................................................................... 3-4 RC_BACKUP_CONTROLFILE........................................................................................................ 3-5 RC_BACKUP_CORRUPTION......................................................................................................... 3-7 RC_BACKUP_DATAFILE................................................................................................................. 3-8 RC_BACKUP_PIECE....................................................................................................................... 3-10 RC_BACKUP_REDOLOG.............................................................................................................. 3-11 RC_BACKUP_SET............................................................................................................................ 3-12 RC_CHECKPOINT........................................................................................................................... 3-14 RC_CONTROLFILE_COPY............................................................................................................ 3-14 RC_COPY_CORRUPTION............................................................................................................. 3-15 RC_DATABASE................................................................................................................................ 3-16 RC_DATABASE_INCARNATION................................................................................................ 3-17 RC_DATAFILE.................................................................................................................................. 3-17 RC_DATAFILE_COPY..................................................................................................................... 3-18 RC_LOG_HISTORY......................................................................................................................... 3-20 RC_OFFLINE_RANGE.................................................................................................................... 3-21 RC_PROXY_CONTROLFILE......................................................................................................... 3-21 RC_PROXY_DATAFILE.................................................................................................................. 3-23 RC_REDO_LOG............................................................................................................................... 3-25 RC_REDO_THREAD....................................................................................................................... 3-25 RC_RESYNC...................................................................................................................................... 3-26 RC_RMAN_CONFIGURATION................................................................................................... 3-27 v RC_STORED_SCRIPT..................................................................................................................... 3-27 RC_STORED_SCRIPT_LINE......................................................................................................... 3-27 RC_TABLESPACE............................................................................................................................. 3-28 A Deprecated RMAN Commands B RMAN Compatibility About RMAN Compatibility............................................................................................................ B-2 RMAN Compatibility Matrix........................................................................................................... B-2 RMAN Compatibility: Scenario....................................................................................................... B-4 Index vi Send Us Your Comments Oracle9i Recovery Manager Reference, Release 1 (9.0.1) Part No. A90136-02 Oracle Corporation welcomes your comments and suggestions on the quality and usefulness of this document. Your input is an important part of the information used for revision. n Did you find any errors? n Is the information clearly presented? n Do you need more information? If so, where? n Are the examples correct? Do you need more examples? n What features did you like most? If you find any errors or have any other suggestions for improvement, please indicate the document title and part number, and the chapter, section, and page number (if available). You can send com- ments to us in the following ways: n Electronic mail: [email protected] n FAX: (650) 506-7227 Attn: Server Technologies Documentation Manager n Postal service: Oracle Corporation Server Technologies Documentation 500 Oracle Parkway, Mailstop 4op11 Redwood Shores, CA 94065 USA If you would like a reply, please give your name, address, telephone number, and (optionally) elec- tronic mail address. If you have problems with the software, please contact your local Oracle Support Services. vii viii Preface This guide contains command syntax, recovery catalog views descriptions, and related reference information about the Recovery Manager utility. This preface contains these topics: n Audience n Organization n Related Documentation n Conventions n Documentation Accessibility ix Audience This manual is intended for database administrators who perform the following tasks: n Back up, restore, and recover Oracle databases n Perform maintenance on backups and copies of database files To use this document, you need to know the following: n Relational database concepts and basic database administration as described in Oracle9i Database Conceptsand the Oracle9i Database Administrator’s Guide n Basic backup and recovery concepts and strategies as described in the Oracle9i Backup and Recovery Concepts n Basic RMAN concepts and tasks as described in Oracle9i Recovery Manager User’s Guide n The operating system environment under which you are running Oracle Organization This document contains: Chapter1, "About RMAN Commands" This chapter describes the basic conventions of RMAN syntax. Chapter2, "RMAN Commands" This chapter displays the RMAN syntax diagrams, describes the elements of the syntax, and provides examples. Chapter3, "Recovery Catalog Views" This chapter describes the recovery catalog views. AppendixA, "Deprecated RMAN Commands" This appendix describes RMAN syntax that is deprecated (that is, no longer supported) but still functional. AppendixB, "RMAN Compatibility" This appendix shows the compatible combinations of the RMAN executable, target database, recovery catalog database, and recovery catalog schema. x

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.