How to move a DB in a recovering state from one server to another?

I have a server with many DBs in a "recovering" state (log shipping secondary). There is a hardware failure and the server needs to be recreated.
How do I keep the DBs so that I'll be able to attach them to the new server?
I tried to backup the DBs but I get this message:
Msg 927, Level 14, State 2, Line 2
Database 'DBName' cannot be opened. It is in the middle of a restore.
I can't bring fresh backups from the main site as the sites are far from each other and moving the backups will be too expensive.

I have a server with many DBs in a "recovering" state (log shipping secondary). There is a hardware failure and the server needs to be recreated.
How do I keep the DBs so that I'll be able to attach them to the new server?
I can't bring fresh backups from the main site as the sites are far from each other and moving the backups will be too expensive.
You can run recovery on current log shipping secondary database to bring it online as Suggested by Neha. Now take differential backup from primary and restore it on secondary to recreate logshipping.Diff backup would be less in size and would take less time
to transfer.
Since you had hardware failure I guess it would be good option to recreate Logshipping what was extent of hardware failure ? .Because since hardware was corrupt any files residing on it might as well be damaged.Take a full backup of primary database and
move it to secondary and restore it with standby.Before that please remove database in recovery mode either by dropping it or by first running recovery and then
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
My TechNet Wiki Articles

Similar Messages

  • How can I move the ODI Work Repository from one server to another server?

    How can I move the ODI Work Repository from one server to another server?

    Hi,
    If you would like to move your source models, target models and project contents from Work repository 1 to another work repository.
    I.e. Dev. server to Prod Server.
    1. Firstly, replicate the master repository connections i.e. with same naming conventions manually
    2. Go to Dev. Server work repository -> File Tab -> Click on Export work repository (save it in a folder)
    3. After exporting, you can view the xml files in the folders.
    4. Now, Open the Prod. server and make sure you already replicated mas. rep. details.
    5. Now, right click on model and import source model in synonym mode insert_update (select source model from the folder where your xml file located)
    6. Similarily, import again target then Project.
    Now, check. It should work.
    Thank you.

  • How can you move the objects from one server to another?

    how can you move the objects from one server to another?

    Hi,
    Collecting objects for Transporting
    1. rsa1->transport connection
    2. left panel choose 'object type', middle panel choose 'infocube' and 'select objects'
    3. then choose your infocube and 'transfer'
    4. will go to right panel, choose collection mode 'manual' and grouping only 'necessary objects'
    5. after objects collection finished, create request
    6. If they are $TMP, then change the package.
    7. When you click the Save on the change package, it will prompt for transport. Here you can provide an existing open transport request number, or if you like here itself you can create a new one.
    8. You can check the request in SE09 to confirm.
    Releasing Transport Request  
    Lets say you are transporting from BWD to BWQ
    Step 1: In BWD go to TCode SE10
    Step 2: Find the request and release it (Truck Icon or option can be found by right click on request #)
    Note: First release the child request and then the parent request
    Steps below are to import transport (generally done by basis )
    Step 1: In BWQ go to Tcode STMS
    Step 2: Click on Import queue button
    Step 3: Double Click on the line which says BWQ (or the system into which transport has to be imported)
    Step 4: Click on refresh button
    Step 5: High light the trasnport request and import it (using the truck icon)
    Transport
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/1d733b73a8f706e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/224381ad-0701-0010-dcb5-d74236082bff
    Hope this helps.
    thanks,
    JituK

  • How to move folders from one server to another serve using unix command

    Hi All,
    How to move the folders from one server to another server using unix command.
    scp -r armops@sjarmprd01:/ARM/scripts [email protected]:/ARM/scripts/
    but it is giving an error like not a regular file .. what it means .. please let me know if any one knows about it
    Thanks
    Sreedhar

    not a regular file .. what it meansProbably you have some fifo (named pipe) files...
    Said that this has nothing to do with database (you should post on some nix forum, for example http://forums.oracle.com/forums/forum.jspa?forumID=135), you may try rsync* command (man rsync).

  • How move apex from one server to another

    Hi All,
    I am just a beginner who has just started with APEX. Its strange but even though I am just a beginner I was given a task to move the current whole apex system from one server to another.
    Can any one help what the steps do I need to follow to do this?
    I also need to setup backup server to this new server so that in case this new server goes down, the backup one can be made productional.
    I think I should move apex first then move the whole database. Is there any tool or some thing which can do it for me?
    Thanks

    Hi,
    what you are being asked to do would be a complex task for an experienced DBA, which, judging by the way you have asked the questions, you are not, no offence intended.
    As far as I can see you have three options.
    1. Hire a consultant/contractor with the necessary skills to perform the tasks.
    2. Gain several years experience as an Oracle DBA, including Apex, backup and recovery and disaster recovery skills.
    3. Look for a new job.
    Sorry to sound facetious, but it is a ridiculous task you have been given assuming the skill and knowledge level you are coming from. Assuming you have not misrepresented yourself to your employer, this is not your fault and I think you need to seriously push back on your boss if possible.
    Regards
    Andre

  • I need a shell script to move latest archivelogs from one server to another server..

    Hi,
         I need a shell script to move latest archivelogs from one server to another server..
    Thanks&Regards,
    Vel

    ea816fb9-f9ea-45ac-906f-36a8315970d0 wrote:
    Thanks it's really helpfull..
    Now i have pasted a shell script which generates archivelog and shows latest archivelog time..
    just check let me know the answer, that how i need to execute it..
    # Force a logswitch to get the last archivelog to the standby host
    ORACLE_SID=ORCL
    ORAENV_ASK=NO
    . oraenv >/dev/null 2>&1
    SwitchLogfile()
      # Do logswitch 
      RESULT=`echo "Alter system switch logfile;" | sqlplus -S / as sysdba | grep 'System altered'`
      if [ "$RESULT" = "System altered." ]
      then
      export RETURN=1
      else
      export RETURN=0
      fi
      # Do we need to do something with this return value?
      export RETURN
    GetArchiveTime()
      CURYEAR=`date +%Y`
      echo "set heading off;" > temp.sql
      echo "set termout off;" >> temp.sql
      echo "select to_char(first_time,'YYYY-MM-DD HH24:MI:SS') from v\$archived_log where sequence#=(select sequence# - 1 from v\$log where status='CURRENT');" >> temp.sql
      sqlplus -S / as sysdba <
    spool tempres.txt
    @temp.sql
    quit
    EOF
    cat tempres.txt | grep ${CURYEAR} | grep -v grep | awk '{print $1" "$2}'
    #rm -f temp.sql  tempres.sql
    SwitchLogfile
    GetArchiveTime
    You seem to have ignored Dude's VERY good advice and continue to press down this ill-advised path.  If you continue this approach, you WILL have problems at the very time you do not need any additional problems.  Trying to recover your production database at 2:00 in the morning is not the time to be getting errors from rman because it can't find what it needs - because you decided to move them around yourself.
    Please reconsider.

  • How to migrate html file (workspace homepage) from one server to another

    Hi,
    Does any one know how to move a html file that is attached as homepage for Workspace from one server to another server?
    When I try using Export option, I dont see this file to select.
    Thanks in advance,
    PM

    You can use LCM functionality.
    Thx

  • How can I transfer my iTunes library and playlists from one computer to another?

    How can I transfer my iTunes library and playlists from one computer to another?

    Copy the iTunes folder (Mac: Home\Music or PC: My Music) to the same location on the new computer. If an iTunes folder already exists on the new computer (it will on a Mac) replace it with one you copied.

  • How do I copy the same app folder layouts from one device to another? We have a several iphones and ipads.

    how do I copy the same app folder layout from one device to another. We have several apple devices.
    It's a challenge when syncing a device for the first time to go through all the apps and apply them back to the same folders as on your other iphone.
    I've seen suggestions of taking pictures of the correct layout, then manually applying it to the new device. Big time waister.
    What's the work around?
    Thank you

    I'm afraid there is no short workaround. One thing that you could do if you were REALLY desperate is reset your device to factory settings and then restore it from your other device's backup, but that is rather risky and you probably don't want to take your chances just for folder layouts. I would just do it manually.

  • How Can I Copy an database from one server to another ?

    Hi All,
    I need to copy an existing database from one server to another server. I want to maintain all the settings from the source database.
    I´m not used to Oracle database and i´d be glad for any help.
    How can I do this ? Do I need to backup and restore in the other server ? Do I need to copy files from one server to another ?
    Any help will be really appreciated.
    Carlos.

    I think a simpler approach, other than using RMAN, is to do a database export from the source and then import them into the target database. But you will need to do some ground work on the target, i.e, create database, tablespaces, and schemas (with their name the same as those in the source database.)

  • Move VM from one server to another using Local Repositories

    There is the following structure:
    ovhost-01 with first_repo
    ovhost-02 with second_repo
    Oracle VM version: 3.1.1
    Both first_repo and second_repo are Local Repositories.
    On ovhost-01 I have VM named "TestOVM" with status Stopped .
    Task:
    Move VM from ovhost-01 to ovhost-02 using "Clone or Move" section from VM Manager ( http://docs.oracle.com/cd/E27300_01/E27309/html/vmusg-vm-manage.html#vmusg-vm-move )
    Whenever I try VM moving virtual disk stays on the first_repo.
    With shared NFS-storage this feature working well.
    Question:
    Is it possible to move VM from one server to another with Local Repositories ?

    Neither ovhost-01 nor ovhost-02 have access to each other. It move or copy... the admin server that is connected to the local repository would have to have access to the target repository.

  • Transportation ( how to transport objects from one server to another)

    Hi BW guru's
    Please tell me the steps to transport objects from one server to another server.

    Follow the steps.
    1. RSA1 > Transport connection
    2. In the right window there is a catagory "all object according to type"
    3. Select required object you want to transport.
    4. Expand that object , there is select object, double click on this you will get the number of objects, select yours one.
    5. Continue.
    6. Go with the selection, select all your required objects you want to transport.
    7. There is icon Transport Object (Truck Symbol).
    8. Click that, it will creat one request, note it down this request.
    9. Go to Transport Organiser (T.code SE01).
    10. in the display tab, enter the Request, then go with display.
    11. Check your transport request whether contains the required objects or not, if not go with edit, if yes "Release" that request.
    Thats it, your cordinator will move this request to Quality or Production.
    Hope its helps.
    Regards

  • How to transport objects from one server to another server?

    How to transport objects from one server to another server.ie..from development to testing sewrver....

    Hi Manoj,
    Check these links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/93/a3a74046033913e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/frameset.htm
    Transporting Objects IR ID using CMS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f85ff411-0d01-0010-0096-ba14e5db6306
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e1/69a740aa053a13e10000000a155106/frameset.htm
    You can choose either File transfer methor or CMS. File transfer method is the simplest.
    Sachin

  • HT4878 How do i share my pictures, music and videos from one user to another on the same computer?

    How do i share my pictures, music and videos from one user to another on the same computer?

    lots of ways... you could use a thumb drive, you could drag files to the users public folder drop box, you could send it through email, you could use the internet servic called drop box (not to be confused with Apple's user public foldelr drop box).

  • How do I move over stored connections on Fire FTP from one PC to another PC ?

    I have about twenty stored connection in my ftp client on FTP Tools. How do I move these connections from one PC to another, like bookmarks?

    Your FTP logins are stored with your other saved passwords. This article describes the files that that store this data: [[Recovering important data from an old profile]]. If you only need to move data in one direction, you could copy the two files and then drop them into your active settings (Firefox profile) folder on the second PC to replace the existing ones.
    To easily access your active settings folder, use:
    Help > Troubleshooting Information > "Show Folder" button
    If you need to merge data between the two profiles, I don't know whether you can do that without an add-on. In theory Sync should do it, but... I'm not sure I trust Sync yet. Backups definitely would be recommended before trying it.

Maybe you are looking for

  • Mv confirmation (URGENT)

    hi all, someone moved critical files on a server by mistake to another directory with the mv command. i need to do something that whenever any user enters the rm or mv command, it should ALWAYS ask for confirmation. I have used alias rm="rm -i" for t

  • Tcode for O/H calaculation for range of process orders

    Dear Friends, We have  Tcode CO43 for Actual O/H calaculation -Collective Processing and KGI2 for Individual Processing.Other then this is there any Tcode to procees the O/H calaculation for range of procees Orders. Thanks in advance. Ram

  • Iphoto moments vs events

    Perhaps the answer to this question is not yet known. In iphoto I create events for clusters of similar images. In the new iphoto do 'moments' replace events

  • Lost my photos from April through last week...

    I went to look at a couple of pictures last night, and everything I had taken since last April until the last few pics I loaded last week are gone. Now, everytime I try and open up the Library, or last roll, or any slideshow on the left causes iPhoto

  • OBIEE 11g reading the ORA_BIPS_NQID cookie on the narrative

    Hi, I need to get the session id that the BI returns upon logging. I saw the BI is storing it on a cookie named ORA_BIPS_NQID but wher I try to read it using javascript with the document.cookie the js cannot retrieve the value. This was possible on 1