Recommendations xtts directory and / RMAN backup path directory nfs shared use ALTER System SET to false deferred_segment_creation = SID = ' * ' scope = SPFILE; # #################### ###### increment temporary files ########################## in asm ######### xtt.properties the Tablespaces = SPROD_TBS, IDX_TBS PlatformID = 13 is dfcopydir = / xttrman / full local full backup data path backupformat = / xttrman / incr local incremental backup data path stageondest path restoration data = / xttrman / full target terminal required, subsequently generated here also copied to increment storageondest = the dATA + / Prod / datafile target-side data file path - C position when put backupondest = the dATA + / Prod /Temporary path datafile target end delta files, done after the increment will be automatically deleted, if you put asm you need to set asm_home and asm_sid asm_home = / the Oracle / App / Grid / Product / 11.2 . 0 / Grid asm_sid = + ASM Parallel = 2 rollparallel = 2 getfileparallel = 2 # ############################ recommend using this method, increment the temporary file in the file system ## xtt.properties ####################### #### the Tablespaces = SPROD_TBS, IDX_TBS PlatformID = 13 is dfcopydir = / xttrman / Full backupformat = / xttrman / incr stageondest = / xttrman / Full storageondest = the DATA + / Prod / datafile backupondest = / xttrman / REC # asm_home = / Oracle / App / Grid / Product / 11.2.0 / Grid # asm_sid the ASM + = Parallel = 2 rollparallel = 2 getfileparallel = 2 # #### ################################################## #################################### source full backup script CAT full_backup . SH Export the TMPDIR = / Oracle / Soft / xttconvert Perl xttdriver .pl - P source performs full backup SH full_backup . SH generated file [oracle @localhost xttconvert]$ cat xttplan.txt SPROD_TBS::::967892 5 6 IDX_TBS::::967892 7 [oracle@localhost xttconvert]$ cat xttplan.txt SPROD_TBS::::967892 5 6 IDX_TBS::::967892 7 [oracle@localhost xttconvert]$ cat rmanconvert.cmd host 'echo ts::SPROD_TBS'; convert from platform 'Linux x86 64-bit' datafile '/xttrman/full/SPROD_TBS_5.tf' , ' /xttrman/full/SPROD_TBS_6.tf ' the format ' + the DATA / Prod / datafile /% f.dbf% of N_ ' Parallelism 2 ; Host ' echo IDX_TBS TS :: ' ; Convert from Platform ' the Linux the x86-64' bit ' datafile ' /xttrman/full/IDX_TBS_7.tf ' the format ' + the DATA / Prod / datafile /% f.dbf% of N_ ' Parallelism 2 ; sink, perform the restoring conversion VI convert . SH Export XTTDEBUG = 1 Export TMPDIR= / Oracle / Soft / xttconvert Perl xttdriver .pl - C SH Convert . SH VI do_incr . SH Export the TMPDIR = / Oracle / Soft / xttconvert Perl xttdriver .pl - I source incremental backup SH do_incr . SH [Oracle @localhost xttconvert] CAT xttplan.txt $. new new SPROD_TBS :::: 968 168 . 5 . 6 IDX_TBS :::: 968 196 . 7 [Oracle @localhost xttconvert] $ CAT tsbkupmap. TXT IDX_TBS :: . 7 ::: . 1 = 07u31cir_1_1 SPROD_TBS :: 5 , 6 ::: 1 = 06u31ciq_1_1 note every time you need to finish the incremental incremental copies of data files to a directory full backup and restore complete deletion / xttrman / incr / * cp / xttrman / incr / * / xttrman / full / target end incremental recovery vi restore_incr . SH Export TMPDIR = / the Oracle / Soft / xttconvert perl xttdriver .pl - r Note that if an incremental restore files in the following error may occur asm, can be ignored, this is xtts not automatically delete temporary files of asm of Can 't locate strict.pm in @INC (@INC contains: /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0 /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl/5.10.0 /oracle/app/grid/product/11.2.0/grid/lib /oracle/app/grid/product/11.2.0/grid/lib/asmcmd /oracle/app/grid/product/11.2.0/grid/rdbms/lib/asmcmd /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0 /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl/5.10.0 /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0 /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl/5.10.0 /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl .) at /oracle/app/grid/product/11.2.0/grid/bin/asmcmdcore line 143. BEGIN failed--compilation aborted at /oracle/app/grid/product/11.2.0/grid/bin/asmcmdcore line 143. Can't locate strict.pm in @INC (@INC contains: /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0 /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl/5.10.0 /oracle/app/grid/product/11.2.0/grid/lib /oracle/app/grid/product/11.2.0/grid/lib/asmcmd /oracle/app/grid/product/11.2.0/grid/rdbms/lib/asmcmd /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0 /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/site_perl/5.10.0 /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /oracle/app/grid/product/11.2.0/grid/perl/lib/5.10.0 /oracle/app/grid/product/11.2.0/ Grid / Perl / lib / SITE_PERL Directory name where / 5.10 . 0 / the x86_64-Linux-Thread-Multi / Oracle / App / Grid / Product / 11.2 . 0 / Grid / Perl / lib / SITE_PERL Directory name where / 5.10 . 0 / Oracle / App / Grid / Product / 11.2 . 0 / Grid / perl / lib / site_perl.) AT / the Oracle / App / Grid / Product / 11.2 . 0 / Grid / bin / asmcmdcore Line 143 . BEGIN failed The --compilation aborted AT / the Oracle / App / Grid / Product / 11.2 . 0 / Grid / bin / asmcmdcore Line 143 . next incremental scn position to record the current recovery, resulting in the latest xttplan . TXT file or else the next incremental backup will be full amount perl xttdriver .pl - S successive incremental steps the following three cycles SH do_incr . SH SH restore_incr . SH Perl xttdriver .pl - S last incremental, tablespace read-only mode the SQL > ALTER TABLESPACE SPROD_TBS Read only; the Tablespace Altered . the SQL > ALTER IDX_TBS TABLESPACE the Read only; the Tablespace the Altered . The last time restore SH do_incr . SH SH restore_incr . SH import metadata is not recommended import statistics collected directly target libraries the Create Directory or the replace xtts_dir AS ' / the Oracle / Soft / ' the Create database Link ttslink connect to system identified by "oracle" USING 'sprod'; ASMCMD> ls -al WARNING:option 'a' is deprecated for 'ls' please use 'absolutepath' Type Redund Striped Time Sys Name DATAFILE UNPROT COARSE JUN 01 21:00:00 Y +DATA/PROD/DATAFILE/idx_tbs_7.dbf => IDX_TBS.274.1009834557 DATAFILE UNPROT COARSE JUN 01 21:00:00 Y +DATA/PROD/DATAFILE/sprod_tbs_5.dbf => SPROD_TBS.273.1009834553 DATAFILE UNPROT COARSE JUN 01 21:00:00 Y +DATA/PROD/DATAFILE/sprod_tbs_6.dbf => SPROD_TBS.275.1009834553 DATAFILE UNPROT COARSE JUN 01 21:00:00 Y none => SYSAUX.257.1009808403 DATAFILE UNPROT COARSE JUN 01 21:00:00 Y none => SYSTEM.256.1009808403 DATAFILE UNPROT COARSE JUN 01 21:00:00 Y none => UNDOTBS1.258.1009808403 DATAFILE UNPROT COARSE JUN 01 21:00:00 Y none => USERS.259.1009808403 N idx_tbs_7.dbf => +DATA/PROD/DATAFILE/IDX_TBS.274.1009834557 N sprod_tbs_5.dbf => +DATA/PROD/DATAFILE/SPROD_TBS.273.1009834553 N sprod_tbs_6.dbf => +DATA/PROD/DATAFILE/SPROD_TBS.275.1009834553 ASMCMD> impdp \'/ as sysdba\' directory=xtts_dir logfile=tts_imp.log network_link=ttslink transport_full_check=no transport_tablespaces=SPROD_TBS,IDX_TBS exclude=STATISTICS transport_datafiles='+DATA/PROD/DATAFILE/IDX_TBS.275.1009832163','+DATA/PROD/DATAFILE/SPROD_TBS.274.1009832159','+DATA/PROD/DATAFILE/SPROD_TBS.273.1009832159' ls -al|grep -v *.zip|grep -v .sh|awk -F' ' '{print $9}'|xargs rm -rf