Restore database to new server

Hi,
today I wanted to test a restore to a new server.
DB=10.2.0.4
rman catalog is used
backup on TSM Tape
First I configured the new server to use the same TSM backup node as the original server.
tdpoconf showenv is ok.
Then I checked Meatlink 419137.1 and copied the pfile to the new server and changed the xxx_dest parameter.
Now I want to restore the controlfile.
RMAN> run {
2> allocate channel ch1 device type sbt;
3> restore controlfile;
4> }
released channel: ORA_SBT_TAPE_1
released channel: ORA_DISK_1
allocated channel: ch1
channel ch1: sid=154 devtype=SBT_TAPE
channel ch1: Data Protection for Oracle: version 5.3.3.0
Starting restore at 23-FEB-11
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 02/23/2011 12:47:27
ORA-27191: sbtinfo2 returned error
Additional information: 2
RMAN> list backup of controlfile;
BS Key Type LV Size Device Type Elapsed Time Completion Time
839079 Incr 1 18.25M SBT_TAPE 00:00:05 22-FEB-11
BP Key: 839082 Status: AVAILABLE Compressed: NO Tag: TAG20110222T180016
Handle: INC1_WORX_24789_743796123_1 Media: 97852
Control File Included: Ckp SCN: 8267760886177 Ckp time: 22-FEB-11
obviously there is a control file!
I also tried to set the dbid from the server who made the backup
RMAN> set dbid=1324742276;
executing command: SET DBID
run {
database name is "WORX" and DBID is 1324742276
RMAN> 2> allocate channel ch1 device type sbt;
3> restore controlfile;
4> }
allocated channel: ch1
channel ch1: sid=154 devtype=SBT_TAPE
channel ch1: Data Protection for Oracle: version 5.3.3.0
Starting restore at 23-FEB-11
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 02/23/2011 12:50:03
ORA-27191: sbtinfo2 returned error
Additional information: 2
what's wrong?
br
Daniel

Please post the entry of alert.log file and watch my video tutorial on Disaster Recovery
http://kamranagayev.wordpress.com/2010/03/29/rman-video-tutorial-series-performing-disaster-recovery-with-rman/

Similar Messages

  • How to copy Restore database in new server and new domain.

    Hai all,
    I'm trying to backup a database from one SQL server and restore it to another (both are SQL2008 R2) but diff domain. 
    when I try run few query, the output is empty. Please advise.
    noor hafizah

    Hi Noor,
    Filtered views use the Principal Access Object to determine the records to be shown to the current user (the one executing the query). You will not be able to see any results if the account not defined inside CRM.
    Please try to
    assign the correct security role to the user account.
    If you have more questions related to CRM, you can post in the Microsoft Dynamics CRM Forum . More experts there will assist you.
    Regards,
    Fanny Liu  
    Fanny Liu
    TechNet Community Support

  • Restore SharePoint Database to new server - What to do about external content type?

    I currently run SharePoint 2010 and have a content database back-up which I want to restore to a new server.
    I was able to restore to a new server and everything seems to be working, except that I have one list in my previous site which had an external content type in it linking to a database for our ERP system. The ERP system's database will also be located on
    the new server (same as the new location for the content database). How do I link the external content type from my list to the new location of the ERP database?
    One thing which I've tried is to create a new BDC and set up a new external content type within the list. That seems to point to the new location just fine, except that I would have to remap all every single item in the list individually.
    Any help would be appreciated.

    You will need to modify your BCS Model to reflect the new location of your ERP database. Another option is to use SQL Aliases, which will allow SharePoint to think the new location is still by the old name.
    http://mmman.itgroove.net/2012/07/setting-up-a-sql-server-alias-with-sharepoint-server-2010/
    This is assuming that you are retiring the old database server.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Recovering andrestoring of database in new server after current server fail

    Hi,
    If we have a disaster ,where the Database server has gone and we can not use it again.
    1) We do not have dataguard.
    2) We have rman backup file of 2 days before (Full database backup). Rman backup with nocatalogue
    3) Flashback log files of 2 days back
    3) Archive log till yesterday
    4) Export file of morning.
    Can we be able to restore and recover our database in new server
    if yes then how.
    Because RMAN Backup has its DBID and the new Oracle software which i install on new server will be installed with new ID.
    Please help me understanding this thing (About target database)
    Regards

    First of all, you should install the software on the server only, you should NOT create a database.
    As you can restore a database to a new host (and this is documented), you won't have any problems. That is, if you don't create a database during installation, and read up on recovery.
    I wonder: why do all those anonymous users always can't be bothered to read the documentation, and ask others to paraphrase it for free?
    Sybrand Bakker
    Senior Oracle DBA

  • Break cluster and move databases to new server

    Hello everyone.  I have a question that may be basic but I am by no means a SQL person.  Right now we have a SQL 2005 cluster running on VM ESXi with a celerra backend storage.  Some drives are mapped Raw.  We recently put in a new
    VNX and we are not able to migrate the SQL server over due to how the drives are mapped.  I am thinking that I want to build a new SQL server and move the databases.  The new build will not be a cluster since we have point in time recovery manager
    from EMC.  Now my thinking is, can I break the cluster, move the 2nd node to the new ESXi and storage and present new storage or would it be best to just build a new server?  Is it easy enough to change an instance name after SQL is running? 
    Several applications refer to the SQL Cluster and they are critical so I need something with least amount of downtime.  Would doing backup of all of SQL and then a restore to the new system be best?  Any thoughts or direction?  Thanks
    Joe M

    The most straightforward and reliable method is to build a new server, migrate the databases using backup/restore, test the new server, and cut-over by shutting down the old servers and either reconfiguring the client applications or renaming the new server
    to have the same network name as the old server's SQL Cluster Client Access point. 
    You can also use DNS redirection instead of renaming the new server, although using a DNS hostname alias for your server requires some additional security configuration.  EG
    http://blogs.msdn.com/b/dbrowne/archive/2012/05/21/how-to-add-a-hostname-alias-for-a-sql-server-instance.aspx
    David
    David
    David http://blogs.msdn.com/b/dbrowne/

  • MOVE REPLICATION DATABASE TO NEW SERVER

    WE HAVE A PRODUCTION DATABASE THAT WORK'S AS REPLICATION FROM 9 DATABASES, WE ARE GOING TO MOVE DATABASE TO NEW SERVER.
    AS DATABASE IS PRODUCTION, WE CAN NOT STOP SERVICES. WE THINK TO CREATE A NEW DATABASE ON NEW SERVER, IMPORT DATA FROM PROD. DATABASE. SIZE APROX 100GB.
    QUESTION:
    I NEED TO KNOW HOW I CAN STOP SERVICES SHORT TIME. TO CHANGE TO SNEW SERVER.
    THANKS FOR YOUR SUGGESTIONS

    Здравствуте Ivan.
    Before i would do anything like this i would make sure that i have a good valid backup (just in case!).
    I would check all the applications that are currently conencting to your ORacle and make sure they are all conneting 'by name' not the IP. Or and then i would check DNS server (make sure nslookup is working) to makesure that everything resolves correctly after the moving DB to another machine.
    Then check that the oracle_home etc are in the same directory and check that all paths etc in the configurations are the same.
    Hope this helps
    Kind Regards

  • Move Owb database to new server

    Hi,
    We are going to move our Owb (9.2.0.2.8) database to a new server. The nodename isn't going to change only the ip-address will change. The OS will be the same.
    The steps will be:
    1) install Owb on new server
    2) copy database to new server
    Is there some other step we'll need to take?
    regards,
    Ivan

    Здравствуте Ivan.
    Before i would do anything like this i would make sure that i have a good valid backup (just in case!).
    I would check all the applications that are currently conencting to your ORacle and make sure they are all conneting 'by name' not the IP. Or and then i would check DNS server (make sure nslookup is working) to makesure that everything resolves correctly after the moving DB to another machine.
    Then check that the oracle_home etc are in the same directory and check that all paths etc in the configurations are the same.
    Hope this helps
    Kind Regards

  • Migrate Mirror Database to New Server

    Hi,
    I need to migrate my SQL server Mirror Database to
    a new server. my current setup is as below
    1. server A principal (192.168.1.100)
    2. server B Mirror     (192.168.1.200)
    now i have a new server (Server C) to replace server B as below
    1. server A principal (192.168.1.100)
    2. server C Mirror     (192.168.1.300)
    my question is how to migrate mirror db to new server without any affect or downtime on principal server, please share idea/experience for above.
    note: SQL SERVER 2008R2 EE(64BIT), Win2008R2 EE 64bit.
    Regard
    Faisal Wahid

    Thanks for your quick response.
    Is it possible something like in oracle (pardon as i am oracle DBA not sql server guy), 
    (Oracle Steps to migrate standby(mirror) db to new server)
    1. Pause replication on primary(principal) 
    2. Move standby(mirror) database files to new server(using copy/rman/etc).
    3. Update connection information (TNS in oracle) on primary(principal) to point new server.
    4. Start replication on primary(principal).
    the above steps will simply migrate the standby(mirror) database to new server,
    can we do something like above in sql server?

  • Problem with restore database in sql server 2008

    hi,,,when i want to restore database from a .bak file i see this error
    TITLE: Microsoft SQL Server Management Studio
    Restore failed for Server 'ALI-PC'.  (Microsoft.SqlServer.SmoExtended)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1447.4+((KJ_RTM).100213-0103+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476
    ADDITIONAL INFORMATION:
    System.Data.SqlClient.SqlError: The database was backed up on a server running version 10.50.4000. That version is incompatible with this server, which is running version 10.00.1600. Either restore the database on a server that supports the backup, or use a
    backup that is compatible with this server. (Microsoft.SqlServer.Smo)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1447.4+((KJ_RTM).100213-0103+)&LinkId=20476
    BUTTONS:
    OK
    i checked overwrite the existing database(WUTH REPLACE) in option,but i cant restore again,,,please help me

    Hi,
    You need to install SQL Server 2008 R2 Service Pack 2
    Download
    http://www.microsoft.com/en-us/download/details.aspx?id=11093, you are currently running the RTM and the backup was from Version 10.50.4000 and your attempting to restore to version 10.00.1600.
    To find your current SQL Version open a New Query and paste the following then execute
    SELECT @@VERSION AS 'SQL Server Version
    Reference:
    http://sqlserverbuilds.blogspot.com/
    http://support.microsoft.com/kb/321185
    http://technet.microsoft.com/en-us/library/ms177512.aspx
    Cheers,
    -Ivan

  • Move database to new server from ASM to FS

    Hey, I have to move my database from ASM to filesystem storge (10.2.0.3 on sles 10 sp1)
    The new server is also sles 10 sp1.
    Can I just do an full export on the source site, and an import on the target site ? Will that work ?
    Any other steps to perform ?
    Chris

    Hi,
    1. Export db wlth FULL=Y . and then we have to create new database at target location and then import operation have to done.
    2.we can take rman backup, restore rman backup in target location. This method will reduce the complexity
    take backup through Rman.
    Target location:-
    1. export ORACLE_SID=xxx
    2. rman target /
    3. startup nomount
    4.RMAN> RESTORE CONTROLFILE FROM 'backup piece';
    5.RMAN> alter database mount;
    6.
    set newname for datafile '+DG/datafile.dbf' to 'FS/location';(do for all datafiles)
    restore database;
    switch datafile all;}
    7. alter database rename file '+DG/datafile.dbf' to 'FS/location';(do for all datafiles)
    8.alter database open;
    follow these steps from ASM TO FS.
    Edited by: startup on May 23, 2013 7:41 PM

  • Move MaxDB database to new server

    Hello,
    I would like to move a MaxDB (Content Server) database from a Windows 2003 x86 server to a Windows 2003 x64 server. I will be moving from 7.5 to 7.6 at the same time. Reading around the subject, this is what I have done so far:
    Target Server:
    Used SAPINST to install the MaxDB 7.6 / Content Server 6.40 on the new x64 target server.
    SAPINST created a empty database on the target server and I added the appropriate number of volumes.
    After playing around I used db_active to initialize the target database.
    Put the target database in admin mode.
    Source Server:
    Used  backup_start CompleteData RECOVERY DATA to create a backup of the database.
    Target Server:
    Created a backup medium called Restore and pointed this at the copied backup file.
    In db_admin mode executed a recover_start "Restore" DATA
    db_online
    Re-created the system tables (via wizard or dbmcli)
    Questions:
    Do I need to apply any log backups here (assuming no activity on source)?
    If there were activity on the source and I applied the logs to the target, how do I apply the data that is in the transaction logs but not currently written to the log backup?
    There is no backup history on the target server, how does it know how far to go and that the log recovery is complete?
    Can the backup history be copied from souce to target?
    Thanks,
    Philip.

    Hello Philip,
    SAP Note 1089402 - "Shortening backup history for MaxDB/liveCache instances" is useful in this case:
    The backup history of a database instance that is based on MaxDB is stored in the files dbm.knl and dbm.mdf in the run directory (usually, /sapdb/data/wrk/<DBSID>)
    You can copy these two files in the new server in order to apply the log backup to the restored database BUT... this is not supported by SAP, because as far as I know there is no SAP Notes where you are asked to do so.
    So, the supported procedure is to restore the DB but you shouldn't apply any backup log
    Regards,
    Valerio

  • Moving SCCM 2012 R2 SQL 2014 Database to New Server

    Greetings,
    I have a SCCM 2012 R2 server with SQL 2014 installed which has been upgraded from SQL 2008 R2.  My goal is to separate the SCCM and SQL servers.  I am aware that SCCM only supports SQL 2014 if it has been upgraded on new installs, but after installing
    SQL 2014 on a new server and importing the database I get an error from the Configuration Manager Setup stating that I must upgrade the SQL server before I can modify the SQL Server configuration.  
    Does this mean I need to install SQL 2008 or 2012 on the new DB server and from there upgrade to SQL 2014?

    Thank you for your reply.  We have been having several issues with our current server, and have had performance issues with SQL and SCCM installed on the same server mainly during OSD deployments to several machines at the same time.  These servers
    wouldn't necessarily need to be separated since we can allocate more resources, but the overall goal is to move our primary site server to a new server running Server 2012 R2 (current server is 2008 R2).
    I have tried the site recovery option in the installer where you run the SCCM backup and restore maintenance task and I have renamed the new server to the name of the old server.  If I understand correctly, this is the correct method of switching out
    a site server machine?  I experience the same error as my original post when trying this, but I will try the hotfix Torsten provided as this seems to be the issue I'm having.
    Thank you.

  • Backup and restore to a new server

    Hello,
    I have a new server that I would like to copied the production DB. This is what I have so far
    1: A backup of the production Db (User manage backup -- no RMAN)
    2: have the redo logs
    3: I install and configure the server and a test database on the new system (SOLARIS)
    Can some give me some hints on how to restore the backed-up database to my new system from the shell prompt? I don't have the DBconsole or GUI tool (my Admin block most of the ports....
    Thanks in advance for your help
    SYSTEM : SOLARIS
    DB : 10G

    A cold backup taken how? This is not as simple as it would be if you were a DBA and knew what you were working with.
    Assuming I had a copy of the files I would be recreating directory paths, creating control files, setting environment variables, etc.
    Look at this online demo for DataGuard
    http://www.morganslibrary.org/reference/data_guard.html
    It is used to create a physical standby which is not what you want but it shows the basic steps you need for backing up the primary
    production database and for creating a duplicate. Hopefully this will help you with your research.

  • Database Portability of restored Database in Production server

    Hi All,
    I have a query regarding database portability in Exchange 2010 server.
    I have restored a Journaling Database which is ~ 350 GB and just wanted to check if i dismount the prod database which does not have any data in the DB and only journlaing mailbox is pointed to this DB , can i move restored DB .edb file to the production
    server physical location and mount it, will the journaling account will connect to this restored database which i have copied. or do i have to run any command which will reconnect the mailbox. 
    BR/Deepak

    Hi,
    You can use the Connect-Mailbox -Identity -Archive cmdlet to re-connect an archive mailbox.
    You can refer to the following article.
    https://technet.microsoft.com/en-GB/library/ee633490(v=exchg.141).aspx
    Best regards,
    Belinda Ma
    TechNet Community Support

  • How to mesure/benchmark performance of a new database on new server?

    Hi there
    I have two oracle servers with following (same) details:
    RHEL 5.8 64-bit
    Oracle 10gR2 - 10.2.0.5.8
    ASM 10gR2 - 10.2.0.5.8
    Server A: RAM 32GB, 8 CPUs @ 3.00GHz
    Server B: RAM 128GB, vCPUs 16 cores
    Server A (physical server) already has a database A. Server B (on VMWare - yes, my client is moving all Oracle servers to VMware for whatever reason) is a new installation and new database B with exact same init params as databas A. I expdp the data from database A and impdp into database B.
    As per the hardware team, the hardware is better than the old server B. I did a very basic test to check if new DB performs better than that on physical server. Here is the results:
    I ran a simple query to create a new table. The original table (say, table_a) contains 1.7+ million rows and size is 2.2GB.
    create table test1
    as
    select * from table_a;
    It took 3:28mins on database B while it took only 1:55mins on database A. So the new database B seems to be performing poor (apparently). Then I looked at the explain plan (not sure if it means much because it s a very simple query) and here it is from both databases:
    Database A (physical server
    Plan
    SELECT STATEMENT ALL_ROWS
    Cost: 14,052  Bytes: 2,161,302,003  Cardinality: 16,250,391 
    1 TABLE ACCESS FULL TABLE table_a
    Cost: 14,052  Bytes: 2,161,302,003  Cardinality: 16,250,391 
    Database B (virtual server)
    Plan
    SELECT STATEMENT ALL_ROWS
    Cost: 59,844  Bytes: 2,161,302,003  Cardinality: 16,250,391 
    1 TABLE ACCESS FULL TABLE table_a
    Cost: 59,844  Bytes: 2,161,302,003  Cardinality: 16,250,391 
    Questions:
    1. Why is the cost different? Should I "compute statistics" on database B (virtual server)?
    2. How to investigate further and find out reason for the time difference?
    3. What other benchmark test can I run to make sure that I have the right database configuration?
    Not sure if this is enough info - if not, please let me know what else should I provide.
    The team I have to hand-over this server is refusing to accept it by saying that it is slower than the existing one.
    Please advise!
    Best regards

    Wow... I am really thankful for everyone's input - this is really really appreciated!
    I will try what you all have suggested. In the meantime, I did some simple test on both databases and here are the results:
    Create table t1
      (1.7million rows)
    Create index on
      two columns on t1
    Create table t2
      500000 rows
    Create Index on
      two columns on t2
    Delete from t1
      (500000 rows)
    Insert into t1
      500000 rows
    Drop  table t2
    Drop table t1
    Database A
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    1st run
    00:01:55.78
    00:02:12.59
    00:00:03.06
    00:00:01.99
    00:01:25.56
    00:00:10.37
    00:00:00.15
    00:00:05.12
    2nd run
    00:01:56.27
    00:02:11.54
    00:00:02.89
    00:00:01.09
    00:01:18.39
    00:00:10.20
    00:00:00.17
    00:00:04.87
    3rd run
    00:01:56.71
    00:02:12.36
    00:00:03.14
    00:00:01.13
    00:01:22.97
    00:00:10.22
    00:00:00.15
    00:00:04.88
    Database B (VM)
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    1st run
    00:00:25:83
    00:03:54.60
    00:00:00.67
    00:00:01.43
    00:00:29.56
    00:00:09.75
    00:00:00.05
    00:00:01.10
    2nd run
    00:00:24.67
    00:03:05.81
    00:00:00:62
    00:00:01.10
    00:00:31.76
    00:00:08.59
    00:00:00.04
    00:00:00.59
    3rd run
    00:00:44.06
    00:03:12.91
    00:00:00.97
    00:00:01.62
    00:00:39.35
    00:00:08.90
    00:00:00.03
    00:00:00.61
    Now, the database on Server B (VMware) seems to be outperforming that on Server A except for the "Create index on two columns on t1" column.
    Any clues why index creation is consistently taking longer on the database B (on VM) as compared to that on database A (physical server)?
    @jgarry: I am not in a position to try SLOB (no doubt a good tool with lots of reputation) because it requires to create a new DB (which I cannot do on the existing server). I did try "HammerDB" but unfortunately it crashed on each attempt to test the load.

Maybe you are looking for