Restore database noarchivelog to another server in ASM

I have to migrate a database 10g with noarchivelog with filesystem to another server with ASM.
Could you help me to do it?
Thanks.

ok, I put the database in archivelog but I don`t understando the link "http://www.oracleflash.com/10/How-to-migrate-Oracle-datafiles-to-ASM-storage-via-RMAN.html".
First, I have moved the database to the new server, now I have the database with filesystem but in the final server with archivelog. OK.
The steps are:
first, I have to modify the parameters of db_create_file_dest, etc, to +ASM.
I hve to shutdown the database, open nomount, restore controlfile and backup as copy.
Is it correct?,
one question, the restore controlfile, I suppose that I have to have a previous backup with filesystem of controlfile?
Thanks.

Similar Messages

  • What permission is needed for a login to access the restored database(backup from different server)

    what permission is needed for a login to access the restored database(backup from different server)
    frequently reach the situation, when vendor restores a database, but he cannot access it unless I remap or add his login to the restored database. What permssion can grant the vendor so that he can but only can access the database he restored, not all other
    databases.

    Hi George,
    According to your description, When you move a database from one server that is running SQL Server to another server that is running SQL Server, a mismatch may occur between the security identification numbers (SIDs) of the logins in the master database
    and the users in the user database. As other post, you can use the sp_change_users_login stored procedure to map SQL Server logins. Also , you can use the following statement after doing the restore database. It will
     fix the mis-mapped SID inside the restored DB.
    ALTER USER <username> WITH LOGIN = <username>
    For more information, you can review the following article.
    http://blogs.lessthandot.com/index.php/DataMgmt/DBAdmin/MSSQLServerAdmin/do-you-still-use-sp_change_users_login/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How Do I Duplicate a NOARCHIVELOG to another server and change the database

    I have two servers each with a different copy of the same database.. we'll call the database POPEYE
    server A has a STAGE version of POPEYE that is in NOARCHIVELOG mode
    server B has the PRODUCTION version of POPEYE
    I need to get the database on server A and copy it to run next to the existing database on server B.
    since they have the same name, i need to change the name to POPEYESTAGE when I move it over.
    both running Windows Server 2008. both running Oracle 10g.
    I tried shutting down the database on server A, copying over the files with a new PFile and ran the CREATE CONTROLFILE script into the trace and took out all the junk, but I cannot connect to execute it.
    I copied all the files over and when I try to commect as sysdba using sqlplus i get TNS:could not resolve the connect identifier specified.
    i tried adding it to the listener and TNS names files, but it didnt work.
    I'm trying RMAN now with some difficulty.
    I am brand new to Oracle administration, this is my first administrative assignment. Please advise

    sb92075 wrote:
    876137 wrote:
    I have two servers each with a different copy of the same database.. we'll call the database POPEYE
    server A has a STAGE version of POPEYE that is in NOARCHIVELOG mode
    server B has the PRODUCTION version of POPEYE
    I need to get the database on server A and copy it to run next to the existing database on server B.
    since they have the same name, i need to change the name to POPEYESTAGE when I move it over.Will the directory names change?Yes.
    >>
    >>
    both running Windows Server 2008. both running Oracle 10g.
    I tried shutting down the database on server A, copying over the files with a new PFile and ran the CREATE CONTROLFILE script into the trace and took out all the junk, but I cannot connect to execute itWhile above is likely true, it is 100% devoid of any useful information or details.
    In the future, ALWAYS use COPY & PASTE so we can see what you do & how Oracle actually responds.There's nothing to copy paste, I clicked with my mouse and dragged to copy the files.
    I obtained a CREATE CONTROLFILE script the standard way -- ALTER DATABASE BACKUP CONTROLFILE TO TRACE.
    so here I stand with the script in hand. BUT, I cannot connect to the database to execute it, because I get the error I stated "TNS:could not resolve the connect identifier specified."
    I copied all the files over and when I try to commect as sysdba using sqlplus i get TNS:could not resolve the connect identifier specified.CURIOUS, since connecting to local DB does not require SQL*Net.I do not know what SQL*Net is. I did not use SQL*Net. I am in the DOS style commandline prompt using sqlplus.exe
    i tried adding it to the listener and TNS names files, but it didnt work.My car didn't work.
    Tell me how to make my car go .
    Is COPY & PASTE broken for you?I used it above, but here it is again.. actually got a different error message this time:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    I'm trying RMAN now with some difficulty.I bet you did not bother to Read The Fine Manual.I took a course a week ago. I am reading the manual and following the instructions. Duplicating databases is not very clearly documented.
    Plus it's a test database that the users turned into a production database, so it is in noarchivelog mode, so earlier I was not able to shutdown the database so RMAN could not back it up.
    The situation I am dealing with with fairly obscure.
    >>
    I am brand new to Oracle administration, this is my first administrative assignment. Please advisepush back from the keyboard & RTFM the URL below
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/toc.htm
    already in-process, what I need at the moment is assistance with a specific task.
    Now if you have already memorized that manual, how about being somewhat useful and explaining to me how to duplicate a noarchivelog database into a production server that already has a database with the same name running.

  • Restore database in the same server but with other sid (name)

    i try to restore the database in the same server but with other sid (name) . The backup is on tape and
    I want to know the steps I should follow.
    thank.

    To perform restore of database in same host to choose another DB name you can go for
    1) duplicate using RMAN.
    Directory structure should be different so take care of db_file_name_convert & log_file_name_convert parameters
    Also check the Tns services exactly is it pointing to target & auxiliary
    http://www.shutdownabort.com/quickguides/clone_rman.php
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php

  • Restore Rman backup on another server

    Hi.,
    I am taking oracle 10g rman Incremental backup level 1
    on Sunday I am taking full backup.
    No Repository catlog is used.
    I want to restore all the database using the backup of RMAN on the another server .
    Can you tell mi whats are the step to restore on another server .

    http://download-uk.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov002.htm#sthref723

  • Database migration to another server

    I have one production oracle 10g database on RHEL4 and I want to migrate the data with another server RHEL4.
    I have an RMAN backup.
    Is it sufficient the 2 commands
    rman> restore database;
    rman> recover database;
    to migrate the data in the second server?
    Thanks

    Why don't you duplicate the source database on the target.
    Subject: Oracle10G RMAN Database Duplication
    Doc ID: 259694.1
    HTH
    Anand

  • How slow - if database is on another server?

    Hello,
    I want to create a French version of my website.
    The original - creme-de-languedoc .com is on a server in
    Texas. Which is great for a .com. The French one is on a server in
    France, which I'm told is better for .fr sites when Google.fr is
    concerned.
    Although the pages and images are all on the French server,
    the database behind the site is still in Texas.
    So far, the pages with dynamic data are loading very slowly.
    Is this because the data is on another server in another country?
    If so, what's the best way to speed things up? The DB is
    added to daily, so I don't want to really have to update a copy of
    it constantly on the French server.
    Any ideas?
    Thanks,
    - Greg

    Greg,
    I don't know if Replicate would work for your purposes or
    not.
    > Another option for keeping copies of your MySQL database
    files is
    > /replication/. Replication is having a complete
    duplicate of a
    > database server running in an alternative (usually
    remote) location.
    >
    > The alternative location runs another copy of the MySQL
    server and
    > uses a duplicate set of the database files. The primary
    MySQL server
    > is considered the /master/. All database activity
    transpires on the
    > master server (in other words, this is the server your
    Web application
    > should point to). The alternative MySQL server is the
    /subordinate/.
    >
    > A subordinate MySQL server connects to the master server
    and monitors
    > SQL statements placed in the log file. The subordinate
    server reads
    > the master server's log file and duplicates each
    statement to the
    > subordinate log file. You can have any number of
    subordinate MySQL
    > servers duplicating data from a single master server.
    >
    > Each subordinate server synchronizes the statements in
    its log file
    > with the master copy. If a subordinate server is offline
    for a period
    > of time, the next time it contacts the master it resyncs
    the log file,
    > adding all of the statements necessary to become
    up-to-date.
    >
    > This makes replication ideal for storing a remote copy
    of the MySQL
    > database. The subordinate copy is often very close to a
    real-time
    > backup of the master database.
    One obvious caveat is that your subordinate server must only
    allow
    SELECT access. Probably some DB guru's will rip-me-a-new-one
    for even
    suggesting such a thing. Oh well, food for thought. Check our
    MySQL.com and read up on Replicate, then ask someone there if
    this is
    pure folly.

  • Restore database Error when restoring database to a new server

    Hi folks,
    I am oracle 10g on an AIX server (5.3).
    I created an rman backup of a database. I then copied it over to a new server where I am trying to restore it (I just created the backup today). However, I am getting the error below.
    Essentially, I used an initdb.ora file to create an instance of the database, and mounted it, on the new server. And then I ran a simple "restore database" command, the end of which is displayed below, with a "Restore complete. ..."
    I have looked up this error (ora-01152) online and I cannot find a scenario which best provides me with a fix to my problem, about the file not being restored from a sufficiently old backup. Could any one help please?
    piece handle=/ora_backup/prev_0/qconfig/dbf/QCONFIG_18_1_721669501_2010_06_14_15:44_Mon_full tag=2010_06_14_15:44_MON_FULL
    channel ORA_DISK_4: restore complete, elapsed time: 00:03:30
    channel ORA_DISK_2: restored backup piece 1
    piece handle=/ora_backup/prev_0/qconfig/dbf/QCONFIG_15_1_721669501_2010_06_14_15:44_Mon_full tag=2010_06_14_15:44_MON_FULL
    channel ORA_DISK_2: restore complete, elapsed time: 00:05:00
    Finished restore at 14-JUN-10
    RMAN> alter database open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 06/14/2010 17:48:12
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '+DGROUP1/testdb/datafile/system.751.721679898'Edited by: efachim2 on Jun 15, 2010 2:19 AM

    I ran only as below because I copied over the backup right after it finished, when there were no archivelogs.
    RMAN> restore database;
    Starting restore at 14-JUN-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=651 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=650 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=649 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=648 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00002 to +DGROUP1/testdb/datafile/undots1.667.721227421
    channel ORA_DISK_1: reading from backup piece /ora_backup/prev_0/testdb/db/testdb_16_1_721669501_2010_06_14_15:44_Mon_full
    channel ORA_DISK_2: starting datafile backupset restore
    channel ORA_DISK_2: specifying datafile(s) to restore from backup set
    restoring datafile 00007 to +DGROUP1/testdb/datafile/a1_x.641.721227553
    restoring datafile 00009 to +DGROUP1/testdb/datafile/ent_sm01_x.659.721227557
    restoring datafile 00013 to +DGROUP1/testdb/datafile/in01_x.657.721227569
    restoring datafile 00015 to +DGROUP1/testdb/datafile/cs01_x.656.721227571
    restoring datafile 00016 to +DGROUP1/testdb/datafile/cs01_d.650.721227559
    restoring datafile 00021 to +DGROUP1/testdb/datafile/h01_x.644.721227575
    restoring datafile 00023 to +DGROUP1/testdb/datafile/doc01_x.647.721227575
    restoring datafile 00025 to +DGROUP1/testdb/datafile/og01_x.645.721227577
    channel ORA_DISK_2: reading from backup piece /ora_backup/prev_0/testdb/db/testdb_19_1_721669509_2010_06_14_15:44_Mon_full
    channel ORA_DISK_3: starting datafile backupset restore
    channel ORA_DISK_3: specifying datafile(s) to restore from backup set
    restoring datafile 00003 to +DGROUP1/testdb/datafile/sysaux.662.721227423
    restoring datafile 00006 to +DGROUP1/testdb/datafile/a01_d.639.721227549
    restoring datafile 00010 to +DGROUP1/testdb/datafile/ent_lg01_d.666.721227423
    restoring datafile 00012 to +DGROUP1/testdb/datafile/in01_d.658.721227511
    restoring datafile 00014 to +DGROUP1/testdb/datafile/cs01_d.661.721227521
    restoring datafile 00019 to +DGROUP1/testdb/datafile/ndata_x.654.721227423
    restoring datafile 00022 to +DGROUP1/testdb/datafile/doc_01_d.660.721227531
    restoring datafile 00029 to +DGROUP1/testdb/datafile/in01_x.642.721227471
    channel ORA_DISK_3: reading from backup piece /ora_backup/prev_0/testdb/db/testdb_17_1_721669501_2010_06_14_15:44_Mon_full
    channel ORA_DISK_4: starting datafile backupset restore
    channel ORA_DISK_4: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to +DGROUP1/testdb/datafile/system.655.721227423
    restoring datafile 00004 to +DGROUP1/testdb/datafile/users.653.721227453
    restoring datafile 00005 to +DGROUP1/testdb/datafile/tools.663.721227423
    restoring datafile 00008 to +DGROUP1/testdb/datafile/en_sm01_d.665.721227473
    restoring datafile 00018 to +DGROUP1/testdb/datafile/n_data_d.664.721227423
    restoring datafile 00020 to +DGROUP1/testdb/datafile/hfig01_d.652.721227527
    restoring datafile 00024 to +DGROUP1/testdb/datafile/og01_d.651.721227535
    restoring datafile 00028 to +DGROUP1/testdb/datafile/in1_d.646.721227469
    channel ORA_DISK_4: reading from backup piece /ora_backup/prev_0/testdb/db/testdb_18_1_721669501_2010_06_14_15:44_Mon_full
    channel ORA_DISK_2: restored backup piece 1
    piece handle=/ora_backup/prev_0/testdb/db/testdb_19_1_721669509_2010_06_14_15:44_Mon_full tag=2010_06_14_15:44_MON_FULL
    channel ORA_DISK_2: restore complete, elapsed time: 00:00:27
    channel ORA_DISK_2: starting datafile backupset restore
    channel ORA_DISK_2: specifying datafile(s) to restore from backup set
    restoring datafile 00017 to +DGROUP1/testdb/datafile/cs_lg01_x.640.721227579
    restoring datafile 00026 to +DGROUP1/testdb/datafile/am1_d.643.721227581
    restoring datafile 00027 to +DGROUP1/testdb/datafile/am1_x.671.721227581
    channel ORA_DISK_2: reading from backup piece /ora_backup/prev_0/testdb/db/testdb_20_1_721669624_2010_06_14_15:44_Mon_full
    channel ORA_DISK_2: restored backup piece 1
    piece handle=/ora_backup/prev_0/testdb/db/testdb_20_1_721669624_2010_06_14_15:44_Mon_full tag=2010_06_14_15:44_MON_FULL
    channel ORA_DISK_2: restore complete, elapsed time: 00:00:07
    channel ORA_DISK_2: starting datafile backupset restore
    channel ORA_DISK_2: specifying datafile(s) to restore from backup set
    restoring datafile 00011 to +DGROUP1/testdb/datafile/ent_lg01_x.648.721227421
    channel ORA_DISK_2: reading from backup piece /ora_backup/prev_0/testdb/db/testdb_15_1_721669501_2010_06_14_15:44_Mon_full
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/ora_backup/prev_0/testdb/db/testdb_16_1_721669501_2010_06_14_15:44_Mon_full tag=2010_06_14_15:44_MON_FULL
    channel ORA_DISK_1: restore complete, elapsed time: 00:02:30
    channel ORA_DISK_3: restored backup piece 1
    piece handle=/ora_backup/prev_0/testdb/db/testdb_17_1_721669501_2010_06_14_15:44_Mon_full tag=2010_06_14_15:44_MON_FULL
    channel ORA_DISK_3: restore complete, elapsed time: 00:03:15
    channel ORA_DISK_4: restored backup piece 1
    piece handle=/ora_backup/prev_0/testdb/db/testdb_18_1_721669501_2010_06_14_15:44_Mon_full tag=2010_06_14_15:44_MON_FULL
    channel ORA_DISK_4: restore complete, elapsed time: 00:03:30
    channel ORA_DISK_2: restored backup piece 1
    piece handle=/ora_backup/prev_0/testdb/db/testdb_15_1_721669501_2010_06_14_15:44_Mon_full tag=2010_06_14_15:44_MON_FULL
    channel ORA_DISK_2: restore complete, elapsed time: 00:05:00
    Finished restore at 14-JUN-10
    RMAN>  alter database open resetlogs;

  • How to restore a Db on another server

    Hello All,
    MaxDb 7.6.00.37.
    I need to copy my database from server A (Windows 2000) to Server B (Windows 2003).
    So i've installed the same version of MaxDb on server B, copy the last full backup from server A to server B, create the database instance using the parameters found in the backup file (changed some path, i.e. for datavolume, log volume...), and then run a restore...
    But after approx 500Mb of data restored, i get message -24998 and -7900, which says that the block size have changed bewteen backup and restore ! If a take a look on backup media properties, everything match bewteen server A and Server B.
    Does anybody have an idea ?
    TIA.
    Frédéric DEMILLY.
    Edited by: Frédéric DEMILLY on Feb 25, 2008 1:14 PM

    Hi Frédéric,
    the blocking size of the backups are determined by the DATA_IO_BLOCK_COUNT
    parameter (used to be the BACKUP_BLOCK_CNT parameter in earlier versions).
    The value of this parameter dictates the blocking size for backups if no other value is specified in the backup media definition.
    So I would recommend to check the value of this parameter (although you copied the parameters from the backup).
    Also quite possible: the backup file could have been corrupted.
    Does a recover_check work?
    What if you copy the file back to server A and run a recover_check there?
    KR Lars

  • Restore Reporting Services on another Server

    Hello All,
    I have a server A running reporting services which is used by everyone. I also have Server B (backup server) that has reporting services running on it. I want to restore the server B with current version of reporting services database (from Server A) just
    in case if the Server A goes down. Can anybody help me with this? Thanks.
    Regards,
    Amol

    see
    http://technet.microsoft.com/en-us/library/ms156421.aspx
    http://technet.microsoft.com/en-us/library/ms155814.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to connect to a MySQL database in another server

    Dear friends,
    I am using Oracle SQL Developer 1.5.3 and I need to connect to a MySQL database located in another server.
    I am trying to create a new connection, informing connection name, username and password. Supposing that "Hostname" is the IP server address, I click on "Choose database", but I always receive the following error message: "Status : Failure - Cannot connect to MySQL server".
    Please tell me what I should do to solve this situation. Thanks in advance.
    Best regards,
    Franklin

    You need to configure your mysql database to accept connection from your PC for the user you used.
    For example,
    GRANT ALL ON *.* TO 'someuser'@'somehost';
    FLUSH PRIVILEGES;

  • Move backup on another server

    Hi,
    I made a backup using rman and the following: RMAN> backup database;
    can I restore this backup on another server? If yes how can I do this?
    Thank you

    Go for RMAN duplication. Check the links below.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1008564
    http://www.akadia.com/services/ora_duplicate_database_rman.html
    http://www.shutdownabort.com/quickguides/
    Regards
    Asif Kabir

  • How to restore cold backups on other server

    Hi all
    On Oracle9i production server, we have windows scheduled job to take the cold backups every day night. The size of the database is 2GB.
    Now, the cold backup consists of
    - Database files & Log files
    - Parameter file
    - Control file.
    I am required to check the validity of the cold backup we have. So, I need to restore the database in another server.
    So, please provide me the steps I need to do to restore the database.
    Thanks.

    See Chapter 3 "Performing User-Managed Restore Operations" of the
    "Oracle9i User-Managed Backup and Recovery Guide Release 2 (9.2)" (Part Number A96572-01)
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/osrestore.htm#26029
    Best to start with Chapter 1 "Introduction ..."
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/intro.htm#431510
    and Chapter 2 "Making User-Managed Backups"
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96572/osbackups.htm#10000
    If you are on Windows note that besides installing the sofwtare you must also create the Oracle Service before you restore a database backp to another server.
    See Chapter 6 "Backing Up and Recovering Database Files" in the Oracle Database Administrator's Guide for Windows
    http://download.oracle.com/docs/cd/B10501_01/win.920/a95491/backup.htm#1004903

  • Problem in Restoring database througn online application

    Can I restore database stored in SQL-Server 2000 using an online
    application.
    When I tried it is giving an error that -- "exclusive access to the database
    cannot be obtained. Database may be in use."
    Probably this is happening as I am using a connection pool to optimize my
    application.
    Suggest me how this problem can be solved.
    Thanks in advance.
    Regards

    you should attach that part of code for further information

  • How to restore RMAN hot backup to another database on another server?

    I want to know how to restore RMAN hot backup from production server to another database on a testing server.
    The hot backup is from a database named PROD on the production server
    The database to be restored with the hot backup is TEST on the testing server. There is already a PROD database on the testing server and this PROD database must be kept.
    I have read some threads about changing initTEST.ora to PROD to restore such backup but (I think) will not work in my case since I already have a PROD database on the testing server.
    The version is 11gR2 on Linux but the compatible parameter is set to 10.2.0.1.0.
    Thanks for any help.

    Hi,
    Since you are on 11g, hope this helps you http://shivanandarao.wordpress.com/2012/04/28/duplicating-database-without-connecting-to-target-database-or-catalog-database-in-oracle-11g/
    881656     
    Handle:     881656
    Status Level:     Newbie
    Registered:     Aug 25, 2011
    Total Posts:     53
    Total Questions:      31 (31 unresolved)
    Looks like forum is of no help to you. To get better responses, consider closing your threads by providing appropriate points if you feel that they have been answered. Keep the forum clean !!

Maybe you are looking for

  • "Missing Plug-in" at Mail

    All images in my e-mails were replaced by a message "Missing Plug-in". How do I fix this?

  • Download Error. Itunes Failure.

    I bought three songs from itunes, and none of them will download. can I get a refund, or what do I do??? And also, itunes crasshed on me. All my music dissapeared. I was able to get the CD's back on, but what about my purchased music?? How do I get i

  • ** 16:9 slideshow to export?

    I would like to export my iPhoto slideshow as 16:9 but currently only see settings that would see me export to iDVD (not an option because I use DVD Studio Pro) or to export as a movie, but the dimmensions are 720x480 (not 16:9 dimmensions). How do I

  • Financial Reporting Studio and Windows 7

    Anyone running Financial Reporting Studio 9.3.1 or a similar version on Windows 7? When I try to open a report I'm receiving an error: "Error connecting to database connection <database name>. Thanks

  • ID CS2 Windows XP Pro - How long should adding pages take?

    I am using InDesign CS2 in Windows XP Pro. I have an ID book file with 13 sections, approximately 20-25 pages in each section. There are approximately 4,000-5,000 images on the pages (total on all pages). I am using auto page numbering and am trying