Re: RE: recover database from scratch
Date: Fri, 16 Jun 2017 20:26:20 +0000
Message-ID: <DF4PR84MB01246E483400425E4A735D08CCC10_at_DF4PR84MB0124.NAMPRD84.PROD.OUTLOOK.COM>
Did you edit the trace file first to make any required file name changes?
I did not read the previous thread and are you sure there was no control file in the backup set
list backup of controlfile;
Mark Powell
Database Administration
(313) 592-5148
From: oracle-l-bounce_at_freelists.org <oracle-l-bounce_at_freelists.org> on behalf of lyallbarbour <lyallbarbour_at_sanfranmail.com> Sent: Friday, June 16, 2017 4:05:07 PM
To: andrew.kerber_at_gmail.com
Cc: oracle-l
Subject: Re: RE: recover database from scratch
Wish I had the autobackup controlfiles... can't find them. Just found the tracefiles. I'll be checking all the basc when I get home, like what Bob suggested.
Lyall
Sent via the Samsung Galaxy NoteŽ 4, an AT&T 4G LTE smartphone
I havent tried this in a long time, but dont you need to set the dbid before you run the catalog command? I think the sequence would be set dbid, create controlfile, mount, catalog start with...
But if you have full database backups, you should have a backup of the control file in there somewhere to restore.
On Fri, Jun 16, 2017 at 1:54 PM, Lyall Barbour <lyallbarbour_at_sanfranmail.com<mailto:lyallbarbour_at_sanfranmail.com>> wrote:
sorry. i meant NOMOUNT.
any other ideas?
Sent: Friday, June 16, 2017 at 2:49 PM
From: oracle-l-bounce_at_freelists.org<mailto:oracle-l-bounce_at_freelists.org> [mailto:oracle-l-bounce_at_freelists.org<mailto:oracle-l-bounce_at_freelists.org>] On Behalf Of Lyall Barbour
Sent: Friday, June 16, 2017 2:46 PM
***This email is from an external source. Only open links and attachments from a Trusted Sender.***
Hi,
Oracle 12.1.0.2
WHat i have: RMAN backup(s) of my database. I have the init.ora file. trace file backup of the controlfiles
what i don't have: any datafiles, controlfiles, redo logs, etc.
I can mount the database, but when i try to create the controfiles from the trace file, i get
CREATE CONTROLFILE SET DATABASE "BLAH" RESETLOGS FORCE LOGGING ARCHIVELOG
*
which is very true. after i created the controlfiles and mounted the database, i was going to RMAN and do a CATALOG START WITH, etc. and restore...
Help? lol isn't this just a database cloning i'm essentially doing?
Lyall Barbour
Notice of Confidentiality: **This E-mail and any of its attachments may contain
Lincoln National Corporation proprietary information, which is privileged, confidential,
or subject to copyright belonging to the Lincoln National Corporation family of
companies. This E-mail is intended solely for the use of the individual or entity to
which it is addressed. If you are not the intended recipient of this E-mail, you are
hereby notified that any dissemination, distribution, copying, or action taken in
relation to the contents of and attachments to this E-mail is strictly prohibited
and may be unlawful. If you have received this E-mail in error, please notify the
sender immediately and permanently delete the original and any copy of this E-mail
and any printout. Thank You.**
--
'If at first you dont succeed, dont take up skydiving.'
--
i have been just running the create controlfile tracefile script, which does the startup nomount in it.
From: "Ruel, Chris" <Chris.Ruel_at_lfg.com<mailto:Chris.Ruel_at_lfg.com>>
To: "lyallbarbour_at_sanfranmail.com<mailto:lyallbarbour_at_sanfranmail.com>" <lyallbarbour_at_sanfranmail.com<mailto:lyallbarbour_at_sanfranmail.com>>, oracle-l <oracle-l_at_freelists.org<mailto:oracle-l_at_freelists.org>>
Subject: RE: recover database from scratch
You have to create the controlfile in NOMOUNT.
Chris Ruel * Oracle Database Administrator * Lincoln Financial Group
cruel_at_lfg.com<mailto:cruel_at_lfg.com> * Desk:317.759.2172<tel:(317)%20759-2172> * Cell 317.523.8482<tel:(317)%20523-8482>
To: oracle-l <oracle-l_at_freelists.org<mailto:oracle-l_at_freelists.org>>
Subject: recover database from scratch
I feel like this is not as complicated as i'm making it.
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file '/oradata01/SFINA021/SYSTEM.01.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
Andrew W. Kerber
http://www.freelists.org/webpage/oracle-l
Received on Fri Jun 16 2017 - 22:26:20 CEST