RMAN10g: backup copy of database (Doc ID 266980.1)
RMAN10g: backup copy of database (Doc ID 266980.1)
***Checked for relevance on 22-Feb-2013*** *** This article is being delivered in Draft form and may contain errors. Please use the MetaLink "Feedback" button to advise Oracle of any issues related to this article. *** PURPOSE ------- To resolve RMAN-06587 when making an image copy of the entire database. SCOPE & APPLICATION ------------------- All RMAN users, intermediate to advanced RMAN 10g: backup copy of database -------------------------------- In previous Oracle database releases, you could backup the entire database into backup sets. With Oracle Database 10g, you can backup the entire database to image copies. However, you may encounter the RMAN-06587 when there is no available backup copies of the datafiles, as shown in the example below. RMAN> list copy; specification does not match any archive log in the recovery catalog RMAN> backup copy of database; Starting backup at 31-MAR-2004 03:53:54 using channel ORA_DISK_1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of backup command at 03/31/2004 03:53:54 RMAN-06587: one or more datafilecopies were not found RMAN-06585: no copy of datafile 5 found RMAN-06585: no copy of datafile 4 found RMAN-06585: no copy of datafile 3 found RMAN-06585: no copy of datafile 2 found RMAN-06585: no copy of datafile 1 found RMAN> backup as copy database; Starting backup at 31-MAR-2004 03:54:03 using channel ORA_DISK_1 channel ORA_DISK_1: starting datafile copy input datafile fno=00001 name=/usr/oracle/oradata/RH10/system01.dbf output filename=/usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_system_06o1scs6_.dbf tag=TAG20040331T035403 recid=25 stamp=522215699 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:01:05 channel ORA_DISK_1: starting datafile copy input datafile fno=00003 name=/usr/oracle/oradata/RH10/sysaux01.dbf output filename=/usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_sysaux_06o1vf5f_.dbf tag=TAG20040331T035403 recid=26 stamp=522215759 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:55 channel ORA_DISK_1: starting datafile copy input datafile fno=00005 name=/usr/oracle/oradata/RH10/example01.dbf output filename=/usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_example_06o1x4hv_.dbf tag=TAG20040331T035403 recid=27 stamp=522215780 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:25 channel ORA_DISK_1: starting datafile copy input datafile fno=00002 name=/usr/oracle/oradata/RH10/undotbs01.dbf output filename=/usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_undotbs1_06o1xxw0_.dbf tag=TAG20040331T035403 recid=28 stamp=522215795 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07 channel ORA_DISK_1: starting datafile copy input datafile fno=00004 name=/usr/oracle/oradata/RH10/users01.dbf output filename=/usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_users_06o1y55o_.dbf tag=TAG20040331T035403 recid=29 stamp=522215797 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01 channel ORA_DISK_1: starting datafile copy copying current controlfile output filename=/usr/oracle/flash_recovery_area/RH10/controlfile/o1_mf_TAG20040331T035403_06o1y6gc_.ctl tag=TAG20040331T035403 recid=30 stamp=522215798 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01 channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset including current SPFILE in backupset channel ORA_DISK_1: starting piece 1 at 31-MAR-2004 03:56:39 channel ORA_DISK_1: finished piece 1 at 31-MAR-2004 03:56:40 piece handle=/usr/oracle/flash_recovery_area/RH10/backupset/2004_03_31/o1_mf_nns nf_TAG20040331T035403_06o1y7pw_.bkp comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01 Finished backup at 31-MAR-2004 03:56:40 RMAN> backup copy of database; Starting backup at 31-MAR-2004 03:56:58 using channel ORA_DISK_1 channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: including datafilecopy of datafile 00001 in backupset input filename=/usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_system_06o1scs6_.dbf channel ORA_DISK_1: including datafilecopy of datafile 00003 in backupset input filename=/usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_sysaux_06o1vf5f_.dbf channel ORA_DISK_1: including datafilecopy of datafile 00005 in backupset input filename=/usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_example_06o1x4hv_.dbf channel ORA_DISK_1: including datafilecopy of datafile 00002 in backupset input filename=/usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_undotbs1_06o1xxw0_.dbf channel ORA_DISK_1: including datafilecopy of datafile 00004 in backupset input filename=/usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_users_06o1y55o_.dbf channel ORA_DISK_1: starting piece 1 at 31-MAR-2004 03:56:59 channel ORA_DISK_1: finished piece 1 at 31-MAR-2004 03:58:54 piece handle=/usr/oracle/flash_recovery_area/RH10/backupset/2004_03_31/o1_mf_nnndf__06o1yv86_.bkp comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:01:55 Finished backup at 31-MAR-2004 03:58:54 RMAN> list copy; specification does not match any archive log in the recovery catalog List of Datafile Copies Key File S Completion Time Ckp SCN Ckp Time Name ------- ---- - -------------------- ---------- -------------------- ---- 25 1 A 31-MAR-2004 03:54:59 34739482 31-MAR-2004 03:54:03 /usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_system_06o1scs6_.dbf 28 2 A 31-MAR-2004 03:56:35 34739551 31-MAR-2004 03:56:29 /usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_undotbs1_06o1xxw0_.dbf 26 3 A 31-MAR-2004 03:55:59 34739509 31-MAR-2004 03:55:09 /usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_sysaux_06o1vf5f_.dbf 29 4 A 31-MAR-2004 03:56:37 34739555 31-MAR-2004 03:56:37 /usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_users_06o1y55o_.dbf 27 5 A 31-MAR-2004 03:56:20 34739535 31-MAR-2004 03:56:04 /usr/oracle/flash_recovery_area/RH10/datafile/o1_mf_example_06o1x4hv_.dbf List of Controlfile Copies Key S Completion Time Ckp SCN Ckp Time Name ------- - -------------------- ---------- -------------------- ---- 30 A 31-MAR-2004 03:56:38 34739556 31-MAR-2004 03:56:37 /usr/oracle/flash_recovery_area/RH10/controlfile/o1_mf_TAG20040331T035403_06o1y6gc_.ctl RMAN> list backup; List of Backup Sets =================== BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ -------------------- 43 Full 0 DISK 00:00:00 31-MAR-2004 03:56:39 BP Key: 43 Status: AVAILABLE Compressed: NO Tag: TAG20040331T035403 Piece Name: /usr/oracle/flash_recovery_area/RH10/backupset/2004_03_31/o1_mf_nnsnf_TAG20040331T035403_06o1y7pw_.bkp SPFILE Included: Modification time: 31-MAR-2004 03:46:09 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ -------------------- 44 Full 737M DISK 00:01:52 31-MAR-2004 03:58:51 BP Key: 44 Status: AVAILABLE Compressed: NO Tag: Piece Name: /usr/oracle/flash_recovery_area/RH10/backupset/2004_03_31/o1_mf_nnndf__06o1yv86_.bkp List of Datafiles in backup set 44 File LV Type Ckp SCN Ckp Time Name ---- -- ---- ---------- -------------------- ---- 1 Full 34739482 31-MAR-2004 03:54:03 /usr/oracle/oradata/RH10/system01.dbf 2 Full 34739551 31-MAR-2004 03:56:29 /usr/oracle/oradata/RH10/undotbs01.dbf 3 Full 34739509 31-MAR-2004 03:55:09 /usr/oracle/oradata/RH10/sysaux01.dbf 4 Full 34739555 31-MAR-2004 03:56:37 /usr/oracle/oradata/RH10/users01.dbf 5 Full 34739535 31-MAR-2004 03:56:04 /usr/oracle/oradata/RH10/example01.dbf RELATED DOCUMENTS ----------------- Oracle Database 10g: New Performance and Availability Features
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1160605/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to Collect Diagnostics for Database Hanging Issues (Doc ID 452358.1)Database
- [轉帖]Release Schedule of Current Database Releases (Doc ID 742060.1)Database
- SQLBackupAndFTP12.0 failed to backup database with full backup typeSQLFTPAIDatabase
- recover database using backup controlfile理解Database
- Crunchy PostgreSQL database backup via pgo commandSQLDatabaseGo
- Oracle 最新PSU (Doc ID 2118136.2)Oracle
- expdp/impdp變慢 (Doc ID 2469587.1)
- Reading and Understanding Systemstate Dumps (Doc ID 423153.1)
- RMAN -- Frequently Asked Question (FAQ) (Doc ID 469777.1)
- Oracle 下載最新psu (Doc ID 2118136.2)Oracle
- 理解RMAN backup database plus archivelog delete all input命令DatabaseHivedelete
- Linux 命令(210)—— ssh-copy-id 命令Linux
- bash: ssh-copy-id: command not found...
- PRCT-1011 : Failed to run "oifcfg" (Doc ID 1380183.1)AI
- PL/SQL package SYS.DBMS_BACKUP_RESTORE version 19.16.00.00 in TARGET database isSQLPackageRESTDatabase
- 【CURSOR】How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- Migration Of An Oracle Database Across OS Platforms [ID 733205.1]OracleDatabaseROSPlatform
- rfs (PID:146054): Database mount ID mismatch案例Database
- Physical Standby Switchover_status Showing Not Allowed. (Doc ID 1392763.1)
- oracle11g: Scheduler Maintenance Tasks or Autotasks (Doc ID 756734.1)OracleAINaN
- 【DBA】Relinking Oracle Home 常見問題 (Doc ID 2048232.1)Oracle
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- 11g-Reduce Transportable Tablespace Downtime using XTTS (Doc ID 1389592.1)TTS
- Copy of a Copy of a Copy
- Can GoldenGate Replicate An Oracle Table That Contains Only CLOB Column(s)? (Doc ID 971833.1)GoOracleAI
- 12c DG新特性 - Active Data Guard Far Sync (Doc ID 2179719.1)
- 【GRID】Grid Infrastructure 啟動的五大問題 (Doc ID 1526147.1)ASTStruct
- 【DATAGUARD】Data Guard 12C 新特性:Far Sync Standby (Doc ID 2179719.1)
- SqlServer 備份集和備份片以及mirror的backup_set_idSQLServer
- [重慶思莊每日技術分享]-ORA-1142 signalled during: ALTER DATABASE END BACKUPDatabase
- 【expect】用expect實現scp/ssh-copy-id的非互動
- ssh-copy-id登陸無需重複輸入密碼密碼
- ssh-copy-id三步實現SSH免密登入
- ORA-04063: package body SYS.DBMS_REGISTRY_SYS has errors (Doc ID 2165402.1)PackageError
- 【ASM】ORA-27504 ORA-27300 ORA-27303 while starting ASM (Doc ID 2281441.1)ASMWhile
- 【RAC】Oracle 12c以及以上版本的diagsnap是什麼? (Doc ID 2469643.1)Oracle
- sqlserver docSQLServer
- md_backup
- COPY & SYS