How to copy a datafile from ASM to a file system not using RMAN
文章參考:http://blog.csdn.net/tianlesoftware/article/details/6342763
1.首先RAC環境下資料檔案的位置
2.在目標資料庫上建立一個源目錄source_dir
3.在目標資料庫上建立一個目標目錄
4.執行DBMS_FILE_TRANSFER包
5.檢視是否成功複製
1.首先RAC環境下資料檔案的位置
SQL> select name from v$datafile; NAME -------------------------------------------------------------------------------- +RAC_GROUP/hhpen1/datafile/system.277.856639363 +RAC_GROUP/hhpen1/datafile/undotbs1.276.856639369 +RAC_GROUP/hhpen1/datafile/sysaux.268.856639367 +RAC_GROUP/hhpen1/datafile/users.270.856639369 +RAC_GROUP/hhpen1/datafile/undotbs2.278.856639551 |
SQL> create or replace directory source_dir as '+RAC_GROUP/hhpen1/datafile'; Directory created. |
SQL> create or replace directory data_dir as '/u01/app/arch_bak/bak_dest'; Directory created. |
SQL> BEGIN 2 dbms_file_transfer.copy_file( 3 source_directory_object =>'source_dir', 4 source_file_name =>'system.277.856639363', 5 destination_directory_object =>'data_dir', 6 destination_file_name =>'system.277.856639363'); 7 END; 8 / PL/SQL procedure successfully completed. |
[oracle@rac1 bak_dest]$ ll total 492012 -rw-r----- 1 oracle oinstall 503324672 Aug 28 16:49 system.277.856639363 [oracle@rac1 bak_dest]$ pwd /u01/app/arch_bak/bak_dest |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29634949/viewspace-1259648/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Move datafile:From File System to ASMASM
- Move datafile:From ASM to File SystemASM
- FROM ASM Migrating to FILE SYSTEM Using RMAN(三)ASM
- rman copy asm datafile(rename asm datafile)ASM
- How To Restore 12cR1DB to New Host File System using RMAN(一)REST
- Duplicate Database from ASM to Non- ASM Database Using RMANDatabaseASM
- Step-By-Step Guide To Create Physical Standby On Normal File System For ASM Primary using RMANGUIIDEORMASM
- Oracle 使用RMAN COPY 移動 Datafile 位置Oracle
- Create Physical stdby Using RMAN Duplicate In ASM File... For ASM Prim-837102.1ASM
- How To Copy Any Text To Clipboard From Terminal In UbuntuUbuntu
- How to release space from database( in other words: resize datafile ) (zt)Database
- How to release space from database( in other words: resize datafile ) 【zt】Database
- How to Quickly Create a Copy of a Table using Transact-SQLUISQL
- Oracle ACFS ( ASM Cluster File System )OracleASM
- RMAN-06100: no channel to restore a backup or copy of datafileREST
- Unable to View Chinese Font When Using Tools>Copy FileView
- Catalog archivelog from file system to Asmdg;HiveASM
- How to Copy ASM Files Across Nodes [ID 1147859.1]ASMROS
- RMAN-06023 no backup or copy of datafile 1 found to restoreREST
- Oracle ASM How many allocation units per fileOracleASM
- How to move ASM database files from one diskgroup to anotherASMDatabase
- Migrating to ASM Using RMAN(二)ASM
- Migrating to ASM Using RMAN(一)ASM
- How to restore and recover a database from an RMAN backup_881395.1RESTDatabase
- RMAN Duplicate Database From RAC ASM To RAC ASM [ID 461479.1]DatabaseASM
- How To Upgrade ASM from 10.2 to 11.1 (RAC)ASM
- ASM叢集檔案系統ACFS(ASM Cluster File System)ASM
- How to serve uncommon file in WebDAV using IIS in Win ServerWebServer
- how to remove datafile pathREM
- using dbms_file_transfer transportable tablespace between asmASM
- How to free space from an ASM diskgroup? (Doc ID 1553744.1)ASM
- Case two -- Recover a datafile in primary site from the backup taken in standby site without using c
- 冷備_並行copy datafile並行
- Case One -- Recover a datafile in primary site from the backup taken in standby site using catalog d
- 使用rman copy將資料庫遷移到ASM例項資料庫ASM
- Converting Oracle Database from Linux to Windows using RMANOracleDatabaseLinuxWindows
- Converting Oracle Database from Windows to Linux using RMANOracleDatabaseWindowsLinux
- Creating a Physical Standby using RMAN DUPLICATE FROM ACTIVE DATABASEDatabase