Oracle RMAN 11g Backup and Recovery- P13

50 488 0
Oracle RMAN 11g Backup and Recovery- P13

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

568 Part V: Appendixes backupSpec Parameter Syntax Diagram archivelogRecordSpecifier ALL completedTimeSpec , ’ tag_name FROM TAG BACKUPSET ’ , primaryKey ’ CONTROLFILECOPY filename ALL LIKE ( ’ string_pattern ’ ’ backupSpecOperand copyOfSpec CURRENT CONTROLFILE DATABASE datafileCopySpec , DATAFILE datafileSpec RECOVERY AREA DB_RECOVERY_FILE_DEST RECOVERY FILES SPFILE , ’ TABLESPACE ’ tablespace_name Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark ) Appendix A: RMAN Syntax Reference Guide backupSpecOperand Parameter Syntax Diagram ’ ’ channel_id CHANNEL ALL INPUT DELETE DISKRATIO integer integer FILESPERSET FORCE , formatSpec AUXILIARY FORMAT NEW , FORMAT formatSpec , TO DESTINATION ’ toDestSpec tag_name FROM TAG ’ INCLUDE CURRENT CONTROLFILE keepOption MAXSETSIZE sizeSpec notBackedUpSpec NOEXCLUDE POOL integer REUSE SECTION SIZE sizeSpec skipSpec ’ TAG tag_name ’ Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 569 570 Part V: Appendixes backupTypeSpec Parameter Syntax Diagram COMPRESSED BACKUPSET AS COPY copyOfSpec Parameter Syntax Diagram DATABASE , COPY OF DATAFILE datafileSpec , ’ ’ tablespace_name TABLESPACE datafileCopySpec Parameter Syntax Diagram , ’ DATAFILECOPY ’ filename ALL LIKE ’ string_pattern ’ NODUPLICATES , ’ FROM TAG tag_name ’ duration Parameter Syntax Diagram MINIMIZE DURATION integer : integer LOAD TIME PARTIAL Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark Appendix A: RMAN Syntax Reference Guide forRecoverOfSpec Parameter Syntax Diagram DATAFILECOPY FORMAT ’ WITH TAG formatSpec tag_name ’ COPY FOR RECOVER OF ’ TAG ’ tag_name notBackedUpSpec Parameter Syntax Diagram integer TIMES SINCE TIME ’ date_string ’ NOT BACKED UP sizeSpec Parameter Syntax Diagram G K integer M skipSpec Parameter Syntax Diagram INACCESSIBLE SKIP OFFLINE READONLY Chapter Reference The backup command is covered in detail in Chapter 11 Examples backup backup backup backup database plus archivelog delete input; tablespace users, system; as copy datafile 1,2,3; incremental level check logical database plus archivelog; Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 571 572 Part V: Appendixes catalog Command The catalog command allows you to the following: ■ Add metadata about backup pieces and image copies to the database control file and recovery catalog ■ Catalog valid backup sets, datafile copies, and archived redo logs in the flash recovery area (FRA) ■ Catalog valid backups in ASM, OMF, and user-defined disk locations ■ Record a datafile copy as a level backup in the RMAN repository, so you can use that backup as the source of an incremental backup Syntax Diagram , ARCHIVELOG BACKUPPIECE ’ filename ’ CONTROLFILECOPY LEVEL CATALOG ’ , DATAFILECOPY ’ filename integer TAG tag_name ’ ’ RECOVERY AREA NOPROMPT DB_RECOVERY_FILE_DEST START WITH ’ string_pattern ’ Chapter Reference Chapter 16 provides more information on the catalog command Examples catalog recovery area noprompt; catalog datafilecopy 'd:\oracle\oraback\system01.bak' 'd:\oracle\oraback\users01.bak' level 0; Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark ; Appendix A: RMAN Syntax Reference Guide 573 change Command The change command is used to mark backup pieces, image copies, and archived redo logs with a status of AVAILABLE if they currently have a status of UNAVAILABLE Additionally, this command can totally remove a backup or copy from a repository, and can also be used to modify the retention policy that is effective for a given backup or copy Syntax Diagram AVAILABLE , keepOption forDbUniqueNameOption maintSpec DEVICE TYPE deviceSpecifier resetDbUniqueNameOption UNAVAILABLE UNCATALOG CHANGE ; changeFailure ’ DB_UNIQUE_NAME FROM ’ ’ db_unique_name ’ db_unique_name TO maintSpec Parameter Syntax Diagram OF listObjList BACKUP maintQualifier archivelogRecordSpecifier OF listObjList COPY foreignlogRecordSpecifier , deviceSpecifier DEVICE TYPE recordSpec forDbUniqueNameOption Parameter Syntax Diagram DB_UNIQUE_NAME ALL FOR DB_UNIQUE_NAME ’ db_unique_name ’ Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 574 Part V: Appendixes resetDbUniqueNameOption Parameter Syntax Diagram ’ ’ db_unique_name TO RESET DB_UNIQUE_NAME changeFailure Parameter Syntax Diagram ALL , CRITICAL FAILURE EXCLUDE FAILURE HIGH failureNumber LOW CLOSED PRIORITY , NOPROMPT HIGH LOW failureNumber Chapter Reference Chapter 16 contains a discussion on the use of the change command Example change backup tag 'Gold Backup' keep forever nologs; configure Command The configure command allows you to configure persistent RMAN configuration settings These settings apply to all RMAN sessions, unless they are changed or disabled These settings are stored in the database control file Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark Appendix A: RMAN Syntax Reference Guide 575 Syntax Diagram ’ ’ DB_UNIQUE_NAME CLEAR db_unique_name CONNECT IDENTIFIER quoted_string delalConf AUXNAME FOR DATAFILE CLEAR datafileSpec TO ’ filename ’ backupConf cfauConf CLEAR CONFIGURE OPTIMIZE FOR LOAD COMPRESSION ALGORITHM AS OF RELEASE TRUE FALSE quoted_string quoted_string deviceConf ALGORITHM ENCRYPTION CLEAR quoted_string ON DATABASE FOR ’ SNAPSHOT CONTROLFILE NAME ’ tablespace_name TABLESPACE OFF CLEAR CLEAR TO ’ filename ’ forDbUniqueNameOption ; Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 576 Part V: Appendixes delalConf Parameter Syntax Diagram CLEAR ALL APPLIED ON ARCHIVELOG DELETION POLICY BACKED UP TO STANDBY integer TIMES TO DEVICE TYPE deviceSpecifier NONE ALL SHIPPED TO STANDBY backupConf Parameter Syntax Diagram ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DATAFILE deviceSpecifier CLEAR TO integer ON BACKUP OPTIMIZATION OFF CLEAR ’ EXCLUDE FOR TABLESPACE ’ CLEAR tablespace_name CLEAR MAXSETSIZE sizeSpec TO UNLIMITED CLEAR RETENTION POLICY NONE TO RECOVERY WINDOW OF REDUNDANCY integer DAYS integer cfauConf Parameter Syntax Diagram ON OFF CONTROLFILE AUTOBACKUP CLEAR FORMAT FOR DEVICE TYPE deviceSpecifier CLEAR TO formatSpec Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark Appendix A: RMAN Syntax Reference Guide deviceConf Parameter Syntax Diagram integer AUXILIARY CHANNEL DEFAULT DEVICE TYPE allocOperandList deviceSpecifier DEVICE TYPE CLEAR CLEAR TO deviceSpecifier CLEAR DEVICE TYPE COMPRESSED deviceSpecifier BACKUP TYPE TO PARALLELISM BACKUPSET COPY integer forDbUniqueNameOption Parameter Syntax Diagram DB_UNIQUE_NAME ALL FOR DB_UNIQUE_NAME ’ db_unique_name ’ Chapter Reference The configure command is covered in Chapter in detail Examples configure retention policy to recovery window of 180 days; configure backup optimization off; configure default device type to 'sbt tape'; configure controlfile autobackup on; configure controlfile autobackup format for device type 'sbt tape' ''%f''; configure controlfile autobackup format for device type disk to '/oradata/oraback/rman/robone/%f'; configure device type 'sbt tape' parallelism 4; configure device type disk parallelism 2; configure datafile backup copies for device type 'sbt tape' to 1; configure datafile backup copies for device type disk to 1; configure archivelog backup copies for device type 'sbt tape' to 1; configure archivelog backup copies for device type disk to 1; configure channel device type 'sbt tape' parms 'env (tdpo optfile /opt/oracle/rman/tdpo a273.opt)' rate g format 'a273 %u' maxpiecesize 20 g maxopenfiles 64; configure channel device type disk format '/oradata/orabck01/rman/a273/ora a273 df%t s%s s'; configure auxiliary channel device type 'sbt tape' parms 'env (tdpo optfile /opt/oracle/rman/tdpo a273 dup.opt)' Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 577 ... sys/Robert@maindb connect catalog rman/ rman@rmancat convert Command The convert command is used when moving tablespaces and databases across platforms If the source and destination platforms are... sets and backup set pieces listed in the control file or recovery catalog exist on the backup media Any physical backup file (backup set piece, copy, and so forth) that is not found on backup. .. the use of the change command Example change backup tag ''Gold Backup'' keep forever nologs; configure Command The configure command allows you to configure persistent RMAN configuration settings

Ngày đăng: 28/10/2013, 21:15

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan