TSPITR with Your Own Auxiliary Instance

简介: TSPITR with Your Own Auxiliary Instance

基于时间点的恢复:

1,编辑配置文件

DB_NAME=PROD
DB_UNIQUE_NAME=tspitr_PROD
CONTROL_FILES=/bigtmp/tspitr_cntrl.dbf'
DB_CREATE_FILE_DEST=/bigtmp
COMPATIBLE=11.0.0
BLOCK_SIZE=8192
REMOTE_LOGIN_PASSWORD=exclusive

2,启动到nomount

STARTUP NOMOUNT PFILE=/bigtmp/init_tspitr_prod.ora

4,

rman target / auxiliary sys/syspwd@pitprod

RUN
{

Specify NEWNAME for recovery set datafiles

SET NEWNAME FOR TABLESPACE clients

                    TO '?/oradata/prod/rec/%b';

Specify NEWNAMES for some of the auxiliary set

datafiles that have a valid image copy to avoid restores:

SET NEWNAME FOR DATAFILE '?/oradata/prod/system01.dbf'

                    TO '/backups/prod/system01_monday_noon.dbf';

SET NEWNAME FOR DATAFILE '?/oradata/prod/system02.dbf'

                    TO '/backups/prod/system02_monday_noon.dbf';

SET NEWNAME FOR DATAFILE '?/oradata/prod/sysaux01.dbf'

                    TO '/backups/prod/sysaux01_monday_noon.dbf';

SET NEWNAME FOR DATAFILE '?/oradata/prod/undo01.dbf'

                    TO '/backups/prod/undo01_monday_noon.dbf';

Specify the types of channels to use

ALLOCATE AUXILIARY CHANNEL c1 DEVICE TYPE DISK;
ALLOCATE AUXILIARY CHANNEL t1 DEVICE TYPE sbt;

Recover the clients tablespace to 24 hours ago:

RECOVER TABLESPACE clients UNTIL TIME 'sysdate-1';
}

相关文章
|
7月前
|
JavaScript
【报错】onMounted is called when there is no active component instance too be associated with.
【报错】onMounted is called when there is no active component instance too be associated with.
453 4
|
数据库
This scheduler instance is still active but was recovered by another instance in the cluster
This scheduler instance is still active but was recovered by another instance in the cluster
884 0
Object reference not set to an instance of an object.
        今天从A界面跳转到B界面,并调用B界面中函数的时候,会报错“Object reference not set to an instance of an object.”这个错误,是什么原因呢? 代码中声明了这么一个变量(在从A界面跳转到B界面的过程中都没给KSRQ这个变量赋值)public string KSRQ ;当用到this.KSRQ.Trim() != ""的时候
10093 1
|
算法
PaperNotes Instance-Level Salient Object Segmentation
title: PaperNotes Instance-Level Salient Object Segmentation comments: true date: 2017-12-20 13:53:11 description: updated: categories: tags: --- https://arxiv.org/pdf/1704.03604.pdf 摘要 现有的显著性检测算法被DL带了一波节奏,但是好像还没有说哪个方法能在显著性区域中找出object instance。
1886 0