Rman restore to windows server with different drive layout

I'm restoring to a server with a different drive layout. I'm using the set newname for the datafiles and it's working fine. However. My redo logs show that they are on the f: drive and the f: drive doesn't exist on the new server (recovery). so when I'm all done I get an error saying that it cant find the redo02.log. Any ideas?
TIA
Dave

no problem, thanks for the reply.
Here's what I tried in the init.ora
LOG_FILE_NAME_CONVERT=('F:\ORADATA\ORCQA08','D:\ORADATA\ORCQA08')
I didn't even create the spfile I figured I could do that later.
The datafiles alll go to the correct drive, here's my restore statement:
run
allocate channel disk_channel1 type disk;
allocate channel disk_channel2 type disk;
SET NEWNAME for datafile 1 to 'd:\ORADATA\ORCQA08\SYSTEM01.DBF';
SET NEWNAME for datafile 2 to 'd:\ORADATA\ORCQA08\SYSAUX01.DBF';
SET NEWNAME for datafile 3 to 'e:\ORADATA\ORCQA08\UNDOTBS01.DBF';
SET NEWNAME for datafile 4 to 'd:\ORADATA\ORCQA08\USERS01.DBF';
SET NEWNAME for datafile 5 to 'e:\ORADATA\ORCQA08\PLATDATA.DBF';
SET NEWNAME for datafile 6 to 'd:\ORADATA\ORCQA08\PLATHISTDATA.DBF';
SET NEWNAME for datafile 7 to 'd:\ORADATA\ORCQA08\TS_MV.DBF';
SET NEWNAME for datafile 8 to 'e:\ORADATA\ORCQA08\PLATNDX.DBF';
SET NEWNAME for datafile 9 to 'd:\ORADATA\ORCQA08\POADATA.DBF';
SET NEWNAME for datafile 10 to 'd:\ORADATA\ORCQA08\POABDATA.DBF';
SET NEWNAME for datafile 11 to 'd:\ORADATA\ORCQA08\POANDX.DBF';
SET NEWNAME for datafile 12 to 'd:\ORADATA\ORCQA08\TS_REPORT_DATA.DBF';
restore database;
release channel disk_channel1;
release channel disk_channel2;
i then do a switch database to copy and this registers the datafiles under the correct drive BUT when I try to open the database this is what i get:
ORA-00280: change 15613734 for thread 1 is in sequence #861
ORA-00278: log file
'D:\oracle\flash_recovery_area\ORCQA08\ARCHIVELOG\2012_08_03\ARC0000000860_07815
80447.0001' no longer needed for this recovery
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
Media recovery cancelled.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-00344: unable to re-create online log 'F:\ORADATA\ORCQA08\REDO01.LOG'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
You can see that it's still looking on the f: drive for the redo log. Is my syntax correct?? - - LOG_FILE_NAME_CONVERT=('F:\ORADATA\ORCQA08','D:\ORADATA\ORCQA08')
I can get rid of the other redo logs by dropping them and recreating under the proper drive but 01 is the active log.
any other ideas?
Dave

Similar Messages

  • Restore Oracle with brtools to a Windows server with different disk structure

    Hello gurus,
    Is it possible to restore Oracle to a Windows machine that has different disk structure than a source machine?
    E.g. source machine had disks C:, D:, E: (on which Oracle data files were distributed), but a target machine has only disk C:
    Database is backuped with brtools.

    Hi
    I did some mass changes using a script... to be honest I'm not sure if I did it to restore FROM a different location, or TO a different location.
    You could also use Brrestore option -m|-mode to restore the datafiles to a new location.
    Check online help   -m|-mode - SAP Database Guide: Oracle (BC-DB-ORA-DBA) - SAP Library
    For instance the here under command will restore datafiles #10 to #20 to the /tmp directory
    brrestore -u / -b beokfyeu.pnd -c -m 10-20=/tmp
    You could find datafile ID by querying view dba_data_files
    select FILE_ID, FILE_NAME, TABLESPACE_NAME from DBA_DATA_FILES;
    Regards

  • Error during the hotbackup restore to test server with different db name

    Hi,
    I am using hotbackup to restore the database with new name on other server
    i moved hot backup set to test server i recreated the controlfile
    SQL> @/mounts/dcsnpts1_temp/oradata/dcsnpts1/create/create.sql;
    Control file created.
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 10354451046463 generated at 06/08/2010 02:51:17 needed for
    thread 1
    ORA-00289: suggestion :
    /mounts/dcsnpts1_arch/dcsnpts1/dcsnpts1_arch_R677255203_T1_S1030.arc
    ORA-00280: change 10354451046463 for thread 1 is in sequence #1030
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1:
    '/mounts/dcsnpts1_data/oradata/dcsnpts1/dbfiles/system01.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1:
    '/mounts/dcsnpts1_data/oradata/dcsnpts1/dbfiles/system01.dbf'
    i do not have archive logs how i can open the database with resetlog
    apprecited inputs.
    Thanks
    Prakash

    all 3 instances reside on single server we use netapp snapshot backup what it will do is it will take all db's snapshot in same time (hotbackup).The snapshots are NOT instantaneous!
    If they were actually frozen in time, the DB would be consistent & open.
    The snapshot must be handled as any other online (hot) backup.
    ALTER SYSTEM SWITCH LOGFILE;
    alter database begin backup
    -- take hot backup
    alter database end backup
    ALTER SYSTEM SWITCH LOGFILE;
    Restore backed up files, then apply all redos inclusive to steps above

  • Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running The backup file should be restored to a server with version '12.0.0.6318' or later.

    am trying  to restore the bak file into a new  site collection in my sp 2010  standalone env.
    am getting error
    PS C:\Windows\system32> stsadm -o restore -url http://srvr1-01:123/sites/Repository -filename "C:\mBKUPCOPY\Sharepoint_bankup.bak"
    STSADM.EXE : Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running
    the current version. The backup file should be restored to a server with version '12.0.0.6318' or later.
    At line:1 char:1
    + stsadm -o restore -url http://srvr1-01:123/sites/Repository -filename "C: ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (Your backup is ...6318' or later.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

    As stated in the other thread on this topic you can't restore a 2007 backup to 2010, it needs to be upgraded.
    https://social.technet.microsoft.com/Forums/en-US/31c70f0a-5d89-4308-895b-af0c2b249114/restore-the-site-collection-from-moss-2007-to-sp-2010-site-collec?forum=sharepointadminprevious

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • Replacing a windows server with a Mac server

    Hi all,
    So this is a big company with about 150 employees using PC's (win xp and 7), considering replacing the current Windows server with a Mac server.
    Is it possible to give users profiles once they log in like Windows server does? So when the user logs in they get to their own personal stuff? Can Mac server do that?
    Can the user also get to the default printer and send prints to it regardless where they log in from inside the company?
    And can the home directory to each user NOT be copied anywhere on the local machine where they log in? Meaning that after they log out there will be no traces to their files on that local PC..
    Thanks a lot in advance!!

    By some standards, 150 is not "big" but a large small business :-)
    Regardless, please plan and test and plan some more, very carefully !
    The picture for what you want to do once looked far better with 10.6 server but that had its limitations as well.
    With 10.6 server, Apple was using Samba - they are no longer doing so,
    but/and the version of Samba they were using only provided NT-Domain level support.
    So that would not work with your Win 7 stations either. But could be made to work relatively well with XP workstations. You can no longer buy any new Mac that runs 10.6 server and 10.6 server would be hard to obtain.
    Not a great route to go.
    Bear in mind that the key problem with Apple's Samba was that Samba changed their licensing,
    and there's not a thing in the world Apple could do to implement a current version of Samba without violating their own operating principles and the licensing requirements.
    You'll be heading into heavily uncharted territory here. Odds are good that any desired domain-functionality is not going to work for you.
    Honestly, Apple appears to have thrown in the towel on directory-level support for Windows,
    and the best way to support Windows workstations in that regard is with Windows server and AD.
    Basic filesharing works, with some caveats.
    If there's no AD involved at all, then have a look at my earlier post,
    https://discussions.apple.com/thread/3206725?start=47
    Which worked a-ok for me but your mileage may vary.
    Samba new current versions and GPL3 licensing issue:
    https://discussions.apple.com/thread/3206725?start=75&tstart=0
    "GPLv3 makes it impossible to provide signed binaries without also providing the signing keys. A few seconds of thought will reveal why Apple is unwilling to provide copies of the keys they use to sign system software. Part of locking down OS X security profile required removing anythign that used GPLv3.
    Short version: GPLv3 is specifially desinged to be anti-company, and you are going to see a ever widening schism in the FSS/OSS community between GPL and all the other licenses, and you will be seeing less and less GPL code in commercial OSes and more BSD/Apache/&c code."
    http://discussions.apple.com/thread.jspa?messageID=12494378

  • How to join to window server with NIP policy

    how to join to window server with NIP policy?

    Since you refer to MySQL as the default database, I presume that you're talking about using PHP.
    Yes, you can link to MS SQL Server - as long as you're willing to code everything by hand. If you're looking for automated code generation, though, the answer is no.
    Even the default PHP/MySQL server behaviors are not really worth considering for professional web development. They're fine for quick prototyping, but they use deprecated functions that are not suitable for a production environment.

  • Windows Server 2012 C Drive gets always full with exchange server 2013 installed

    Hi All
    My C drive gets full always with exchange server 2013 installed what would be the reason because this is causing extremely bad to my environment can somebody help me please
    Thanks & Regards, Santosh Chowdary Vasireddy System Administrator Prolifcs DHFLVC Silicon Towers, 5th Floor, Survey #14, Kondapur, Hyderabad – 500 032. Work +91 40 3999 1999 Ex.1656 l Cell +91 9849277255 l [email protected] A Global
    Provider of IBM, Microsoft and Testing Solutions Award Winner for Technical Excellence, BPM, SOA, Portal and Governance

    Hi,
    Based on your description, I understand that this issue (C drive gets always full) occurred after Exchange
    Server 2013 installed.
    à
    But my exchange server is installed in different Drive (EX: D)
    I suggest that you should check file system to see what folders or files are taking up the space recently.
    This issue may be not related to Exchange server.
    Please refer to the following article and enable Disk Cleanup Utility. Then monitor the result.
    Enabling
    Disk Cleanup Utility in Windows Server 2012
    Meanwhile, please check if the winsxs directory is growing bigger.
    How
    to Reduce the Size of the Winsxs directory and Free Up Disk Space on Windows Server 2012 Using Features on Demand
    By the way, please check if you have installed update rollup 2836988. I noticed that Windows.edb file grows
    very large. For more details, please refer to the following KB.
    The Windows.edb file grows very large in Windows 8 or Windows
    Server 2012
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • RMAN backup restore on new server with CATALOG START WITH

    Hello Experts,
    CATALOG START WITH
    is this required RMAN in catalog mode ?
    reference of post
    Disastor Recovery with RMAN : Restore backup on new separate Server
    Edited by: 873142 on Jul 18, 2011 9:27 PM

    If you use a recovery catalog and want to duplicate database in a fresh server.
    1. connect with the target database.
    2. connect with the recovery catalog.
    3. connect with the auxiliary database.
    4. Run the duplicate command.
    Before running the duplicate command copy the backup piece to your fresh server from the target server. Both mount point should be same.
    Regards
    Asif Kabir
    -- mark your helpful post as correct/helpful.

  • Restore on new server with new DB_NAME/SID?

    My goal is to restore database with the RMAN backup on a server that has no connectivity to the production database (I don’t want to use duplicate command).
    I restore a database from RMAN using a same DB_NAME/SID and everything was ok.
    -     restore spfile
    -     restore controlfile
    -     restore database
    -     recover database
    -     open with reset logs
    Now I want to restore database but with different DB_NAME/SID (My production database is PROD and I want to restore this PROD RMAN backup on new server and this new database I want to be called DEV).
    How to restore database with new DB_NAME/SID?
    Oracle 10g, Windows Server 2003
    Thanks in advance!

    user9106065 wrote:
    My goal is to restore database with the RMAN backup on a server that has no connectivity to the production database (I don’t want to use duplicate command).
    I restore a database from RMAN using a same DB_NAME/SID and everything was ok.
    -     restore spfile
    -     restore controlfile
    -     restore database
    -     recover database
    -     open with reset logs
    Now I want to restore database but with different DB_NAME/SID (My production database is PROD and I want to restore this PROD RMAN backup on new server and this new database I want to be called DEV).
    How to restore database with new DB_NAME/SID?
    Oracle 10g, Windows Server 2003
    Thanks in advance!You can use NID command
    Run NID and you can see the options to run
    or see How to Change the DBID, DBNAME Using NID Utility in version 10GgR2 onwards [ID 863800.1]
    Cheers

  • Unable to do Bare Metal Restore on Windows Server 2008R2 Backup from USB Seagate Backup Plus Harddrive

    I have done a windows full server backup on to an external Seagate HDD on a Dell PowerEdge T110 II Server running Windows Server 2008 R2
    I want to clone this and do a Bare Metal Restore on an identical server at home which has Windows Server 2008 R2 on it.
    I boot from the Windows DVD provided, select repair however windows Server 2008 R2 will not find the image of the Seagate drive. The Seagate drive can be seen on the server otherwise. I guess there are options to load the driver, but I don't see them.
    Please help. Kind of stuck here
    Thanks

    I am using a windows server 2008R2 disk to boot up. Both the servers have windows server 2008R2 on them. I have two licenses for each of the servers. I want to use the server at home as a backup server in case the server in office  goes down. I used
    windows server backup to backup the server at work to a portable USB hard drive. I bought the hard drive home and want to clone the server at work. I heard bare metal restore is the best way to do this. So I booted the server at home with the windows server
    2008 r2 disk that I have and clicked repair. I had attached my seagate portable drive to the usb port so that the server could find the image of the server at work, however the server cant find the hard drive or the server image. Is it a problem with my usb
    hard drive? Do I need a specific type of usb hard drive to do server image backups?
    If I let my server at home boot regularly and it comes up, it can see the image on the hard drive so I dont know how to do the bare metal restore. I know it can be done becuase my IT guy did it when he set up both the servers. I just want to periodically
    clone them so make sure the server at home is updated with the settings of the server at work.
    Thanks for any help here

  • Impact of Rman restore on test server.

    Hi,
    I am working on oracle 10g on linux 64 bit
    I have rman backup from production database. Name and SID of production database is Prod1 and i want to to check this RMAN backup after restoring it on the other test server (VMDB) for Disaster recovery.
    Now problem is that, i want to test it for DR, where i only need to run a script to restore and recover a database at the time of disaster in production site.
    My disaster recovery site will be in different network, so i can keep the name of database and sid same as of Production but is it possible that i could install the database in test database with same db name and same sid as of Production when Test and Production database are in same network.
    What will be the steps if i want to have a single script to restore database to new server. Do i need to create database with installation of Oracle on test machine or RMAN script will create database by itself.
    Do i need to set same dbid as of production in test database before restore. What can be the problems when i have production database running and i am restoring backup of same database on test machine with different IP address but same database name and SID and setting same DBID. I am not using catalog
    I have a full backup of database +Auto backup of controlfile and spfile
    Production database is being accessed by client via TOMCAT server.

    >
    is it possible that i could install the database in test database with same db name and same sid as of Production when Test and Production database are in same network.
    >Yes it is possible.
    >Do i need to create database with installation of Oracle on test machine or RMAN script will create database by itself.
    >
    There is no need to run CREATE DATABASE. Running the right RMAN RESTORE statements will recreate database control files, datafiles and redo log files.
    >What will be the steps if i want to have a single script to restore database to new server.
    >
    Note that in case of disaster recovery, you must make sure that RMAN backups are available from test server.
    You can try to apply following example to your environment:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#BRADV156
    >
    What can be the problems when i have production database running and i am restoring backup of same database on test machine with different IP address but same database name and SID and setting same DBID. I am not using catalog If you are not using RMAN catalog, risks are limited: you should take care at least:
    1. that Oracle Net configuration files (tnsnames.ora) used in production are not updated
    2. that any tool/script you are using to manage (monitor, backup, etc.) the test database does not interfere with the production database.

  • How to backup Mac server files and restore to Windows server?

    Our company is moving from Mac Server to Windows Server 2008 R2.
    I'd like to connect a hard drive to the Mac server (via existing eSATA) and backup our data (just file level backup is fine, don't need permissions or security) and then move hard drive to new Windows 2008 R2 server and restore files.
    Does anyone have any cross-platform backup/restore software they can recommend? 
    We have about 500GB of data, so I prefer a locally connected device to backup to instead of over-the-network backup.
    Thank you for your ideas!

    As standard the Mac cannot write to NTFS format disks, and as standard Windows cannot read from HFS+ disks. FAT32 might be a possibility but it does not support files bigger than 4GB.
    The simplest if slower option is to do it over the network using SMB. If you do really want to do it with a hard disk then you may need to consider getting some software to let either Mac or Windows deal with the others preferred hard disk format.
    To let the Mac write to NTFS there are several choices but the one I have used in the past is NTFS for Mac by Paragon, see http://www.paragon-software.com/home/ntfs-mac/
    To let Windows read from HFS again the are multiple possible choices but the one I have used in the past and still use is MacDrive, see http://www.mediafour.com/products/macdrive

  • Refresh to New Server with different file system

    Dear Gurus,
    We are having our Production DB,Test and RMAN in 10.2.0.3. We are trying to refresh TEST database with production db with last months backups and I've few queries.
    Below is the filesystems:
    Prod: /u99 for backup
    Test: /ttu/t99 for backup
    Datafiles locations are different and I can use either "SET NEWNAME" or "DB_FILENAME_CONVERT".
    My production uses catalog database RMAN.
    How can we duplicate test db with production (having catalog) with different backup locations on both systems. We don't have permissions to create similar directory structure on test machine.
    With this I only left with restoring the production db on test server and then renaming the database. But, I want to know, if there's any possibility with RMAN directly to refresh TEST db.
    Please help me.
    Regards,
    Kumar

    If you want copy database to different OS, the n you must use transportable tablespaces
    see more : http://docs.oracle.com/cd/B19306_01/backup.102/b14191/ontbltrn.htm
    if you want copy database to same OS, then you can use backup based - DUPLICATE command or disaster recovery with is you shall use RESTORE database with SET NEWNAME option.
    Regards
    Mahir M. Quluzade
    http://www.mahir-quluzade.com

Maybe you are looking for