rman 跨小版本迁移(小到大)
环境描述原系统: 11.2.0.3.0目标系统 11.2.0.4.01.原系统进行备份 run{allocate channel c1 type disk;allocate channel c2 type disk;backup database format '/u01/full_%n_%T_%t_%s_%p.bak';sql 'alter system archive log current';backup archivelog al...
异构平台dg (无法成功)
环境描述源平台 windows目标平台 linux1.主库设置归档/强制归档模式SQL> alter database archivelog;Database altered.SQL> alter database open;Database altered.SQL> alter database force logging;Database altered.3.配置两边监听文件主库不用配置了,默认即可备库静...
rman 恢复(win=>linux)
1.备份(win端)run{allocate channel c1 device type disk;allocate channel c2 device type disk;allocate channel c3 device type disk;allocate channel c4 device type disk;allocate channel c5 device type disk;backup incremental level=0 database format 'e:\out\data_%T_%s_%p';backup archivelog all...
跨平台传输数据库(CONVERT DATABASE)
全库传输要求Character Set、National Character Set必须完全相同a.在源端转换 1.准备传输数据库,源数据库必须以只读方式打开. shutdown immediate; startup open read only; 2.使用DBMS_TDB.CHECK_DB检查数据库状态. declare b_support boolea...
asm与文件系统相互迁移-rman copy(非归档方式)
需要迁移的文件有 * 数据文件 * 控制文件 * 临时表空间文件 * redo 文件 * UNDO 文件1.将数据库在 mount 状态下shutdown immediate;startup mount;2.迁移数据文件(也可考虑并行)copy datafile '+DG/test/datafile/system.293.939434861' to '/u01/app/oracle/oradata/test/system.293...
nbu恢复测试
1.使用 28号控制文件,恢复29号的数据文件. run {allocate channel ch00 type 'SBT_TAPE' ;SEND 'NB_ORA_CLIENT=xx,NB_ORA_SERV=nbumaster,NB_ORA_POLICY=xx,NB_ORA_SCHED=default-FCFBOM'; restore controlfile from 'cntrl_2316_1_934419516';release channel ch00;} ...
nbu恢复指定时间点
1.编辑spfile略2.恢复控制文件run {allocate channel ch00 type 'SBT_TAPE' ;SEND 'NB_ORA_CLIENT=dm01db01-priv1.fawcar.com.cn,NB_ORA_SERV=nbumaster,NB_ORA_POLICY=192.168.10.130-ERP,NB_ORA_SCHED=default-ERP'; restore controlfile from 'c-3984149248-20170126-02';release channe...