How to restore an Oracle XE Database without online logs and SPFILE?

Hi there,
My laptop was crashed last week and I was able to get only current datafiles without two online logs files and SPFILEXE.ORA from my old hard drive. I've installed with the same version of Oracle Database 10g Express Edition Release 10.2.0.1.0* software on Windows XP Pro.
I have DATAFILEs from my old db instance XE which have my thesis data.
*'C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF',*
*'C:\ORACLEXE\ORADATA\XE\UNDO.DBF',*
*'C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF',*
*'C:\ORACLEXE\ORADATA\XE\USERS.DBF',*
*'C:\ORACLEXE\ORADATA\XE\TEMP.DBF',*
*'C:\ORACLEXE\ORADATA\XE\USERS.DBF'*
Even though I am not 100% percent sure about If I've set the NOARCHIVELOG mode previously but neither I have the redo log files are backed up i.e. two redo log files are in C:\oraclexe\app\oracle\flash_recovery_area\XE\ONLINELOG nor have SPFILE<<SID>>.ORA. Thus, this is not really typical "+Cold backup+" when you stop the database and zip up all those 9 files (in NOARCHIVELOG mode).
I've tried the RMAN utility but it seems it requires redo log files too.
I wonder if I can restore somehow by copying all 6 datafiles to the same folder 'C:\ORACLEXE\ORADATA\XE\' or not. If so, how can I do so?
Will appreciate any advice.
Thanks in advance,

Recovering an SPfile is trivial if you have the alert log, locate the last startup- there will be a section with all the non-default parameters. Copy/paste those items to create a pfile, use it for a startup mount, check the catalog views to see if recovery is needed. Without the online redo logs it will probably need an incomplete recovery.
So in the old alertlog, [drive:]\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log, grab the lines after "System parameters with non-default values:" its maybe 15 or 20 items for an "out of the box" XE install, save those to a file someplace like [drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora, fire up sqlplus and connect as sysdba, startup with the pfile ...
$ sqlplus /nolog
> connect /as sysdba;
startup mount pfile='[drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora';
If the database makes it to mount mode, check the recovery view ...
select * from v$recover_file;
If that view is clean, open 'er up should be good to go ... and create a new spfile:
alter database open;
create spfile from pfile='[drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora';
If the instance was in archivelog mode and the archive destination wasn't specified it uses flash_recovery_area for storing archivelog files, check if there are any files in the flash_recovery_area/XE/ARCHIVELOG/[yyyy-mm-dd] (?) directories. Or when connected as sysdba a command will tell you if archivelog mode is enabled:
archive log list;

Similar Messages

  • How to restore the oracle 10g database

    Hi all,
    I am very new to oracle. I have experience in mssql and mysql previously.
    Now we have a oracle application to work . I have an oracle database backup (mydata.bak) taken it from my client's oracle database 10g enterprise edition. Now I want to restore the .bak file at my place . I had installed oracle 10g enterprise edition. After that I had created a datbase called praveen by selecting archivelogmode. The database had created . I am able to login through enterprise manager for this praveen database instance.
    Now I want to restore the backup file mydata.bak file into praveen database. May I know how to proceed further?
    Please anybody help me out?
    And basically what is the backup file format in oracle . As I know for mysql it is .sql and for MSsql it is .bak.
    Plz buddies anybody help me out. It is very urgent

    Hi..
    Actually one of the employee related to my client had given me the backup file (mydata.bak). I don't know exactly which type it is?Can't you contact the concerned person at the client side.
    May I know what is the difference between rman and cold backup?In cold backup the database is first cleanly shutdown, and then copies of all the datafiles of the database are taken(all of them in consistent stage).
    RMAN backup is used more where you need to take the backup while the database is up and running.If the database is in ARCHIVELOG mode, then the RMAN backup can be taken while database is in open mode and if the database is in NOARCHIVELOG mode, then in mount stage.
    [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/part1.htm]
    [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/part4.htm#BRADV44444]
    Can I start restore by assuming the given backup file as cold and if is not possible by assuming cold backup? Better confirm and then start.
    Anand

  • How To Restore corrupted Oracle 10g Database

    Hello Guys,
    We have Oracle 10.2.0.3 database installed on Itanium server.
    1. One day we found some packages got invalid & not compiling at all with error –
    ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], [].
    2. Then we successfully restored the database from old RMAN backup of previous date that caused this error.
    3. After 2 days again we found the same error in alert_prd log -
    ORA-00600: internal error code, arguments: [ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], []
    ORA-06512: at "SYS.DBMS_STATS", line 19089
    4. Then for testing we exported database using exp command & found 3 tables are not exporting because of data block corruption issue.
    5. Then we truncated the data from all 3 tables and then able to export successfully.
    6. After all this we manually run SYS.DMS_STATS job but found same error logged in prd_alert log.
    This looks like, still database block corruption issue is there & we are unable to cure it 100%
    This is a production system & in very critical state now.
    Please looking for a help from all of you expert guys to resolve this issue.
    Thanks in advance,
    ~Amol

    Hello;
    I don't believe you have an issue that RMAN can solve. Since you have an ORA-600 I would use Oracle support.
    There's an Oracle MOS doc on this :
    ORA-600 [6008] Generated Due To Underlying ORA-01410 [ID 743661.1]
    It's an exact match of your version and line number.
    Best Regards
    mseberg

  • How to restore SQL Server 2008 database to SQL Server Express 2012

    How to restore SQL Server 2008 database to SQL Server Express 2012.
    I BACKED UP a SQL Server 2008 database from work, which runs the enterprise version of 2008, and I tried to RESTORE it to my new 64-Bit home PC which is running the new SQL Server Express 2012 64-Bit (Advanced Edition).
    But if fails. I get the following message text.
    Can anyone help me please. I thought restoring a 2008 database to the later version 2012 would be possible.
    Here is the error message. Thanks.
    TITLE: Microsoft SQL Server Management Studio
    Restore of database failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)
    ADDITIONAL INFORMATION:
    System.Data.SqlClient.SqlError: The database was backed up on a server running version 8.00.2039. That version is incompatible with this server, which is running version 11.00.3128. Either restore the database on a server that supports the backup, or use a
    backup that is compatible with this server. (Microsoft.SqlServer.SmoExtended)

    ADDITIONAL INFORMATION:
    System.Data.SqlClient.SqlError: The database was backed up on a server running version 8.00.2039. That version is incompatible with this server, which is running version 11.00.3128. Either restore the database on a server that supports the
    backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.SmoExtended)
    Are you sure your database is SQL server 2008 from error message it seems your SQL server version is 2000.I guess you have multiple versions of SQL server.
    AFAIK you cannot restore backup of SQL server 2000 to 2012 directly .Restore it first to SQL 2008/2008R2 or 2005 then take backup again of new database created and then you would be able to restore it on 2012.Its kind of intermediate way
    Also make sure your DB size is less than 10 G as max DB size supported by Express edition is 10 G and if your DB size is more than 10 G restore will fail.
    You are also trying to restore enterprise DB backup on express edition so you will loose enterprise features on express edition
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?

    Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
    We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.

    Hi, Srini Chavali-Oracle
    As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
    As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks.

  • How we can create Oracle 9i Database through Commands.

    How we can create Oracle 9i Database through Commands.
    We need step by step process and all the scripts.

    CREATE DATABASE
    Caution:
    This statement prepares a database for initial use and erases any data currently in the specified files. Use this statement only when you understand its ramifications.
    Note Regarding Security Enhancements:
    In this release of Oracle and in subsequent releases, several enhancements are being made to ensure the security of default database user accounts.
    To provide guidance for configuring Oracle9i in a secure manner, Oracle Corporation provides a security checklist. Oracle Corporation recommends that you read this checklist and configure your database accordingly. The security checklist can be found at the following URL:
    http://otn.oracle.com/deploy/security/oracle9i/pdf/9iR2_checklist.pdf
    Examples
    Creating a Database: Example
    The following statement creates a database and fully specifies each argument:
    CREATE DATABASE sample
    CONTROLFILE REUSE
    LOGFILE
    GROUP 1 ('diskx:log1.log', 'disky:log1.log') SIZE 50K,
    GROUP 2 ('diskx:log2.log', 'disky:log2.log') SIZE 50K
    MAXLOGFILES 5
    MAXLOGHISTORY 100
    MAXDATAFILES 10
    MAXINSTANCES 2
    ARCHIVELOG
    CHARACTER SET AL32UTF8
    NATIONAL CHARACTER SET AL16UTF16
    DATAFILE
    'disk1:df1.dbf' AUTOEXTEND ON,
    'disk2:df2.dbf' AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
    DEFAULT TEMPORARY TABLESPACE temp_ts
    UNDO TABLESPACE undo_ts
    SET TIME_ZONE = '+02:00';
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_55a.htm#SQLRF01204
    Joel P�rez

  • How do I lighten up a sequence without loosing color and contrast?

    how do I lighten up a sequence without loosing color and contrast?

    What have you tired so far? Color correction can be a bit of a challenge until you get comfortable with it.
    Also, unless your sequence is one uniform scene, it would probably be better to go on a clip by clip basis to make these adjustments - but here is one quick way to do it for the whole sequence, which may or may not give you the results you are looking for:
    Apply an Adjustment Layer that covers the duration of your sequence.
    Apply the Fast Color Corrector to the Adjustment Layer.
    In the settings for the Fast Color Corrector, bring up the Input Gray level a bit (this will lighten the scene) and raise the Input Black Level (this will help restore some of the contrast). If you need to make the bright portions of the scene brighter, bring down the Input White Level.
    Go slowly with small adjustments and  adjust to taste. You'll need to work back and forth on those controls to get the best compromise.
    If you want more color, increase the Saturation a small amount.
    MtD

  • How can I export oracle e-business suite online help?

    hi,dear expert
    how can I export oracle e-business suite online help?
    I want to view it when I works offline,please help me ,thank you!!
    null

    I think Oracle Apps Help system is built in to Apps installation and you can’t easy enough export it. I have got a few things in mind:
    1. You can install Apps on your laptop and by that way make ONLINE Help available offline ;) Online help describes Forms, fields, navigation and really ONLINE things. To me it sounds a bit illogical to have ONLINE help without access to the application.
    2. The Apps Doc Set is available on the OTN. You can easy download it for OFFLINE reading. And this documentation is intended for offline reading.
    3. Help files for each module located in $APPL_TOP/*/11.5.0/help/US directories. You can try to copy a directory for a module you are interested in on you PC and try to read it offline.
    Just my 0.0.2£,
    Yury

  • How can I change my iCloud email without losing pictures and data

    HOw can I change me iCloud email without losing pictures and data

    If you sign out it will be removed from the phone (but not from the icloud account)
    What are you trying to achieve here, why change your email address?
    I just realised that I answered the wrong person.
    Jill, you should start your own thread.

  • I think i have a virus on my Macbook Pro, OS X Yosemite, how do i wipe my computer clean without erasing photos and music etc?

    i think i have a virus on my Macbook Pro, OS X Yosemite, how do i wipe my computer clean without erasing photos and music etc?

    The update alerts are fake, and are intended to dupe you into installing malware or disclosing private information so that your identity can be stolen.
    You might get the alerts when visiting a website that has been hacked. Don't visit the site again. If applicable, notify the site administrator of the problem, but don't send email to an unknown party.
    If you get the alerts when visiting more than one well-known website, such as Google, YouTube, or Facebook, then they may be the result of an attack on your router that has caused you to get false results from looking up the addresses of Internet servers. Requests sent to those sites are redirected to a server controlled by the attacker. It's possible, but less likely, that the DNS server used by your ISP has been attacked.
    Back up all data.
    Unlock the Network preference pane, if necessary, by clicking the lock icon in the lower left corner and entering your password. Cllck Advanced, open the DNS tab, and change the server addresses to the following:
              8.8.8.8
              8.8.4.4
    That's Google DNS. Click OK, then Apply.
    In Safari, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. If you’re using another browser, empty the cache. Test. If the fake update alerts stop, see below. Otherwise, ask for instructions.
    The router's documentation should tell you how to reset it to the factory default state. Usually there's a pinhole switch somewhere in the back. It may be labeled "RESET." Insert the end of a straightened paper clip or a similar tool and press the button inside for perhaps 15 seconds, or as long as the instructions specify.
    After resetting the router, quit the web browser and relaunch it while holding down the shift key. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Do the equivalent if you use another browser. Open the Downloads folder and delete anything you don't recognize.
    Then go through the router's initial setup procedure. I can't be specific, because it's different for every model. The key points are these:
    1. Don't allow the router to be administered from the WAN (Internet) port, if it has that option. Most do.
    2. Set a strong password to protect the router's settings: at least ten random upper- and lower-case letters and digits. Don't use the default password or any other that could be guessed. Save the password in your keychain. Any password that you can remember is weak.
    3. If the router is wireless, or if you have a wireless access point on the network, use "WPA 2 Personal" security and set a different strong password to protect the network. If the router or access point doesn't support WPA 2, it's obsolete and must be replaced.
    During the time the router was compromised, you were redirected to bogus websites. If you ever connected to a secure site and got a warning from your browser that the identity of the server could not be verified, and you dismissed that warning in order to log in, assume that your credentials for the site have been stolen and that the attacker has control of the account. This warning also applies to all websites on which you saw the fake update alerts.
    Check the router manufacturer's website for a firmware update.
    If you downloaded and installed what you thought was a software update, ask for instructions.

  • How to turn on an iphone 4s without power button and also got water damage

    how to turn on an iphone 4s without power button and also got water damage?

    Actually the rice is not very effective, you really want to use a desiccant. There are products out there that work really well, the silica gel is a much better alternative to rice. See our blog post about what to do next time this happens:
    The Truth About iPhone Water Damage
    http://iheartrepair.blogspot.com/2013/07/the-truth-about-water-damage.html
    I may receive some form of compensation, financial or otherwise, from my recommendation or link
    <Edited by Host>

  • Hi, On opening organiser on Elements 12, I get " Online services could not be initialized. Please reinstall. Press ok to continue without online services" And I can't open Editor

    'Hi, On opening organiser on Elements 12, I get " Online services could not be initialized. Please reinstall. Press ok to continue without online services" And I can't open Editor.   Where do I go to to reinstall and how??
    Message was edited by: Taylor Cosson

    What computer operating system are you using? If Windows go to:
    C:\Users\99jon\AppData\Roaming\Adobe\Online Services
    Inside the Online Services folder delete the Photoshop Elements 12.0.0 folder.
    Re-launch Organizer and OLS should get recreated.
    N.B substitute your user name for 99jon. If you can’t find AppData you may first need to enable the showing of hidden system files.
    Follow these steps to display hidden files and folders.
    Open Folder Options by clicking the Start button, clicking Control Panel, clicking Appearance and Personalization, and then clicking Folder Options.
    Click the View tab.
    Under Advanced settings, click Show hidden files and folders, and then click OK.

  • How  to get the oracle 10g database backup.

    Hi,
    i have installed oracle 10g.i need to get the back up of db.
    i have search so many sites.i didn't get much information.
    some guys tells we go to installed directory in that run"RAMNS".
    i am following in the process.after run the rams which commands
    i have to used to get the db back up.
    C:\Oracle\app\oracle\product\10.2.0\server\BIN\RAMNS
    RAMNS>...(here is the prob which commands i have to used)
    i have seen another way solution is you can use "imp" and "exp" present in BIN to take back up.(how to follow this)
    please help me,

    Would suggest you read the docs on backup, restore. if you cannot restore you db, you are in trouble. read it and understand it well.
    Summary:
    For 10g, you have rman, imp/exp and datapump import/export (replaces imp/exp).
    For very simple backups where you have windows you can shut down, run a cold backup. shutdown the database, copy the database files, and startup. i also take copies of the current pfile and anything else important to restore the database with. we copy the files to a dedicated backup file system, which go to tap, e.
    That will give you a simple option to restore.
    For prod databases, you typically want archive mode on which means you can run hot or online backups. just remember you have to have the archive logs generated during the hot backup. you now also have the ability to do a point in time restore.
    Exp or datapump exp can be used for metadata exports, full exports or partial (schema, table, etc) as needed. i typically run a cold or hot plus an export for redundacy and restore options, but db size will change how you back things up.
    You can find plenty of scripts to automate these. just understand how the scripts work and understand the process itself. if not, you will have trouble restoring when it is needed the most.
    Rman is also a good option with the latest releases.

  • How to automate an oracle 8i database startup

    I have an Oracle 8i database with the SID = MUKREC and installed on C:\
    Whenever the computer is restarted, the database doesnot startup automatically
    But has to be started manually. What could be the cause of this issue and how
    can I resolve it. So that whenever I restart the PC I donot have to start the
    database manually.
    Thanks
    Kaybroz

    Dear Pravintakpire,
    Thanks alot for the reply but,
    When I open the Services console, there is a service called OracleServiceMukrec and its startup type is already Automatic and the status is showing 'Starting'
    Me I suspect the issue may be arising on the init.ora file because when I try to use the GUI(DBA Studio) to start the database I realise that it is pointing to "C:\Oracle\Ora81\sysman\ifiles\def_MUKREC.ora" as the init.ora file yet it should be pointing to "C:\Oracle\admin\Mukrec\pfile\init.ora"
    So how should go about it and what's your opnion concerning this.
    Thanks

  • How do you query Oracle RDF database using Java program?

    Does anyone know how to get data out of the oracle RDF database using Java?
    I'm running the following java code and it returns basically null values. My guess is that the get_triple() function returns a dataset other than resultset. I've tried searching the Oracle web site. Am I supposed to be using CLOB object? Any help would be appreciated. Thanks
    sql = "SELECT a.triple.GET_TRIPLE() AS triple FROM family_rdf_data a";
    ResultSet rs = stmt.executeQuery( sql ) ;
    while ( rs.next() )
    System.out.println( rs.getString(1) ) ;
    rs.close() ;

    get_triple() returns an object, and the code would be different from the code of retrieving a string. Some sample code for retrieving objects is at http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.html
    get_subject(), get_property() return strings so the code below should work. get_object() returns a CLOB so different handling would be required and there is some sample code at the link above.
    Melli

Maybe you are looking for

  • InDesignCC. How to keep image quality with exporting Interactive PDF?

    Hello everyone, I'm using InDesign CC, I'm exporting a PDF that has PNG images, the problem is that I'm loosing the sharpness and the pureness in the images after exporting the file into PDF Interactive... the Settings I'm using for Image Handling ar

  • As a future game developer, how can I submit a standalone Mac game to the store?

    I'm just saving up for special software, and when I buy it, I'm going to get together with some friends to pump out a standalone game for Macs. And before we start development, I'm just wondering if and how I can get it onto the Mac App Store when it

  • IPad   iTunes rental   TV = Full screen?

    When previewing the rental movies from TV using iPad and digital av adapter (hdmi), tv shows a windowboxed image. When watching a movie from the library, tv shows full screen. Does rental movies work in full screen, or does the preview show the exact

  • Conditional display in the row template!

    Hi, I created a report template and my report shows like this: col1 col2 col3 col4 col5 a 4 5 6 7 b 4 8 7 2 Total 8 13 13 9 I am able to display all the above, but the column name should be "Total" at the end of the report when i am displaying the to

  • How to call a package with OO4O?

    I have designed a package which execute a procedure. How can I call it with OO4O? Please give me a sample code.