Oracle: restore recover on table from RMAN

 RMAN> recover table DBADMIN.PS_TTS_PROJECT_TMW

recover table DBADMIN.PS_TTS_PROJECT_TMW

2> until time "to_date('2025-09-09 15:00:00','YYYY-MM-DD HH24:MI:SS')"

until time "to_date('2025-09-09 15:00:00','YYYY-MM-DD HH24:MI:SS')"

3> remap table DBADMIN.PS_TTS_PROJECT_TMW:PS_TTS_PROJECT_TMW_old

remap table DBADMIN.PS_TTS_PROJECT_TMW:PS_TTS_PROJECT_TMW_old

4> auxiliary destination '/usr/opt/app/dbdump/export'

auxiliary destination '/usr/opt/app/dbdump/export'

5> ;

;

Starting recover at 09-SEP-25

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=2667 device type=DISK


Creating automatic instance, with SID='yzae'


initialization parameters used for automatic instance:

db_name=HRPROD

db_unique_name=yzae_pitr_HRPROD

compatible=19.0.0

db_block_size=8192

db_files=3000

diagnostic_dest=/usr/opt/app/oracle/admin

_pdb_name_case_sensitive=false

_system_trig_enabled=FALSE

sga_target=65152M

processes=200

db_create_file_dest=/usr/opt/app/dbdump/export

log_archive_dest_1='location=/usr/opt/app/dbdump/export'

#No auxiliary parameter file used



starting up automatic instance HRPROD


Oracle instance started


Total System Global Area   68316821672 bytes


Fixed Size                    18426024 bytes

Variable Size               7784628224 bytes

Database Buffers           60397977600 bytes

Redo Buffers                 115789824 bytes

Automatic instance created


contents of Memory Script:

{

# set requested point in time

set until  time "to_date('2025-09-09 15:00:00','YYYY-MM-DD HH24:MI:SS')";

# restore the controlfile

restore clone controlfile;


# mount the controlfile

sql clone 'alter database mount clone database';


# archive current online log

sql 'alter system archive log current';

# resync catalog

resync catalog;

}

executing Memory Script


executing command: SET until clause


Starting restore at 09-SEP-25

allocated channel: ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: SID=3 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 /usr/opt/app/dbdump/hot_backup/HRPROD/HRPROD_AutoCTL_c-3518093084-20250909-01.bak

channel ORA_AUX_DISK_1: piece handle=/usr/opt/app/dbdump/hot_backup/HRPROD/HRPROD_AutoCTL_c-3518093084-20250909-01.bak tag=TAG20250909T093112

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01

output file name=/usr/opt/app/dbdump/export/HRPROD/controlfile/o1_mf_nd1crjk3_.ctl

Finished restore at 09-SEP-25


sql statement: alter database mount clone database


sql statement: alter system archive log current


starting full resync of recovery catalog

full resync complete


contents of Memory Script:

{

# set requested point in time

set until  time "to_date('2025-09-09 15:00:00','YYYY-MM-DD 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  3 to new;

set newname for clone datafile  221 to new;

set newname for clone datafile  2 to new;

set newname for clone tempfile  1 to new;

set newname for clone tempfile  2 to new;

set newname for clone tempfile  3 to new;

set newname for clone tempfile  4 to new;

# switch all tempfiles

switch clone tempfile all;

# restore the tablespaces in the recovery set and the auxiliary set

restore clone datafile  1, 3, 221, 2;


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


renamed tempfile 1 to /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_temp_%u_.tmp in control file

renamed tempfile 2 to /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_pstemp_%u_.tmp in control file

renamed tempfile 3 to /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_psgtt01_%u_.tmp in control file

renamed tempfile 4 to /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_temp_%u_.tmp in control file


Starting restore at 09-SEP-25

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 00003 to /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_undotbs1_%u_.dbf

channel ORA_AUX_DISK_1: restoring datafile 00221 to /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_undotbs1_%u_.dbf

channel ORA_AUX_DISK_1: restoring datafile 00002 to /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_sysaux_%u_.dbf

channel ORA_AUX_DISK_1: reading from backup piece /usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_Inc0_T20250909_s101809_p1_1211333497.bak

channel ORA_AUX_DISK_1: piece handle=/usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_Inc0_T20250909_s101809_p1_1211333497.bak tag=TAG20250909T013136

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:20:05

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 /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_system_%u_.dbf

channel ORA_AUX_DISK_1: reading from backup piece /usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_Inc0_T20250909_s101810_p1_1211333497.bak

channel ORA_AUX_DISK_1: piece handle=/usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_Inc0_T20250909_s101810_p1_1211333497.bak tag=TAG20250909T013136

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:06:55

Finished restore at 09-SEP-25


datafile 1 switched to datafile copy

input datafile copy RECID=5 STAMP=1211393822 file name=/usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_system_nd1dyh5w_.dbf

datafile 3 switched to datafile copy

input datafile copy RECID=6 STAMP=1211393822 file name=/usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_undotbs1_nd1crs8d_.dbf

datafile 221 switched to datafile copy

input datafile copy RECID=7 STAMP=1211393822 file name=/usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_undotbs1_nd1crs8g_.dbf

datafile 2 switched to datafile copy

input datafile copy RECID=8 STAMP=1211393822 file name=/usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_sysaux_nd1crs8f_.dbf


contents of Memory Script:

{

# set requested point in time

set until  time "to_date('2025-09-09 15:00:00','YYYY-MM-DD HH24:MI:SS')";

# online the datafiles restored or switched

sql clone "alter database datafile  1 online";

sql clone "alter database datafile  3 online";

sql clone "alter database datafile  221 online";

sql clone "alter database datafile  2 online";

# recover and open database read only

recover clone database tablespace  "SYSTEM", "UNDOTBS1", "SYSAUX";

sql clone 'alter database open read only';

}

executing Memory Script


executing command: SET until clause


sql statement: alter database datafile  1 online


sql statement: alter database datafile  3 online


sql statement: alter database datafile  221 online


sql statement: alter database datafile  2 online


Starting recover at 09-SEP-25

using channel ORA_AUX_DISK_1


Executing: alter database datafile 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70 offline

Executing: alter database datafile 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128 offline

Executing: alter database datafile 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180 offline

Executing: alter database datafile 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 222, 223 offline

starting media recovery


archived log for thread 1 with sequence 326310 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326310_1060004252.arc

archived log for thread 1 with sequence 326311 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326311_1060004252.arc

archived log for thread 1 with sequence 326312 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326312_1060004252.arc

archived log for thread 1 with sequence 326313 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326313_1060004252.arc

archived log for thread 1 with sequence 326314 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326314_1060004252.arc

archived log for thread 1 with sequence 326315 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326315_1060004252.arc

archived log for thread 1 with sequence 326316 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326316_1060004252.arc

archived log for thread 1 with sequence 326317 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326317_1060004252.arc

archived log for thread 1 with sequence 326318 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326318_1060004252.arc

archived log for thread 1 with sequence 326319 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326319_1060004252.arc

archived log for thread 1 with sequence 326320 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326320_1060004252.arc

archived log for thread 1 with sequence 326321 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326321_1060004252.arc

archived log for thread 1 with sequence 326322 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326322_1060004252.arc

archived log for thread 1 with sequence 326323 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326323_1060004252.arc

archived log for thread 1 with sequence 326324 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326324_1060004252.arc

channel ORA_AUX_DISK_1: starting archived log restore to default destination

channel ORA_AUX_DISK_1: restoring archived log

archived log thread=1 sequence=326309

channel ORA_AUX_DISK_1: reading from backup piece /usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_ARC_T20250909_s101855_p1_1211336998.bak

channel ORA_AUX_DISK_1: piece handle=/usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_ARC_T20250909_s101855_p1_1211336998.bak tag=TAG20250909T022958

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:03

archived log file name=/usr/opt/app/dbdump/export/1_326309_1060004252.dbf thread=1 sequence=326309

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326310_1060004252.arc thread=1 sequence=326310

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326311_1060004252.arc thread=1 sequence=326311

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326312_1060004252.arc thread=1 sequence=326312

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326313_1060004252.arc thread=1 sequence=326313

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326314_1060004252.arc thread=1 sequence=326314

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326315_1060004252.arc thread=1 sequence=326315

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326316_1060004252.arc thread=1 sequence=326316

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326317_1060004252.arc thread=1 sequence=326317

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326318_1060004252.arc thread=1 sequence=326318

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326319_1060004252.arc thread=1 sequence=326319

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326320_1060004252.arc thread=1 sequence=326320

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326321_1060004252.arc thread=1 sequence=326321

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326322_1060004252.arc thread=1 sequence=326322

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326323_1060004252.arc thread=1 sequence=326323

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326324_1060004252.arc thread=1 sequence=326324

media recovery complete, elapsed time: 00:01:15

Finished recover at 09-SEP-25


sql statement: alter database open read only


contents of Memory Script:

{

   sql clone "create spfile from memory";

   shutdown clone immediate;

   startup clone nomount;

   sql clone "alter system set  control_files =

  ''/usr/opt/app/dbdump/export/HRPROD/controlfile/o1_mf_nd1crjk3_.ctl'' comment=

 ''RMAN set'' scope=spfile";

   shutdown clone immediate;

   startup clone nomount;

# mount database

sql clone 'alter database mount clone database';

}

executing Memory Script


sql statement: create spfile from memory


database closed

database dismounted

Oracle instance shut down


connected to auxiliary database (not started)

Oracle instance started


Total System Global Area   68316821672 bytes


Fixed Size                    18426024 bytes

Variable Size               7784628224 bytes

Database Buffers           60397977600 bytes

Redo Buffers                 115789824 bytes


sql statement: alter system set  control_files =   ''/usr/opt/app/dbdump/export/HRPROD/controlfile/o1_mf_nd1crjk3_.ctl'' comment= ''RMAN set'' scope=spfile


Oracle instance shut down


connected to auxiliary database (not started)

Oracle instance started


Total System Global Area   68316821672 bytes


Fixed Size                    18426024 bytes

Variable Size               7784628224 bytes

Database Buffers           60397977600 bytes

Redo Buffers                 115789824 bytes


sql statement: alter database mount clone database


contents of Memory Script:

{

# set requested point in time

set until  time "to_date('2025-09-09 15:00:00','YYYY-MM-DD HH24:MI:SS')";

# set destinations for recovery set and auxiliary set datafiles

set newname for datafile  75 to new;

set newname for datafile  76 to new;

set newname for datafile  77 to new;

set newname for datafile  78 to new;

set newname for datafile  79 to new;

# restore the tablespaces in the recovery set and the auxiliary set

restore clone datafile  75, 76, 77, 78, 79;


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


Starting restore at 09-SEP-25

allocated channel: ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: SID=58 device type=DISK


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 00075 to /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_%u_.dbf

channel ORA_AUX_DISK_1: restoring datafile 00079 to /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_%u_.dbf

channel ORA_AUX_DISK_1: reading from backup piece /usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_Inc0_T20250909_s101815_p1_1211335053.bak

channel ORA_AUX_DISK_1: piece handle=/usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_Inc0_T20250909_s101815_p1_1211335053.bak tag=TAG20250909T013136

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:04:36

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 00076 to /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_%u_.dbf

channel ORA_AUX_DISK_1: reading from backup piece /usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_Inc0_T20250909_s101818_p1_1211335840.bak

channel ORA_AUX_DISK_1: piece handle=/usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_Inc0_T20250909_s101818_p1_1211335840.bak tag=TAG20250909T013136

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:04:25

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 00077 to /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_%u_.dbf

channel ORA_AUX_DISK_1: restoring datafile 00078 to /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_%u_.dbf

channel ORA_AUX_DISK_1: reading from backup piece /usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_Inc0_T20250909_s101828_p1_1211336722.bak

channel ORA_AUX_DISK_1: piece handle=/usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_Inc0_T20250909_s101828_p1_1211336722.bak tag=TAG20250909T013136

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:03:15

Finished restore at 09-SEP-25


datafile 75 switched to datafile copy

input datafile copy RECID=14 STAMP=1211394725 file name=/usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_nd1fjorf_.dbf

datafile 76 switched to datafile copy

input datafile copy RECID=15 STAMP=1211394725 file name=/usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_nd1fs9fk_.dbf

datafile 77 switched to datafile copy

input datafile copy RECID=16 STAMP=1211394725 file name=/usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_nd1g1ljk_.dbf

datafile 78 switched to datafile copy

input datafile copy RECID=17 STAMP=1211394725 file name=/usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_nd1g1ljm_.dbf

datafile 79 switched to datafile copy

input datafile copy RECID=18 STAMP=1211394725 file name=/usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_nd1fjorh_.dbf


contents of Memory Script:

{

# set requested point in time

set until  time "to_date('2025-09-09 15:00:00','YYYY-MM-DD HH24:MI:SS')";

# online the datafiles restored or switched

sql clone "alter database datafile  75 online";

sql clone "alter database datafile  76 online";

sql clone "alter database datafile  77 online";

sql clone "alter database datafile  78 online";

sql clone "alter database datafile  79 online";

# recover and open resetlogs

recover clone database tablespace  "HRLARGE", "SYSTEM", "UNDOTBS1", "SYSAUX" delete archivelog;

alter clone database open resetlogs;

}

executing Memory Script


executing command: SET until clause


sql statement: alter database datafile  75 online


sql statement: alter database datafile  76 online


sql statement: alter database datafile  77 online


sql statement: alter database datafile  78 online


sql statement: alter database datafile  79 online


Starting recover at 09-SEP-25

using channel ORA_AUX_DISK_1


Executing: alter database datafile 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70 offline

Executing: alter database datafile 71, 72, 73, 74, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132 offline

Executing: alter database datafile 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184 offline

Executing: alter database datafile 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 222, 223 offline

starting media recovery


archived log for thread 1 with sequence 326310 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326310_1060004252.arc

archived log for thread 1 with sequence 326311 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326311_1060004252.arc

archived log for thread 1 with sequence 326312 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326312_1060004252.arc

archived log for thread 1 with sequence 326313 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326313_1060004252.arc

archived log for thread 1 with sequence 326314 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326314_1060004252.arc

archived log for thread 1 with sequence 326315 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326315_1060004252.arc

archived log for thread 1 with sequence 326316 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326316_1060004252.arc

archived log for thread 1 with sequence 326317 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326317_1060004252.arc

archived log for thread 1 with sequence 326318 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326318_1060004252.arc

archived log for thread 1 with sequence 326319 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326319_1060004252.arc

archived log for thread 1 with sequence 326320 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326320_1060004252.arc

archived log for thread 1 with sequence 326321 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326321_1060004252.arc

archived log for thread 1 with sequence 326322 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326322_1060004252.arc

archived log for thread 1 with sequence 326323 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326323_1060004252.arc

archived log for thread 1 with sequence 326324 is already on disk as file /usr/opt/app/oracle/admin/hrprod/arch/1_326324_1060004252.arc

channel ORA_AUX_DISK_1: starting archived log restore to default destination

channel ORA_AUX_DISK_1: restoring archived log

archived log thread=1 sequence=326309

channel ORA_AUX_DISK_1: reading from backup piece /usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_ARC_T20250909_s101855_p1_1211336998.bak

channel ORA_AUX_DISK_1: piece handle=/usr/opt/app/dbdump/hot_backup/hrprod/HRPROD_ARC_T20250909_s101855_p1_1211336998.bak tag=TAG20250909T022958

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:03

archived log file name=/usr/opt/app/dbdump/export/1_326309_1060004252.dbf thread=1 sequence=326309

channel clone_default: deleting archived log(s)

archived log file name=/usr/opt/app/dbdump/export/1_326309_1060004252.dbf RECID=315401 STAMP=1211394729

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326310_1060004252.arc thread=1 sequence=326310

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326311_1060004252.arc thread=1 sequence=326311

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326312_1060004252.arc thread=1 sequence=326312

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326313_1060004252.arc thread=1 sequence=326313

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326314_1060004252.arc thread=1 sequence=326314

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326315_1060004252.arc thread=1 sequence=326315

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326316_1060004252.arc thread=1 sequence=326316

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326317_1060004252.arc thread=1 sequence=326317

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326318_1060004252.arc thread=1 sequence=326318

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326319_1060004252.arc thread=1 sequence=326319

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326320_1060004252.arc thread=1 sequence=326320

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326321_1060004252.arc thread=1 sequence=326321

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326322_1060004252.arc thread=1 sequence=326322

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326323_1060004252.arc thread=1 sequence=326323

archived log file name=/usr/opt/app/oracle/admin/hrprod/arch/1_326324_1060004252.arc thread=1 sequence=326324

media recovery complete, elapsed time: 00:00:26

Finished recover at 09-SEP-25


database opened


contents of Memory Script:

{

# create directory for datapump import

sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''

/usr/opt/app/dbdump/export''";

# create directory for datapump export

sql clone "create or replace directory TSPITR_DIROBJ_DPDIR as ''

/usr/opt/app/dbdump/export''";

}

executing Memory Script


sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/usr/opt/app/dbdump/export''


sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/usr/opt/app/dbdump/export''


Performing export of tables...

   EXPDP> Starting "SYS"."TSPITR_EXP_yzae_szFB":

   EXPDP> Processing object type TABLE_EXPORT/TABLE/TABLE_DATA

   EXPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS

   EXPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER

   EXPDP> Processing object type TABLE_EXPORT/TABLE/TABLE

   EXPDP> Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT

   EXPDP> Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT

   EXPDP> . . exported "DBADMIN"."PS_TTS_PROJECT_TMW"              23.80 KB     107 rows

   EXPDP> Master table "SYS"."TSPITR_EXP_yzae_szFB" successfully loaded/unloaded

   EXPDP> ******************************************************************************

   EXPDP> Dump file set for SYS.TSPITR_EXP_yzae_szFB is:

   EXPDP>   /usr/opt/app/dbdump/export/tspitr_yzae_72959.dmp

   EXPDP> Job "SYS"."TSPITR_EXP_yzae_szFB" successfully completed at Tue Sep 9 18:33:57 2025 elapsed 0 00:00:52

Export completed



contents of Memory Script:

{

# shutdown clone before import

shutdown clone abort

}

executing Memory Script


Oracle instance shut down


Performing import of tables...

   IMPDP> Master table "SYS"."TSPITR_IMP_yzae_cDxm" successfully loaded/unloaded

   IMPDP> Starting "SYS"."TSPITR_IMP_yzae_cDxm":

   IMPDP> Processing object type TABLE_EXPORT/TABLE/TABLE

   IMPDP> Processing object type TABLE_EXPORT/TABLE/TABLE_DATA

   IMPDP> . . imported "DBADMIN"."PS_TTS_PROJECT_TMW_OLD"          23.80 KB     107 rows

   IMPDP> Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT

   IMPDP> Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT

   IMPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS

   IMPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER

   IMPDP> Job "SYS"."TSPITR_IMP_yzae_cDxm" successfully completed at Tue Sep 9 18:34:58 2025 elapsed 0 00:00:51

Import completed



Removing automatic instance

Automatic instance removed

auxiliary instance file /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_temp_nd1ffyj2_.tmp deleted

auxiliary instance file /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_psgtt01_nd1ffykr_.tmp deleted

auxiliary instance file /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_pstemp_nd1ffykf_.tmp deleted

auxiliary instance file /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_temp_nd1ffyk2_.tmp deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_20_nd1g8r4p_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_19_nd1g8qy9_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_18_nd1g8qv5_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_17_nd1g8qq3_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_16_nd1g8qgw_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_15_nd1g8q89_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_14_nd1g8q2b_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_13_nd1g8px1_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_12_nd1g8pqs_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_11_nd1g8pl1_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_10_nd1g8pdg_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_9_nd1g8p6b_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_8_nd1g8p0m_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_7_nd1g8owl_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_6_nd1g8osp_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_5_nd1g8os5_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_4_nd1g8or0_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_3_nd1g8oq3_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_2_nd1g8ooj_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/onlinelog/o1_mf_1_nd1g8oo0_.log deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_nd1fjorh_.dbf deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_nd1g1ljm_.dbf deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_nd1g1ljk_.dbf deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_nd1fs9fk_.dbf deleted

auxiliary instance file /usr/opt/app/dbdump/export/YZAE_PITR_HRPROD/datafile/o1_mf_hrlarge_nd1fjorf_.dbf deleted

auxiliary instance file /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_sysaux_nd1crs8f_.dbf deleted

auxiliary instance file /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_undotbs1_nd1crs8g_.dbf deleted

auxiliary instance file /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_undotbs1_nd1crs8d_.dbf deleted

auxiliary instance file /usr/opt/app/dbdump/export/HRPROD/datafile/o1_mf_system_nd1dyh5w_.dbf deleted

auxiliary instance file /usr/opt/app/dbdump/export/HRPROD/controlfile/o1_mf_nd1crjk3_.ctl deleted

auxiliary instance file tspitr_yzae_72959.dmp deleted

Finished recover at 09-SEP-25



Comments

Popular posts from this blog

Postgres: Clean up stopped replication slot