Backup and restore database, tablespace

My oracle's 10g.
I'm new to rman utility. When I tested the backup of database and a tablespace before making certain changes made to the data (e.g. Add folders to other tables or change or delete some records) and did surgery recovery and the restoration of the database and a tablespace after these changes. But I found that these changes have remained there.

My directions of test:
SQL > shutdown immediate;
SQL > bootable media.
RMAN > backup database;
RMAN > backup all archivelog entry delete;
SQL > alter database open;
SQL > alter tablespace ABC offline immediate.
RMAN > backup tablespace ABC include current controlfile;
SQL > alter tablespace ABC Online.
= SOME CHANGES TO THE DATABASE BY INSERTING/UPDATING / DELETING =.
SQL > shutdown immediate;
SQL > bootable media.
RMAN > restore database;
RMAN > restore database;
SQL > alter database open;
SQL > alter tablespace ABC offline immediate.
RMAN > restore tablespace ABC;
RMAN > recover tablespace ABC;
SQL > alter tablespace ABC Online.
= CHANGES OF DATA SHOULD BE LOST. BUT NOW THAT ILS IS REST. WHY? ====

Also, what is the difference between the database backup/restore/recovery and backup/restore/recovery tablespace? Or when is the time to use them?

More practical is if I made a backup of database, at 10.00 and 3 backups tablespace ABC at 10:00 12:00, 14:00.
Today at 20:00, I have 2 tasks:
1. restore tablespace ABC 12:00 the status and create a new tablespace DEF, which is the same in ABC 14:00;
2 put all the data of the ABC from 10:00 tablespace to another oracle newly installed in a newly installed machine.

Can someone tell me how I can finish these tasks? Thank you very much!

Hello

Sorry for not being clear enough.

This means that I can only recover data to the tablespace recovery state?

Restore/recovery tablespace controls may lead to a full recovery.

but I want only to restore a space at the beginning everything while keeping others more recent. What do you suggest me?

If you want to make a point in time recovery for a subset of tablespaces, you must run a TSPITR.
To do this, follow the link in my previous post.

What you said really works. These changes losts. But I encounter another problem when retried the delivery and received a msg "RMAN-20207: until THE MOMENT or.
RECOVERY WINDOW is before the RESETLOGS time' to the command "restore." What should I do now?

By the , you have created a new incarnation of the database.
If you want to restore to a point in time of the resetlogs before you change the incarnation (check first with: INCARNATION of the rman LIST).
To restore an incarnation previous use:
< reset="" database="" to="" incarnation...;="">
http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14194/rcmsynta050.htm#i85086

Kind regards

Tycho

Tags: Database

Similar Questions

  • backup and restore a tablespace

    Hi all

    I recently started reading about backup and restore oracle concepts, and I needed to understand what happens when we put a tablespace in a backup mode (alter tablespace nom_tablespace start backup)?

    Thanks for help

    Yes my database is in archivelog, my concern, this is what happens when we publish the alter tablespace nom_tablespace start backup command

    and on the redo logs, you have to backup theme as well because during the backup period, a logfile switch could occur if you need to save the theme too

  • backup and restore of database

    Hello

    I did a backup and restore of database and now I need to restore the database again.
    For the backup of database I've used the following:
    SQL
    {stop immediately;
    bootable media;
    ALTER database archivelog;
    }
    database altered
    RMAN

    backup database;

    to restore the database, I used:

    RMAN
    {stop immediately;
    bootable media;
    until ' to_date (March 26, 2009 09:15:11 ',' dd-mm-yyyy hh24:mi:ss') ";
    restore the database;
    recover the database;
    }



    SQL > alter database open resetlogs;

    And as I said I would now like to restore this backup once again.
    Can someone help me with this?


    Thank you

    You could adapt the following script by changing the dbid, location of the control file and the incarnation of the database:

    shutdown abort;
    startup nomount;
    set dbid=2557871973;
    restore controlfile from 'D:\BACKUP\RMAN\C-2557871973-20090326-00';
    alter database mount;
    reset database to incarnation 8;
    run
    {
    set until time "to_date('26-03-2009 09:15:11', 'dd-mm-yyyy hh24:mi:ss')";
    restore database;
    recover database;
    }
    alter database open resetlogs;
    

    I have successfully run this script several times with Oracle XE (10.2.0.1).

  • Backup and restore tools

    can someone tell me what are the backup and restore tools in the Oracle database?

    Tools used for backup and restore of an Oracle database are:

    1 export and import utilities
    2 mode backup Tablespace Copies
    3 RMAN (Recovery Manager)
    4 oracle Enterprise Manager and the control of the database
    5 etc.

  • window mail contact restoration of system backup and restore files

    I backed up my system on a portable hard drive, he said, he would return to the top of my window vista email contacts and emails, but when I tried to restore themn he wasn't able to find it can help any one?

    Hello

    The WindowsMail.MSMessageStore file is the file of database of WinMail. You will not be able to backup and restore that easily. You should back up the registry keys and the entire message store and no not only the database file. The WindowsMail.MSMessageStore file is only the database and does not contain messages. The messages are in the same directory, but under the directories that correspond to message folders in WinMail. Old Windows Mail would be apt file to search for.

    For more information, you can consult the following article:

    Messages may be stuck in the Outbox when you use Windows Mail on a computer that is running Windows Vista

    Hope the helps of information.
    Please post back and we do know.

  • EBS R12.2.4 db backup and restore

    Hello

    I need to make a database backup for security reasons. How I had to do in EBS? with expdp (.dmp) and a restoration with impdp (.dmp)

    or what is the process?

    Thank you.

    Luis.

    Hello

    Do not use the import/export for backup and restore. They are generally used to migrate a database to a new server or as an alternative to an upgrade of database.

    You must use RMAN after enabling archivelog mode.

    It allows you to perform backups hot, cloning of the database and many other things.

    If you don't/can't use it, you can make a cold backup of the database files.

    Kind regards

    Bashar

  • Oracle backup and restore PDB 12 c

    Hi All-

    I just want to create a job on a daily basis to take backup of the Oracle PDB. I found the below reference for backup and restore.

    Oracle DBA Blog 2.0: 12 c backup and restore PDB

    I removed some of the procedures stored after taking back upward, as described in the link and it after recovering, but I came back. There was no observed errors

    Please help taking backup and schedule.

    Thank you

    Sayam.

    RMAN Pluggable database in time recovery Point (Doc ID 1521075.1)

    RMAN > ALTER connectable DATABASE at .

    run

    {

    Wire sequence 21 SET up to this AS 1; ==>, you should know sequence before you remove objects

    RESTORE connectable DATABASE at .

    RESTORE PLUG-IN DATABASE

    AUXILIARY DESTINATION '';

    }

    ALTER DATABASE connectable to OPEN RESETLOGS;

  • IOM 11 GR 2 backup and restore process

    Hi Experts,

    Can you please help me get the IOM 11 GR 2 backup and restore procedure for the production environment where the entire server down for example database and application server:

    Wat are backup and restore processes for IOM 11 GR 2:

    Also please inform only DB Backup is required or any level backup of system files must take to completely restore OIM11gr2

    I went through the IOM 11 GR 2 backup scheme and restoration document using the Data Pump support of oracle Client utility, but discovered that the expdb is taken in charge for the production environment.

    Kind regards

    David

    It will work as "Restoring in the same database (restore the previous working state)"

    The same shock of DB, you cannot use another DB instance.

    ~ J

  • Can I copy PSE13 to new computer catalog instead of backup and restore?

    Try to PSE13 my old laptop backup and restore my new on PSE13on, the backup on the old laptop crashes after several hours. Instead, I copied all the files (images and catalogue of images, c.36, 000) for the new laptop, but although the path structure is identical, PSE13 does not connect to the images he's always looking for the old name of the hard drive on the old laptop. I seem not to be able to solve the problem of backup on the old laptop, so is anyway to try to get the catalog on the new laptop to connect to the images on the new laptop? I have it reconnected one or two images manually in the hope that he would teach the new laptop on the same structure for the remaining images but if I have to reconnect each (several hundred files) it may take the rest of my life!

    You can copy the folder from catalog where you want on the new computer, but as you have discovered, the links in the catalog will still point to the old drive (the drive letter is not enough, the serial number is saved in the database).

    So, you can:

    -try to reconnect. Maybe it's a very long work, but see:

    http://psekb.blogspot.in/2013/03/How-do-i-reconnect-missing-files-in.html

    -try to assign the same internal serial number to your drive. Read more:

    http://www.johnrellis.com/psedbtool/#_Writing_File_Metadata

    -for advanced users familiar with sql databases, there is a way to edit the database so that the links point to the new drive. The shortest path, it's not easy to describe.

    Problems of trying to reconnect files in the Organizer PE10

  • Need for clarification for cold backup and restore

    Hi all...

    I have a lot of confusion about the cold backup and restore section.

    Already I posted a scanario this topic and I would like to know a few points of clarity to understand.


    1. I had cold backup two days before
    2. I create an object * (EMP) * and inserting some records can deliver log switch continiously.
    3. manually I deleted all the physical files (data files, files of control, files, papers, redolog files)
    4. then I published STARTING FORCE MOUNT;
    5. in this case, I get error identification control file.
    6. cold two days before all of the restored files backup
    6 then I run database recovery using backup controlfile until cancel;
    7. I'm issuing select * from emp; I get error
    select * from EMP
    * ERROR at line 1:
    ORA-00942: table or view does not exist
    my QUESTION IS

    After that cold backup is complete, I created the table emp...
    during the restoration of old back "there is no emp table"

    * - Then I can retrieve table emp? -If Yes, please explain about this... *.


    Note: REF - LINK https://forums.oracle.com/forums/message.jspa?messageID=11056341#11056341

    -Link above says what I did? In this thread, I ask you to concept and logic...

    Please, consider NOT like ' * DOUBLE. "

    Not sure why you're confusing this issue? In your other thread, you applied a backup who had two days and there is no evidence that you apply to this log file to archive that had the table create in it. So if you have not restored this log file to archive who had your create table command, it will not be recovered. The most important for you to understand, it's that you have to have the newspaper the point for which you want to retrieve other archiving your recovery will not be able to move forward.

    Aman...

  • Document the backup and restoration

    Is there some general best practices when it comes to document how your process to backup/restore your oracle databases?

    I'm always afraid that if only an admin understand how backup/restore procedures works for critical business systems, if they left the organization that someone fill their shoes may be hard to understand the process and then if a restore is necessary may not able to complete the restoration.

    But being not not a DBA myself, what kind of details should they document. What kind of details you document in your organizations?

    Also, how many times do you check by database restorations?

    Whenever you provide post your Oracle version 4-digit (result of SELECT * FROM V$ VERSION)
    >
    Is there some general best practices when it comes to document how your process to backup/restore your oracle databases?

    I'm always afraid that if only an admin understand how backup/restore procedures works for critical business systems, if they left the organization that someone fill their shoes may be hard to understand the process and then if a restore is necessary may not able to complete the restoration.

    But being not not a DBA myself, what kind of details should they document. What kind of details you document in your organizations?
    >
    Your fears are justified. One of the risk factors more important that an org has is when these key knowledge has not been documented, were reported badly or only exists in the mind of one or several persons.

    Here is a presentation of the excellent white paper of the Oracle world that covers this exact topic

    Oracle Database Backup and restore
    Best practices and new features
    http://www.Oracle.com/technetwork/database/features/availability/311394-132335.PDF

    This presentation includes an overview of the backup/restore of the issues and possible solutions, as well as a case study.
    You essentially have a similar paper for your own organization.

    Your first steps should be to do what you did in this forum: gather ALL the information and documentation of your peers and the management of it on backup and restore procedures, if any, exist.

    Implying that the step #1 is actually identify (i.e. to make a list of contacts) of the key people in your company with information either in written form or in their own head.

    The most important resource is to start with your own expert.

    Check out the latest collection of any type that have been made recently and collect information about the way they did. It is much more important to begin with better understand how your own org backup/restore, rather than learn best practices. Best practices do you much good in an emergency if your org does not follow them first.
    >
    Also, how many times do you check by database restorations?
    >
    It depends on the size and complexity of the system, but for the big orgs that I contracted with I usually recommend at least an annual process.

    I also recommend you use any offline storage process include the creation of checksums of the backup files. This ensures that, in case the files are needed, they can be added again check to make sure that there has been no corruption. Too many times the files are archived just without any test and then when they needed it turns out that they are corrupt. If you have never made a backup copy of a CD or DVD and then later discovered it wouldn't work you know what I mean.

    In summary:

    1. start by talking to people keys to the knowledge
    2 document available and stored in a central location
    3. start a mini-project to fill the gaps in the existing literature and knowledge
    4 learn the best practices in the field (what you're asking here)
    5. begin to migrate your orgs practices based on best practices.

    Good luck! We need more people like you who are interested in this topic.

  • backup and restore strategy

    Hi all

    In our society, we have an old House of dataware, written in PL/SQL.
    Size of 100 GB
    oracle 11g database

    Sometimes, according to the requirment, we make some small changes in the ETL code
    Sometimes we provide update scripts to update the tables.

    What must be at backup and restore strategy to our deployment to the same team.

    (1) a database backup would suffice?
    (2) should we backup tables before update?

    Pls offers various options of your experience.

    thnx
    s

    "" Question moved to: Forums of Discussion Oracle "Oracle database ' Database - general

  • How to manually backup and restore iphone content (texts, contacts, data apps) and apps?

    How to manually backup and restore iphone content (texts, contacts, data apps) and apps?

    What do you mean by "back up manually? Do you mean back up some data like contacts, texts selectively?

    Or you don't want the automatic upward, instead, you want to manually create upward?

  • Satellite P750/P755 - backup and restore Windows 7

    Hello

    My hard drive is about to fail on my Windows 7 Satellite P750; I get warnings of impending failure for a month now. I bought a hard drive again, and he's ready to go, but I am unable to create a backup and restore point. I get an error message 0 x 81000037: "snapshots of files cannot be read.

    Let me give you a part of the history of my machine before we get to the question. Windows 7 is pre-installed on this machine. A year ago, I created a new partition and installed Linux. Linux then took over the responsibilities of the boot. A couple of weeks, I deleted the Linux partition. This gave me a problem because the computer could not start. Fortunately I had recently created a return upwards and the restore point, and during the process, I was asked if I wanted to create a Windows 7 Home Premium repair disc. I could use this CD to access a command line tool that makes the new bootable machine.

    However, I have more a hidden on my machine boot partition (at least according to the disk management snap-in I'm not). Now, I get the above error when I try to create a new backup and restore point. I don't have a copy of the previous backup and restore point (I deleted it to make room for a new).

    From my research, apparently, one of the possible causes of the error 0 x 81000037 is related to the size of the hidden boot partition. Because I do not have the hidden boot partition I fear this could be the cause.

    There are other possible causes of this error. For example, a virus that the antivirus refuses to give access to during the back up and restore the partition, and junction points in to save readers who are the mounted volumes. I ran a full scan on my computer and cannot find any threats. I checked my junction points (which are a bit) and none are mounted drives.

    This brings me to suspect that the lack of a boot partition is the problem. I saw in the forums of some suggest it is better to back up all my data in the traditional way (already done, since you ask), install the new drive to hard and then reinstall Windows 7.

    So eventually, we get to my question!

    Windows 7 is installed on my machine, I think that I don't have the disks to reinstall on a new hard drive. Is this correct? I am able to get a copy?

    To be honest, I wouldn't reinstall Windows on a hard disk again, rather than using a return to the top of the spirit and point of restoration. I have a LOT of programs and rubbish that have accumulated in it in the (almost) last 3 years.

    Thank you for your patience. If there are some details that might be useful, but I left out (I'm sure there is) please let me know.

    > I think Windows 7 is installed on my machine, that I don't have the disks to reinstall on a new hard drive. Is this correct? I am able to get a copy?

    You have not all discs because Toshiba provides clean recovery disc creator software which is always pre-installed on new laptop computers.
    This recovery disk tool or support of creator creates the recovery disk that can be used to recover the laptop.

    It was a big mistake not to create this disk, however, you have the possibility to order this disc here:
    http://backupmedia.Toshiba.EU/landing.aspx

  • Can I download Windows XP Backup and Restore Wizard?

    When I bought my computer I did not receive the Windows XP disks.  I want to make a backup of the entire system on an external hard drive, as opposed to the individual file backup.  All the help files I've found say to insert the XP disc.  Then I found the Backup Wizard online and install it directly to my computer?

    Since the Microsoft Answers forum does not have any kind of information system request when a new question is asked, we know absolutely nothing about your system.  Not knowing the basic information a problem prolongs the frustration and the agony of these issues.

    Thank you MS Answers, allowing the resolution of simple problems as frustrating and a lot of time as possible.

    If you are using XP Home Edition, you will need to install the XP Backup utility yourself and here are some instructions on how to do it.

    If you are not using XP Home and XP backup is to give you some grief, try to describe the issue in more detail.

    The backup program is automatically installed on XP Professional, but not on XP Home. If you have the genuine bootable XP Home installation CD, insert it into your system and navigate to this folder:

    \ValueAdd\MSFT\NTBACKUP

    Double-click the Ntbackup.msi file to start the installation.

    Here is a nice article from Microsoft which tell you all this:

    http://support.Microsoft.com/?kbid=302894

    Here is another article that explains how to:

    http://www.winxptutor.com/Ntbackup.htm

    If you don't have an installation CD and need to download the Ntbackup.msi file, here is the link if you can download:
    http://www.winxptutor.com/Ntbackup.htm

    If you are using in relying on the built in NT backup to back up your system, it is the primitive technology (obviously - because you will be asked for a floppy disk).  If you have a disaster (even minor), you will have a big problem, trying to recovery your stuff, if you don't have a floppy drive.

    If you want to make a backup, it makes sense to use modern technology - and that the technology is not integrated into XP.

    There are many popular options for XP Backup and imaging software (s) of third parties.

    A people a popular seem to love East of Acronis.

    With this (free 30 day trial) you backup, you can make a bootable CD or bootable USB (which is modern, huh?) and use than disaster.

    They used to have a completely free version - maybe no more - just the trial, then you must buy it, but it is highly respected.

    It is so much more robust than the XP Backup, it's laughable.

    Many other options if you do a little research on Google...

    Here are a few products that PML has proposed may be attractive (use Google to find them):

    Acronis
    Macrium Reflect
    Paragon backup and restore
    DriveImageXML

    Some disk cloning software for you to Google ideas:

    Acronis True Image Home 11
    EASEUS ToDo Backup
    Paragon Drive Copy or Partition Manager Personal
    Casper
    Norton Ghost

Maybe you are looking for

  • How can I print only part selected on a table?

    Hello, people! Is it possible I'm print just an area selected on a table on the numbers? I searched in the menu printing, but failed. In addition, this is my first time using the forum here, so sorry in advance for any errors! Thank you very much for

  • Writing of the OPC

    I'm using LabVIEW 8.6 with DSC module. I build the link of the OPC server for my Siemens S7-200 PLC, using the I/O Server build an OPC client interface. I create 2 tag to test my application: -. 1. order read the controller input 2. directly write to

  • Could not turn off the computer error: program not responding

    Original title: Power off the computer - Windows E When I try to shut down my computer, I get a box that says that the program is not responding.  I can stop by pressing the "Exit Now" option until all blue bars shortly arrive in the window.  In the

  • Retrigger encoder and acquisition of analog input on the spur of Z?

    I have a card PCI-6232 and use THIS angular Encoder on the counter 1 to provide a base mean angle for Internet high speed (50-100 kHz) measures the analog voltage.  I use a period of CI on counter 2 to measure the duration of the impulse of Z to dete

  • My programs take me to "what program do you use to run this."

    I just got rid of a virus with Norton 360. But now when I want to open anything it goes to a page asking you "what program you want to run it with ' and my options are internet explorer, adobe or Photoshop? I don't understand. That's happened?