12C-ReduceTransportableTablespaceDowntimeusingCrossPlatformIncrementalBackup(DocID2005729.1)
OracleDatabase-EnterpriseEdition-Version12.1.0.2andlaterOracleDatabaseCloudSchemaService-VersionN/AandlaterOracleCloudInfrastructure-DatabaseService-VersionN/AandlaterOracleDatabaseCloudExadataService-VersionN/AandlaterOracleDatabaseBackupService-VersionN/AandlaterLinuxx86-64Updated05-Jun-2017--Version3
Thehigh-levelstepsforCrossPlatformIncrementalBackupare:跨平台增量备份的高级步骤是
1.Initialsetup初始设置
2.Preparephase(sourcedataremainsonline)准备阶段(源数据保持在线)
3.RollForwardphase(sourcedataremainsonline-Repeatthisphaseasmanytimesasnecessarytocatchdestinationdatafilecopiesuptosourcedatabase)前滚阶段(源数据保持联机状态-重复此阶段多次以捕获目标数据文件副本直至源数据库)
4.Transportphase(sourcedataisREADONLY)传输阶段(源数据为只读)
Thesourcesystemmaybeanyplatformprovidedtheprerequisitesreferencedandlistedbelowforbothplatformanddatabasearemet.源系统可以是任何平台,只要满足以下针对平台和数据库所引用和列出的先决条件即可。
Thetwoprimarysupportingscriptsfilesarethefollowing:以下是两个主要的支持脚本文件:
Thefollowingprerequisitesmustbemetbeforestartingthisprocedure:开始此过程之前,必须满足以下先决条件:
WholeDatabaseMigration整个数据库迁移
DebugmodeenablesadditionalscreenoutputandcausesallRMANexecutionstobeperformedwiththedebugcommandlineoption.Toenabledebugmode,eitherrunxttdriver.plwiththe-dflag,orsetenvironmentvariableXTTDEBUG=1beforerunningxttdriver.pl.Thisflagallowsfor3levels,-d[1/2/3]with3generatingthemostinformation.调试模式可启用其他屏幕输出,并使用调试命令行选项执行所有RMAN命令。要启用调试模式,请使用-d标志运行xttdriver.pl,或者在运行xttdriver.pl之前设置环境变量XTTDEBUG=1。该标志允许3个级别,-d[1/2/3],其中3级别生成最多的信息。
TheXTTSwithCrossPlatformIncrementalBackupsprocedureisdividedintothefollowingfourphases:具有跨平台增量备份的XTTS过程分为以下四个阶段
PerformthefollowingstepstoconfiguretheenvironmenttouseCrossPlatformIncrementalBackups:执行以下步骤以配置环境以使用跨平台增量式备份
InstallthedesiredOracleDatabasesoftwareonthedestinationsystemthatwillrunthedestinationdatabase.ThisshouldbeanOracle12cinstallation.在将运行目标数据库的目标系统上安装所需的Oracle数据库软件。这应该是Oracle12c安装
Identify(orcreate)adatabaseonthedestinationsystemtotransportthetablespace(s)intoandcreatetheschemausersrequiredforthetablespacetransport.在目标系统上标识(或创建)数据库以将表空间传输到表空间中,并创建表空间传输所需的模式用户
Identifythetablespace(s)inthesourcedatabasethatwillbetransported.TablespacesTS1andTS2willbeusedintheexamplesinthisdocument.Asindicatedabove,thelimitationsandconsiderationsfortransportabletablespacesmuststillbefollowed.在源数据库中标识将要传输的表空间。表空间TS1和TS2将在本文档的示例中使用。如上所述,对于可移动表空间的限制和注意事项仍然必须遵循
Onthesourcesystem,astheoraclesoftwareowner,downloadandextractthesupportingscriptsattachedasrman-xttconvert_2.0.ziptothisdocument.在源系统上,以oracle软件所有者的身份下载并提取作为rman-xttconvert_2.0.zip附加到此文档的支持脚本
[oracle@source]$pwd/home/oracle/xtt[oracle@source]$unziprman_xttconvert_v3.zipArchive:rman_xttconvert_v3.zipinflating:xtt.propertiesinflating:xttcnvrtbkupdest.sqlinflating:xttdbopen.sqlinflating:xttdriver.plinflating:xttprep.tmplextracting:xttstartupnomount.sqlStep1.4-Createnecessarydirectories步骤1.4-建立必要的目录Step1.5-Configurextt.propertiesonthesourcesystem步骤1.5-在源系统上配置xtt.propertiesEditthextt.propertiesfileonthesourcesystemwithyoursite-specificconfiguration.Formoreinformationabouttheparametersinthextt.propertiesfile,refertotheDescriptionofParametersinConfigurationFilextt.propertiessectionintheAppendixbelow.Forthisprocedure,onlythefollowingparametersaremandatory.Othersareoptionaland/oravailableforbackupcompatibilitycanbeignored.使用特定于站点的配置在源系统上编辑xtt.properties文件。有关xtt.properties文件中的参数的更多信息,请参考下面附录中的配置文件xtt.properties中的参数说明。对于此过程,仅以下参数是必需的。其他是可选的和/或可用于备份兼容性,可以忽略
Astheoraclesoftwareownercopyallxttconvertscriptsandthemodifiedxtt.propertiesfiletothedestinationsystem.作为oracle软件所有者,将所有xttconvert脚本和修改后的xtt.properties文件复制到目标系统
[oracle@source]$scp-r/home/oracle/xttoracle@dest:/home/oracle/xttStep1.7-SetTMPDIRenvironmentvariable步骤1.7-设置TMPDIR环境变量Intheshellenvironmentonbothsourceanddestinationsystems,setenvironmentvariableTMPDIRtothelocationwherethesupportingscriptsexist.UsethisshelltorunthePerlscriptxttdriver.plasshowninthestepsbelow.IfTMPDIRisnotset,outputfilesarecreatedinandinputfilesareexpectedtobein/tmp.在源系统和目标系统上的Shell环境中,将环境变量TMPDIR设置为支持脚本所在的位置。使用shell运行Perl脚本xttdriver.pl,如下步骤所示。如果未设置TMPDIR,则会在/tmp中创建输出文件,并且输入文件应位于/tmp中
[oracle@source]$exportTMPDIR=/home/oracle/xtt[oracle@dest]$exportTMPDIR=/home/oracle/xttPhase2-PreparePhase准备阶段DuringthePreparephase,datafilesofthetablespacestobetransportedarebackeduponsource,backupstransferredtothedestinationsystemandrestoredbythexttdriver.plscript.在“准备”阶段,要传输的表空间的数据文件在源上备份,备份转移到目标系统,并由xttdriver.pl脚本还原
[oracle@source]$$ORACLE_HOME/perl/bin/perlxttdriver.pl--backupStep2.2-Transferthefollowingfilestothedestinationsystem:步骤2.2-将以下文件传输到目标系统Intheexamplebelow,scpisusedtotransferthelevel=0backupcreatedbythepreviousstepfromthesourcesystemtothedestinationsystem.在下面的示例中,scp用于将上一步创建的level=0备份从源系统传输到目标系统
tsbkupmap.txt
[oracle@dest]$$ORACLE_HOME/perl/bin/perlxttdriver.pl--restore
Datafileswillbeplacedonthedestinationsysteminthedefinedstorageondest.数据文件将以已定义的存储方式放置在目标系统上
[oracle@source]$$ORACLE_HOME/perl/bin/perlxttdriver.pl--bkpinc
Thisstepwillcreateanincrementalbackupforalltablespaceslistedinxtt.properties.Itcreatesthefollowingfileswhichmustalwaysbemovedtothedestinationalongwiththebackupfiles:此步骤将为xtt.properties中列出的所有表空间创建增量备份。它创建以下文件,这些文件必须始终与备份文件一起移动到目标位置:
Transfertheincrementalbackup(s)alongwithothernecessarysetupfilescreatedduringtheprevioussteptothestageondestlocationonthedestinationsystem.Thelistofincrementalbackupfilestocopyarefoundintheincrbackups.txtfileonthesourcesystem.将增量备份以及在上一步中创建的其他必要的安装文件转移到目标系统上最重要的位置。在源系统上的incrbackups.txt文件中找到要复制的增量备份文件的列表
[oracle@source]$scp`catincrbackups.txt`oracle@dest:/stageondest[oracle@source]$scpxttplan.txtoracle@dest:/home/oracle/xtt[oracle@source]$scptsbkupmap.txtoracle@dest:/home/oracle/xtt[oracle@source]$scpincrbackups.txtoracle@dest:/home/oracle/xtt
[oracle@dest]$$ORACLE_HOME/perl/bin/perlxttdriver.pl--recoverTherollforwardstepconnectstodestinationdatabaseandappliestheincrementalbackupsonthetablespaces'datafilesforeachtablespacebeingtransported.前滚步骤连接到目标数据库,并对要传输的每个表空间在表空间的数据文件上应用增量备份
[oracle@source]$$ORACLE_HOME/perl/bin/perlxttdriver.pl-s
Atthispointtherearetwochoices:此时有两种选择
NOTE:Ifadatafileisaddedtooneatablespacesincelastincrementalbackupand/oranewtablespacenameisaddedtothextt.properties,thefollowingwillappear:注意:如果将数据文件自上次增量备份以来已添加到一个表空间中,并且/或者将新的表空间名称添加到了xtt.properties中,则会显示以下内容
Error:------Theincrementalbackupwasnottakenasadatafilehasbeenaddedtothetablespace:
PleaseDothefollowing:请执行以下操作--------------------------1.Copyfixnewdf.txtfromsourcetodestinationtempdir将fixnewdf.txt从源复制到目标temp目录
2.Copybackups:
3.OnDestination(目标),run$ORACLE_HOME/perl/bin/perlxttdriver.pl--fixnewdf
4.Re-executetheincrementalbackupinsource:在源段中重新执行增量备份$ORACLE_HOME/perl/bin/perlxttdriver.pl--bkpincr
NOTE:Beforerunningincrementalbackup,deleteFAILEDinsourcetempdirorrunxttdriver.plwith-Loption:注意:在运行增量备份之前,请在源临时目录中删除FAILED或使用-L选项运行xttdriver.pl:
$ORACLE_HOME/perl/bin/perlxttdriver.pl-L--bkpincrTheseinstructionsmustbefollowedexactlyaslisted.Thenextincrementalbackupwillincludethenewdatafile.必须严格按照列出的指示进行操作。下一个增量备份将包括新的数据文件
DuringthisphasethesourcedataismadeREADONLYandthedestinationdatafilesaremadeconsistentwiththesourcedatabasebycreatingandapplyingafinalincrementalbackup.Afterthedestinationdatafilesaremadeconsistent,thenormaltransportabletablespacestepsareperformedtoexportobjectmetadatafromthesourcedatabaseandimportitintothedestinationdatabase.ThedatabeingtransportedisaccessibleonlyinREADONLYmodeuntiltheendofthisphase.在此阶段,通过创建并应用最终增量备份,使源数据成为只读状态,并使目标数据文件与源数据库一致。在使目标数据文件一致之后,执行常规的可移动表空间步骤以从源数据库导出对象元数据并将其导入到目标数据库中。在此阶段结束之前,只能在“只读”模式下访问正在传输的数据
system@source/prodSQL>altertablespaceTS1readonly;Tablespacealtered.system@source/prodSQL>altertablespaceTS2readonly;Tablespacealtered.Step4.2-Createthefinalincrementalbackupandexportfilefortransfertothedestination步骤4.2-创建最终的增量备份和导出文件以传输到目标Thefinalincrementalbackupiscreatedwiththe"--bkpexport"option,thentransferredtothedestination.使用“--bkpexport”选项创建最终的增量备份,然后将其转移到目标位置。[oracle@source]$$ORACLE_HOME/perl/bin/perlxttdriver.pl--bkpexport[oracle@source]$scp`catincrbackups.txt`oracle@dest:/stageondest[oracle@source]$scpxttplan.txtoracle@dest:/home/oracle/xtt[oracle@source]$scptsbkupmap.txtoracle@dest:/home/oracle/xtt[oracle@source]$scpincrbackups.txtoracle@dest:/home/oracle/xttStep4.3-Applylastincrementalbackuptodestinationdatafiles步骤4.3-将最后一个增量备份应用于目标数据文件Thefinalincrementalbackupmustbeappliedtothedestinationdatafilesusing"--resincrdmp"最终增量备份必须使用“--resincrdmp”应用于目标数据文件
[oracle@dest]$$ORACLE_HOME/perl/bin/perlxttdriver.pl--resincrdmpThisstepwillapplythelastincrementalbackuptothedatafiles.Inaddition,itwillrestorethedumpfileforphase5Aandascriptfile,xttplugin.txt,containingthesyntax.此步骤将最后一次增量备份应用于数据文件。另外,它将恢复phase5A的转储文件和包含语法的脚本文件xttplugin.txt
Duringthisphasethetablespacesarepluggedintothedestinationdatabase.Therearetwooptions.Thefirstistoimportlocallyusingthedumpfilecreatedbystep4.3.Thesecondwouldbetoruntheimportwithanetworklinkbetweenthetwodatabases.在此阶段,表空间被插入到目标数据库中。有两种选择。第一种是使用步骤4.3创建的转储文件在本地导入。第二种方法是使用两个数据库之间的网络链接运行导入。
Datapumpwilllookfortheexportfileinthespecifieddirectory.Eithercopythe'.dmp'fileinyourexistingdatapumpdirectoryorcreateanewdirectorypointingtotheorcopythe'.dmp'inanexistingdatapumpdirectoryDatapump将在指定目录中查找导出文件。在现有数据泵目录中复制“.dmp”文件,或者创建指向该目录的新目录,或者在现有数据泵目录中复制“.dmp”
SYS@DESTDB>createdirectorydpump_ttsas'/home/oracle/destination/convert';Thedirectorymustbegrantedtousewhowilldotheimport:必须授予目录使用谁来执行导入
SYS@DESTDB>GRANTREAD,WRITEONDIRECTORYdpump_ttsTOsystem;Step5A.2Modifyandexecuteimpdpcommand:步骤5A.2修改并执行impdp命令Toperformthetablespacetransportwiththiscommand,thenyoumustedittheimportcommandfilexttplugin.txt(generatedinstep4.3)andreplaceimportparametersDIRECTORYwithsite-specificvalues.要使用此命令执行表空间传输,则必须编辑导入命令文件xttplugin.txt(在步骤4.3中生成),并将导入参数DIRECTORY替换为特定于站点的值。Thefollowingisanexampletransportableimportcommandusingexistingdumpfile:以下是使用现有转储文件的示例可移植导入命令
[oracle@dest]$impdpsystem/
[oracle@dest]$$ORACLE_HOME/perl/bin/perlxttdriver.pl-eThiswillgenerateasampleDataPumpnetwork_linktransportableimportcommandinthefilexttplugin.txtwiththetransportabletablespacesparametersTRANSPORT_TABLESPACESandTRANSPORT_DATAFILEScorrectlyset.Inaddition,adatapumpexportfilewillalsobecreated.这将在文件xttplugin.txt中生成一个示例数据泵network_linktransportableimport命令,其中正确设置了可传输表空间参数TRANSPORT_TABLESPACES和TRANSPORT_DATAFILES。此外,还将创建一个数据泵导出文件。
Connectingtothedestinationdatabase,createadatabaselinkconnectingtothesourcedatabase.Forexample:连接到目标数据库,创建一个连接到源数据库的数据库链接。例如
SQL@dest>createpublicdatabaselinkttslinkconnecttosystemidentifiedby
SQL@dest>selectnamefromv$database@ttslink;Step5B.3-ModifyandexecuteImpdpcommand:步骤5B.3-修改并执行Impdp命令Aseparateexportordumpfileisnotrequired.Toperformthetablespacetransportwiththiscommand,thenyoumustedittheimportcommandfilexttplugin.txt(generatedinstep5B.1)andreplaceimportparametersDIRECTORY,LOGFILE,andNETWORK_LINKwithsite-specificvalues.不需要单独的导出或转储文件。要使用此命令执行表空间传输,则必须编辑导入命令文件xttplugin.txt(在步骤5B.1中生成),并将导入参数DIRECTORY,LOGFILE和NETWORK_LINK替换为特定于站点的值Thefollowingisanexamplenetworkmodetransportableimportcommand:以下是示例网络模式可传输导入命令
[oracle@dest]$impdpdirectory=DATA_PUMP_DIRlogfile=tts_imp.lognetwork_link=ttslink\transport_full_check=no\transport_tablespaces=TS1,TS2\transport_datafiles='+DATA/prod/datafile/ts1.285.771686721',\'+DATA/prod/datafile/ts2.286.771686723',\'+DATA/prod/datafile/ts2.287.771686743'PergenericTTSrequirement,databaseusersthatownobjectsbeingtransportedmustexistinthedestinationdatabasebeforeperformingthetransportableimport.根据通用TTS要求,拥有可传输对象的数据库用户必须存在于目标数据库中,然后才能执行可传输导入。Resources:
RMAN>validatetablespaceTS1,TS2checklogical;Step6.2-Alterthetablespace(s)READWRITEinthedestinationdatabase步骤6.2-更改目标数据库中的表空间的READWRITEThefinalstepistomakethedestinationtablespace(s)READWRITEinthedestinationdatabase.最后一步是使目标表空间在目标数据库中为READWRITE。
system@dest/prodSQL>altertablespaceTS1readwrite;Tablespacealtered.system@dest/prodSQL>altertablespaceTS2readwrite;Tablespacealtered.Phase7-Cleanup清理Ifaseparateincrementalconverthomeandinstancewerecreatedforthemigration,thentheinstancemaybeshutdownandthesoftwareremoved.如果为迁移创建了单独的增量转换主目录和实例,则可以关闭该实例并删除软件。Filescreatedbythisprocessarenolongerrequiredandmaynowberemoved.Theyincludethefollowing:通过此过程创建的文件不再需要,现在可以删除。其中包括:Appendix附录DescriptionofPerlScriptxttdriver.plOptionsPerl脚本xttdriver.pl选项的描述Thefollowingtabledescribestheoptionsavailableforthemainsupportingscriptxttdriver.pl.下表描述了主要支持脚本xttdriver.pl可用的选项。
Createsalevel0backupsofthedatafilesbelongingtotheselectedtablespaces.
Thesebackupswillbewrittenintothelocationpointedtobythextt.propertiesvariable“backupformat”.
Thesebackupsneedtobecopiedovertothedestinationtothelocationpointedtobythevariable“stageondest”.
Twomorefiles,tsbkupmap.txtandxttnewdatafiles.txt,willbegeneratedwhichalso
needtobecopiedovertothetemporarydirectoryinthedestination,definedbyTMPDIR.
创建属于所选表空间的数据文件的0级备份。这些备份将被写入xtt.properties变量“backupformat”指向的位置。这些备份需要复制到目标变量“stageondest”所指向的位置。
还将生成另外两个文件tsbkupmap.txt和xttnewdatafiles.txt,这些文件也需要复制到目标的临时目录中,该目录由TMPDIR定义。
Restoresandconvertsthedatafilesfromthebackupscopiedtothelocation“stageondest”indestination.
Therestoredfileswillbeplacedinthepathdefinedbythevariable“storageondest”.
从复制到目标中“stageondest”位置的备份还原并转换数据文件。恢复的文件将放置在变量“storageondest”定义的路径中。
Willtakeanincrementalbackupandplacebackupsinthepathdefinedbythevariable“backupformat”onthesource.
Itwillalsocreate“incrbackups.txt”whichcontainsalistofbackupscreated.
Thisfile,alongwith“tsbkupmap.txt”mustbecopiedtothedestination’s“stageondest”.
将进行增量备份,并将备份放在源上变量“backupformat”定义的路径中。它还将创建“incrbackups.txt”,
其中包含创建的备份列表。该文件以及“tsbkupmap.txt”必须复制到目标的“stageondest”。
The–recoverwillapplytheincrementalbackuponthealreadycreateddatafilesonthedestination.
–recover将增量备份应用于目标上已创建的数据文件。
DeterminenewFROM_SCNstepisrunoneormoretimeswiththeenvironment(ORACLE_HOMEandORACLE_SID)settothesourcedatabase.
确定新的FROM_SCN步骤在环境(ORACLE_HOME和ORACLE_SID)设置为源数据库的情况下运行了一次或多次。ThisstepcalculatesthenextFROM_SCN,recordsitinthefilexttplan.txt,thenusesthatSCNwhenthenextincrementalbackupiscreatedinstep3.1.
ItreportsthemappingofthenewFROM_SCNtowallclocktimetoindicatehowfarbehindthechangesinthenextincrementalbackupwillbe.
此步骤计算下一个FROM_SCN,将其记录在文件xttplan.txt中,然后在步骤3.1中创建下一个增量备份时使用该SCN。
Willperformthelastincrementalbackupandalsocreatethedumpfilethatcanbeusedforimportingthedatafiles.
Theincrementalbackupswillbepresentin“backupformat”location
andcanbeobtainedfromthefile“incrbackups.txt”.Alsothefile“tsbkupmap.txt”willbegeneratedwhichneedstobecopiedovertothedestination.
将执行最后的增量备份,并创建可用于导入数据文件的转储文件。增量备份将出现在“backupformat”位置,并且可以从文件“incrbackups.txt”获得。
另外,将生成文件“tsbkupmap.txt”,需要将其复制到目标位置
Willrecoverthelastincrementalbackupandapplyitonthedatafile.Alsothedumpfilewillberestoredtothelocationpointedtobythetemporary
directory“TMPDIR”(passedthroughcommandlineorsetintheenvironment).Thisdumpfilecanbeusedduringtheimporting
将恢复上一个增量备份并将其应用于数据文件。另外,转储文件将还原到临时目录“TMPDIR”指向的位置(通过命令行或在环境中设置)。此转储文件可以在导入期间使用
GeneratesDataPumpTTScommandstepisrunonceonthedestination
systemwiththeenvironment(ORACLE_HOMEandORACLE_SID)settothedestinationdatabase.
在将环境(ORACLE_HOME和ORACLE_SID)设置为目标数据库的目标系统上,一次运行GeneratesDataPumpTTS命令步骤。ThisstepcreatesthetemplateofaDataPumpImportcommandthatusesa
network_linktoimportmetadataofobjectsthatareinthetablespacesbeingtransported.
此步骤创建数据泵导入命令的模板,该命令使用network_link导入要传输的表空间中的对象的元数据。
Enablesdebugmodeforxttdriver.plandRMANcommandsitexecutes.
DebugmodecanalsobeenabledbysettingenvironmentvariableXTTDEBUG=1.
Debugallowsfor1,2,3levelsofdebug.I.e.,xttdriver.pl-d3
为xttdriver.pl及其执行的RMAN命令启用调试模式。也可以通过设置环境变量XTTDEBUG=1来启用调试模式。调试允许进行1,2,3级调试。即xttdriver.pl-d3
Thefollowingtabledescribestheparametersusedbyxttdriver.plwhichmustbedefinedinthextt.propertiesfilethatareneededforthis12cprocedure.Otherparametersmayexistwhichareneededforbackwardcompatibility.下表描述了xttdriver.pl使用的参数,此参数必须在xtt.properties文件中定义,此参数是12c过程所必需的。可能存在向后兼容所需的其他参数
Comma-separatedlistoftablespacestotransportfromsourcedatabasetodestinationdatabase.
Mustbeasingleline,anysubsequentlineswillnotberead.
从源数据库传输到目标数据库的表空间的逗号分隔列表。必须为一行,任何后续行都不会被读取。
Sourcedatabaseplatformid,obtainedfromV$DATABASE.PLATFORM_ID.
从V$DATABASE.PLATFORM_ID获得的源数据库平台ID。
Directoryobjectinthedestinationdatabasethatdefineswherethedestinationdatafileswillbecreated.
目标数据库中的目录对象,用于定义将在何处创建目标数据文件
Locationonthesourcesystemwherebackupsarecreated.
在源系统上创建备份的位置Thislocationmusthavesufficientfreespacetoholdthelevel=0backupofthetablespacedatafilesand
allsubsequentincrementalbackupscreatedforoneiterationthroughtheprocessdocumentedabove.
该位置必须有足够的可用空间来保存表空间数据文件的level=0备份以及通过上述文档过程为一次迭代创建的所有后续增量备份。ThislocationmaybeanNFS-mountedfilesystemthatissharedwiththedestinationsystem,
inwhichcaseitshouldreferencethesameNFSlocationasthestageondestparameterforthedestinationsystem.
此位置可能是与目标系统共享的NFS挂载文件系统,在这种情况下,它应该引用与目标系统的stageondest参数相同的NFS位置
Locationonthedestinationsystemwherebackupsareplacedbytheuserwhentheyaretransferredmanuallyfromthesourcesystem.
从源系统手动传输备份时,用户放置备份的目标系统上的位置。Thislocationmusthavesufficientfreespacetoholdlevel=0backupandallsubsequentincrementalbackupstransferredfromthesource.
此位置必须有足够的可用空间来容纳级别=0的备份以及从源传输的所有后续增量备份。ThislocationmaybeaDBFS-mountedfilesystem.
该位置可能是安装DBFS的文件系统。ThislocationmaybeanNFS-mountedfilesystemthatissharedwiththesourcesystem,
inwhichcaseitshouldreferencethesameNFSlocationasthebackupformatparametersforthesourcesystem.
该位置可能是与源系统共享的NFS挂载文件系统,在这种情况下,它应引用与源系统的backupformat参数相同的NFS位置。
ORACLE_HOMEfortheASMinstancethatrunsonthedestinationsystem.在目标系统上运行的ASM实例的ORACLE_HOME。NOTE:Ifbackupondestissettoafilesystemlocation,thencommentoutbothasm_homeandasm_sid.
注意:如果backupondest设置为文件系统位置,则注释掉asm_home和asm_sid。
ORACLE_SIDfortheASMinstancethatrunsonthedestinationsystem.
在目标系统上运行的ASM实例的ORACLE_SID。
Definesthedegreeofparallelismusedinthebackuponthesource(--backup).
定义源备份(--backup)中使用的并行度。
rman-xttconvert_2.0.zipreleased-addsupportformultiplesourceanddestinationdirectories
添加对多个源目录和目标目录的rman_xttconvert_v3.zipreleased-addssupportforaddeddatafiles