RMAN clone... after another clone...

I have the following situtation. My test database was refreshed yesterday from production (duplicate database).
Now, I have developers crying that they didn't get all their work from test and they "really, really" need it. Oh and I'm not to just restore into the newly refreshed test database.
So, I thought I could do something like the following...
connect target
connect catalog
connect aux
set dbid;
reset database to incarnation 1234;
run {
restore controlfile;
set newname for datafile 1 to 'aux location';
set newname for datafile 1 to 'aux location';
set newname for datafile 1 to 'aux location';
set until time "TIMESTAMP '2006-07-05 07:30:00'";
allocate auxiliary channel ch1 type 'sbt_tape' parms='ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)' ;
duplicate target database to aux NOFILENAMECHECK
LOGFILE
locations;
exit;
I'm concerned about my restoring the controlfile... where will this restore to? My test instance or my aux instance?
Or can I even do this?
Thanks,
Hal...

Hi,
The control file will get restored to the location specified by the initialization parameter CONTROL_FILES of aux instance.
Regards,
Vaibhav

Similar Messages

  • RMAN clone feature query

    Hello DBA's,
    Using a 9i Solaris box and i need to perfom a RMAN clone of prod (target db) to train database. Train database does already exist.
    I've performed "backup database plus acrhivelog all delete input" (on prod)
    My query is when i do run "duplicate target database to traindb" will it refresh all the existing datafiles already in TRAIN db or will i need to manually drop the datafiles or even 'drop' the TRAIN database?
    Many thanks!

    You should remove or drop TRAIN DB before you clone over from PROD.
    However, you can use the NOFILENAMECHECK clause
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta028.htm#sthref466

  • RMAN clone error

    Hi:
    I got error at end when doing a RMAN clone on linux, RMAN 11.1.0.7. 89163 is the next to last highest sequence
    number in the backup log file. So in the clone script I put 89165.
    ORA-19870: error while restoring backup piece
    ORA-19504: failed to create file
    ORA-17502: ksfdcre:4 Failed to create file
    ORA-15173: entry 'archive' does not exist in directory '/'
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/19/2012 17:36:15
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-20506: no backup of archived log found
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of archived log for thread 1 with sequence 89163 and starting SCN of 11158664662 found to restore
    What is the problem here?
    Can I bring up the database up?
    Thank you for your help.

    Then you may get an error as below
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of archived log for thread 1 with sequence 89165you can try to open the database with resetlogs as you would not be having the archive sequence 89165
    Also, 1 suggestion. Since you are on 11g, why not use the feature "active database" ?
    rman target sys/pwd@target catalog xxxx auxiliary wwww
    RMAN>duplicate target database to 'CLONEDB' from active database;This does not require you to take the backup first and then start the cloning activity

  • Rman clone ? duplicate database ? data guard ? standby database?

    hey there !!
    What is the difference between Rman clone , duplicate database , data Guard , standby db?
    1 more thing , standby database and duplicate database are same??

    RMAN Clone : you take backup of a database on one server ,then take it to other server ,again use RMAN to restore the database,A lot manual intervention is needed in this method
    RMAN DUPLICATE: same as above just that manual intervention is less. With 11gR2 there active database duplication in which you can clone your test database directly from production database without taking and then transferring the backup to test server.
    Standby Database :they are of two types Physical and logical.The setup is done using RMAN with any of the above methods.Standby is the in-sync (can have some delay) version of primary database either block by block which is physical standby configuration or SQL statment wise which is logical standby.
    Data Guard:This is also a standby configuration.Here the failover and switchover are automated with the help of DGMGRL utility.In manual standby this same can be done via SQL*PLUS using sql commands

  • How do i get music videos to play like the music does on my ipad, for example one right after another and shuffle

    I need to know how I can get the music videos on my IPad to play like the music does.  What I mean id setting up a playlist, shuffle, and have them play one right after another instead of going back to the main screen.

    At the top of the playlist where it shows the playlist title and the number of songs, there are two icons. Click the "play" triangle to add the entire playlist to "Up Next", or the "shuffle" symbol to do the same thing but in random order. But the currently playing track will stop playing, and all the songs in "Up Next" will be removed (replaced by the ones from this playlist).
    If you hold down the "option" key while clicking those icons, the currently playing song will continue playing, and the new playlist will be added to "Up Next" (above the songs that were already there).

  • I stopped using iCloud after another family member received all my contacts. Now I want to restart using iCloud. How do I prevent this happening again? We share the same Apple id password and credit card but different usernames.

    I stopped using iCloud after another family member received all my contacts. Now I want to restart using iCloud. How do I prevent this happening again? We share the same Apple id password and credit card but different usernames.

    If two of you shared the same contacts you were logged in with the same Apple ID. In order to avoid this you need to use different Apple IDs, and be using separate Macs or separate user accounts on the same Mac.
    One or other of you should create a new Apple ID at http://appleid.apple.com for which you will need a non-Apple email address which hasn't been associated with another Apple ID.

  • When I try and open Microsoft Word 2011 documents they start opening one after another at a rapid speed and I can't stop it. I reboot and same thing happens?

    When I try and open Microsoft Word 2011 documents on my  IMAC they start opening one after another at a rapid speed and I can't stop it. I reboot and same thing happens. The documents open in rapid succession on their own and don't stop until I force close or after maybe 100 or more open I start getting the following message for each document attemting to open "This document could not be registered. It will not be possible to create links from other documents to this document" and then in paretheses the name of the document. After I click okay another trys to open. Any suggestions?

    If you had multiple documents open and quit the app without closing all of the docs first, it will open them again when you launch the app. Open Word, and then close all the documents, you may be asked to save the document, if the document was already saved but you made changes to it before you quit the app, you may need to save the changes first, shorcut ( command and s keys). After you close all of the documents then quit the app and restart the computer. See if this works.

  • I created a playlist with 100 songs.  I want those 100 songs played using the shuffle option.  This no longer works in iTunes version 11.1.5.5  How can I get an entire  playlist to paly one song after another by using the switch option?

    I created a playlist with 100 songs.  I want those 100 songs played using the shuffle option.  This no longer works in iTunes version 11.1.5.5  How can I get an entire  playlist to paly one song after another by using the switch option?

    You're welcome.
    Going back to your original post:
    5) Tried running Itunes in 'safe mode', running itunes as an administrator..nothing.
    Was that iTunes' safe mode as opposed to Windows' safe mode? iTunes safe mode is invoked by holding down CTRL+SHIFT immediately after clicking the icon to launch iTunes and continuing to hold until this message pops up:
    Click continue, then close iTunes and reopen. With luck iTunes now opens normally every time.
    tt2

  • When I atempt to send a web site via an email from FF, the system keeps opening one new mozalla screen after another. Nothing will stop this but logging off. I have to bookmark everything and then put it in an email. Your help is appreciated.

    If I attempt to send a link to someone from a site I am visiting, ff starts opening one new start window after another. So fast i can't get it stopped. Even going into taskmaster which I sometimes have to try 3 or 4 times, it is impossible to get them all stopped they just keep multiplying. Only logging off or a restart will fix the problem.
    The same think happens if I use a "send picture to". I don't know what else to do. I have run all the diagnostics I have. Checked all the drives, etc. Check all the ff settings. Nothing shows.

    http://support.mozilla.com/en-US/kb/Managing+file+types
    Don't set Firefox for '''mailto'''. <br />
    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • My iPad air won't charge at all and I don't know if it's the charger or port help!i have had a new port put in before and it worked fine after but it's not working now! I have spent way to much trying to fix this thing one problem after another?

    My iPad air won't change at all, and I don't know if it's the port or charger cable it is charging normally but it just won't charge. I have had a new port put in before after a charger getting stuck in there but it worked fine after and now it's not working at all! I don't know if maybe it's the charger getting old but I have spent far too much money on this iPad then I should have as it's one problem after another witch is causing me lots of stress.

    Try giving your iPad a reset. Hold down the sleep and home keys for about 20 seconds. When you see the silver apple, let go and let it reboot and try again.
    How are you charging it? its's best charged plugged into the wall  not via USB. So if you're trying via USB, try using the supplied power block plugged into the wall.

  • Is it possible to play one music video after another in itunes/front row?

    Hi all. Can anyone help me with this problem? When I use the movie part of front row to watch and listen to music vids I have front row goes back to the movie menu after each video has ended. Is it at all possible to watch one video after another without having to scroll down to the next music video after each music video has finished playing? Not sure if im being incredibly dense but any help would be greatly appreciated. I have Apple Care and they have no idea what im on about!
    Thanks Rob

    I've been doing some experimenting on this. I made a smart playlist in iTunes to gather all my music videos (which I have previously tagged with 'VIDEO' in the comment field).
    In Frontrow, iTunes will not play the video at all- it just shows a single frame and plays the audio; in Movies, music videos, it will play one music video correctly, but then go back to the music video menu. This seems to be a known problem.
    My solution is to go back to the desktop and use iTunes in the old fashioned way! Selecting my new VIDEO smart playlist will play all my music videos in any order I like using the normal parameters i.e. random, alphabetical by artist, album, name etc..
    Hope this helps.

  • How do I play one podcast after another?

    Hello,
    I have iTunes 7.0.2 and I can't figure out how to play podcasts one after another ... like, when one podcast is done, to go on to play the next one. Any ideas?

    I think you can create a podcast playlist then drag episodes to it, and arrange them in the order you want to listen.
    Hope that helps.

  • Displaying images in canvas one after another

    Hi all,
    I have a problem displaying images in canvas one after another. I am using for loop and when i run the application, all images run back in the and only finally only the last image gets displayed in the emulator. I also used thread.sleep(). But it din't work.
    Here is my code:
    // A canvas that illustrates image drawing
    class DrawImageCanvas extends Canvas
    Image image;
    public void paint(Graphics g)
    int width = getWidth();
    int height = getHeight();
    g.setColor(0);
    g.fillRect(0, 0, width, height);
    String images[]={"paint_2.PNG","radha.PNG","cute.png","design.png","flowers.png"};
    for(int i=0;i<images.length;i++)
    image = null;
    System.out.println("/"+images);
         try
         image = Image.createImage("/"+images[i]);
    catch (IOException ex)
    System.out.println(ex);
    g.setColor(0xffffff);
    g.drawString("Failed to load image!", 0, 0, Graphics.TOP | Graphics.LEFT);
    return;
    if (image != null)
    g.drawImage(image, width/2, height/2, Graphics.VCENTER | Graphics.HCENTER);
    try
    Thread.sleep(5000);
    catch(Exception ex)
         System.out.println("the exception is.."+ex);
    Help me and Thanks in advance.

    See the code below : prefer the use of a Timer and a TimerTask instead of Thread.sleep().
    showNotify (from Canvas) is used to launch the timer.
    import java.io.IOException;
    import java.util.Timer;
    import java.util.TimerTask;
    import javax.microedition.lcdui.Canvas;
    import javax.microedition.lcdui.Graphics;
    import javax.microedition.lcdui.Image;
    public class DrawImage extends Canvas {
        Image image;
        String images[] = {"img1.png", "img2.png", "img3.png", "img4.png", "img5.png",
                            "img6.png", "img7.png"};
        Image[] tabImage;
        int imageCounter = 0;
        public DrawImage(){
            try {
                tabImage = new Image[images.length];
                for (int i = 0; i < images.length; i++)
                    tabImage[i] = Image.createImage("/" + images);
    } catch (IOException ex) {
    ex.printStackTrace();
    public void paint(Graphics g) {
    int width = getWidth();
    int height = getHeight();
    g.setColor(0);
    g.fillRect(0, 0, width, height);
    image = tabImage[imageCounter];
    if (image != null)
    g.drawImage(image, width / 2, height / 2, Graphics.VCENTER | Graphics.HCENTER);
    else{
    System.out.println("null");
    g.setColor(0xffffff);
    g.drawString("Failed to load image!", 0, 0, Graphics.TOP | Graphics.LEFT);
    protected void showNotify(){
    Timer t = new Timer();
    t.schedule(new PhotoSwitcher(), 5000, 5000);
    private class PhotoSwitcher extends TimerTask{
    public void run() {
    if (imageCounter < images.length - 1)
    imageCounter++;
    else
    imageCounter = 0;
    repaint();
    I hope this will help you !
    fetchy.
    Edited by: fetchy on 14 ao�t 2008 09:48                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Playing movies in Front Row one after another automatically?

    I have a number of short video clips that I can watch with Front Row. However, every time a clip ends, I have to go and click “play” on the next clip and this is annoying. I am wondering if there is a way to make movies play one after another without stopping. Thanks for the help!

    David,
    Thanks for the help. I'm still thinking there must be SOME way to pull this off. It seems like Mac's can do just about anything if you take the time to figure it out. Why wouldn't the people who designed Front Row not add this feature? It doesn't make any sense. There has to be a way. Anybody else have any ideas?

  • How do I get my vedios to play 1 after another

    How do I get vedios to play one after another?

    Welcome to the Apple community
    Sorry that's not possible.
    If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here 

  • Since I have iOS7, I can't have any USB connexion with my Macbook pro!!!! even after another my iphone was exchanged, I think there is a bug in IOS7!!!

    Since I have iOS7, I can't have any USB connexion with my Macbook pro!!!! even after another my iphone was exchanged, I think there is a bug in IOS7!!!

    philippefromfra wrote:
    Since I have iOS7, I can't have any USB connexion with my Macbook pro!!!! even after another my iphone was exchanged, I think there is a bug in IOS7!!!
    Sounds like a bug in Macbook pro. May be bug in the cable? Everything bugged up on you.

Maybe you are looking for