switch database to copy and backagain

I have 2 asm disk groups, DATA + and + FRA. I want to make a quick recovery, so I "switch the database to copy".

My question is after it is done, what are the steps to move the database back to + DATA.  The database is large and there is not enough space in the

groups of disks to store a backup and a database.  Which means after I go to the copy, I need to remove the old db to + DATA.

1. I have to remove the old db to + DATA.  How will know rman to delete what is in + DATA and not + FRA?

delete backup; 

2 "restore" FRA to + ETRUBANS "

RMAN> backup as copy database format '+DATA';
RMAN> backup as copy current controlfile format '+DATA';
RMAN> switch database to copy

RMAN> startup nomount;
RMAN> alter database mount;
RMAN> recover database;
RMAN> alter database open; 

Is this good?  Am I missing a step?

It's a common mistake to not allocate enough disk space for the fast recovery area. As a general rule, I suggest to FRA at least 3 times as large as your database, in order to maintain a current version and previous backup, plus one space for archiving logs.

Regarding your question, when you put the database to copy, previous data files will come to the 'new' copy. After you have changed the data files, you can then simply delete the copy of the database and thus remove the old data files.

For example:

RMAN> report schema;

using target database control file instead of recovery catalog
Report of database schema for database with db_unique_name ORCL1

List of Permanent Datafiles
===========================
File Size(MB) Tablespace          RB segs Datafile Name
---- -------- -------------------- ------- ------------------------
1    760      SYSTEM              ***    +DATA/orcl1/datafile/system.256.862871041
2    740      SYSAUX              ***    +DATA/orcl1/datafile/sysaux.257.862871041
3    155      UNDOTBS1            ***    +DATA/orcl1/datafile/undotbs1.258.862871041
4    5        USERS                ***    +DATA/orcl1/datafile/users.259.862871041
5    346      EXAMPLE              ***    +DATA/orcl1/datafile/example.269.862871121

Tags: Database

Similar Questions

  • Difference between the backup of database to copy and backup of database

    Hi all

    Kindly differentiate between backup database copy and backup of database.

    Thanks in advance.

    Hello

    With image backups, you have the option of two things:

    1. use these as rman backup and ask to restore them to the desired location (the same that we do in restoration of backupsets).

    2. tell the database to use these files.  This is possible by ' switch database copy. This is useful when the recovery will take a long time.  This allows you to move the users directly to the backup that you restore to the original location.  In other words, your database remains open with the users who access the copy.

    in both cases, you would:

    1 restore a controlfile

    2. the backup catalog

    RMAN > catalogue start with noprompt "/ backup location, in this case copy data files."

    3A. If you want to restore the database, so you might as same as usual:

    run

    {

    Set up until...

    newname Set...

    restore the database...

    recover the database...

    }

    ALTER database open resetlogs;

    3B. If you want to "switch" to the backup, you must run:

    switch database to copy;

    recover the database up to the...

    ALTER database open resetlogs;

    NOTE: before open resetlogs, remember that your online log file location is valid for the server on which you are restoring.  See:

    Select Member from v$ logfile;

    Thank you

    Renu

  • Copy and paste are all messed up

    The basic function of copying and pasting in Firefox seems to have changed on me and I need to the way it was.

    He used to work as it does in other Windows programs. I could use Ctrl-C or right click and select 'Copy' in the popup for copy, Ctrl + V or right-click-and-select Paste. But now that the of all messed up because it seems that simply * SELECTION * text enough to copy. I can see how for some people who would be a productivity gain, but a lot of things it messes up I have to be able to do.

    For example, I often need to select text and REPLACE it with something stuck in fact. I can do it no longer. I need to remove the text manually then to separately copy/paste, add an unnecessary extra step. Another must-be-dirt-simple operation that this bug turns into an exercise in frustration becomes the text I wrote previously (in, say, a blog entry) in a link; This no longer works. Workarounds exist, but they are slower with more steps in the way I'm used to doing things, otherwise they only work in the narrow specific scenarios that do not always apply.

    In short, for the way I work this is an * ABSOLUTE, NON NEGOTIABLE REQUIREMENT * selection and the copy to be TWO SEPARATE THINGS.

    When and why it has changed, and more importantly, how do I change it back?

    Sorry for the expression of 'mystery windows', I should have changed that after pasting from another thread.

    The only extension that looks as if she would care to any selected text is 'count-Word-professional '. Hmm... research on...

    Yes, he seems to have a function to automatically copy to the Clipboard, according to her page on the site of modules. Based on the screenshots, there seem to be an option in the context menu that can switch between manual and automatic:

    If this does not work, you might find the parameters of the extension on the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Find the extension on the right, and then search for an option button.

  • How to recover my editing functions, copy and paste, without doing a restore?

    When I switched to Firefox 4 I have more the file, edit, etc. anywhere features. I can not or do not know how to copy and paste websites to emails for example without editing functions.

    Looks like you have the hidden menu bar.
    If the Firefox (orange - top left corner) button is visible - click it and go to options and check menu bar.

  • Copy and paste large event

    Hello everyone

    I'm working on a big VI and difficulties to run on different screen resolutions. Too many controls, indicators, charts, etc. If I let Labview resize objects and sizes of fonts all gets messy. Because of this, I decided to create several files of VI, one for each screen resolution. Then the first VI to run detects the actual resolution of the screen and load the right VI of this form.

    Everything works like a charm, but when I need to update something in my code (put a new sub - VI to run, create a new case of event within the structure of the event, etc.), I have to do the SAME procedure several times to update all the screws with different screen resolutions.

    After long reflection I came to the solution to remove all Boolean values or flags the while loop, set the buttons like "Switch releasing" and restore the previous state of the button programmatically. Given that I have never (or almost never) update something on the front, I can make all the necessary changes in a single resolution VI and after finishing all I can just copy the while loop and paste in all screen resolution files. After that I just have to connect a wire (for groups of references) and I'm good to go. All screen resolutions files work identically.

    The problem: when I copy while loop and paste it into a new VI, all the events of structures of event (to handle the case) are not preserved. Then, I need to change the events that will handle each case in the structure of the event and repeat the same procedure for all screen resolutions files. Since is impossible to Labview allow to adjust items and size of fonts and distribution, I have to continue to use multiple files.

    If I solve the problem with events that are not preserved when I copy and paste the while loop, everything will be fine.

    My code is really very important, with several SubVIs and all that, but the attached files will show you the main idea of the problem I have. Open resolution 1(vi), copy all looped and paste it in resolution 2.vi. The main idea was just to connect a wire and I'd be ready to go, but events are not kept in the structure of the event.

    Thank you

    Dan07


  • In Windows Mail, I used to be able to copy and paste the text into an email, but for some strange reason, I'm not able to for some time now? Any ideas?

    I hope this is another easily solved!

    What happens when you try? Copy and paste work elsewhere?

    Try to compact and repair the database.

    WMUtil
    http://www.oehelp.com/WMUtil/default.aspx

  • Collage of album covers in the past I copied and pasted the album art to my music (MP3) have ripped off a disk files. Is it possible to remove the art I ad

    original title: collage of album art

    Hello everyone, I have a question... In the past I have copied and pasted album art to my music (MP3) have ripped off a disk files. Is it possible to remove the art that I added and to restore the original empty file?

    Hello
     
     
    Method 1:
     

    Album art should appear in the view "is on the air." However, if you select the album of the artist, the album art is not displayed.
     

    In the upper right corner there is Options to view fall down. Change the details to tiles view expanded and the cover of the album should reappear.
     

    If this does not help, then go to the center of the Action. Click on troubleshooting.
     

    Click Show all on the left side, and then select Windows Media Player troubleshooting
    Options.
     

    Refer to this link and check if it helps:
     
     
    Method 2:
     
    Try to clear the database of Windows Media Player. To do this, follow these steps:
     

    a. exit Windows Media Player.
    b. Click Start, run, type %LOCALAPPDATA%\Microsoft\Media Player and then click OK.
    c. Select all files in the folder and then click on Delete on the file menu.
     
    Note: You don't have to remove the folders that are in this folder.
     
    d. restart Windows Media Player.
     
     
    Note: Windows Media Player automatically rebuilds the database.
     
    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:
     

    a. exit Windows Media Player.
    b. Click Start, click Run, type % LOCALAPPDATA%\Microsoft and then click OK.
    c. Select the Media Player folder, and then click on Delete on the file menu.
    d. restart Windows Media Player.
     
  • Cannot copy and paste in Windows Explorer

    Hello

    We have changed our SBS 2003 server to Server 2008. After I removed the domain and myself adding to the new domain, I can no longer copy and paste in Windows Explorer. Explorer crashes with the following error:

    Problem event name: BEX

    Application name: Explorer.EXE

    Application version: 6.1.7600.16450

    Application timestamp: 4aeba271

    Fault Module name: StackHash_0a9e

    Fault Module Version: 0.0.0.0

    Fault Module Timestamp: 00000000

    Exception offset: 0807f4c8

    Exception code: c0000005

    Exception data: 00000008

    OS version: 6.1.7600.2.0.0.256.48

    Locale ID: 7177

    Additional information 1: 0a9e

    More information 2: 0a9e372d3b4ad19135b953a78882e789

    Additional information 3: 0a9e

    Additional information 4: 0a9e372d3b4ad19135b953a78882e789

    What I've done so far, but still no luck:

    1 added me (domain user) as a local administrator.
    2 made some restorations system.
    3. I can copy files in CMD promt is not a security problem.
    4 also makes a clean boot

    Please can you help me

    M.R.

    I read a few testimonials online that this can be caused by a damaged or replaced system file.

    Try to start a CMD window (i.e., Run As Administrator) and running: SFC /VERIFYONLY
    If it indicates problems you can use SFC to restore your protected system files: SFC/scannow

    If you have full faith in the Microsoft System File Checker, you can ignore the /VERIFYFILES and just do the second command, because it will check the files and automatically restore any file that has been damaged or replaced.  I saw no reason to be wary of SFC, but I would like to know what's going to happen before it happens.

    -Christmas

    Note: Edited to correct typo in the SFC command switch

  • The IPTC metadata: copy and paste the data into an image

    So here's the problem: I work for a photo journalist/travel photographer to his Lightroom 4 8 TB database.
    Now, for some reason, he wants the CPHI-metadata title, the title and the legend to be the same for each photo. What I mean by that is not simply to give each photo the exact name, but rather have a picture with the title "Machu Pichu for the sunset" also the title ""Machu Pichu for the sunset"and the legend"Machu Pichu for Sunset".»
    So far, I did copy and paste between these boxes (I only usually have a title) for each single photo, but as you can imagine, with 8 TB, this will drive you absolutely crazy.
    What I would like is to have is some kind of metadata Lightroom preset for just take the title and copy and paste it in title and legend to tell. Is it possible that it is possible?
    Thanks in advance. It would really save me tons of quite unnecessary work.

    See the search plugin to replace Transfer:

    http://www.photographers-Toolbox.com/products/jbeardsworth/FindReplace/

  • Why do copy and paste into Premiere Pro perform so badly?

    Please explain why you can't copy and paste footage (audio and/or video) in a track chosen on a sequence? It almost always sticks in a track with images already there overlapping of images. He can not stick in a new track? I thought that it is a simple logic.

    Likewise, I explained in the first post, make sure that the track is selected.

    Select the clip,

    CTRL + C,

    Sequence of the switch,

    Select the track, place the playhead in the desired position

    CTRL + V (or Ctrl + Shift + V to insert).

  • CTRL C and CTRL V (copy and paste does not) in excel

    Hello

    Today, we had a unqiue request saying a user is unable to use CTRL C and CTRL V (copy and paste does not) in excel after installing the smartview. However, he is able to paste using the Edit-> Option paste.

    Ago also much excellent leaves open while the user is facing this problem with some of them having Macros enabled.

    Is expereinced bythe user mainly due to multiple excel question, or is it a problem with the excel user settings.

    Please let me know the solution or workaround for the problem expereinced.

    Its 9.3.1 Hyperion Essbase with MS office 2007 version.

    Thank you very much
    Krishna

    Hello Krishna,

    This is a bug with Excel 2007 http://support.microsoft.com/kb/942430
    The solution is to create or change an existing excel shortcut to start Excel with the /s switch:
    Excel.exe/s

    Kind regards
    Robb Salzmann

  • InDesign crashes suddenly then copy and paste from Illustrator...

    This is a really recent thing that never happened before, it's bugging the hell out of me, and google offers no solution so far...

    I am running Mac OS X Snow Leopard and InDesign + Illustrator CS2

    (It's software company Adobe CS4 or CS3 update is not an option)

    My problem is I'm trying to paste a code bar created in a program called "Easy Creator barcode" in an Illustrator document and vectoriser vectorize then the bar code, copy it and paste it into an InDesign document.

    Everything works fine until I have switch from windows from Illustrator to InDesign document - when I try to paste the code barcode described in the InDesign document, it breaks down just InDesign.

    The strange thing is, the two first bar code copied and pasted with zero problems. When I tried to paste the following, the crash has begun.

    I checked my preferences and checked the permissions of drive, but in vain.

    I don't know what is happening, but to do a quick sort as I have a date deadline for a catalog of this week!

    If anyone has any ideas, tips or solutions they would be greatly appreciated!

    See you soon

    If you have already converted to outlines, there are no police who could be replaced or fail to be integrated in the placed art, so a user error cannot cause a problem that would not also be possible with a pasted graphic.

    But if you stick to keep your job, keep your job. Try to make a copy of the file, then export to .inx and open and save as a new .indd. See if that fixes Watt is screing things up.

  • A question about the CREATE DATABASE LINK PUBLIC and ORA-12154 error

    Hi all


    I have a problem on the public database link creation and I would be grateful if you could kindly give me a helping hand. I have the following connection settings in my
    tnsnames.ora file:
    ...
    DGPAPROD.WORLD = 
         (DESCRIPTION = 
           (ADDRESS_LIST = 
            (ADDRESS = (COMMUNITY=tcp.world)
              (PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521)
             ) 
           )
           (CONNECT_DATA = (SID = DGPAPROD))
        )
    ...
    Having the above mentioned parameters, I can connect to this remote database directly in a SQL * more shell:
    $ sqlplus username/[email protected]
    It works pretty well and the connection is established without any problem.

    Now, what I want to do is to create a public database of this remote database link to avoid the user/connection of switch for the visualization of the
    the content of this database. I proceeded in line with the syntax indicated in the Oracle online documentation:

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205

    This is why I run the following to create a public database link
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';
    Apparently there is no error and the link is created successfully. However, it cannot resolve the remote host and every time I run this query
    (myenterprise is the name of a table in the remote database)
    SELECT *
    FROM myenterprise@SR001_dblink
    
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    What causes this problem?

    Thanks in advance,


    Kind regards
    Dariyoosh

    You must have defined DGPAPROD. WORLD in tnsnames.oar on the server where DB is runnig.

  • copy and paste in iOS on iPhone 10 6

    Copy / paste is not consistent. I have to turn the phone off and restart in order to copy and paste into the Pages and the copy of the mail, for example pages.

    The copy and paste can be restored Pages?

    I do not use Pages, so I can't comment on that. But if a reboot seems to fix, it may be something anyone able to help out.

  • Takes are silent when copied and pasted into the new track

    After recording several takes of a vocal part and a model gliding around how I like it, I decided to dub the voices and use another part of the (unused) takes.

    I created a new title in doubles (CMD - D) and pasted the vocal track (including), but the new double track is silent.  I can see the track and everything going out there and tried to remove plugins, copy and paste in different ways, but the track and just stay silent.  I can see them all here in the new track, and all that I can see, they should be heard.

    I tried this search anywhere online and cannot find any mention of this problem anywhere.  Is this just a bug?  I forgot something?

    What version of logic you use.

    It worked well here with 10.2.4

    Also how do you 'stick it '?

    After a screen capture of your page to organize with open mixer

Maybe you are looking for