ambr oracle,asm备份元数据之md_backup和md_restore

md_backup生成data磁盘组备份元数据信息

[root@rac1 tmp]# more xifenfei_data.md

@diskgroup_set = (

{

'ATTRINFO' => {

'_._DIRVERSION' => '11.2.0.0.0',

'COMPATIBLE.ASM' => '11.2.0.0.0',

'COMPATIBLE.RDBMS' => '10.1.0.0.0'

},

'DISKSINFO' => {

'DATA_0001' => {

'DATA_0001' => {

'TOTAL_MB' => '1262',

'FAILGROUP' => 'DATA_0001',

'NAME' => 'DATA_0001',

'DGNAME' => 'DATA',

'PATH' => '/dev/oracleasm/disks/VOL2'

}

},

'DATA_0000' => {

'DATA_0000' => {

'TOTAL_MB' => '784',

'FAILGROUP' => 'DATA_0000',

'NAME' => 'DATA_0000',

'DGNAME' => 'DATA',

'PATH' => '/dev/oracleasm/disks/VOL1'

}

}

},

'DGINFO' => {

'DGTORESTORE' => 0,

'DGCOMPAT' => '11.2.0.0.0',

'DGNAME' => 'DATA',

'DGDBCOMPAT' => '10.1.0.0.0',

'DGTYPE' => 'EXTERN',

'DGAUSZ' => '1048576'

},

'ALIASINFO' => {

'6' => {

'DGNAME' => 'DATA',

'LEVEL' => 1,

'ALIASNAME' => 'XFF/CONTROLFILE',

'REFERENCE_INDEX' => '16777481'

},

'11' => {

'DGNAME' => 'DATA',

'LEVEL' => 2,

'ALIASNAME' => 'XFF/ARCHIVELOG/2012_03_03',

'REFERENCE_INDEX' => '16777640'

},

'3' => {

'DGNAME' => 'DATA',

'LEVEL' => 1,

'ALIASNAME' => 'XFF/ARCHIVELOG',

'REFERENCE_INDEX' => '16777587'

},

'7' => {

'DGNAME' => 'DATA',

'LEVEL' => 2,

'ALIASNAME' => 'XFF/ARCHIVELOG/2012_05_24',

'REFERENCE_INDEX' => '16777852'

},

'9' => {

'DGNAME' => 'DATA',

'LEVEL' => 2,

'ALIASNAME' => 'XFF/ARCHIVELOG/2012_04_30',

'REFERENCE_INDEX' => '16777746'

},

'2' => {

'DGNAME' => 'DATA',

'LEVEL' => 1,

'ALIASNAME' => 'rac-cluster/ASMPARAMETERFILE',

'REFERENCE_INDEX' => '16777322'

},

'8' => {

'DGNAME' => 'DATA',

'LEVEL' => 2,

'ALIASNAME' => 'XFF/ARCHIVELOG/2012_05_01',

'REFERENCE_INDEX' => '16777799'

},

'1' => {

'DGNAME' => 'DATA',

'LEVEL' => 0,

'ALIASNAME' => 'XFF',

'REFERENCE_INDEX' => '16777428'

},

'4' => {

'DGNAME' => 'DATA',

'LEVEL' => 1,

'ALIASNAME' => 'XFF/ONLINELOG',

'REFERENCE_INDEX' => '16777534'

},

'0' => {

'DGNAME' => 'DATA',

'LEVEL' => 0,

'ALIASNAME' => 'rac-cluster',

'REFERENCE_INDEX' => '16777269'

},

'10' => {

'DGNAME' => 'DATA',

'LEVEL' => 2,

'ALIASNAME' => 'XFF/ARCHIVELOG/2012_04_13',

'REFERENCE_INDEX' => '16777693'

},

'5' => {

'DGNAME' => 'DATA',

'LEVEL' => 1,

'ALIASNAME' => 'rac-cluster/OCRFILE',

'REFERENCE_INDEX' => '16777375'

}

},

'TEMPLATEINFO' => {

'6' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'XTRANSPORT',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'11' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'ONLINELOG',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'3' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'DATAGUARDCONFIG',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'7' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'AUTOBACKUP',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'9' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'TEMPFILE',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'12' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'ARCHIVELOG',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'2' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'OCRFILE',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'14' => {

'DGNAME' => 'DATA',

'STRIPE' => 'FINE',

'TEMPNAME' => 'CONTROLFILE',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'15' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'DUMPSET',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'8' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'BACKUPSET',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'4' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'FLASHBACK',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'1' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'ASMPARAMETERFILE',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'0' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'PARAMETERFILE',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'10' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'DATAFILE',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'13' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'FLASHFILE',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

},

'5' => {

'DGNAME' => 'DATA',

'STRIPE' => 'COARSE',

'TEMPNAME' => 'CHANGETRACKING',

'REDUNDANCY' => 'UNPROT',

'SYSTEM' => 'Y'

}

}

}

);

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值