Here is the another simple trick , I learned in my recent project. This command helps to build a copy script a database with raw-to- raw or raw to regular file system.
If possible, we can even use this step for ASM database too. but make sure we create the ASM Disk groups. We still need to explore this method in ASM.
select 'dd if='||FILE_NAME||' bs=256k|gzip --fast |ssh urban "gunzip|dd '||' of='||replace(FILE_NAME,('SOURCE_SID'),('TARGET_SID'))||' bs=256k' ||' " ' from dba_data_files order by file_name;
@idbas.com we take every optimize approach to accomplish.We always give 100% database availability using Framework Approach.
Disclaimer : We are not responsible for commands.Information for reference only,not for execution. Before executing strongly recomend to test it
If possible, we can even use this step for ASM database too. but make sure we create the ASM Disk groups. We still need to explore this method in ASM.
select 'dd if='||FILE_NAME||' bs=256k|gzip --fast |ssh urban "gunzip|dd '||' of='||replace(FILE_NAME,('SOURCE_SID'),('TARGET_SID'))||' bs=256k' ||' " ' from dba_data_files order by file_name;
@idbas.com we take every optimize approach to accomplish.We always give 100% database availability using Framework Approach.
Disclaimer : We are not responsible for commands.Information for reference only,not for execution. Before executing strongly recomend to test it









