Clone database with backup sets from another server

Hi, I want to clone a database in Host A with a backup set stored in Host B.
My script in Host A (where i want the cloned DB to be created) is as follows:
ORACLE_SID=test8; export ORACLE_SID
rman target sys/XXX@OriginalDB_in_HostB catalog prodifs/prodifs@CatalogDB_in_HostB
connect auxiliary / ;
configure channel device type disk clear;
configure default device type to disk;
configure device type disk parallelism 3;
run{
set until scn 317776086;
set newname for datafile 1 to '/o2/oradata/test8/system01.dbf';
set newname for datafile 2 to '/o2/oradata/test8/undotbs01.dbf';
duplicate target database to test8
logfile
group 1 ('/o1/oradata/test8/redo0101.rdo','/o2/oradata/test8/redo0102.rdo') size 104858112,
group 2....;
How do I specify in this script that backup files to be restored are not saved in current Host (A) but in Host B? Is it something that i should edit in the "configure channel" sentence ?
A workaround for this is to copy all backup files from HostB to the same location in HostA but I would prefer to do it in a more elegant way. Thanks and regards,
Leandro

Hi,
You have to set DB_FILE_NAME_CONVERT or LOG_FILE_NAME_CONVERT parameters.
Duplicating a Database on a Remote Host with the Same Directory Structure
http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10734/rcmdupdb.htm#1006630
go through below link
http://dbataj.blogspot.com/2006/12/duplicating-database-with-recovery.html
hope this helps
regards
Taj

Similar Messages

  • Recreating database with backups on a different server

    Dear buddies,
    I am backing up with RMAN
    Level 0 backup on Sundays and Level 1 backup on weekdays
    Now, I want to recreate this database on another server.
    Is it possible? I do not want to do duplicate or cloning.
    Any suggestions?
    What do we call this kind of recovery?
    Should I be doing something like this?
    Make a full backup all of current your database files instead of using the Level 0 or Level 1 backups.
    Place all database files to same directories.
    Create the Windows service if removed.
    C:\> oradim.exe -new -sid <ORACLE_SID> -startmode -manual
    Startup instance.
    C:\> net start OracleService<ORACLE_SID>
    C:\> sqlplus /nolog
    SQL> connect / as sysdbaThanks!

    you are going in right direction .Check the below link this may help you
    http://neeraj-dba.blogspot.com/2011/05/complete-loss-of-all-oracle-datafiles.html
    --neeraj                                                                                                                                                                                                                                                                                                                                                       

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • How to update a table (CUSTOMER) on a Report Server with the data from the same table (CUSTOMER) from another server Transaction server?

    I had an interview question that is:
    How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) From another server ex: Transaction server?
    Set up steps so inset, update or delete operation takes place across the servers.
    It would be great if someone please enlighten me in details about this process in MS SQL Server 2008 R2.
    Also please describe would it be different for SQL Server 2012?
    If so, then what are the steps?

    I had an interview question that is:
    How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) from another server ex: Transaction server?
    Set up steps so that inset, update or delete operation gets done correctly across servers.
    I was not sure about the answer, it would be great if someone please put some light on this and explain in details about this process in MS SQL Server 2008 R2.
    Also it would be very helpful if you please describe would it be different for SQL Server 2012? If so, then what are the steps?

  • Extracting Backups Sets from ASM with RMAN (10g)

    If I backup my database to my flash recovery area in ASM using RMAN, can I then extract those backup sets from ASM and turn them into normal file system files?
    I think I read that you can do this but I just wanted to be sure. I don't need super detail on this, just get me pointed in the right direction.
    I've certainly read about extracting a database from ASM, but I'm just not sure how I'd migrate an individual, arbitrary file.

    http://www.oracle.com/technology/oramag/oracle/04-nov/o64rman.html#T2 describes something like this, in the "Adding ASM" section. Here's the excerpt:
    Files inside an ASM location are not accessible as operating system files. To get the backups and archived logs from the ASM disk group to regular disks and tapes, John will use RMAN to back up the recovery area from ASM to tape (at the network backup server) through the following command:
    BACKUP RECOVERY AREA;
    This backs up the entire recovery area, including data file backups, archived logs, and control file backups from the ASM disk group to the tape.
    So, this would lead us to believe that what we want can be done. However, I read somewhere in the RMAN doc that BACKUP RECOVERY AREA will only create a backup to an sbt (i.e. tape) device. That is, it would appear that RMAN cannot store backups in ASM, and also allow you to "export" them to disk. You can export to tape, but not to disk.
    This is disconcerting. I'd like to store all Oracle-related files under ASM, but I'd also like to allow our tape backup procedures (which I am not in control of, and which do more than just backup Oracle) to easily just grab OS files that I put out there.

  • Problem in accessing the media files from another server

    Currently I am working in a project with streaming video on demand and using FMS 4.5.
    Let’s say the FMS is installed on one machine say ‘121.123.35.34’ and there is another server ‘100.54.88.222’ where all the media files belong. Now we need to point to this third server to play videos from FMS.I have done the below changes:
    In the fms.ini file: set the VOD_DIR2 = \\100.54.88.222\myvideos
    In the application.xml: Added the stream: <Streams>/hr;${VOD_DIR2}</Streams>
    From my application accessing the path of flv as:source= “rtmp:// 121.123.35.34:1935/vod/hr/test” . Not able to access the video.
    Note: If I will point to say ‘C:hrvideos’ in VOD_DIR2, then I am able to access the videos using the same URL.
    I also tried mapping the shared path to the FMS machine and then given the mapped drive path in the VOD_DIR2, but this also doesn’t work.
    Please let me know:
    If we need to configure any other parameter to stream videos from another server.
    VOD_COMMON_DIR: I modified this similar TO VOD_DIR to location 'C:hrvideos', I am able to stream the videos using rtmp, but not abl eto stream with http.
              Please let me know  can we stream using http also as we need this to run f4m manifest file.
              http://121.123.35.34:8134/vod/hr/sample.mp4.
              http://121.123.35.34:8134/vod/hr/sample.f4m
    Thanks,
    Anjali

    Hi Shiven,
    I followed the steps suggested by you:
    1) Changed the stream:
    <Streams>/hr;${VOD_DIR2}</Streams> to<Streams>/;${VOD_DIR2}</Streams>
    But not able to access the video with rtmp:// 121.123.35.34:1935/vod/test
    2) For http streaming, changes the HttpStreamingContentPath in hds-vod in the httpd config file, and tried to stream the video like:
    http:// 121.123.35.34:8134/vod/test.mp4 or
    http:// 121.123.35.34:8134/hds-vod/test.mp4
    But not able to load the video.
    Please suggest?
    Thanks & Regards,
    Anjali Rawat

  • Accept Mail from another server

    We are testing a migration scenario and are running into a few issues. I have our new mail server setup with the same domain as our old. We will slowly be migrating from the old to the new, sort of like a split domain. The old server is running GroupWise 7, the new is Zimbra based.
    What I am attempting to do is allow for users on Zimbra (using the same domain) to be able to send messages to users on Groupwise. So far I have been unable to find a setting in GWIA that allows me to say it is "ok" to accept email from this server. I believe that since both the Zimbra and GW servers are using the example.com domain GW is not allowing messages to go to mailboxes.
    How do I setup Groupwise to allow messages from another server using the same domain?

    I doubt that is it. Your GW system is set to receive messages for
    @example.com and shouldn't care where they have come from. Your Zimbra
    server should be set to forward to GW as a smarthost and have it forward
    undeliverables to that host.
    Usually, the Zimbra side is going to have problems, especially if it has all
    of the addresses configured on it. It knows that it handles email for
    example.com and will try to deliver it to itself, unless you do something
    with undeliverables instead.
    I think.......................
    "dabrown ksu" <[email protected]> wrote in message
    news:[email protected]..
    >
    > We are testing a migration scenario and are running into a few issues. I
    > have our new mail server setup with the same domain as our old. We will
    > slowly be migrating from the old to the new, sort of like a split
    > domain. The old server is running GroupWise 7, the new is Zimbra based.
    >
    > What I am attempting to do is allow for users on Zimbra (using the same
    > domain) to be able to send messages to users on Groupwise. So far I have
    > been unable to find a setting in GWIA that allows me to say it is "ok"
    > to accept email from this server. I believe that since both the Zimbra
    > and GW servers are using the example.com domain GW is not allowing
    > messages to go to mailboxes.
    >
    > How do I setup Groupwise to allow messages from another server using
    > the same domain?
    >
    >
    > --
    > dabrown_ksu
    > ------------------------------------------------------------------------
    > dabrown_ksu's Profile: http://forums.novell.com/member.php?userid=90079
    > View this thread: http://forums.novell.com/showthread.php?t=415905
    >

  • Error... trying to backup files from remote server

    I've tried to backup files from one server (client installed) to tape drive on the administrative server (administrative, media, client) but get an error.
    Backup of administrative server to the same media family was successful. What can be wrong?
    2014/09/29.12:41:47 Transcript for job admin/14.1 running on 1-prim
    2014/09/29.12:41:47
    Backup started on Mon Sep 29 2014 at 12:43:24
    Volume label:
    Volume tag: ABC028
    Volume UUID: da584616-2537-1032-990c-ae2b164578ea
    Volume ID: test_media-000001
    Volume sequence: 1
    Volume set owner: root
    Volume set created: Tue Sep 23 18:10:59 2014
    Volume set expires: Tue Oct 07 18:10:59 2014
    Media family: test_media
    Original UUID: da584616-2537-1032-990c-ae2b164578ea
    Archive label:
    File number: 3
    File section: 1
    Owner: root
    Client host: prgrc01
    Backup level: 0
    S/w compression: no
    Archive created: Mon Sep 29 12:43:24 2014
    Encryption: off
    NDMP_MOVER_LISTEN failed because a listen socket couldn't be created.
    The error reported was "host not found (FSP network database manager)".
    Error: can't tell NDMP mover on 1-prim to listen - I/O error (NDMP client)
    Backup statistics:
    status 23
    devices Drive1
    devices 1
    volumes test_media-000001
    voltags ABC028
    file 3
    host prgrc01
    encryption off
    start_time Mon Sep 29 2014 at 12:43:24 (1411980204)
    end_time Mon Sep 29 2014 at 12:43:32 (1411980212)
    backup_time Mon Sep 29 2014 at 12:43:24 (1411980204)
    entries_scanned 0
    kbytes_scanned 0
    entries_excluded 0
    entries_skipped 0
    mount_points_skipped 0
    files 0
    directories 0
    hardlinks 0
    symlinks 0
    sparse_files 0
    filesys_errors 0
    unknown_type 0
    file_kbytes 0
    dev_kbytes 6
    dev_iosecs 0
    dev_iorate 7.2 KB/S
    wrt_iosecs 8
    wrt_iorate 896.0 B/S
    physical_blks_written 0
    write_errors 0
    physical_blks_read 0
    read_errors 0
    error_rate 0%
    path / incomplete

    I've resolved the problem. There was a mystake in client host name.

  • Is it possible to create a Clone database with the same name of source db ?

    Is it possible to create a Clone database with the same name of source db using RMAN ...
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....

    user11919409 wrote:
    Is it possible to create a Clone database with the same name of source db using RMAN ...
    yes
    >
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....yes
    Handle:     user11919409
    Status Level:     Newbie (10)
    Registered:     Dec 7, 2009
    Total Posts:     102
    Total Questions:     28 (22 unresolved)
    why do you waste time here when you rarely get any answers to your questions?

  • I'm trying to clone a internal hard drive from another mac using a usb connection.

    I'm trying to clone a internal hard drive from another mac using a usb connection to an external drive so that I don't lose the file before reinstalling the software but I keep on getting a message:
    "Restore Failure
    Source volume is read-write and cannot be unmounted, so it can't be block copied."
    Any advice on how to make a copy of this internal drive?
    Thanks!
    ....also the internal hard drive i am trying to copying run on a mac os x 10.5 and i'm reinstalling the software because the computer is not starting and only shows a grey folder with a question marks inside.

    I've had my Maxtor external OneTouch 250GB for about 18 months now and it hasn't skipped a beat. I have hear of people having their Maxtor drive just up and die but you will probably find that goes for all manufacturers.
    By the way, Maxtor is, amongst others, an OEM supplier to Apple.

  • Clone database with no archive log mode and downtime with new file structure

    We need to clone database with following business requirements :
    No downtime at all can be afford
    databases are in no archive log mode
    data-file locations need to be change to new mount points while cloning for space management factor
    Please suggest the best possible methods for same ?

    Can you post your version of oracle in 4 digits and OS for better understandig
    I dont think you can move the No Archive database to a new location without shutting down.
    You just want to move them to the new mount points is it?
    1. How big are your datafiles are?
    2.How do you backup this DB?
    When you move the datafilles then it becomes inconsistent and you need redo logs and probably archive logs to be there to make the file consistent or else it would be prompting for recovery. The chances are your redolog will be overwritten and hence you wont be able to recover.
    You need downtime.

  • Loading a movie on html from another server

    I have a question: I have a form on Flash and I want to make
    the swf file a part of a HTML page.
    Here is the(for me) tricky part: on Flash I use an external
    php-file to send the information back to me, but the server where
    the HTML page runs is an ASP.Net server. So I came up with the idea
    to load the swf file from another server that runs the php-script.
    But is not working.
    Does anyone know if what I am doing is correct? Do I have to
    write some code on flash or the HTML-page? Or do I just have to go
    and learn ASP.Net?
    Thanks a lot for any information.
    Norman Parra

    No. Movies are not eligible for iTunes in the Cloud (the movie studios won't grant Apple the necessary permissions, reportedly). So if you want the movie on another computer, you have to copy it there yourself from your work computer. Copy the movie to some removable medium or shared location, then just drag it into the iTunes window on your laptop.
    Regards.

  • Loader will load images from another server, but then we get error on Bitmap operation

    I'm developing an app that currently is using Loader to get images from another server.  This shouldn't currently work since we are still waiting for the owner of that server to put a crossdomain file in place.  However, it does work -- sort of .
    Loader can load the images fine, without an error.  But then the app has a feature in which we are making a larger duplicate of the image to display in a sidebar, we do this in this manner:
    var myBitmap:Bitmap = Bitmap(loader.content);
    and when this runs we get a Flash player security error 2122, sandbox violation.
    So while I'm hoping all this will fix itself when the crossdomain.xml file is put in place, I'm confused as to why we only get the sandbox error when we make a Bitmap from the image, and not when we initially try to retrieve the image.
    (Incidentally: is there a better way to make a "copy" of an image loaded by a Loader, and then change its width and height for simultaneous display in another part of the stage?  I don't need to change its actual dimensions -- I just need to change its display width and height.)
    Thanks!

    The sandbox allows viewing, not editing from another server without a crossdomain.
    So, when you try to load it up, it loads it, but "read-only" and gives you an error when you try to "edit" it by making a new Bitmap out of it.
    This should resolve itself once that crossdomain is in place.
    ||EDIT||
    I just realized I should clarify my statement a little more.
    When you load images from another server without a crossdomain, it allows the load for display only.  When you try to load data, it will fail.  This is because, XML data, or some other type of data is editable by default, and images are only viewable by default.  So, the image fails when you try to convert it into an editable form.

  • I am trying to publish a web site using my own domain. How do I transfer my host to mac from another server?

    I am trying to publish a web site using my own domain. How do I transfer my host to mac from another server?

    I've created a CNAME entry to redirect the domain to apple but the site is still not live! Can anyone help please?
    Did you also do what is required in the .Mac account settings?
    http://help.apple.com/mac2/1/help/member/pgs2/memfmsetgen367.html
    Could you provide your urls?

  • Connecting to a NT server from another server

    Hello, All. I was wondering If anyone knew the best and more efficient way to connect to a NT server from another server. Once the connection is made I need to be able to execute .cmd file on the NT server.
    Thanks
    Donald

    I doubt if there is a "best" way. Do you want to do this programatically or interactively?
    Interactive methods include:
    Run a terminal server on the NT box and telnet to it.
    Run a webserver on the NT box and create some simple server side script to execute the .cmd
    Programatically:
    Create a simple server to listen on a port, recieve connections, and execute command that are passed. (This is signicantly more arduous than the interactive methods, especially if you want some user authentication).
    Use RMI or CORBA

Maybe you are looking for

  • Inactive manager error

    Hai Everyone, Iam working on oracle apps 11.5.10.2 version on linux server.Pls help me out in solving this problem.My problem is that while iam running my concurrent program then iam getting the following error error:- This request will not be proces

  • RSBBS program or TA jump in R/3 not working

    hi gurus, I have a problem in RSBBS configuration. I have a query in BW and i want to link it to a program in R/3 I created the program in R/3. my program has 5 parameters. This program was set upin a transaction . By this way i can see the value of

  • Downloading files from a browser

    I need to write an app that will download files from our clients and put it on our server. It is client initiated process from a browser. I know the html type is "type=file" and when the user clicks it it brings up a file dialog. Then they can select

  • Using iWeb to create a site uploaded to another domain via Fetch or the lik

    I'm sorry for the like subject line, but I don't know what to call what I'm looking for. I create my website in iWeb, publish to a folder, put it up on my personal domain using Fetch. (www.cynfrank.com) My domain is hosted by a company called Vario.

  • Secure Guest Access with AP541's

    My customer would like to have a secure guest wireless environment using AP541N's. When a guest laptop connects to the wireless I need the user to be redirected to a guest secure zone where they can only access the Internet after entering a password.