Bootstrap

incarnation 不好判断 restore cdb后 drop pdb 还能找回?!应该有戏

RMAN> startup nomount force;

RMAN>  restore controlfile from '+DATA1/CDB/AUTOBACKUP/2024_06_16/s_1171802092.388.1171802093';

Starting restore at 2024-07-01 18:55:05
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=413 device type=DISK

channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
output file name=+DATA/CDB/CONTROLFILE/current.303.1148478735
output file name=+DATA/CDB/CONTROLFILE/current.289.1148478735
Finished restore at 2024-07-01 18:55:08

RMAN> alter database mount;  

released channel: ORA_DISK_1
Statement processed

RMAN>  restore database;

Starting restore at 2024-07-01 18:57:22
using channel ORA_DISK_1

channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to +DATA/CDB/DATAFILE/system.274.1173164135
channel ORA_DISK_1: restoring datafile 00003 to +DATA/CDB/DATAFILE/sysaux.360.1173164135
channel ORA_DISK_1: restoring datafile 00004 to +DATA/CDB/DATAFILE/undotbs1.275.1173164135
channel ORA_DISK_1: restoring datafile 00007 to +DATA/CDB/DATAFILE/users.258.1173164135
channel ORA_DISK_1: restoring datafile 00009 to +DATA/CDB/DATAFILE/undotbs2.282.1173164135
channel ORA_DISK_1: restoring datafile 00010 to +DATA/CDB/DATAFILE/undotbs3.293.1173164135
channel ORA_DISK_1: reading from backup piece +DATA1/CDB/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.377.1171802007
channel ORA_DISK_1: piece handle=+DATA1/CDB/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.377.1171802007 tag=FULLDBBACKUP0617
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00011 to +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/system.265.1173164181
channel ORA_DISK_1: restoring datafile 00012 to +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/sysaux.268.1173164181
channel ORA_DISK_1: restoring datafile 00013 to +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undotbs1.287.1173164181
channel ORA_DISK_1: restoring datafile 00014 to +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undo_3.302.1173164181
channel ORA_DISK_1: restoring datafile 00015 to +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undo_4.290.1173164181
channel ORA_DISK_1: restoring datafile 00016 to +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/users.288.1173164181
channel ORA_DISK_1: reading from backup piece +DATA1/CDB/06344F62B8C65A17E0636401A8C0F073/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.381.1171802041
channel ORA_DISK_1: piece handle=+DATA1/CDB/06344F62B8C65A17E0636401A8C0F073/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.381.1171802041 tag=FULLDBBACKUP0617
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:25
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00005 to +DATA/CDB/0633F844101D69CBE0636401A8C09D55/DATAFILE/system.280.1171797313
channel ORA_DISK_1: restoring datafile 00006 to +DATA/CDB/0633F844101D69CBE0636401A8C09D55/DATAFILE/sysaux.285.1171797313
channel ORA_DISK_1: restoring datafile 00008 to +DATA/CDB/0633F844101D69CBE0636401A8C09D55/DATAFILE/undotbs1.293.1171797313
channel ORA_DISK_1: reading from backup piece +DATA1/CDB/0633F844101D69CBE0636401A8C09D55/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.382.1171802067
channel ORA_DISK_1: piece handle=+DATA1/CDB/0633F844101D69CBE0636401A8C09D55/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.382.1171802067 tag=FULLDBBACKUP0617
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:35
Finished restore at 2024-07-01 18:59:08

RMAN> run{
2>   set until sequence 7 thread 3;
3>   ##restore database;
4>   recover database;
5>   }

executing command: SET until clause

Starting recover at 2024-07-01 19:00:02
using channel ORA_DISK_1

starting media recovery
media recovery failed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:00:03
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database recover
 if needed start until cancel using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-19912: cannot recover to target incarnation 19

RMAN> list incarnation;


List of Database Incarnations
DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1       1       CDB      2265125454       PARENT  1          2019-04-17 00:55:59
2       2       CDB      2265125454       PARENT  1920977    2023-09-26 01:52:18
6       6       CDB      2265125454       ORPHAN  7326532    2024-06-16 02:38:11
5       5       CDB      2265125454       PARENT  7326604    2024-06-16 02:21:34
10      10      CDB      2265125454       ORPHAN  7326605    2024-06-16 02:06:17
14      14      CDB      2265125454       PARENT  7326605    2024-06-16 05:07:19
11      11      CDB      2265125454       ORPHAN  7326605    2024-06-16 02:12:40
4       4       CDB      2265125454       ORPHAN  7326802    2024-06-16 02:12:57
3       3       CDB      2265125454       ORPHAN  7329707    2024-06-16 03:22:45
7       7       CDB      2265125454       ORPHAN  7329707    2024-06-16 02:47:21
13      13      CDB      2265125454       ORPHAN  7329708    2024-06-16 05:00:46
12      12      CDB      2265125454       ORPHAN  7329708    2024-06-16 02:24:41
15      15      CDB      2265125454       PARENT  7496028    2024-06-16 11:16:00
16      16      CDB      2265125454       ORPHAN  7500404    2024-06-16 11:46:27
17      17      CDB      2265125454       PARENT  7500404    2024-06-16 12:04:56
8       8       CDB      2265125454       ORPHAN  7512942    2024-06-16 12:11:52
19      19      CDB      2265125454       CURRENT 7607066    2024-07-01 18:07:03
18      18      CDB      2265125454       ORPHAN  7607066    2024-07-01 17:55:49
9       9       CDB      2265125454       ORPHAN  7620289    2024-06-16 01:44:42

RMAN> reset databsae to incarnation 8;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "database, pluggable"
RMAN-01008: the bad identifier was: databsae
RMAN-01007: at line 1 column 7 file: standard input

RMAN> reset database  to incarnation 8; 

database reset to incarnation 8

RMAN> run{
2>   set until sequence 7 thread 3;
3>   ##restore database;
4>   recover database;
5>   }

executing command: SET until clause

Starting recover at 2024-07-01 19:00:57
using channel ORA_DISK_1

starting media recovery
media recovery failed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:00:57
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database recover
 if needed start until cancel using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-19909: datafile 1 belongs to an orphan incarnation
ORA-01110: data file 1: '+DATA/CDB/DATAFILE/system.258.1173164243'

RMAN> reset databsae to incarnation 13;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "database, pluggable"
RMAN-01008: the bad identifier was: databsae
RMAN-01007: at line 1 column 7 file: standard input

RMAN> reset database  to incarnation 13;

database reset to incarnation 13

RMAN> run{
2>   set until sequence 7 thread 3;
3>   ##restore database;
4>   recover database;
5>   }

executing command: SET until clause

Starting recover at 2024-07-01 19:01:29
using channel ORA_DISK_1

starting media recovery
media recovery failed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:01:30
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database recover
 if needed start until cancel using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-19909: datafile 1 belongs to an orphan incarnation
ORA-01110: data file 1: '+DATA/CDB/DATAFILE/system.258.1173164243'

RMAN> reset database  to incarnation  9;

database reset to incarnation 9

RMAN> run{
2>   set until sequence 7 thread 3;
3>   ##restore database;
4>   recover database;
5>   }

executing command: SET until clause

Starting recover at 2024-07-01 19:02:13
using channel ORA_DISK_1

starting media recovery
media recovery failed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:02:14
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database recover
 if needed start until cancel using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-19909: datafile 1 belongs to an orphan incarnation
ORA-01110: data file 1: '+DATA/CDB/DATAFILE/system.258.1173164243'

RMAN>  reset database  to incarnation 15;

database reset to incarnation 15

RMAN> run{
2>   set until sequence 7 thread 3;
3>   ##restore database;
4>   recover database;
5>   }

executing command: SET until clause

Starting recover at 2024-07-01 19:03:28
using channel ORA_DISK_1

starting media recovery
media recovery failed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:03:28
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database recover
 if needed start until cancel using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-19909: datafile 1 belongs to an orphan incarnation
ORA-01110: data file 1: '+DATA/CDB/DATAFILE/system.258.1173164243'

RMAN> reset database to incarnation 17; 

database reset to incarnation 17

RMAN> run{
2>   set until sequence 7 thread 3;
3>   ##restore database;
4>   recover database;
5>   }

executing command: SET until clause

Starting recover at 2024-07-01 19:04:46
using channel ORA_DISK_1

starting media recovery

channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=3 sequence=6
channel ORA_DISK_1: reading from backup piece +DATA1/CDB/BACKUPSET/2024_06_16/annnf0_fulldbbackup0617_0.384.1171802091
channel ORA_DISK_1: piece handle=+DATA1/CDB/BACKUPSET/2024_06_16/annnf0_fulldbbackup0617_0.384.1171802091 tag=FULLDBBACKUP0617
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.422.1173164687 thread=3 sequence=6
channel default: deleting archived log(s)
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.422.1173164687 RECID=339 STAMP=1173207887
media recovery complete, elapsed time: 00:00:00
Finished recover at 2024-07-01 19:04:48

RMAN> alter database open resetlogs;

这个怎么判断处理? 

restore 后文件名全部不同了

Statement processed

RMAN> report schema;

Report of database schema for database with db_unique_name CDB

List of Permanent Datafiles
===========================
File Size(MB) Tablespace           RB segs Datafile Name
---- -------- -------------------- ------- ------------------------
1    1170     SYSTEM               YES     +DATA/CDB/DATAFILE/system.258.1173164243
3    910      SYSAUX               NO      +DATA/CDB/DATAFILE/sysaux.293.1173164243
4    615      UNDOTBS1             YES     +DATA/CDB/DATAFILE/undotbs1.282.1173164243
5    510      PDB$SEED:SYSTEM      NO      +DATA/CDB/0633F844101D69CBE0636401A8C09D55/DATAFILE/system.288.1173164313
6    480      PDB$SEED:SYSAUX      NO      +DATA/CDB/0633F844101D69CBE0636401A8C09D55/DATAFILE/sysaux.290.1173164313
7    5        USERS                NO      +DATA/CDB/DATAFILE/users.274.1173164243
8    215      PDB$SEED:UNDOTBS1    NO      +DATA/CDB/0633F844101D69CBE0636401A8C09D55/DATAFILE/undotbs1.302.1173164313
9    250      UNDOTBS2             YES     +DATA/CDB/DATAFILE/undotbs2.275.1173164243
10   75       UNDOTBS3             YES     +DATA/CDB/DATAFILE/undotbs3.360.1173164243
11   510      PDB:SYSTEM           NO      +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/system.341.1173164289
12   490      PDB:SYSAUX           NO      +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/sysaux.338.1173164289
13   215      PDB:UNDOTBS1         NO      +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undotbs1.331.1173164289
14   215      PDB:UNDO_3           NO      +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undo_3.259.1173164289
15   215      PDB:UNDO_4           NO      +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undo_4.298.1173164289
16   5        PDB:USERS            NO      +DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/users.273.1173164289

List of Temporary Files
=======================
File Size(MB) Tablespace           Maxsize(MB) Tempfile Name
---- -------- -------------------- ----------- --------------------
1    24       TEMP                 32767       +DATA/CDB/TEMPFILE/temp.347.1171775247
2    36       PDB$SEED:TEMP        32767       +DATA/CDB/0633F844101D69CBE0636401A8C09D55/TEMPFILE/temp.292.1173164765

RMAN> alter pluggable database pdb close abort;

Statement processed

RMAN>  recover pluggable database pdb  until time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')" auxiliary destination '+data1';

Starting recover at 2024-07-01 19:06:45
current log archived
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:06:45
ORA-39892: PDB PITR/Flashback to a point in time on an orphan database incarnation is not allowed.

RMAN> list incarnation;


List of Database Incarnations
DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1       1       CDB      2265125454       PARENT  1          2019-04-17 00:55:59
2       2       CDB      2265125454       PARENT  1920977    2023-09-26 01:52:18
6       6       CDB      2265125454       ORPHAN  7326532    2024-06-16 02:38:11
5       5       CDB      2265125454       PARENT  7326604    2024-06-16 02:21:34
10      10      CDB      2265125454       ORPHAN  7326605    2024-06-16 02:06:17
14      14      CDB      2265125454       PARENT  7326605    2024-06-16 05:07:19
11      11      CDB      2265125454       ORPHAN  7326605    2024-06-16 02:12:40
4       4       CDB      2265125454       ORPHAN  7326802    2024-06-16 02:12:57
7       7       CDB      2265125454       ORPHAN  7329707    2024-06-16 02:47:21
3       3       CDB      2265125454       ORPHAN  7329707    2024-06-16 03:22:45
12      12      CDB      2265125454       ORPHAN  7329708    2024-06-16 02:24:41
13      13      CDB      2265125454       ORPHAN  7329708    2024-06-16 05:00:46
15      15      CDB      2265125454       PARENT  7496028    2024-06-16 11:16:00
17      17      CDB      2265125454       PARENT  7500404    2024-06-16 12:04:56
16      16      CDB      2265125454       ORPHAN  7500404    2024-06-16 11:46:27
8       8       CDB      2265125454       ORPHAN  7512942    2024-06-16 12:11:52
18      18      CDB      2265125454       ORPHAN  7607066    2024-07-01 17:55:49
20      20      CDB      2265125454       CURRENT 7607066    2024-07-01 19:06:00
19      19      CDB      2265125454       ORPHAN  7607066    2024-07-01 18:07:03
9       9       CDB      2265125454       ORPHAN  7620289    2024-06-16 01:44:42

RMAN>  recover pluggable database pdb  until time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')" auxiliary destination '+data1';

Starting recover at 2024-07-01 19:07:28
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:07:28
ORA-39892: PDB PITR/Flashback to a point in time on an orphan database incarnation is not allowed.

RMAN> drop pluggable databse pdb including datafiles;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of sql statement command at 07/01/2024 19:08:01
ORA-02000: missing DATABASE keyword

RMAN> drop pluggable database pdb including datafiles;

Statement processed

RMAN> recover pluggable database pdb  until time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')" auxiliary destination '+data1';

Starting recover at 2024-07-01 19:08:22
using channel ORA_DISK_1
RMAN-05026: warning: presuming following set of tablespaces applies to specified point-in-time

List of tablespaces expected to have UNDO segments
Tablespace SYSTEM
Tablespace UNDOTBS1
Tablespace UNDOTBS2
Tablespace UNDOTBS3

Creating automatic instance, with SID='Adbc'

initialization parameters used for automatic instance:
db_name=CDB
db_unique_name=Adbc_pitr_pdb_CDB
compatible=19.0.0
db_block_size=8192
db_files=200
diagnostic_dest=/u01/app/oracle
_pdb_name_case_sensitive=false
_system_trig_enabled=FALSE
db_domain=cj.com
sga_target=548M
processes=200
db_create_file_dest=+data1
log_archive_dest_1='location=+data1'
enable_pluggable_database=true
_clone_one_pdb_recovery=true
#No auxiliary parameter file used


starting up automatic instance CDB

Oracle instance started

Total System Global Area     574618552 bytes

Fixed Size                     9165752 bytes
Variable Size                213909504 bytes
Database Buffers             343932928 bytes
Redo Buffers                   7610368 bytes
Automatic instance created

contents of Memory Script:
{
# set requested point in time
set until  time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')";
# restore the controlfile
restore clone controlfile;
 
# mount the controlfile
sql clone 'alter database mount clone database';
}
executing Memory Script

executing command: SET until clause

Starting restore at 2024-07-01 19:08:30
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=184 device type=DISK


Removing automatic instance
shutting down automatic instance 
Oracle instance shut down
Automatic instance removed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:08:31
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06101: no channel to restore a backup or copy of the control file

RMAN> exit


Recovery Manager complete.
[oracle@rac1 ~]$ rman target /

Recovery Manager: Release 19.0.0.0.0 - Production on Mon Jul 1 19:09:12 2024
Version 19.20.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

connected to target database: CDB (DBID=2265125454)

RMAN> 

RMAN>   run{
2> set until time "(to_date('06/16/2024 12:35:00', 'mm/dd/yyyy hh24:mi:ss'))";
3> restore  pluggable database pdb ;
4>  ##recover database;
5>  }

executing command: SET until clause

Starting restore at 2024-07-01 19:09:46
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 19:09:46
ORA-01403: no data found

RMAN> show pdbs;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "all, archivelog, auxiliary, auxname, backup, channel, compression, controlfile, datafile, db_unique_name, default, device, encryption, exclude, incremental, maxsetsize, retention, snapshot, "
RMAN-01008: the bad identifier was: pdbs
RMAN-01007: at line 1 column 6 file: standard input

RMAN> 

RMAN> 

RMAN>   run{
2> set until time "(to_date('06/16/2024 12:35:00', 'mm/dd/yyyy hh24:mi:ss'))";
3> restore  pluggable database pdb ;
4>  ##recover database;
5>  }

executing command: SET until clause

Starting restore at 2024-07-01 19:10:06
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 19:10:06
ORA-01403: no data found

RMAN> run{
2> set until time "(to_date('06/16/2024 12:34:00', 'mm/dd/yyyy hh24:mi:ss'))";
3> restore  pluggable database pdb ;
4>  ##recover database;
5>  }

executing command: SET until clause

Starting restore at 2024-07-01 19:10:27
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 19:10:27
ORA-01403: no data found

RMAN> restore pluggable database pdb;

Starting restore at 2024-07-01 19:10:52
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=412 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 19:10:52
RMAN-06813: could not translate pluggable database PDB

RMAN> run{
2> set until time "(to_date('06/16/2024 12:35:00', 'mm/dd/yyyy hh24:mi:ss'))";
3> restore  pluggable database pdb ;
4> }

executing command: SET until clause

Starting restore at 2024-07-01 19:11:15
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 19:11:16
ORA-01403: no data found

RMAN>  run{
2> set until time "(to_date('06/16/2024 12:33:00', 'mm/dd/yyyy hh24:mi:ss'))";
3> restore  pluggable database pdb ;
4> }

executing command: SET until clause

Starting restore at 2024-07-01 19:12:11
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 19:12:11
ORA-01403: no data found

RMAN>  restore  pluggable database pdb ;

Starting restore at 2024-07-01 19:12:34
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 19:12:34
RMAN-06813: could not translate pluggable database PDB

RMAN> 

----------------------------incarnation 的作用

RMAN> startup mount force;

Oracle instance started
database mounted

Total System Global Area     574615864 bytes

Fixed Size                     9167160 bytes
Variable Size                524288000 bytes
Database Buffers              33554432 bytes
Redo Buffers                   7606272 bytes

RMAN> reset database to incarnation 17;

database reset to incarnation 17

RMAN> restore  pluggable database pdb ;

Starting restore at 2024-07-01 19:22:17
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1183 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 19:22:17
RMAN-06813: could not translate pluggable database PDB

 

 

RMAN> recover pluggable database pdb  until time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')" auxiliary destination '+data1';

Starting recover at 2024-07-01 19:23:00
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:23:00
RMAN-05101: Point-in-Time Recovery without CATALOG and TARGET not open requires that UNDO TABLESPACE is specified

RMAN> list incarnation;     


List of Database Incarnations
DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1       1       CDB      2265125454       PARENT  1          2019-04-17 00:55:59
2       2       CDB      2265125454       PARENT  1920977    2023-09-26 01:52:18
6       6       CDB      2265125454       ORPHAN  7326532    2024-06-16 02:38:11
5       5       CDB      2265125454       PARENT  7326604    2024-06-16 02:21:34
10      10      CDB      2265125454       ORPHAN  7326605    2024-06-16 02:06:17
14      14      CDB      2265125454       PARENT  7326605    2024-06-16 05:07:19
11      11      CDB      2265125454       ORPHAN  7326605    2024-06-16 02:12:40
4       4       CDB      2265125454       ORPHAN  7326802    2024-06-16 02:12:57
7       7       CDB      2265125454       ORPHAN  7329707    2024-06-16 02:47:21
3       3       CDB      2265125454       ORPHAN  7329707    2024-06-16 03:22:45
12      12      CDB      2265125454       ORPHAN  7329708    2024-06-16 02:24:41
13      13      CDB      2265125454       ORPHAN  7329708    2024-06-16 05:00:46
15      15      CDB      2265125454       PARENT  7496028    2024-06-16 11:16:00
17      17      CDB      2265125454       CURRENT 7500404    2024-06-16 12:04:56
16      16      CDB      2265125454       ORPHAN  7500404    2024-06-16 11:46:27
8       8       CDB      2265125454       ORPHAN  7512942    2024-06-16 12:11:52
18      18      CDB      2265125454       ORPHAN  7607066    2024-07-01 17:55:49
20      20      CDB      2265125454       ORPHAN  7607066    2024-07-01 19:06:00
19      19      CDB      2265125454       ORPHAN  7607066    2024-07-01 18:07:03
9       9       CDB      2265125454       ORPHAN  7620289    2024-06-16 01:44:42

RMAN> alter database open;

Statement processed

RMAN> list incarnation;     


List of Database Incarnations
DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1       1       CDB      2265125454       PARENT  1          2019-04-17 00:55:59
2       2       CDB      2265125454       PARENT  1920977    2023-09-26 01:52:18
6       6       CDB      2265125454       ORPHAN  7326532    2024-06-16 02:38:11
5       5       CDB      2265125454       PARENT  7326604    2024-06-16 02:21:34
10      10      CDB      2265125454       ORPHAN  7326605    2024-06-16 02:06:17
14      14      CDB      2265125454       PARENT  7326605    2024-06-16 05:07:19
11      11      CDB      2265125454       ORPHAN  7326605    2024-06-16 02:12:40
4       4       CDB      2265125454       ORPHAN  7326802    2024-06-16 02:12:57
7       7       CDB      2265125454       ORPHAN  7329707    2024-06-16 02:47:21
3       3       CDB      2265125454       ORPHAN  7329707    2024-06-16 03:22:45
12      12      CDB      2265125454       ORPHAN  7329708    2024-06-16 02:24:41
13      13      CDB      2265125454       ORPHAN  7329708    2024-06-16 05:00:46
15      15      CDB      2265125454       PARENT  7496028    2024-06-16 11:16:00
17      17      CDB      2265125454       CURRENT 7500404    2024-06-16 12:04:56
16      16      CDB      2265125454       ORPHAN  7500404    2024-06-16 11:46:27
8       8       CDB      2265125454       ORPHAN  7512942    2024-06-16 12:11:52
18      18      CDB      2265125454       ORPHAN  7607066    2024-07-01 17:55:49
20      20      CDB      2265125454       ORPHAN  7607066    2024-07-01 19:06:00
19      19      CDB      2265125454       ORPHAN  7607066    2024-07-01 18:07:03
9       9       CDB      2265125454       ORPHAN  7620289    2024-06-16 01:44:42

RMAN> recover pluggable database pdb  until time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')" auxiliary destination '+data1';

Starting recover at 2024-07-01 19:23:50
using channel ORA_DISK_1
RMAN-05026: warning: presuming following set of tablespaces applies to specified point-in-time

List of tablespaces expected to have UNDO segments
Tablespace SYSTEM
Tablespace UNDOTBS1
Tablespace UNDOTBS2
Tablespace UNDOTBS3

Creating automatic instance, with SID='liyD'

initialization parameters used for automatic instance:
db_name=CDB
db_unique_name=liyD_pitr_pdb_CDB
compatible=19.0.0
db_block_size=8192
db_files=200
diagnostic_dest=/u01/app/oracle
_pdb_name_case_sensitive=false
_system_trig_enabled=FALSE
db_domain=cj.com
sga_target=548M
processes=200
db_create_file_dest=+data1
log_archive_dest_1='location=+data1'
enable_pluggable_database=true
_clone_one_pdb_recovery=true
#No auxiliary parameter file used


starting up automatic instance CDB

Oracle instance started

Total System Global Area     574618552 bytes

Fixed Size                     9165752 bytes
Variable Size                213909504 bytes
Database Buffers             343932928 bytes
Redo Buffers                   7610368 bytes
Automatic instance created

contents of Memory Script:
{
# set requested point in time
set until  time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')";
# restore the controlfile
restore clone controlfile;
 
# mount the controlfile
sql clone 'alter database mount clone database';
}
executing Memory Script

executing command: SET until clause

Starting restore at 2024-07-01 19:23:58
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=186 device type=DISK

channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece +DATA1/CDB/AUTOBACKUP/2024_06_16/s_1171802092.388.1171802093
channel ORA_AUX_DISK_1: piece handle=+DATA1/CDB/AUTOBACKUP/2024_06_16/s_1171802092.388.1171802093 tag=TAG20240616T123452
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:04
output file name=+DATA1/CDB/CONTROLFILE/current.379.1173165841
Finished restore at 2024-07-01 19:24:02

sql statement: alter database mount clone database

contents of Memory Script:
{
# set requested point in time
set until  time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')";
# set destinations for recovery set and auxiliary set datafiles
set newname for clone datafile  1 to new;
set newname for clone datafile  4 to new;
set newname for clone datafile  9 to new;
set newname for clone datafile  10 to new;
set newname for clone datafile  3 to new;
set newname for clone datafile  7 to new;
set newname for datafile  11 to new;
set newname for datafile  12 to new;
set newname for datafile  13 to new;
set newname for datafile  14 to new;
set newname for datafile  15 to new;
set newname for datafile  16 to new;
# restore the tablespaces in the recovery set and the auxiliary set
restore clone datafile  1, 4, 9, 10, 3, 7, 11, 12, 13, 14, 15, 16;
 
switch clone datafile all;
}
executing Memory Script

executing command: SET until clause

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

Starting restore at 2024-07-01 19:24:06
using channel ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00001 to +data1
channel ORA_AUX_DISK_1: restoring datafile 00004 to +data1
channel ORA_AUX_DISK_1: restoring datafile 00009 to +data1
channel ORA_AUX_DISK_1: restoring datafile 00010 to +data1
channel ORA_AUX_DISK_1: restoring datafile 00003 to +data1
channel ORA_AUX_DISK_1: restoring datafile 00007 to +data1
channel ORA_AUX_DISK_1: reading from backup piece +DATA1/CDB/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.377.1171802007
channel ORA_AUX_DISK_1: piece handle=+DATA1/CDB/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.377.1171802007 tag=FULLDBBACKUP0617
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:45
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00011 to +DATA
channel ORA_AUX_DISK_1: restoring datafile 00012 to +DATA
channel ORA_AUX_DISK_1: restoring datafile 00013 to +DATA
channel ORA_AUX_DISK_1: restoring datafile 00014 to +DATA
channel ORA_AUX_DISK_1: restoring datafile 00015 to +DATA
channel ORA_AUX_DISK_1: restoring datafile 00016 to +DATA
channel ORA_AUX_DISK_1: reading from backup piece +DATA1/CDB/06344F62B8C65A17E0636401A8C0F073/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.381.1171802041
channel ORA_AUX_DISK_1: piece handle=+DATA1/CDB/06344F62B8C65A17E0636401A8C0F073/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.381.1171802041 tag=FULLDBBACKUP0617
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:35
Finished restore at 2024-07-01 19:25:27

datafile 11 switched to datafile copy
input datafile copy RECID=37 STAMP=1173209127 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/system.341.1173165893
datafile 12 switched to datafile copy
input datafile copy RECID=38 STAMP=1173209127 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/sysaux.338.1173165893
datafile 13 switched to datafile copy
input datafile copy RECID=39 STAMP=1173209127 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undotbs1.331.1173165893
datafile 14 switched to datafile copy
input datafile copy RECID=40 STAMP=1173209127 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undo_3.259.1173165893
datafile 15 switched to datafile copy
input datafile copy RECID=41 STAMP=1173209127 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undo_4.298.1173165893
datafile 16 switched to datafile copy
input datafile copy RECID=42 STAMP=1173209127 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/users.273.1173165893
datafile 1 switched to datafile copy
input datafile copy RECID=43 STAMP=1173209127 file name=+DATA1/CDB/DATAFILE/system.390.1173165847
datafile 4 switched to datafile copy
input datafile copy RECID=44 STAMP=1173209127 file name=+DATA1/CDB/DATAFILE/undotbs1.325.1173165847
datafile 9 switched to datafile copy
input datafile copy RECID=45 STAMP=1173209127 file name=+DATA1/CDB/DATAFILE/undotbs2.419.1173165847
datafile 10 switched to datafile copy
input datafile copy RECID=46 STAMP=1173209127 file name=+DATA1/CDB/DATAFILE/undotbs3.274.1173165847
datafile 3 switched to datafile copy
input datafile copy RECID=47 STAMP=1173209127 file name=+DATA1/CDB/DATAFILE/sysaux.299.1173165847
datafile 7 switched to datafile copy
input datafile copy RECID=48 STAMP=1173209127 file name=+DATA1/CDB/DATAFILE/users.369.1173165847

contents of Memory Script:
{
# set requested point in time
set until  time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')";
# online the datafiles restored or switched
sql clone "alter database datafile  1 online";
sql clone "alter database datafile  4 online";
sql clone "alter database datafile  9 online";
sql clone "alter database datafile  10 online";
sql clone "alter database datafile  3 online";
sql clone "alter database datafile  7 online";
sql clone 'PDB' "alter database datafile 
 11 online";
sql clone 'PDB' "alter database datafile 
 12 online";
sql clone 'PDB' "alter database datafile 
 13 online";
sql clone 'PDB' "alter database datafile 
 14 online";
sql clone 'PDB' "alter database datafile 
 15 online";
sql clone 'PDB' "alter database datafile 
 16 online";
#recover pdb
recover clone database tablespace  "SYSTEM", "UNDOTBS1", "UNDOTBS2", "UNDOTBS3", "SYSAUX", "USERS" pluggable database 
 'PDB'  delete archivelog;
#open in read write mode
sql clone 'alter database open resetlogs';
#unplug dropped pdb into temp file
sql clone "alter pluggable database PDB unplug into ''
/u01/app/oracle/product/19.0.0/db_1/dbs/_rm_pdb_pitr_1_liyD.xml''";
#create pdb using temp file of recovered pdb
sql "create pluggable database PDB using ''
/u01/app/oracle/product/19.0.0/db_1/dbs/_rm_pdb_pitr_1_liyD.xml'' nocopy tempfile reuse";
alter pluggable database PDB open;
}
executing Memory Script

executing command: SET until clause

sql statement: alter database datafile  1 online

sql statement: alter database datafile  4 online

sql statement: alter database datafile  9 online

sql statement: alter database datafile  10 online

sql statement: alter database datafile  3 online

sql statement: alter database datafile  7 online

sql statement: alter database datafile  11 online

sql statement: alter database datafile  12 online

sql statement: alter database datafile  13 online

sql statement: alter database datafile  14 online

sql statement: alter database datafile  15 online

sql statement: alter database datafile  16 online

Starting recover at 2024-07-01 19:25:29
using channel ORA_AUX_DISK_1

Executing: alter database datafile 5, 6, 8 offline
starting media recovery

channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=3 sequence=6
channel ORA_AUX_DISK_1: reading from backup piece +DATA1/CDB/BACKUPSET/2024_06_16/annnf0_fulldbbackup0617_0.384.1171802091
channel ORA_AUX_DISK_1: piece handle=+DATA1/CDB/BACKUPSET/2024_06_16/annnf0_fulldbbackup0617_0.384.1171802091 tag=FULLDBBACKUP0617
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=6
channel clone_default: deleting archived log(s)
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 RECID=337 STAMP=1173209132
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete 
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
^C
user interrupt received
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.262.1173165933 thread=3 sequence=7
^C
user interrupt received

Removing automatic instance
shutting down automatic instance 
^C
user interrupt received
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:26:10
RMAN-06136: Oracle error from auxiliary database: ORA-01013: user requested cancel of current operation
RMAN-03015: error occurred in stored script Memory Script
ORA-01013: user requested cancel of current operation
ORA-00308: cannot open archived log '' 应该是遇到了BUG,一定要这个文件,这个文件已经改了名字

RMAN> ^C
user interrupt received


RMAN> report schema;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of report command at 07/01/2024 19:26:17
RMAN-06136: Oracle error from auxiliary database: ORA-01034: ORACLE not available
Process ID: 17381
Session ID: 162 Serial number: 27483

RMAN> startup 

database is already started

RMAN> startup force;

Oracle instance started
database mounted
database opened

 

 

RMAN> alter database open;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of sql statement command at 07/01/2024 19:27:01
RMAN-06136: Oracle error from auxiliary database: ORA-01034: ORACLE not available
Process ID: 17381
Session ID: 162 Serial number: 27483

RMAN> alter database open resetlogs;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of sql statement command at 07/01/2024 19:27:12
RMAN-06136: Oracle error from auxiliary database: ORA-01034: ORACLE not available
Process ID: 17381
Session ID: 162 Serial number: 27483

RMAN> startup force;

Oracle instance started
database mounted
database opened

Total System Global Area     574615864 bytes

Fixed Size                     9167160 bytes
Variable Size                524288000 bytes
Database Buffers              33554432 bytes
Redo Buffers                   7606272 bytes

RMAN> report schema;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of report command at 07/01/2024 19:27:43
RMAN-06136: Oracle error from auxiliary database: ORA-01034: ORACLE not available
Process ID: 17381
Session ID: 162 Serial number: 27483

RMAN> select * from dual;-----sqlplus 下重启多次才行

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of sql statement command at 07/01/2024 19:27:51
RMAN-06136: Oracle error from auxiliary database: ORA-01034: ORACLE not available
Process ID: 17381
Session ID: 162 Serial number: 27483

RMAN> alte ^C
user interrupt received


RMAN> exit


Recovery Manager complete.
[oracle@rac1 ~]$ s

SQL*Plus: Release 19.0.0.0.0 - Production on Mon Jul 1 19:28:16 2024
Version 19.20.0.0.0

Copyright (c) 1982, 2022, Oracle.  All rights reserved.


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.20.0.0.0

SQL> startup force;
ORACLE instance started.

Total System Global Area  574615864 bytes
Fixed Size                  9167160 bytes
Variable Size             524288000 bytes
Database Buffers           33554432 bytes
Redo Buffers                7606272 bytes
Database mounted.
Database opened.
SQL> s
SP2-0042: unknown command "s" - rest of line ignored.
SQL> show pdbs;

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       READ ONLY  NO
SQL> select * from dual;

D
-
X

SQL> exit
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.20.0.0.0
[oracle@rac1 ~]$ rman target /

Recovery Manager: Release 19.0.0.0.0 - Production on Mon Jul 1 19:28:54 2024
Version 19.20.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

connected to target database: CDB (DBID=2265125454)

 

RMAN> alter system switch logfile;

alter system switch logfile;
Statement processed

RMAN> 
alter system switch logfile;
Statement processed

RMAN> 
repStatement processed

RMAN>     

 

RMAN> report schema;

Report of database schema for database with db_unique_name CDB

List of Permanent Datafiles
===========================
File Size(MB) Tablespace           RB segs Datafile Name
---- -------- -------------------- ------- ------------------------
1    1170     SYSTEM               YES     +DATA/CDB/DATAFILE/system.258.1173164243
3    910      SYSAUX               NO      +DATA/CDB/DATAFILE/sysaux.293.1173164243
4    615      UNDOTBS1             YES     +DATA/CDB/DATAFILE/undotbs1.282.1173164243
5    510      PDB$SEED:SYSTEM      NO      +DATA/CDB/0633F844101D69CBE0636401A8C09D55/DATAFILE/system.288.1173164313
6    480      PDB$SEED:SYSAUX      NO      +DATA/CDB/0633F844101D69CBE0636401A8C09D55/DATAFILE/sysaux.290.1173164313
7    5        USERS                NO      +DATA/CDB/DATAFILE/users.274.1173164243
8    215      PDB$SEED:UNDOTBS1    NO      +DATA/CDB/0633F844101D69CBE0636401A8C09D55/DATAFILE/undotbs1.302.1173164313
9    250      UNDOTBS2             YES     +DATA/CDB/DATAFILE/undotbs2.275.1173164243
10   75       UNDOTBS3             YES     +DATA/CDB/DATAFILE/undotbs3.360.1173164243

List of Temporary Files
=======================
File Size(MB) Tablespace           Maxsize(MB) Tempfile Name
---- -------- -------------------- ----------- --------------------
1    24       TEMP                 32767       +DATA/CDB/TEMPFILE/temp.347.1171775247
2    36       PDB$SEED:TEMP        32767       +DATA/CDB/0633F844101D69CBE0636401A8C09D55/TEMPFILE/temp.292.1173164765

RMAN> list incarnation;


List of Database Incarnations
DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1       1       CDB      2265125454       PARENT  1          2019-04-17 00:55:59
2       2       CDB      2265125454       PARENT  1920977    2023-09-26 01:52:18
6       6       CDB      2265125454       ORPHAN  7326532    2024-06-16 02:38:11
5       5       CDB      2265125454       PARENT  7326604    2024-06-16 02:21:34
10      10      CDB      2265125454       ORPHAN  7326605    2024-06-16 02:06:17
14      14      CDB      2265125454       PARENT  7326605    2024-06-16 05:07:19
11      11      CDB      2265125454       ORPHAN  7326605    2024-06-16 02:12:40
4       4       CDB      2265125454       ORPHAN  7326802    2024-06-16 02:12:57
7       7       CDB      2265125454       ORPHAN  7329707    2024-06-16 02:47:21
3       3       CDB      2265125454       ORPHAN  7329707    2024-06-16 03:22:45
12      12      CDB      2265125454       ORPHAN  7329708    2024-06-16 02:24:41
13      13      CDB      2265125454       ORPHAN  7329708    2024-06-16 05:00:46
15      15      CDB      2265125454       PARENT  7496028    2024-06-16 11:16:00
17      17      CDB      2265125454       CURRENT 7500404    2024-06-16 12:04:56
16      16      CDB      2265125454       ORPHAN  7500404    2024-06-16 11:46:27
8       8       CDB      2265125454       ORPHAN  7512942    2024-06-16 12:11:52
18      18      CDB      2265125454       ORPHAN  7607066    2024-07-01 17:55:49
20      20      CDB      2265125454       ORPHAN  7607066    2024-07-01 19:06:00
19      19      CDB      2265125454       ORPHAN  7607066    2024-07-01 18:07:03
9       9       CDB      2265125454       ORPHAN  7620289    2024-06-16 01:44:42

RMAN> recover pluggable database pdb  until time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')" auxiliary destination '+data1';

Starting recover at 2024-07-01 19:29:52
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=427 device type=DISK
RMAN-05026: warning: presuming following set of tablespaces applies to specified point-in-time

List of tablespaces expected to have UNDO segments
Tablespace SYSTEM
Tablespace UNDOTBS1
Tablespace UNDOTBS2
Tablespace UNDOTBS3

Creating automatic instance, with SID='Auuj'

initialization parameters used for automatic instance:
db_name=CDB
db_unique_name=Auuj_pitr_pdb_CDB
compatible=19.0.0
db_block_size=8192
db_files=200
diagnostic_dest=/u01/app/oracle
_pdb_name_case_sensitive=false
_system_trig_enabled=FALSE
db_domain=cj.com
sga_target=548M
processes=200
db_create_file_dest=+data1
log_archive_dest_1='location=+data1'
enable_pluggable_database=true
_clone_one_pdb_recovery=true
#No auxiliary parameter file used


starting up automatic instance CDB

Oracle instance started

Total System Global Area     574618552 bytes

Fixed Size                     9165752 bytes
Variable Size                213909504 bytes
Database Buffers             343932928 bytes
Redo Buffers                   7610368 bytes
Automatic instance created

contents of Memory Script:
{
# set requested point in time
set until  time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')";
# restore the controlfile
restore clone controlfile;
 
# mount the controlfile
sql clone 'alter database mount clone database';
}
executing Memory Script

executing command: SET until clause

Starting restore at 2024-07-01 19:29:59
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=186 device type=DISK

channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece +DATA1/CDB/AUTOBACKUP/2024_06_16/s_1171802092.388.1171802093
channel ORA_AUX_DISK_1: piece handle=+DATA1/CDB/AUTOBACKUP/2024_06_16/s_1171802092.388.1171802093 tag=TAG20240616T123452
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:04
output file name=+DATA1/CDB/CONTROLFILE/current.407.1173166203
Finished restore at 2024-07-01 19:30:03

sql statement: alter database mount clone database

contents of Memory Script:
{
# set requested point in time
set until  time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')";
# set destinations for recovery set and auxiliary set datafiles
set newname for clone datafile  1 to new;
set newname for clone datafile  4 to new;
set newname for clone datafile  9 to new;
set newname for clone datafile  10 to new;
set newname for clone datafile  3 to new;
set newname for clone datafile  7 to new;
set newname for datafile  11 to new;
set newname for datafile  12 to new;
set newname for datafile  13 to new;
set newname for datafile  14 to new;
set newname for datafile  15 to new;
set newname for datafile  16 to new;
# restore the tablespaces in the recovery set and the auxiliary set
restore clone datafile  1, 4, 9, 10, 3, 7, 11, 12, 13, 14, 15, 16;
 
switch clone datafile all;
}
executing Memory Script

executing command: SET until clause

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

Starting restore at 2024-07-01 19:30:08
using channel ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00001 to +data1
channel ORA_AUX_DISK_1: restoring datafile 00004 to +data1
channel ORA_AUX_DISK_1: restoring datafile 00009 to +data1
channel ORA_AUX_DISK_1: restoring datafile 00010 to +data1
channel ORA_AUX_DISK_1: restoring datafile 00003 to +data1
channel ORA_AUX_DISK_1: restoring datafile 00007 to +data1
channel ORA_AUX_DISK_1: reading from backup piece +DATA1/CDB/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.377.1171802007
channel ORA_AUX_DISK_1: piece handle=+DATA1/CDB/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.377.1171802007 tag=FULLDBBACKUP0617
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:45
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00011 to +DATA
channel ORA_AUX_DISK_1: restoring datafile 00012 to +DATA
channel ORA_AUX_DISK_1: restoring datafile 00013 to +DATA
channel ORA_AUX_DISK_1: restoring datafile 00014 to +DATA
channel ORA_AUX_DISK_1: restoring datafile 00015 to +DATA
channel ORA_AUX_DISK_1: restoring datafile 00016 to +DATA
channel ORA_AUX_DISK_1: reading from backup piece +DATA1/CDB/06344F62B8C65A17E0636401A8C0F073/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.381.1171802041
channel ORA_AUX_DISK_1: piece handle=+DATA1/CDB/06344F62B8C65A17E0636401A8C0F073/BACKUPSET/2024_06_16/nnndf0_fulldbbackup0617_0.381.1171802041 tag=FULLDBBACKUP0617
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:35
Finished restore at 2024-07-01 19:31:28

datafile 11 switched to datafile copy
input datafile copy RECID=37 STAMP=1173209488 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/system.349.1173166253
datafile 12 switched to datafile copy
input datafile copy RECID=38 STAMP=1173209488 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/sysaux.359.1173166253
datafile 13 switched to datafile copy
input datafile copy RECID=39 STAMP=1173209488 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undotbs1.346.1173166253
datafile 14 switched to datafile copy
input datafile copy RECID=40 STAMP=1173209488 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undo_3.263.1173166253
datafile 15 switched to datafile copy
input datafile copy RECID=41 STAMP=1173209488 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/undo_4.264.1173166253
datafile 16 switched to datafile copy
input datafile copy RECID=42 STAMP=1173209488 file name=+DATA/CDB/06344F62B8C65A17E0636401A8C0F073/DATAFILE/users.363.1173166253
datafile 1 switched to datafile copy
input datafile copy RECID=43 STAMP=1173209488 file name=+DATA1/CDB/DATAFILE/system.406.1173166209
datafile 4 switched to datafile copy
input datafile copy RECID=44 STAMP=1173209488 file name=+DATA1/CDB/DATAFILE/undotbs1.404.1173166209
datafile 9 switched to datafile copy
input datafile copy RECID=45 STAMP=1173209488 file name=+DATA1/CDB/DATAFILE/undotbs2.403.1173166209
datafile 10 switched to datafile copy
input datafile copy RECID=46 STAMP=1173209488 file name=+DATA1/CDB/DATAFILE/undotbs3.402.1173166209
datafile 3 switched to datafile copy
input datafile copy RECID=47 STAMP=1173209488 file name=+DATA1/CDB/DATAFILE/sysaux.405.1173166209
datafile 7 switched to datafile copy
input datafile copy RECID=48 STAMP=1173209488 file name=+DATA1/CDB/DATAFILE/users.401.1173166209

contents of Memory Script:
{
# set requested point in time
set until  time "to_date('16-JUN-2024 12:35:46','DD-MON-YYYY HH24:MI:SS')";
# online the datafiles restored or switched
sql clone "alter database datafile  1 online";
sql clone "alter database datafile  4 online";
sql clone "alter database datafile  9 online";
sql clone "alter database datafile  10 online";
sql clone "alter database datafile  3 online";
sql clone "alter database datafile  7 online";
sql clone 'PDB' "alter database datafile 
 11 online";
sql clone 'PDB' "alter database datafile 
 12 online";
sql clone 'PDB' "alter database datafile 
 13 online";
sql clone 'PDB' "alter database datafile 
 14 online";
sql clone 'PDB' "alter database datafile 
 15 online";
sql clone 'PDB' "alter database datafile 
 16 online";
#recover pdb
recover clone database tablespace  "SYSTEM", "UNDOTBS1", "UNDOTBS2", "UNDOTBS3", "SYSAUX", "USERS" pluggable database 
 'PDB'  delete archivelog;
#open in read write mode
sql clone 'alter database open resetlogs';
#unplug dropped pdb into temp file
sql clone "alter pluggable database PDB unplug into ''
/u01/app/oracle/product/19.0.0/db_1/dbs/_rm_pdb_pitr_2_Auuj.xml''";
#create pdb using temp file of recovered pdb
sql "create pluggable database PDB using ''
/u01/app/oracle/product/19.0.0/db_1/dbs/_rm_pdb_pitr_2_Auuj.xml'' nocopy tempfile reuse";
alter pluggable database PDB open;
}
executing Memory Script

executing command: SET until clause

sql statement: alter database datafile  1 online

sql statement: alter database datafile  4 online

sql statement: alter database datafile  9 online

sql statement: alter database datafile  10 online

sql statement: alter database datafile  3 online

sql statement: alter database datafile  7 online

sql statement: alter database datafile  11 online

sql statement: alter database datafile  12 online

sql statement: alter database datafile  13 online

sql statement: alter database datafile  14 online

sql statement: alter database datafile  15 online

sql statement: alter database datafile  16 online

Starting recover at 2024-07-01 19:31:29
using channel ORA_AUX_DISK_1

Executing: alter database datafile 5, 6, 8 offline
starting media recovery

channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=3 sequence=6
channel ORA_AUX_DISK_1: reading from backup piece +DATA1/CDB/BACKUPSET/2024_06_16/annnf0_fulldbbackup0617_0.384.1171802091
channel ORA_AUX_DISK_1: piece handle=+DATA1/CDB/BACKUPSET/2024_06_16/annnf0_fulldbbackup0617_0.384.1171802091 tag=FULLDBBACKUP0617
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=6
channel clone_default: deleting archived log(s)
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 RECID=337 STAMP=1173209491
RMAN-08187: warning: media recovery until SCN 7607065 complete 
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
^C
user interrupt received
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
^C
user interrupt received
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
RMAN-08187: warning: media recovery until SCN 7607065 complete
archived log file name=+DATA1/CDB/ARCHIVELOG/2024_07_01/thread_3_seq_6.321.1173166291 thread=3 sequence=7
^C
user interrupt received

Removing automatic instance
shutting down automatic instance 
Oracle instance shut down
Automatic instance removed
auxiliary instance file /u01/app/oracle/product/19.0.0/db_1/dbs/_rm_pdb_pitr_2_Auuj.xml deleted
auxiliary instance file +DATA1/CDB/DATAFILE/sysaux.405.1173166209 deleted
auxiliary instance file +DATA1/CDB/CONTROLFILE/current.407.1173166203 deleted
auxiliary instance file +DATA1/CDB/DATAFILE/users.401.1173166209 deleted
auxiliary instance file +DATA1/CDB/DATAFILE/undotbs3.402.1173166209 deleted
auxiliary instance file +DATA1/CDB/DATAFILE/undotbs2.403.1173166209 deleted
auxiliary instance file +DATA1/CDB/DATAFILE/undotbs1.404.1173166209 deleted
auxiliary instance file +DATA1/CDB/DATAFILE/system.406.1173166209 deleted
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 19:32:00
RMAN-03015: error occurred in stored script Memory Script
ORA-01013: user requested cancel of current operation
ORA-00308: cannot open archived log ''

 

RMAN> list backup of archivelog all;


List of Backup Sets
===================


BS Key  Size       Device Type Elapsed Time Completion Time    
------- ---------- ----------- ------------ -------------------
141     5.75M      SBT_TAPE    00:00:01     2024-06-16 12:28:18
        BP Key: 182   Status: AVAILABLE  Compressed: YES  Tag: FULLDBBACKUP0617
        Handle: 5j2tghj1_179_1_1   Media: /nfs,5j2tghj1_179_1_1

  List of Archived Logs in backup set 141
  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
  ---- ------- ---------- ------------------- ---------- ---------
  3    3       7602574    2024-06-16 12:14:06 7605085    2024-06-16 12:28:17

BS Key  Size       Device Type Elapsed Time Completion Time    
------- ---------- ----------- ------------ -------------------
145     512.00K    SBT_TAPE    00:00:00     2024-06-16 12:29:44
        BP Key: 186   Status: AVAILABLE  Compressed: YES  Tag: FULLDBBACKUP0617
        Handle: 5n2tghlo_183_1_1   Media: /nfs,5n2tghlo_183_1_1

  List of Archived Logs in backup set 145
  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
  ---- ------- ---------- ------------------- ---------- ---------
  3    4       7605085    2024-06-16 12:28:17 7606727    2024-06-16 12:29:44

BS Key  Size       Device Type Elapsed Time Completion Time    
------- ---------- ----------- ------------ -------------------
147     8.81M      DISK        00:00:00     2024-06-16 12:33:25
        BP Key: 188   Status: AVAILABLE  Compressed: YES  Tag: FULLDBBACKUP0617
        Piece Name: +DATA1/CDB/BACKUPSET/2024_06_16/annnf0_fulldbbackup0617_0.315.1171802005

  List of Archived Logs in backup set 147
  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
  ---- ------- ---------- ------------------- ---------- ---------
  3    3       7602574    2024-06-16 12:14:06 7605085    2024-06-16 12:28:17
  3    4       7605085    2024-06-16 12:28:17 7606727    2024-06-16 12:29:44
  3    5       7606727    2024-06-16 12:29:44 7606958    2024-06-16 12:33:24

BS Key  Size       Device Type Elapsed Time Completion Time    
------- ---------- ----------- ------------ -------------------
151     25.00K     DISK        00:00:00     2024-06-16 12:34:51
        BP Key: 192   Status: AVAILABLE  Compressed: YES  Tag: FULLDBBACKUP0617
        Piece Name: +DATA1/CDB/BACKUPSET/2024_06_16/annnf0_fulldbbackup0617_0.384.1171802091

  List of Archived Logs in backup set 151
  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
  ---- ------- ---------- ------------------- ---------- ---------
  3    6       7606958    2024-06-16 12:33:24 7607065    2024-06-16 12:34:51

RMAN> restore archivelog from sequence 3;

Starting restore at 2024-07-01 23:27:03
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 23:27:03
RMAN-20242: specification does not match any archived log in the repository

RMAN> restore archivelog from sequence 6;

Starting restore at 2024-07-01 23:27:12
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 23:27:12
RMAN-20242: specification does not match any archived log in the repository

RMAN> restore archivelog from sequence 3 thread 3;

Starting restore at 2024-07-01 23:27:23
using channel ORA_DISK_1

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/01/2024 23:27:23
ORA-01013: user requested cancel of current operation

 

RMAN> list backup of archivelog all;


List of Backup Sets
===================


BS Key  Size       Device Type Elapsed Time Completion Time    
------- ---------- ----------- ------------ -------------------
141     5.75M      SBT_TAPE    00:00:01     2024-06-16 12:28:18
        BP Key: 182   Status: AVAILABLE  Compressed: YES  Tag: FULLDBBACKUP0617
        Handle: 5j2tghj1_179_1_1   Media: /nfs,5j2tghj1_179_1_1

  List of Archived Logs in backup set 141
  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
  ---- ------- ---------- ------------------- ---------- ---------
  3    3       7602574    2024-06-16 12:14:06 7605085    2024-06-16 12:28:17

BS Key  Size       Device Type Elapsed Time Completion Time    
------- ---------- ----------- ------------ -------------------
145     512.00K    SBT_TAPE    00:00:00     2024-06-16 12:29:44
        BP Key: 186   Status: AVAILABLE  Compressed: YES  Tag: FULLDBBACKUP0617
        Handle: 5n2tghlo_183_1_1   Media: /nfs,5n2tghlo_183_1_1

  List of Archived Logs in backup set 145
  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
  ---- ------- ---------- ------------------- ---------- ---------
  3    4       7605085    2024-06-16 12:28:17 7606727    2024-06-16 12:29:44

BS Key  Size       Device Type Elapsed Time Completion Time    
------- ---------- ----------- ------------ -------------------
147     8.81M      DISK        00:00:00     2024-06-16 12:33:25
        BP Key: 188   Status: AVAILABLE  Compressed: YES  Tag: FULLDBBACKUP0617
        Piece Name: +DATA1/CDB/BACKUPSET/2024_06_16/annnf0_fulldbbackup0617_0.315.1171802005

  List of Archived Logs in backup set 147
  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
  ---- ------- ---------- ------------------- ---------- ---------
  3    3       7602574    2024-06-16 12:14:06 7605085    2024-06-16 12:28:17
  3    4       7605085    2024-06-16 12:28:17 7606727    2024-06-16 12:29:44
  3    5       7606727    2024-06-16 12:29:44 7606958    2024-06-16 12:33:24

BS Key  Size       Device Type Elapsed Time Completion Time    
------- ---------- ----------- ------------ -------------------
151     25.00K     DISK        00:00:00     2024-06-16 12:34:51
        BP Key: 192   Status: AVAILABLE  Compressed: YES  Tag: FULLDBBACKUP0617
        Piece Name: +DATA1/CDB/BACKUPSET/2024_06_16/annnf0_fulldbbackup0617_0.384.1171802091

  List of Archived Logs in backup set 151
  Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
  ---- ------- ---------- ------------------- ---------- ---------
  3    6       7606958    2024-06-16 12:33:24 7607065    2024-06-16 12:34:51

RMAN>   recover pluggable database pdb  until scn 7607065 auxiliary destination '+data1';

Starting recover at 2024-07-01 23:35:31
using channel ORA_DISK_1
RMAN-05026: warning: presuming following set of tablespaces applies to specified point-in-time

List of tablespaces expected to have UNDO segments
Tablespace SYSTEM
Tablespace UNDOTBS1
Tablespace UNDOTBS2
Tablespace UNDOTBS3

Creating automatic instance, with SID='nwrF'

initialization parameters used for automatic instance:
db_name=CDB
db_unique_name=nwrF_pitr_pdb_CDB
compatible=19.0.0
db_block_size=8192
db_files=200
diagnostic_dest=/u01/app/oracle
_pdb_name_case_sensitive=false
_system_trig_enabled=FALSE
db_domain=cj.com
sga_target=548M
processes=200
db_create_file_dest=+data1
log_archive_dest_1='location=+data1'
enable_pluggable_database=true
_clone_one_pdb_recovery=true
#No auxiliary parameter file used


starting up automatic instance CDB

Oracle instance started

Total System Global Area     574618552 bytes

Fixed Size                     9165752 bytes
Variable Size                213909504 bytes
Database Buffers             343932928 bytes
Redo Buffers                   7610368 bytes
Automatic instance created

contents of Memory Script:
{
# set requested point in time
set until  scn 7607065;
# restore the controlfile
restore clone controlfile;
 
# mount the controlfile
sql clone 'alter database mount clone database';
}
executing Memory Script

executing command: SET until clause

Starting restore at 2024-07-01 23:35:39
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=184 device type=DISK


Removing automatic instance
shutting down automatic instance 
Oracle instance shut down
Automatic instance removed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 23:35:41
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06101: no channel to restore a backup or copy of the control file

 

RMAN>   recover pluggable database pdb until sequence 7 thread 3 auxiliary destination '+data1';

Starting recover at 01-JUL-24
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1194 device type=DISK
RMAN-05026: warning: presuming following set of tablespaces applies to specified point-in-time

List of tablespaces expected to have UNDO segments
Tablespace SYSTEM
Tablespace UNDOTBS1
Tablespace UNDOTBS2
Tablespace UNDOTBS3

Creating automatic instance, with SID='zxDi'

initialization parameters used for automatic instance:
db_name=CDB
db_unique_name=zxDi_pitr_pdb_CDB
compatible=19.0.0
db_block_size=8192
db_files=200
diagnostic_dest=/u01/app/oracle
_pdb_name_case_sensitive=false
_system_trig_enabled=FALSE
db_domain=cj.com
sga_target=548M
processes=200
db_create_file_dest=+data1
log_archive_dest_1='location=+data1'
enable_pluggable_database=true
_clone_one_pdb_recovery=true
#No auxiliary parameter file used


starting up automatic instance CDB

Oracle instance started

Total System Global Area     574618552 bytes

Fixed Size                     9165752 bytes
Variable Size                213909504 bytes
Database Buffers             343932928 bytes
Redo Buffers                   7610368 bytes
Automatic instance created

contents of Memory Script:
{
# set requested point in time
set until  logseq 7 thread 3;
# restore the controlfile
restore clone controlfile;
 
# mount the controlfile
sql clone 'alter database mount clone database';
}
executing Memory Script

executing command: SET until clause

Starting restore at 01-JUL-24
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=186 device type=DISK


Removing automatic instance
shutting down automatic instance 
Oracle instance shut down
Automatic instance removed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/01/2024 23:41:14
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore

RMAN> 

;