Oracle® Database Backup and Recovery Referencepdf.pdf
(
8171 KB
)
Pobierz
Oracle® Database
Backup and Recovery Reference
11g Release 1 (11.1)
B28273-03
August 2008
This book provides complete reference information on the
Recovery Manager client, including command syntax, a
compatibility matrix, and recovery catalog views.
Oracle Database Backup and Recovery Reference, 11g Release 1 (11.1)
B28273-03
Copyright © 2004, 2008, Oracle. All rights reserved.
Primary Author: Lance Ashdown
Contributing Author: Antonio Romero, Katherine Weill
Contributors: Tammy Bednar, Anand Beldalker, Timothy Chien, Mark Dilman, Senad Dizdar, Raymond
Guzman, Wei Hu, Alex Hwang, Ashok Joshi, J. William Lee, Reem Munakash, Muthu Olagappan, Cris
Pedregal-Martin, Samitha Samaranayake, Francisco Sanchez, Vivian Schupmann, Mike Stewart, Steven
Wertheimer, Wanli Yang
The Programs (which include both the software and documentation) contain proprietary information; 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, except to the extent required to obtain interoperability with other
independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in
the documentation, please report them to us in writing. This document is not warranted to be 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.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on
behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data
delivered to U.S. Government customers are "commercial computer software" or "commercial technical data"
pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As
such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation
and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license
agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial
Computer Software—Restricted Rights (June 1987). Oracle USA, Inc., 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 we disclaim liability for any damages caused by such use of the Programs.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners.
The Programs may provide links to Web sites and access to content, products, and services from third
parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites.
You bear all risks associated with the use of such content. If you choose to purchase any products or services
from a third party, the relationship is directly between you and the third party. Oracle is not responsible for:
(a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the
third party, including delivery of products or services and warranty obligations related to purchased
products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from
dealing with any third party.
Contents
Preface
...............................................................................................................................................................
vii
Audience......................................................................................................................................................
vii
Documentation Accessibility ....................................................................................................................
vii
Related Documentation ............................................................................................................................
viii
Conventions ...............................................................................................................................................
viii
1 About RMAN Commands
Structure of RMAN Command Entries................................................................................................
RMAN Syntax Diagrams
........................................................................................................................
Keywords in RMAN Syntax .............................................................................................................
Placeholders in RMAN Syntax.........................................................................................................
Quotes in RMAN Syntax...................................................................................................................
Format of RMAN Commands
................................................................................................................
RMAN Reserved Words
..........................................................................................................................
Summary of RMAN Commands
...........................................................................................................
Summary of RMAN Subclauses............................................................................................................
1-1
1-2
1-2
1-2
1-3
1-3
1-4
1-5
1-8
2
RMAN Commands
@ (at sign)
...................................................................................................................................................
2-2
@@ (double at sign)
..................................................................................................................................
2-4
ADVISE FAILURE
...................................................................................................................................
2-6
ALLOCATE CHANNEL
.......................................................................................................................
2-10
ALLOCATE CHANNEL FOR MAINTENANCE
............................................................................
2-13
ALTER DATABASE
..............................................................................................................................
2-17
BACKUP..................................................................................................................................................
2-19
CATALOG...............................................................................................................................................
2-52
CHANGE
................................................................................................................................................
2-57
CONFIGURE..........................................................................................................................................
2-65
CONNECT
..............................................................................................................................................
2-85
CONVERT
..............................................................................................................................................
2-88
CREATE CATALOG............................................................................................................................
2-101
CREATE SCRIPT
.................................................................................................................................
2-104
CROSSCHECK
....................................................................................................................................
2-108
DELETE
.................................................................................................................................................
2-112
DELETE SCRIPT
.................................................................................................................................
2-118
iii
DROP CATALOG................................................................................................................................
DROP DATABASE..............................................................................................................................
DUPLICATE
.........................................................................................................................................
EXECUTE SCRIPT...............................................................................................................................
EXIT........................................................................................................................................................
FLASHBACK DATABASE
................................................................................................................
GRANT..................................................................................................................................................
HOST
.....................................................................................................................................................
IMPORT CATALOG
...........................................................................................................................
LIST........................................................................................................................................................
PRINT SCRIPT
....................................................................................................................................
QUIT
......................................................................................................................................................
RECOVER
.............................................................................................................................................
REGISTER DATABASE
.....................................................................................................................
RELEASE CHANNEL.........................................................................................................................
REPAIR FAILURE
...............................................................................................................................
REPLACE SCRIPT...............................................................................................................................
REPORT
................................................................................................................................................
RESET DATABASE.............................................................................................................................
RESTORE..............................................................................................................................................
RESYNC CATALOG
...........................................................................................................................
REVOKE................................................................................................................................................
RMAN....................................................................................................................................................
RUN........................................................................................................................................................
SEND
.....................................................................................................................................................
SET
.........................................................................................................................................................
SHOW....................................................................................................................................................
SHUTDOWN
.......................................................................................................................................
SPOOL...................................................................................................................................................
SQL.........................................................................................................................................................
STARTUP
..............................................................................................................................................
SWITCH
................................................................................................................................................
TRANSPORT TABLESPACE
............................................................................................................
UNREGISTER......................................................................................................................................
UPGRADE CATALOG
.......................................................................................................................
VALIDATE
............................................................................................................................................
2-120
2-122
2-123
2-141
2-144
2-145
2-151
2-154
2-156
2-159
2-180
2-182
2-183
2-196
2-198
2-201
2-205
2-208
2-216
2-218
2-233
2-237
2-239
2-245
2-248
2-250
2-259
2-262
2-264
2-265
2-267
2-269
2-273
2-279
2-282
2-284
3
RMAN Subclauses
allocOperandList
......................................................................................................................................
3-2
archivelogRecordSpecifier
.....................................................................................................................
3-6
completedTimeSpec..............................................................................................................................
3-10
connectStringSpec
.................................................................................................................................
3-12
datafileSpec
............................................................................................................................................
3-14
deviceSpecifier.......................................................................................................................................
3-15
fileNameConversionSpec
....................................................................................................................
3-16
forDbUniqueNameOption
..................................................................................................................
3-19
foreignlogRecordSpecifier
..................................................................................................................
3-20
iv
formatSpec
..............................................................................................................................................
keepOption
.............................................................................................................................................
listObjList
...............................................................................................................................................
maintQualifier
.......................................................................................................................................
maintSpec................................................................................................................................................
obsOperandList
.....................................................................................................................................
recordSpec...............................................................................................................................................
tempfileSpec...........................................................................................................................................
untilClause..............................................................................................................................................
3-22
3-25
3-28
3-31
3-33
3-35
3-36
3-38
3-39
4
Recovery Catalog Views
Summary of RMAN Recovery Catalog Views....................................................................................
4-1
RC_ARCHIVED_LOG
............................................................................................................................
4-4
RC_BACKUP_ARCHIVELOG_DETAILS...........................................................................................
4-6
RC_BACKUP_ARCHIVELOG_SUMMARY
......................................................................................
4-7
RC_BACKUP_CONTROLFILE
.............................................................................................................
4-8
RC_BACKUP_CONTROLFILE_DETAILS.......................................................................................
4-10
RC_BACKUP_CONTROLFILE_SUMMARY
..................................................................................
4-11
RC_BACKUP_COPY_DETAILS.........................................................................................................
4-12
RC_BACKUP_COPY_SUMMARY
....................................................................................................
4-13
RC_BACKUP_CORRUPTION............................................................................................................
4-14
RC_BACKUP_DATAFILE....................................................................................................................
4-15
RC_BACKUP_DATAFILE_DETAILS
................................................................................................
4-17
RC_BACKUP_DATAFILE_SUMMARY............................................................................................
4-18
RC_BACKUP_FILES.............................................................................................................................
4-19
RC_BACKUP_PIECE
............................................................................................................................
4-22
RC_BACKUP_PIECE_DETAILS
........................................................................................................
4-24
RC_BACKUP_REDOLOG...................................................................................................................
4-26
RC_BACKUP_SET
................................................................................................................................
4-28
RC_BACKUP_SET_DETAILS.............................................................................................................
4-30
RC_BACKUP_SET_SUMMARY
........................................................................................................
4-32
RC_BACKUP_SPFILE
..........................................................................................................................
4-33
RC_BACKUP_SPFILE_DETAILS.......................................................................................................
4-34
RC_BACKUP_SPFILE_SUMMARY
..................................................................................................
4-35
RC_CHECKPOINT
...............................................................................................................................
4-36
RC_CONTROLFILE_COPY
................................................................................................................
4-37
RC_COPY_CORRUPTION..................................................................................................................
4-39
RC_DATABASE
.....................................................................................................................................
4-40
RC_DATABASE_BLOCK_CORRUPTION
......................................................................................
4-41
RC_DATABASE_INCARNATION
....................................................................................................
4-42
RC_DATAFILE
.......................................................................................................................................
4-43
RC_DATAFILE_COPY..........................................................................................................................
4-45
RC_LOG_HISTORY
.............................................................................................................................
4-47
RC_OFFLINE_RANGE
........................................................................................................................
4-48
RC_PROXY_ARCHIVEDLOG
...........................................................................................................
4-49
RC_PROXY_ARCHIVELOG_DETAILS
...........................................................................................
4-51
RC_PROXY_ARCHIVELOG_SUMMARY.......................................................................................
4-52
v
Plik z chomika:
musli_com
Inne pliki z tego folderu:
EJB 3.0 Database Persistence.pdf
(27361 KB)
Expert Oracle Application Express Security.pdf
(19142 KB)
Oracle 10G By Examples 2004.zip
(36708 KB)
Crystal Reports 9 On Oracle 2003.chm
(10340 KB)
Getting Started with Oracle BPM Suite 11gR1.pdf
(24547 KB)
Inne foldery tego chomika:
mssql
mysql
postgresql
SQL
SQLServer-php
Zgłoś jeśli
naruszono regulamin