Restore ( duplicate) db from tape backup from one server to another server

I am looking for step by step process to restore (duplicate)db from tape backup from one server to another server
Thanks

Creating a Duplicate Database on a Remote Host will provide all the information.

Similar Messages

  • Error while duplicate database from one server to another server

    Hi there,
    I am practicing duplicate database from one single database server to another server. Hardware and driver path on 2 machines is the same. Here are my steps:
    --------------------- Clone site:
    1. modify listener.ora with content:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME= orcl)
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
    2. stop and start listener again, message show like :
    Service “orcl” has 1 instance(s).
    Instance “orcl”, status UNKNOWN, has 1 handler(s) for this service…
    The command completed successfully
    3. create pfile from spfile.
    4. shutdown and startup nomount with pfile is new pfile create from step 3.
    --------------------------------------- Source site
    1. modify tnsnames.ora with content like:
    VVCOREDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vvcoredb)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT=1521))
    (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = orcl)
    2. run command from rman like these:
    rman> connect target sys@vvcoredb
    rman> target database Password:
    rman> connect auxiliary sys@orcl
    rman> auxiliary database Password:
    rman> DUPLICATE TARGET DATABASE to orcl from active database spfile nofilenamecheck;
    Then the result show below:
    Starting Duplicate Db at 24-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
    executing Memory Script
    Starting backup at 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=74 device type=DISK
    Finished backup at 24-SEP-12
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL'' comment=
    ''duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/24/2012 17:44:12
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
    ORA-01262: Stat failed on a file destination directory
    Linux-x86_64 Error: 2: No such file or directory
    I don't know what wrong with my pfile? I specify correct my pfile on clone site like this:
    orcl.__db_cache_size=1476395008
    orcl.__java_pool_size=16777216
    orcl.__large_pool_size=16777216
    orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=1342177280
    orcl.__sga_target=1979711488
    orcl.__shared_io_pool_size=0
    orcl.__shared_pool_size=436207616
    orcl.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='orcl'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area/vvcoredb'
    *.db_recovery_file_dest_size=4070572032
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
    *.memory_target=3313500160
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    Please suggest me do i miss some steps when try to duplicate database?
    Any suggestions are welcome.
    Thanks in advance!
    P/s: Sorry for my bad English.

    Oh god, it worked. Thank you. But i got another problem like this:
    duplicate target database to orcl from active database spfile set "db_recovery_file_dest" = "/u01/app/oracle/flash_recovery_area/vvcoredb" nofilenamecheck;
    Starting Duplicate Db at 24-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
    executing Memory Script
    Starting backup at 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=74 device type=DISK
    Finished backup at 24-SEP-12
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL'' comment=
    ''duplicate'' scope=spfile";
    sql clone "alter system set db_recovery_file_dest =
    ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment=
    '''' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
    sql statement: alter system set db_recovery_file_dest = ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment= '''' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area 3307048960 bytes
    Fixed Size 2217872 bytes
    Variable Size 1811941488 bytes
    Database Buffers 1476395008 bytes
    Redo Buffers 16494592 bytes
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''VVCOREDB'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    sql clone "alter system set db_unique_name =
    ''ORCL'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone force nomount
    backup as copy current controlfile auxiliary format '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
    restore clone controlfile to '/u01/app/oracle/recovery_area/vvcoredb/control02.ctl' from
    '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
    alter clone database mount;
    executing Memory Script
    sql statement: alter system set db_name = ''VVCOREDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set db_unique_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area 3307048960 bytes
    Fixed Size 2217872 bytes
    Variable Size 1811941488 bytes
    Database Buffers 1476395008 bytes
    Redo Buffers 16494592 bytes
    Starting backup at 24-SEP-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile copy
    copying current control file
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/24/2012 18:42:09
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/24/2012 18:42:09
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    I have a comment that source site doesn't have flash_recovery_area, instead it's name is recovery_area, is it problem?
    Edited by: 788420 on Sep 24, 2012 4:44 AM

  • How do I move a layer from one photo to another photo

    I am trying to move the sunset from one photo into another photo.

    You can also duplicate layer from one document to another in this way: right/Cmd + click on layer and choose: Duplicate Layer. In Duplicate Layer dialog from Document drop-down list choose name of the document to which you want to send duplicated layer. Duplicated layer will be inserted above currently selected layer (group) in document to which you are sending (duplicating) it. You can use same technique for multiple layers or group.

  • How to restore a backup from one MBP to another using an external hardrive

    Hi. I was wondering how exactly can I restore backed up data using time machine from one MBP to another MBP since I purchased a new 2012 laptop due to replacing my old 2010.

    Everything you wanted to know about Time machine but were afraid to ask:
    http://pondini.org/OSX/Setup.html
    Ciao.

  • Can i transfer my backup from one laptop to another?

    I have my backup of apps and music stored in one laptop's iTunes account, how can I transfer my backup from one laptop to another?

    iTunes downloads are not stored in a backup (that contains documents, files, camera roll photos, app content/settings etc), neither are the contents of the device's Music and Videos apps - instead a restore would look to pick up your music, films, apps etc from your iTunes library.
    Your backups are stored under :
    Mac: ~/Library/Application Support/MobileSync/Backup/
    The "~" represents your Home folder. If you don't see Library in your Home folder, hold Option and click the Go menu.
    Windows Vista, Windows 7, and Windows 8: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    To quickly access the AppData folder, click Start. In the search bar, type %appdata%, then press Return.
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    To quickly access the Application Data folder, click Start, then choose Run. In the search bar, type %appdata%, then click OK.
    You will need to copy the entire backup directory and copy it into the relevant directory on your other laptop - it should then automatically be picked up by that computer's iTunes and show on the Devices tab in Edit > Preference (iTunes > Preferences on a Mac) on it.
    To copy your iTunes library between computers : How to move your iTunes library to a new computer.
    You can also use home sharing to copy content between computers : iTunes: Setting up Home Sharing on your computer.

  • How do i backup data from one iphone to another

    how do i backup data from one iphone to another?

    Back up your old phone, then restore your new one from the backup.  See http://support.apple.com/kb/HT2109.

  • Restored our SSRS 2008 R2 from one server to another; Dates are in UK format and not US

    We have restored our SSRS 2008 R2 from one server to another. The original server was in US locale/culture. The new server was in UK locale/culture, when the restore happened. However it should have been in US locale/culture. We have made this change and
    new reports work OK.
    However existing reports (i.e. saved by a user) are still trying to use the US dates in a UK format and as a result throwing a date cant be below 1753 error.
    Has anyone seen this issue before or have any idea what we need to do to fix it?
    Thanks
    Kimberlad

     Hi Kimberlad
    Have you checked any changes in the Collation? 
    Please verify Reporting Server Databases and Server Collation is there any mismatch with your Source Server.
    and also please post complete Error message..
    Nag Pal MCTS/MCITP (SQL Server 2005/2008) :: Please Mark Answer/vote if it is helpful ::

  • How can I move my iPad's iTunes backup from one user to another?

    Is it possible to move my iPad's iTunes backup from one user to another, so as to change which user the iPad is syncing to without deleting any app data? Currently the iPad is synced to one user on my iMac, and I would like to transfer it so that it will sync with a different user on the same iMac (using iTunes, of course). I'd like to replace content from the old user's iTunes library with my user (eg. music, movies), but I don't want to loose app data in the process if I can avoid it.
    I have tried to use the pathway /Library/Application Support/MobileSync/Backup but my iMac doesn't seem to have a MoblieSync folder. I wouldn't know what to do with the backup anyway though.
    Can anyone help me or is this request too complicated, difficult, or impossible? Thanks for your help!

    The Apple Document covers this. See the footnotes of my google docs
    I've done this, it is easy, but takes time and patience.
    On the existing mac with OSX and Configurator:
    ========================================
    - run disk utility and verify your disks are ok, a must
    - make note of the user logged in when using configurator  such as "bob"
    - connect a new or newly reformatted USB formatted for Apple
    - run time machine and backup to the USB
    - Take the mac off the network,
    - Buy a new mac
    - setup the mac with a new logon account like Paul or  "bob2"   do not use BOB !!
    - finish the new purchase setup, get to your desktop
    - now run the migraiton assistant  moving bob from the USB to the new mac
    - reboot, logon as bob, launch configurator and connect just one ipad.  Test
    https://docs.google.com/document/d/1SMBgyzONxcx6_FswgkW9XYLpA4oCt_2y1uw9ceMZ9F4/ edit?usp=sharing

  • Will iCloud backup and push specific files from one MAC to another?

    will iCloud backup and push specific files from one MAC to another?

    This is what I get when I follow that Link, Winston.
    I am using Safari and I am sighned in with my Apple Id. I'm not sure what the trouble is but I can not seem to read that tip is there some other way for me to find it?
    Unauthorized
    It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake. 

  • Transfer Ipod backup from one computer to another.

    I want to transfer my ipod back up from one computer to another. Is there a way to keep my back up file and use that on my new PC? 4th gen Ipod Touch, Windows XP to Windows 7

    You need to transfer your iTunes library from your old Mac to your new Mac. Copy the iTunes named folder located in your Music folder on your old Mac and with iTunes quit on your new Mac, place the iTunes folder in the same location - in your Music folder. You also need to authorize your new Mac with your iTunes account with iTunes.
    Before syncing contacts with the Address Book and calendar events with iCal on your new Mac, enter one contact in the Address Book and one calendar event in iCal on your new Mac. This will provide a merge prompt with the first sync for this data, which you want to select.
    There is no need to transfer your iPhone's backup from your old Mac to your new Mac. iTunes on your new Mac will create a new backup for your iPhone automatically or you can do this manually. With your iPhone connected to iTunes on your new Mac, control-click on your iPhone under Devices in the iTunes source list and at the menu window that appears, select Back Up to create a new backup for your iPhone as of now.

  • I changed from one iPhone to another and backed the first one up to the icloud. I have restored the content to my new iphone but cannot download the photos. Any advise will be greatly appreciated

    I changed from one iPhone to another and backed the first one up to the icloud. I have restored the content to my new iphone but cannot download the photos. Any advise will be greatly appreciated

    Welcome to the Apple Community.
    Photos and some other items are added back after the restore has completed, you may need to wait a while.

  • How do I transfer data from one iPhone to another?

    How do I transfer data from one iPhone to another?

    If your old device is an Apple using iOS 5 or later, and you have an iCloud account, you can transfer all your saved messages, email accounts, photos, notes, and other personal settings to your new iPhone.
    Here's how...
    Connect your old Apple device to WiFi and to a power source.
    Back it up to iCloud by going to Settings > iCloud > Storage & Backup and toggling iCloud Backup on. The time it takes to ba ckup depends on how much data you have and on the speed of your internet connection.
    iCloud backs up your device once a day. If it needs backing up before you transfer to your new iPhone 5, tap Back Up Now in Settings > iCloud > Storage & Backup. Do not start transferring before the backup is finished.
    Turn on your new iPhone and complete the setup by selecting your language and country, and choose whether to enable Location Services. When prompted, choose your WiFi network.
    When prompted to set up, choose Restore from iCloud Backup, tap Next, and enter your Apple ID and password.
    Select the backup of your old device and tap Restore. Wait until the device has finished restoring from the backup.
    When the restore process is complete, your iPhone will restart and be ready to use.
    Connect your iPhone 5 to iTunes to sync data not contained in the backup (such as music, videos, apps, and so on). You can choose the data that are synced by clicking the syncing tabs in iTunes.

  • Moving Events and Projects from one location to another on the same hard drive.

    Hello.
    I've searched in the FCP X User Manual, on this forum and in Google, but have found no explanation of how to do this, so I'm posting this here in hopes that someone in our community will be able to help.
    I've previously stored my FCP X Events and Projects folders on an external 3TB hard drive, because there is more room on it than on the internal 1TB hard drive, but, since then, I've worked with other media apps, for video, photography and audio, the files for which are also stored on the external hard drive, and this has created a bit of clutter with no folder structure to keep it tidy.
    I like an organised file structure on my system, to keep it uncluttered, easy to navigate and efficient to use, so I put all the files for my photography, video and audio apps into their own folders, which are, in turn, stored in their appropriate folders for Audio, Photography and Video, and those three folders are stored in a folder called Media, and then I directed each app to its own files.
    The only app with which this has been a problem is FCP X. While there is a way of relocating projects and events from within FCP X, it allows the user to move them from one hard drive to another, and not, as I want, from one place to another on the same hard drive.
    I'm not sure if it matters, but perhaps it's relevant to mention before the next paragraph that the files that had previously been imported as events are, to save hard-drive space, stored in the events folder as shortcuts to the original files, which are stored elsewhere on the drive, rather than as duplicates of those files.
    In Finder, I copied the Events and Projects folders to their intended new locations and tried in the app to link the events and projects to their new Finder location. It seemed to have worked, until I moved the original folders to the Trash. On re-opening FCP X, it was clear that the linking hadn't worked. I returned the original folders from the Trash to their original location, but that didn't entirely reverse the problem. I noticed also that, in the original and duplicated Events folders, the shortcuts had lost their links to the original files stored elswehere on the drive.
    Fortunately I had run a backup before starting, so I restored the original folders and the app from the backup, and all was back to normal.
    I'd be grateful if anyone could advise me on whether or not it's possible to move FCP X events and projects from one place to another on the same hard drive with the app's compliance.
    Thank you.

    Ludio wrote:
    I'd be grateful if anyone could advise me on whether or not it's possible to move FCP X events and projects from one place to another on the same hard drive with the app's compliance.
    I
    Message was edited by: Russ H Apparently mis-read the questions.

  • Move a database from one server to another

    Hello All,
    I am using Oracle 11g R2 on Oracle Enterprise Linux 32 bit.
    I have 2 servers , LinuxActive and LinuxPassive. I am trying to dismount the file system of the datafiles and control files ... from one server and mount it on the other.
    I previously opened a thread here concerning this subject and reached a result that it can be done, now i have questions about the details.
    I have installed Oracle software on both servers where ORACLE_BASE is /u01/app/oracle and ORACLE_HOME is /u01/app/oracle/product/11.2.0/db_1 on both servers.
    I created an orcl database on LinuxActive where all its datafiles, control files, redo logs, flash_recovery_area is on a disk group mounted under /oradata.
    I want to dismount /oradata from LinuxActive and mount it to LinuxPassive and start up the orcl database from LinuxPassive instead of LinuxActive.
    I may need to revert back /oradata to LinuxActive.
    What steps should I do? should I migrate my spfile also to /oradata?
    Should I create an orcl database on LinuxPassive?
    Do I start up my database like i do when i build an Oracle dataguard database ? from a pfile of the old database?
    Regards,
    Edited by: NB on Feb 27, 2012 5:25 PM

    NB wrote:
    Hello All,
    I am using Oracle 11g R2 on Oracle Enterprise Linux 32 bit.
    I have 2 servers , LinuxActive and LinuxPassive. I am trying to dismount the file system of the datafiles and control files ... from one server and mount it on the other.
    I previously opened a thread here concerning this subject and reached a result that it can be done, now i have questions about the details.
    I have installed Oracle software on both servers where ORACLE_BASE is /u01/app/oracle and ORACLE_HOME is /u01/app/oracle/product/11.2.0/db_1 on both servers.
    I created an orcl database on LinuxActive where all its datafiles, control files, redo logs, flash_recovery_area is on a disk group mounted under /oradata.
    I want to dismount /oradata from LinuxActive and mount it to LinuxPassive and start up the orcl database from LinuxPassive instead of LinuxActive.
    What steps should I do? should I migrate my spfile also to /oradata?
    Do I start up my database like i do when i build an Oracle dataguard database ? from a pfile of the old database?
    Regards,Thanks for your detailed information.
    RMAN duplicate will be simpler.
    As you are in 11g, you can perform duplicate from active database.
    Create PFILE in new location,
    Change "CONTROL_FILES" parameter to new mounpoint.
    Perform RMAN duplicate
    In both the cases you have to take care of parameters, DB_FILE_NAME_CONVERT & LOG_FILE_NAME_CONVERT.
    Refer some links
    How to Move/Restore DB to New Host and File System using RMAN [ID 1338193.1]
    http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#CHDJJBCF

  • Can i transfer everything from one ipad to another so both have exactly the same things

    Can i transfer everything from one ipad to another so both have exactly the same things?

    Yes. Copy your apps and other iTunes purchases/downloads to your computer's iTunes via File > Transfer Purchases (File > Devices > Transfer Purchases if you have iTunes 11 on your computer), then backup up the first iPad and restore that backup onto the second iPad.
    Backups and restores : http://support.apple.com/kb/HT4079
    Things that aren't included in a backup include the contents of the Music and Videos apps (but they should be on your computer's iTunes) and photos that were synced from a computer. Also you will need to enter your passwords (email, wifi, website) on the second iPad - they won't be restored onto a different device, only back onto the device that the backup came from.

Maybe you are looking for

  • Using a string to reference a variable

    hi all, i've encountered an interesting scenario where i need to use a string to reeference the value of a variable...the following would show the scenario in a simpler way... let's say we have such function called foo: void foo(String aString) int a

  • BUG: Access Connect Abort, when I create a new network profile.

    Where can I report bugs? My system is windows xp sp2 on X60. I have been using AC-4.42(Access Connection) for a long time. And before,  there is no problem when I added new network profile into it. But yesterday, I wanted to add a new profile into it

  • The request failed with HTTP status 401: Unauthorized Invoke Webservice

    I want Adding a Web reference dynamically at Runtime follow SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)] internal static object CallWebService(string webServiceAsmxUrl, string serviceName, string methodName, object[] args)

  • I want to purchase several songs at a time. Is there a shopping cart in iTunes?

    I am trying to download several songs from iTunes stores. There seems to be no provision for adding many songs and check out. Every time I click on a song, I am asked a password, then billing information and the card is charged. So, is I wish to down

  • Help on adding an animation on to a live video =0]

    Noob here lol would anyone be so kind as to help guide me towards some instructional video, forum or link that will show me how create a video with a specific cartoon character onto a live recorded video like these here>>> Zangief makes Russia proud!