Restore Oracle XE database to another machine

I have an oracle XE database on a Windows XP machine, and I want to copy it to a Windows 7 machine.
On the XP, I performed a backup through the "Backup Database" from the GUI (BACKUP.BAT). The Oracle backup created 3 new folders underneath C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\
ARCHIVELOG
AUTOBACKUP
BACKUPSET
I installed XE on the Windows 7 machine and it seems to work well.
Then I coped the 3 backup folders onto a jump drive and put them in the corresponding folder structure on the new Windows 7 machine. I ran the Restore from the GUI as an administrator (RESTORE.BAT). The restore failed, and I can't seem to figure out why. I'm not sure what the Sequence Numbers are all about.
Now I can't get into Apex or Apex_Admin
Thanks for taking a look at this.
The contents of the OXE_RESTORE file are as follows:
Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:33:11 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Windows NT Version V6.1
CPU : 8 - type 586, 4 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:6031M/8183M, Ph+PgF:13737M/16364M, VA:1973M/2047M
Starting with debugging turned off
connected to target database: xe (not mounted)
RMAN> set echo on;
2> restore (spfile from autobackup db_recovery_file_dest='C:\oraclexe\app\oracle\flash_recovery_area\');
3> startup nomount force;
4> restore (controlfile from autobackup);
5> alter database mount;
6> configure controlfile autobackup off;
7> restore database;
8>
echo set on
Starting restore at 08-JAN-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=37 devtype=DISK
recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area\
database name (or database unique name) used for search: XE
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
channel ORA_DISK_1: SPFILE restore from autobackup complete
Finished restore at 08-JAN-11
Oracle instance started
Total System Global Area 805306368 bytes
Fixed Size 1289996 bytes
Variable Size 239075572 bytes
Database Buffers 562036736 bytes
Redo Buffers 2904064 bytes
Starting restore at 08-JAN-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=36 devtype=DISK
recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area
database name (or database unique name) used for search: XE
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
channel ORA_DISK_1: control file restore from autobackup complete
output filename=C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
Finished restore at 08-JAN-11
database mounted
released channel: ORA_DISK_1
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
new RMAN configuration parameters are successfully stored
Starting restore at 08-JAN-11
Starting implicit crosscheck backup at 08-JAN-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=35 devtype=DISK
Crosschecked 1 objects
Finished implicit crosscheck backup at 08-JAN-11
Starting implicit crosscheck copy at 08-JAN-11
using channel ORA_DISK_1
Finished implicit crosscheck copy at 08-JAN-11
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO.DBF
restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF
restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS.DBF
restoring datafile 00005 to C:\ORACLEXE\ORADATA\XE\APEX_1244616068553754.DBF
channel ORA_DISK_1: reading from backup piece C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP
channel ORA_DISK_1: restored backup piece 1
piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP tag=TAG20110107T194642
channel ORA_DISK_1: restore complete, elapsed time: 00:00:56
Finished restore at 08-JAN-11
Recovery Manager complete.
Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:34:37 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Windows NT Version V6.1
CPU : 8 - type 586, 4 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:6021M/8183M, Ph+PgF:13238M/16364M, VA:1973M/2047M
Starting with debugging turned off
connected to target database: XE (DBID=2604800077, not open)
RMAN> set echo on;
2> recover database;
3> alter database open resetlogs;
4>
echo set on
Starting recover at 08-JAN-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=38 devtype=DISK
starting media recovery
archive log thread 1 sequence 375 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
archive log thread 1 sequence 376 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC thread=1 sequence=375
archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC thread=1 sequence=376
unable to find archive log
archive log thread=1 sequence=377
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/08/2011 18:34:47
RMAN-20000: abnormal termination of job step
RMAN-06054: media recovery requesting unknown log: thread 1 seq 377 lowscn 11715842
Recovery Manager complete.

After playing around a little bit I fixed the problem.
There are a total of four folders in \FLASH_RECOVERY_AREA\XE\ I had only copied three of the four.
ARCHIVELOG
AUTOBACKUP
BACKUPSET
The Windows services keep the files in ONLINELOG open, so I had to shut down the services and then work with the folder. Therefore four folders have to be transported and copied onto the new machine:
ARCHIVELOG
AUTOBACKUP
BACKUPSET
ONLINELOG
If you run as an administrator "Backup" from the GUI, it executes BACKUP.BAT, a batch file which calls RMAN. Once that's done, copy the four folders to the same location on the target machine and then run as an administrator "Restore" (RESTORE.BAT).
In another forum someone said to be sure that the "Archive Logs" are copied. It should be interpreted to mean not just the "ARCHIVELOG" folder, but all four folders.
Edited by: PhilMan2 on Jan 11, 2011 11:28 AM

Similar Messages

  • Moving oracle 8i database to another machine

    An oracle 8i database needs to be moved from an old machine to a new one. Will running the server setup on the new machine and then overwritng the new oradata folder with the old one suffice. or will i have to copy the admin and ora81 folders also ?

    This can function for you if both OS are equal:
    Duplicating a Database
    TIP 04: Duplicating a Database in 10g by Joel Pèrez
    Joel Pérez
    http://www.oracle.com/technology/experts

  • Problem in recovering a database on another machine

    Dear All,
    I need your help in restoring and recovering a database on another machine. I don't have access to old machine to get logfile or archivelogs. I have taken full backup using RMAN. I have restored the database using rman sucessfully and trying to recover the database. RMAN have't restored the logfile. Database version is 8.1.7.4, OS is Solaris 8. In recovery, its showing the problem in rbs file. I'm showing all command and error. Just give me any idea that how to recover it sucessfully.
    SVRMGRL>recover database using backup controlfile until cancel;
    ORA-0279: Change 1935345519 generated at 08/19/2005 16:45:50 needed for thread 1
    ORA-0289: suggestion: /u07/oraexp/PROD/arch/arch_1_29958.arc
    ORA-0280: Change 1935345519 for thread 1 is in sequence #29958
    specify log : {RET}...
    cancel
    ORA-01547: warning: Recover succeeded but open resetlogs would get error below
    ORA-01194: file 2 needs more recovery to be consistent
    ORA-01110: data file 2: '/u06/oracle/oradata/PROD/rbs01-PROD.dbf'
    This RBS file size is 7GB. Is it the reason of problem. Even I tried until time, but its also has same error.
    SVRMGRL>recover database using backup controlfile until time '2005-08-16:20:10:00';
    ORA-0279: Change 1935345519 generated at 08/19/2005 16:45:50 needed for thread 1
    ORA-0289: suggestion: /u07/oraexp/PROD/arch/arch_1_29958.arc
    ORA-0280: Change 1935345519 for thread 1 is in sequence #29958
    specify log : {RET}...
    cancel
    ORA-01547: warning: Recover succeeded but open resetlogs would get error below
    ORA-01194: file 2 needs more recovery to be consistent
    ORA-01110: data file 2: '/u06/oracle/oradata/PROD/rbs01-PROD.dbf'
    Why its asking for archive file which generated on 19th, when I'm trying to recover until 16th only.
    Regards
    Rakesh

    Hi.
    What is the size of the redo logs in the database. With a small amount of transactions, there might be redo in this particular archived file from two days back. The timestamp of the archivelogfiles does not indicate that all redo in the file is from this day. It might have changes several days back if no logswitch occured inbetween.
    So, if I were you, I would provide all archivelogs required to get the datafiles consistent.
    As a matter of fact, if archived redo is in the following folder :
    /u07/oraexp/PROD/arch/
    I would use recover database until time and press return for all archived logs svrmgrl comes up with.
    I assume that the database was closed normally prior to taking the offline backup.
    Good luck.
    Rgds
    Kjell Ove

  • How to migrate data from oracle 9i database to new machine 11gr2 RAC ASM

    Hi Expert
    I need your expertise to advise me what is the best method to move data from oracle 9i database to new machine running oracle 11r2 RAC database with ASM.
    Currently my production server running on HPUX ORACLE 9I database with normal file system. My new server is running SUN SOLARIS SPACR 64 bit ORACLE 11gr2 RAC with ASM. What is best method to move data over so it will be consistent. Any guide can refer.
    Regard
    William

    Hi William,
    See the note in metalink Migration of Oracle Database Instances Across OS Platforms [ID 733205.1] to saw the Endian Format of your OS. If is the same you can use the RMAN to convert the database to another OS, if not the only option is using export/import (Transportable Tablespaces).
    To upgrade from 9i to 11g, see the note 837570.1 - Complete Checklist for Manual Upgrades to 11gR2.
    To migrate your FS to ASM the only way is using RMAN, so see the note - How to move a datafile from a file system to ASM [ID 390274.1].
    Hope this help you.
    Best Regards,
    Ruben Morais

  • CLONE ORACLE APPS DATABASE TO OTHER MACHINE

    Hi,
    I want to know how I can clone oracle APPS database to other machine.
    Just want to know the database part.
    Thanks in advance

    You really, really want to ask this in the appropriate Oracle Apps forum. Cloning the database may or may not be sufficient-- most packaged applications have their own data dictionaries that may need to be manipulated in application-specific ways in order to properly clone the application. The folks in the Oracle Apps forum should be able to tell you what scripts, if any, you'd need to run for your particular Oracle Apps version and database.
    Justin

  • Restore Oracle XE 10g Database to another machine

    Hello,
    I have an oracle XE database on a Windows XP machine, and I want to copy it to a Windows 7 machine.
    On the XP, I performed a backup through the "Backup Database" from the GUI. The Oracle backup created 3 new folders underneath C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    I installed XE on the Windows 7 machine and it seems to work well.
    Then I coped the 3 backup folders onto a jump drive and put them in the corresponding folder structure on the new Windows 7 machine. I ran the Restore from the GUI as an administrator. The restore failed, and I can't seem to figure out why. I'm not sure what the Sequence Numbers are all about.
    Now I can't get into Apex or Apex_Admin
    Thanks for taking a look at this.
    The contents of the OXE_RESTORE file are as follows:
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:33:11 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows NT Version V6.1
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:6031M/8183M, Ph+PgF:13737M/16364M, VA:1973M/2047M
    Starting with debugging turned off
    connected to target database: xe (not mounted)
    RMAN> set echo on;
    2> restore (spfile from autobackup db_recovery_file_dest='C:\oraclexe\app\oracle\flash_recovery_area\');
    3> startup nomount force;
    4> restore (controlfile from autobackup);
    5> alter database mount;
    6> configure controlfile autobackup off;
    7> restore database;
    8>
    echo set on
    Starting restore at 08-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=37 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area\
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 08-JAN-11
    Oracle instance started
    Total System Global Area 805306368 bytes
    Fixed Size 1289996 bytes
    Variable Size 239075572 bytes
    Database Buffers 562036736 bytes
    Redo Buffers 2904064 bytes
    Starting restore at 08-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    Finished restore at 08-JAN-11
    database mounted
    released channel: ORA_DISK_1
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters are successfully stored
    Starting restore at 08-JAN-11
    Starting implicit crosscheck backup at 08-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=35 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 08-JAN-11
    Starting implicit crosscheck copy at 08-JAN-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 08-JAN-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
    restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO.DBF
    restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF
    restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS.DBF
    restoring datafile 00005 to C:\ORACLEXE\ORADATA\XE\APEX_1244616068553754.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP tag=TAG20110107T194642
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:56
    Finished restore at 08-JAN-11
    Recovery Manager complete.
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:34:37 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows NT Version V6.1
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:6021M/8183M, Ph+PgF:13238M/16364M, VA:1973M/2047M
    Starting with debugging turned off
    connected to target database: XE (DBID=2604800077, not open)
    RMAN> set echo on;
    2> recover database;
    3> alter database open resetlogs;
    4>
    echo set on
    Starting recover at 08-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=38 devtype=DISK
    starting media recovery
    archive log thread 1 sequence 375 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
    archive log thread 1 sequence 376 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
    archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC thread=1 sequence=375
    archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC thread=1 sequence=376
    unable to find archive log
    archive log thread=1 sequence=377
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/08/2011 18:34:47
    RMAN-20000: abnormal termination of job step
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 377 lowscn 11715842
    Recovery Manager complete.
    Edited by: PhilMan2 on Jan 8, 2011 7:24 PM

    Hi Hemant,
    Thanks for responding. I still need some help.
    I copied the Restore.bat file, and added the line SET UNTIL RESTORE POINT right after the SET LOCAL line.
    Then I deleted and copied the three folders (ARCHIVELOG, AUTOBACKUP, BACKUPSET) that were produced from the Backup on the original machine to the corresponding location on the new machine. I ran the modified BAT file as an administrator and got similar results.
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jan 9 07:56:16 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows NT Version V6.1
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5822M/8183M, Ph+PgF:13225M/16364M, VA:1973M/2047M
    Starting with debugging turned off
    connected to target database: xe (not mounted)
    RMAN> set echo on;
    2> restore (spfile from autobackup db_recovery_file_dest='C:\oraclexe\app\oracle\flash_recovery_area\');
    3> startup nomount force;
    4> restore (controlfile from autobackup);
    5> alter database mount;
    6> configure controlfile autobackup off;
    7> restore database;
    8>
    echo set on
    Starting restore at 09-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=37 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area\
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 09-JAN-11
    Oracle instance started
    Total System Global Area 805306368 bytes
    Fixed Size 1289996 bytes
    Variable Size 239075572 bytes
    Database Buffers 562036736 bytes
    Redo Buffers 2904064 bytes
    Starting restore at 09-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    Finished restore at 09-JAN-11
    database mounted
    released channel: ORA_DISK_1
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters are successfully stored
    Starting restore at 09-JAN-11
    Starting implicit crosscheck backup at 09-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=35 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 09-JAN-11
    Starting implicit crosscheck copy at 09-JAN-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 09-JAN-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
    restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO.DBF
    restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF
    restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS.DBF
    restoring datafile 00005 to C:\ORACLEXE\ORADATA\XE\APEX_1244616068553754.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP tag=TAG20110107T194642
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:16
    Finished restore at 09-JAN-11
    Recovery Manager complete.
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jan 9 07:58:02 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows NT Version V6.1
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5801M/8183M, Ph+PgF:12720M/16364M, VA:1973M/2047M
    Starting with debugging turned off
    connected to target database: XE (DBID=2604800077, not open)
    RMAN> set echo on;
    2> recover database;
    3> alter database open resetlogs;
    4>
    echo set on
    Starting recover at 09-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=38 devtype=DISK
    starting media recovery
    archive log thread 1 sequence 375 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
    archive log thread 1 sequence 376 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
    archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC thread=1 sequence=375
    archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC thread=1 sequence=376
    unable to find archive log
    archive log thread=1 sequence=377
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/09/2011 07:58:11
    RMAN-20000: abnormal termination of job step
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 377 lowscn 11715842
    Recovery Manager complete.

  • Urgent: How to restore a database to another machine without backup files

    I am a beginner with Oracle and need to solve a tough problem.
    I have all the files of a database on a hard disk without previously backed up. I don't have the old machine right now, I only have the hard disk from the old machine, and the new machine. There is an Oracle 9i database on the harddisk, and we need make the database work.
    I've already installed the Oracle 9i on the computer(Win XP), put the files to the right folder, modified the listener.ora and tnsnames.ora, then I added the database from:
    OEM -> Navigator -> Add database to tree -> Add selected databases from your local tnsnames.ora file ...
    When I tried to connect to the database, I got the error:
    ORA-12500: TNS: listener failed to start a dedicated server process.
    The setting in my tnsnames.ora and listener.ora are all correct. tnsping <tnsname> is OK. Besides, the default database installed by the ORACLE software works fine.
    Both the old machine and the new machine are Window XP. Both the old database and the new database are ORACLE 9i.
    Any idea on how to mannually make it work? Thank you inadvance!
    Lihua

    Lihua,
    Since you didn't create the DB with DBCA, you will need to manually create a SID.
    From a command window type
    ORADIM -NEW -SID mydb
    Replace mydb with the DBNAME specified in your init.ora and listener.ora files.
    This will create and start the service. The service should now be available as a windows service in the computer management area...
    From a COMMAND window type
    set oracle_sid=mydb
    sqlplus /nolog
    connect / as sysdba
    startup
    If you have all the files in the correct location the DB should start. You should then be able to connect with the database manager. Good Luck.
    --Paul

  • Connecting to a database on another machine, please help!!!!!!

    Hi there,
    I am new to oracle and at the minute I am using Oracle 9i. I have set up a database on one machine (PC2) and would like to create an odbc from another machine (PC1) to connect to this database. I have set up a listener for (PC1) the using oracle net manager on PC2. what I want to know is: is there anything else I need to do on the PC2 end???? Also, what needs to be done on the PC1 end??? please help!!!

    If everything is setup and working properly on the Server PC2, you can just test the ODBC from PC1 (assum you already have an Oracle ODBC drive).

  • Using mysql database on another machine without having mysql installed

    Hi...
    I was wondering whether its possible to copy a Mysql database that I have created on my machine, take it to another machine which does not have Mysql command line stuff installed and use my own JDBC connection to the copied mysql database and start manipulating my data. I don't know if this is possible or not ..
    The main purpose of doing this is I am creating a Java program which uses a Mysql database and I want to know if I give it to someone else to use it do they have to install Mysql and all the package or can they simply start using it.
    Thanks a lot
    Sassan

    masijade. wrote:
    TuringPest wrote:
    masijade. wrote:
    Sasanpad wrote:
    Hi...
    I was wondering whether its possible to copy a Mysql database that I have created on my machine, take it to another machine which does not have Mysql command line stuff installed and use my own JDBC connection to the copied mysql database and start manipulating my data. I don't know if this is possible or not ..No. Not only would it be in violation of the terms of your license, but a MySQL database is a client/server type setup. No MySQL binaries, no server, your client (jdbc) cannot connect.im just curious because im new to mysql myself, but what do you mean that its a violation of his license?
    do you mean for the commercial version?If he licenses his application under GPL, okay, no problem. Otherwise I read this quote
    Free use for those who never copy, modify or distribute. As long as you never distribute the MySQL Software in any way, you are free to use it for powering your application, irrespective of whether your application is under GPL license or not.
    to mean that you are not allowed to distribute MySQL (or any part of it, unless your application is GPL licensed) with your application, and if he distributes even just the data directory, he is distributing at least a part of MySQL.
    Other's may not see it that way, but do you want to take the chance?The critical element is the word distribute. If he tries to embed MySQL in the application he is giving to his users, he's distributing it. Hence a violation of the license. That does not in any way prevent him from including scripts that when the application is installed goes out and runs the script on the user's installation of MySQL and builds the databases and whatnot his application needs on their MySQL installation.
    Now, for the OP. If all you're keeping up with is urls and such and you don't have hundreds of them. I wouldn't bother with a db at all. a properties file would actually serve your purposes, and xml would suit just fine. Of course you'd have to have access to the file system and such but no licensing issues at all.
    PS.

  • Can  I install  The Oracle NoSQL DataBase in one machine?

    Hi,
    I want to know can i install the no sql database in one machine?
    It's steps there a difference with "Administrator's Guide "?
    Can you give us a example of install step by step ?
    Edited by: user9326678 on 2011-11-27 下午10:22

    In addition to Ashok's note about kvlite, see this FAQ entry on how to install NoSQL Database on a single machine for early prototyping - http://www.oracle.com/technetwork/database/nosqldb/learnmore/nosqldb-faq-518364.html#HowtocreatemultipleStorageNodesonthesamemachine

  • Best way to move Oracle database to another machine

    Hello,
    I'm trying to find the best solution for that case:
    On first Unix machine I'm running 10g database. Whole oracle (binary files + datafiles + index + redo) takes about 350GB from my first storage.
    On second Unix machine (and second storage) I'd like to run exactly the same instance (the first one is going to be a backup server).
    I work in real OLTP environment, and I can only afford a 4-5 hours of downtime (in the night) to move from server 1. to 2.
    Could you recommend me the best solution for moving database to no. 2. My problem is, that between storage 1. and storage 2. I've only 30MB/s bandwidth, sequence:
    1) instance_on_1: shutdown immediate
    2) scp /u01/oracle server2:/u01/oracle
    3) instance_on_3: startup
    will take about 3-4 hours, so I would have no time to additional tasks.
    Best regards
    R.

    user2676302 wrote:
    Hello,
    I'm trying to find the best solution for that case:
    On first Unix machine I'm running 10g database. Whole oracle (binary files + datafiles + index + redo) takes about 350GB from my first storage.
    On second Unix machine (and second storage) I'd like to run exactly the same instance (the first one is going to be a backup server).
    I work in real OLTP environment, and I can only afford a 4-5 hours of downtime (in the night) to move from server 1. to 2.
    Could you recommend me the best solution for moving database to no. 2. My problem is, that between storage 1. and storage 2. I've only 30MB/s bandwidth, sequence:
    1) instance_on_1: shutdown immediate
    2) scp /u01/oracle server2:/u01/oracle
    3) instance_on_3: startup
    will take about 3-4 hours, so I would have no time to additional tasks.
    Best regards
    R.Hi and welcome to forum. Why don't you want to use DUPLICATE DATABASE command of RMAN to duplicate the databsae without any downtime?

  • Connecting oracle dev 2000 forms to oracle 9i database on another server

    we have these oracle developer 2000 forms (in .fmx format) in a server and the data of these forms in another server.... the server with the data is very old and is very slow...so we decided to relocate the database(oracle 9i) to a new server..... also, we move the developer 2000 forms from the old server to another server which will serve as the front end to the new data server.
    The problem is we can't figure out how to make the developer 2000 forms on the new front end server to point to the new database on the new data server. I would really appreciate if u cud gimme some advice on this... so we need to know how the forms find the data, where this "connection string" is for developer 2000 forms.

    You have to create a Net Service from "Net Configuration Assistant". Or you can copy TNSNAMES.ora file from your old server to new server. You can find TNSNAMES.ora file in developer_suite_Home/Network/admin folder.

  • Connect to database via another machine

    We have a machine that is setup with a VPN connection to a database outside our firewall. Whenever we need to access this database we make a remote desktop connection to this machine.
    We would like to be able to connect to the database directly from our workstation using the machine with the VPN connection as a gateway.
    Any pointers in the right direction are welcome.
    Rene

    Dear Rene W.!
    Please have a look at the following link. Your subject has already been discussed there:
    [http://www.mydatabasesupport.com/forums/oracle-server/369378-not-able-connect-oracle-database-through-vpn.html]
    Yours sincerely
    Florian W.

  • 10g Rel2  How to clone a database in another machine suggestions

    Hi All,
    We have 2 solaris boxes(prodn & backup) and our new requirement is to clone the production on the backup server.
    a) If my understanding is correct , does the cloning helps to backup the changes in the production database automatically ?
    b) If by any chance if production database server is down will the backup server database take over it automatically ?
    c) Or can we use grid here or any other suggestions?
    This is not a large database and we have max of 1gb Data with 25 users.
    Thanks
    Rajesh ALex

    Hi All,
    We have 2 solaris boxes(prodn & backup) and our new
    requirement is to clone the production on the backup
    server.
    a) If my understanding is correct , does the cloning
    helps to backup the changes in the production
    database automatically ?No. This is the function of RMAN
    >
    b) If by any chance if production database server is
    down will the backup server database take over it
    automatically ?
    No. This is the function of Data Guard
    c) Or can we use grid here or any other
    suggestions?1) Use RMAN (Read the Backup documentation at http://www.oracle.com/pls/db102/homepage
    2) Use Grid Control (which will use RMAN)

  • How to create a connection to a Oracle DB located on another machine?

    Hi all,
    I am quite new in Oracle :(
    Right now I am trying to create Connection to Oracle DB that is located on a different machine than the Oracle SQL Developer.
    I fill the" Hostname" field with the host's name where the Oracle DB is but I think this is not enough.
    Can some one advice me how to manage this task ?
    Thank you in advance.
    chudomir

    Hi -K-,
    Thank you for the fast respond.
    I think I have all this information but still I am experiencing problems to connect.
    I am connecting to Oracle DB normally like that:
    sqlplus ora_ser/ora_ser@ora_ser
    This is how I fill the connection form :
    Connection Name : Oracle_Conn
    Username : ora_ser
    Password : ora_ser
    Connection type: Basic Role: default
    Host name : server_name@my_company.com
    Port: 1521
    SID : ora_ser
    ---------- On the server --------------------------------------
    cat /etc/tnsnames.ora
    ora_ser =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SID = ora_ser)
    #ps -ef | grep pmon
    oracle 23830 1 0 Oct14 ? 00:00:01 ora_pmon_ora_ser
    # netstat -an | grep -i listen | grep 1521
    tcp 0 0 127.0.0.1:1521 0.0.0.0:* LISTEN
    I am doing something wrong I guess, but do not know what :)
    Chudomir

Maybe you are looking for