Cold backup with different dbname

Hello,
It's maybe a simple question but i want to move a database to a different server but also change the dbname. Can somebody tell me how to do it?
We work with 9.2.0.5
Thanks in advance.

NID, or recreate the controlfile with SET option.
Find out more in the doc :
NID : http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch14.htm#1004735
CTLFILE : http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_54a.htm#SQLRF01203
Nicolas.

Similar Messages

  • Cold backup with online redo logs

    I am working on 10G in AIX for a single instance
    It is just a general db backup & restore question, but I have something confused.
    I am going to perform a cold backup with my ARCHIVELOG database.
    No wonder why I perform a cold backup because it is a testing database which can suffer from data lost and down time during backup.
    I read some guides. They all mentioned to backup all the datafiles and control files.
    During the restoration, I have to copy all the backed up datafiles and control files to the default location.
    Then Startup mount;
    The last step before open the database is recover database until cancel;
    For the acknowledgement, I have to do the command of recover database, because the online redo logs were not backed up, thus we have to recover it in order to reset the redo logs.
    For my question,Would I be able to skip the command of recover database, then directly startup the database if I have backed up the online redo logs and copy the default location during the restoration?
    However, I read many documents which mention that it is not suggested to backup the online redo logs. Is it just the case which ONLY applied in hot backup? Do you all think that for my case, cold backup for online redo logs is recommended?
    Thanks all

    jgarry wrote:
    Edit: And never forget, those test databases are some developers production.Absolutely true according to my experience. Loosing the work of a payed developer is just as bad as loosing the work of a production system and may even be worse because it may not be possible to re-enter missing data into the system.
    I think a cold backup is only suitable on special occasions, for instance, to relocate/copy the database to a different storage media, or if the database doesn't change or if loosing changes is absolutely irrelevant. Otherwise, put the database into archivelog mode and do a hot backup. After that you will also have alternative options which can make the restore and recovery of the database very easy and efficient, like flashback database, etc. but it will take substantial additional disk space.

  • Backup with different Apple ID

    Help!
    M wife has a different applet id for her and her devices. When we back up to to the same computer, even though she logs in with her Apple ID here ibooks is mixed in with mine. I checked destination file and it all goes to iTunes media file.
    I Just need separate iTunes back up.
    Any suggestions? Without backing up to a different computer? I'm using windows.

    You could set up separate libraries, or separate profiles on the same computer, or she could switch to iCloud for backup.
    See How to use multiple iPhone, iPad, or iPod devices with one computer.
    Personally I'd stick with the one library and make sure neither of your devices automatically adds new content. That way everything gets backed up and you can still share what you want to without undue duplication.
    tt2

  • Problem restoring from  tape a backup with different retention days

    As part of our procedure to test data restore for the SAP platform, recently we tried to restore a backup of the QAS SAP database from tape but had problems . During the analysis we think this problem happened because the retention of the backup on tape differs from the one in the configuration of SAP initSID.utl file; originally, the backup was made to a virtual tape using the brbackup tool /expiration parameter of 3 days, then cloned to a physical tape with a longer retention (30 days).
    As a temporary solution to restore the data, we extended the u2018expirationu2019 parameter in the brbackup/brrestore configuration file (.utl) and since we still had the logs of the original backup (.anf file), we were able to complete the restore succesfully. We then changed back to the original the expiration time in the .utl file
    We need to run the restore option in Production (PRO) environment but still we are not sure if this workaround is acceptable. Does anyone know if this option is correct or if thereu2019s another known solution for this case

    Hi Julio
    I believe you have posted your query in the wrong forum and hence you might not be getting the responses you would want.
    This forum is for Operational Performance Management Business Applications like Spend Performance Management and SCPM.
    Regards
    Rajesh

  • Livecache recovery from cold backup  with raw devspaces

    We are recovering the Livecache database from code backup to  a database with raw devspaces. We gave the following raw parameters to DATA and LOG devspaces:
    DATA Devspace: /dev/vx/rdsk/azdevdg/lvlzddisk1
    LOG Devspace: /dev/vx/rdsk/azdevdg/lvlzddisk3
    We are getting the following errors during initialization:
    2005-04-29 09:13:14    68 ERR 11000 devio    read error (fd = 24): No such devic
    e or address
    2005-04-29 09:13:14    68 ERR    15 IOMan    Unknown Data volume 1: Could not re
    ad
    Any Ideas ?

    Hi,
    as for all liveCache issues, I'd have to ask you too to open an OSS message on queue BC-DB-LVC.
    A thing you could try:
    try to read using 'dd' from your devices. If 'dd' can't read from the devspaces, then you've got a misconfiguration somewhere, i.e. an operating system issue and not a liveCache issue. In that case, we (BC-DB-LVC) wouldn't be responsible for the error.
    The 'dd' command could look like:
    dd if=/dev/vx/rdsk/azdevdg/lvlzddisk1 of=<filename> <blocksize>
    Regards,
    Roland

  • Rman backup with different retention

    Hi,
    I have to write script on RMAN backup retentions and policies.
    My requirement is as below:
    Daily backup Name and retentions : db_daily_bkp_sun,db_daily_bkp_mon...with 7 days retension
    Weekly backup Name and retentions : db_wkly_bkp_01,db_wkly_bkp_02...with 4 backup retension
    Monthly backup Name and retentions : db_mnth_bkp_jan,db_mnth_bkp_feb...with 12 backups
    Yearly backup Name and retentions : db_yearly_bkp_2010,db_yearly_bkp_2011,db_yearly_bkp_2012
    All backups will be full online. We have to store backups in local disk.
    We have created backup locations on disk as below.
    Daily : /orabackup/daily
    Weekly : /orabackup/weekly
    Monthly: /orabackup/monthly
    Yearly : /orabackup/yearly
    So is it possible to take such backups in RMAN without using any third party software ? If possible then please provide me such script.
    With Regards,
    Khokhar Murtuja S
    Database Administrator

    Hi,
    RMAN will make you have only one retention.
    You can have more kind of retention using the option "keep until" in your backup command.
    It'll certainly do what you need.
    Greets,
    Loïc

  • How can I restore my data from a backup with different Phone name?

    I recently had to restore my iphone which erased all the data. I have a backup of that data in iTunes and I want to restore it to the phone. However when I connected the phone to iTunes the first time after resetting everything, I accidently chose to create a new phone instead of restore settings and data from the backup.
    My question is, how can I restore the iPhone from this previous backup? My iPhone is currently called "untitled playlist" and the backup is called "JC's iPhone".
    Thanks,
    Jeremy
    ps. Sorry for posting twice. Nobody responded the first time, probably because I had a poor subject.

    Jeremy,
    If you restore again, you will be prompted to choose a backup or setup as a new phone again. Then you can just choose your old backup.
    Hope this helps,
    Jennifer B.

  • Is it possible to share a backup with different generations of iPod touch?

    For example, if I bought a new iPod touch 3rd generation and I want to put the backup of my old iPod touch 2nd generation. Is this possible?

    yes it is

  • COLD BACKUP DATABASE CLONING with +ASM

    Hi,
    I need some help to clone the database using Cold backup with +ASM. Can somebody help me on this
    Here is the steps we did on Source Database.
    1. Copied all the $ORACLE_HOME from Source to TARGET.
    2. Created pfile from spfile.
    3. Created backup control file on the Source.
    Questions:
    =======
    1. Source has 3 diskgroups, do we need to create new 3 disk groups on the TARGET ?
    2. If we needed 3 new disk groups on TARGET, how can we move all the data from SOURCE diskgroup to TARGET disk group, Do we need to use RMAN?
    Please let me know what else need to do to bring up the TARGET database.
    Thanks
    Dheeru.

    Hi,
    1. Source has 3 diskgroups, do we need to create new 3 disk groups on the TARGET ?Not necessarily.
    2. If we needed 3 new disk groups on TARGET, how can we move all the data from SOURCE diskgroup to TARGET disk group, Do we need to use RMAN? Yes, use RMAN to clone/duplicate the database.
    Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
    Cloning ASM database using RMAN Duplicate
    http://oracleandme.blogspot.com/2007/08/cloning-e-biz-using-rman-duplicate.html
    Thanks,
    Hussein

  • Partition Restore Cold Backup Different System and Different Version DB

    Is it possible, can we restore the cold backup at different database version and different operating system(but same ENDIAN_FORMAT) ????????
    My original system HP-UX (64-bit) and database version 10.2.0.3.0 i have cold backup and i want to partion restore on Linux Redhot 5.5 (64-bit), database version 10.1.0.4.0 .
    If it is possible. How can i do this.

    My original system HP-UX (64-bit) and database version 10.2.0.3.0 i have cold backup and i want to partion restore on Linux Redhot 5.5 (64-bit), database version 10.1.0.4.0 .1. AFAIK you can not do it i mean wiht cold backup move from HP to linux
    2. You can try to use exp-imp if you want to change db version.
    See below notes:
    Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
    Different Upgrade Methods For Upgrading Your Database [ID 419550.1]
    Regard
    Helios

  • Restoring tigger from cold backup.

    Hi
    I have one problem..... recently i have drooped 1 trigger by mistake of one of my user in database. Now the problem is... we never take the logical backup of that DB.
    Backup mechanism of the database is Cold Backup and size is *2TB*.
    Now i have to restore that trigger from the cold backup with minimum effort , do i have to create the Clone database with the Cold backup using all the datafiles ...? or System tablespace ( or datafile) and default Schema tablespace(Schema which holds the trigger and its tables) in enough for restoring the trigger ?
    I hope i am clear with my question. please let me know if you need more details.
    Please suggest some best and fast way to solve this problem.
    Thanks,

    You need to restore enough to OPEN the DB can you please elaborate this clearly....
    The version is :
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE    11.1.0.7.0 ;     Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production I have dropped in this Monday. Flashback is not implemented.
    Edited by: user10915512 on May 10, 2011 7:15 AM

  • Restore cold backup without resetlogs option

    Hi,
    im using oracle 10.2.0 , i'm migrating database to SAN, how can i restore cold backup with noresetlogs.

    Hi pawan,
    steps i will follow are as follows:
    1. take backup of controlfile with noresetlogs.
    SQL> database backup controlfile to trace noresetlogs;
    2. Shut down the database, take cold backup(datafiles,redologfiles).
    3. recreate the controlfile.
    4. the open the database with noresetlogs
    are the steps fine or need any changes.

  • Build standby database using cold backup on a different file system & host

    Hi gurus,
    The database version is 11.2.0.3. OS is HP UX Itanium 11.31
    I am building a standby database using cold backup of primary. The primary mount points are (/p003/oracle, /p004/oracle) on HOST1 and the standby file system on HOST2 are (/s003/oracle,/s004/oracle). I am not using Data Guard to apply logs as we have a script that mounts the log location periodically to standby server and apply the logs to make it current. I am using cold backup as the database is small like 200G and can be taken down. Could someone help me with the steps to build standby using cold backup for a different file location in standby ?? My concern is I can copy the data files from /p003 to /s003. How will I build the controlfile ?
    If it was same File system on both HOST 1 and HOST2 I can copy the cold backup to the standby server, build a standby control file on primary and copy and replace the standby control file and everything was set.
    Thanks
    Cherrish Vaidiyan

    Hello;
    I have a note on this using a cold copy of the current files instead of a copy backup :
    http://www.visi.com/~mseberg/data_guard_on_oracle_10_step_by_step.html
    I will post SCP SQL in a moment.
    Best Regards
    mseberg
    set heading off
    set feedback off
    set pagesize 100
    set linesize 400
    select 'scp '||a.name ||' server_name:' || a.name as newname from v$datafile a;
    select 'scp '||a.name ||' server_name:' || a.name as newname from v$controlfile a;
    select 'scp '||a.member ||' server_name:' || a.member as newname from v$logfile a;Edited by: mseberg on May 25, 2013 10:35 AM

  • Steps for Refresh the Test Database with cold-backup

    Hello everybody !
    Can any body write me the steps to referesh the test db ( T1 -> already there) from the cold backup of production database ( P1 on another machine ) . all the datafiles are there available in the backup of production ..controlfile or redolog files are not available of production database. Both databases are 9.2.0.8 and are on different machines with same OS of AIX.
    Thanks in advance !

    Steps
    1.) Before Shutting down P1 DB for cold back execute
    alter database backup controlfile to trace;
    2.) copy the created the trace file from udump to test server
    3.) shutdown the P1DB and take cold backup containing all datafiles
    4.) Copy dbf to test servers
    5.) Edit trc file copied in step no 2
    6.) As you are changing the name of db use option SET ( in place of REUSE)
    7.)Also remove unwanted portion
    8.) Change the name of trc file to <somthing>.sql
    9.) Startup test db in nomount stage
    10.) run the above created sql
    11.) tHis will create controlfiles, place db in mount stage
    12.) issue alter database open reset logs
    13) add tempfiles to temp tbsp
    regards
    Pravin

  • How to backup multiple iphones with different iCloud accounts but same apple id?

    I would like to back up 3 idevices each with different icloud accounts to itunes. But they use the same apple id so that itune purchases can be installed on each device (2 iphones and 1 ipad).
    All I want to do is create a backup in case the phones need to be restored. I also want to back up before downloading iOS 8.
    The Macbook Pro that I will back up to has one user and one itunes library.
    Is this possible without mixing up address books and contacts etc? Appreciate if some one could direct me to detail step-by-step instructions if they exist or please tell me how I can do this.
    Thanks.

    With Family Sharing they don't need to have the same Apple ID anymore.
    But backups to iTunes are kept separate among multiple devices; Apple ID and iCloud isn't involved at all. Just make sure the devices do not have the same name.

Maybe you are looking for