|
|
|
|
|
|
|
|
|
|
Re: Error recover database RMAN-06054 [message #674485 is a reply to message #674483] |
Tue, 29 January 2019 07:57   |
 |
petar97
Messages: 120 Registered: October 2018
|
Senior Member |
|
|
RMAN> restore spfile from autobackup;
Starting restore at 29-JAN-19
using channel ORA_DISK_1
recovery area destination: /u01/app/oracle/fast_recovery_area/testDB
database name (or database unique name) used for search: TESTDB
channel ORA_DISK_1: no AUTOBACKUPS found in the recovery area
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190129
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190128
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190127
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190126
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190125
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190124
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190123
channel ORA_DISK_1: no AUTOBACKUP in 7 days found
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 01/29/2019 09:00:50
RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece
[Updated on: Tue, 29 January 2019 08:01] Report message to a moderator
|
|
|
|
|
|
Re: Error recover database RMAN-06054 [message #674513 is a reply to message #674495] |
Wed, 30 January 2019 09:19  |
 |
petar97
Messages: 120 Registered: October 2018
|
Senior Member |
|
|
Works well now, thanks for the advice.
RMAN> restore database until sequence 3;
Starting restore at 30-jan-2019 06:26:14
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/fast_recovery_area/testDB/TESTDB/backupset/2019_01_30/o1_mf_nnnd0_TAG20190130T061336_g531q106_.bkp
channel ORA_DISK_1: piece handle=/u01/app/oracle/fast_recovery_area/testDB/TESTDB/backupset/2019_01_30/o1_mf_nnnd0_TAG20190130T061336_g531q106_.bkp tag=TAG20190130T061336
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:01:25
Finished restore at 30-jan-2019 06:27:41
RMAN> recover database until sequence 3;
Starting recover at 30-jan-2019 06:27:54
using channel ORA_DISK_1
starting media recovery
archived log for thread 1 with sequence 2 is already on disk as file /u01/app/oracle/fast_recovery_area/testDB/TESTDB/archivelog/2019_01_30/o1_mf_1_2_g531rg42_.arc
archived log file name=/u01/app/oracle/fast_recovery_area/testDB/TESTDB/archivelog/2019_01_30/o1_mf_1_2_g531rg42_.arc thread=1 sequence=2
media recovery complete, elapsed time: 00:00:00
Finished recover at 30-jan-2019 06:27:56
RMAN> alter database open resetlogs;
[Updated on: Wed, 30 January 2019 09:25] Report message to a moderator
|
|
|