Backup/recovery of cold one Table

I'm under 11r2 in a CCR environment. We have a primary and two standby (using Active Data Guard). Also, I'm a new s/n, bare with me. :)

TableX in a given database is damaged. The corruption began a month earlier due to change in the code of the web developer. Changing the code was set a week ago.
Summary: the data in TableX are corrupt until a week ago.

Flashback does not extend that far in the past, so what I thought to do is, on our test server:

(1) copy the relevant files of the production on the test server
(2) backup the original TableX on production
(3) to restore the system, sysaux, cancel and the tablespace that contains TableX on test server
(4) drop all other areas of storage in condition to mount (or not, if this step is not necessary?)
(5) to recover the database up to when the table was dropped or updated updated
(6) take a TableX database export and import it in production, replacing the current TableX
(7) update the imported production TableX with week last of 'good' data from the backup in step 2

I have 3 questions.
This seems like a good strategy?
In addition, I have trouble to determine what the "record" is in step 1. Which would be copied on? Everything in the ArchiveLog file? Or in the db_recovery_file_dest folder? Or...?
Finally, in step 3, is it possible to restore without overwriting pre-existing data on the test server?

Thank you

Hello;

For future use since we both use Linux

#!/bin/bash
####################################################################
#
# Data Pump Full script
#
####################################################################

if [ "$1" ]
then DBNAME=$1
else
echo "basename $0 : Syntax error : use . expdp_full.sh  "
exit 1
fi

export DMPDIR=/tmp

#
# Set the Environmental variable for the instance
#
. /u01/app/oracle/dba_tool/env/${DBNAME}.env
#
#

cd $DMPDIR

# check for existing logfile and
# remove if found.
if [ -s ${DMPDIR}/${LOGFILE} ] ; then
/bin/rm ${DMPDIR}/${LOGFILE}
fi

# check for existing dump file and
# remove if found.
if [ -s ${DMPDIR}/${DUMPFILE} ] ; then
/bin/rm ${DMPDIR}/${DUMPFILE}
fi

# change to the working directory
cd ${DMPDIR}

# call expdp and use the full path to it.
$ORACLE_HOME/bin/expdp parfile=expdp_full.par DUMPFILE=${DUMPFILE} LOGFILE=${LOGFILE} DIRECTORY=DMPDIR

# once the expdp is complete gzip it to save space.
/bin/gzip -S .`date +%m%d`.Z ${DUMPFILE}

# delete the existing dump file. Zip does not remove it.
if [ -s ${DMPDIR}/${DUMPFILE} ] ; then
/bin/rm ${DMPDIR}/${DUMPFILE}
fi

# rename the log file to preserve it.
if [ -s ${DMPDIR}/${LOGFILE} ] ; then

/bin/mv ${DMPDIR}/${LOGFILE} ${DMPDIR}/${LOGFILE}.`date +%m%d`
fi

# remove old logs and exports
# 

find ${DMPDIR}/ -name "*.Z" -mmin +1440 -exec \rm {} \;
find ${DMPDIR}/ -name "*.log*" -mmin +1440 -exec \rm {} \;

exit

expdp_full.par

USERID="/ as sysdba"
FULL=Y

Examples of Enviro (you will need more) (/ u01/app/oracle/dba_tool/env/PRIMARY.env)

export LOGFILE=PRIMARY_expdp_full.log

export DUMPFILE=PRIMARY_expdp_full.dmp

export DMPDIR=/u01/oradata/PRIMARY_export

I put the nominal file in the DMPDIR and run this daily. Then it goes to the band. Won't help but today...

mseberg

Tags: Database

Similar Questions

  • If I put all my files on the C drive that has the operating system and make a recovery of keys one, will I lose my files?

    If I put all my files on the C drive that has the operating system and make a recovery of keys one, will I lose my files? drive C whereas the partition that has the operating system and drive D is the lenovo drive that has all the drivers lenovo and all those. Did I lose my files?

    Yes, the collection clears all of the C drive and you will lose your files. The solution would be to backup regularly to an external HARD drive and after the key one to also restore the files from the external hard drive.

    This has been answered before, if you do a search for "key recovery" it appears among the first results.

    http://forums.Lenovo.com/T5/IdeaPad-Y-U-V-Z-and-P-series/will-i-lose-my-files-if-i-do-one-key-recove...

  • Using a USB flash drive for backup more driver and application backup recovery

    I have a 32 GB flash drive I used to create a recovery for my Aspire S7 backup using Windows 8.1. I understand that in creating this backup everything on the flash drive is deleted before creating backup. Can I now use this drive for other purposes, e.g., pilots and backup applications, pictures, documents, etc., or this flash drive now should he remain dedicated to the sole purpose of being a backup recovery?

    Hi zimmerbob

    I keep as a backup to dedicated recovery flash drive and use one for drivers & applications.

    It is always wise to keep the recovery discs, as well as the recovery disks. Flash memory is quite inexpensive for the moment!

  • Backup & recovery disks

    I bought a Dell Inspiron 660 s with Windows 8 on it, I really hated Windows 8, so I also bought Windows 7 and has that back on my computer. Before I did this, I did a disk backup & recovery CD. Can I use these discs to put Windows 8 on my computer, now instead of Windows 7? I decided to try another of Windows 8.

    Friday, October 17, 2014 00:06:14 + 0000, verna2197 wrote:

    I bought a Dell Inspiron 660 s with Windows 8 on it, I really hated Windows 8, so I also bought Windows 7 and has that back on my computer. Before I did this, I did a disk backup & recovery CD. Can I use these discs to put Windows 8 on my computer, now instead of Windows 7? I decided to try another of Windows 8.

    Yes.

    I would like to point out something that you may not realize: Windows 8
    has two interfaces; the modern/Metro Interface (which may be all the)
    you have looked at) and the traditional desktop Interface. You can use
    one or both. This traditional desktop Interface is almost
    identical to the interface of Windows 7. the biggest difference is that
    There is no Orb start clicking to bring up the start menu.
    But note that you can get the ORB start by using one of the many
    third-party programs, are free or very cheap (the classic interface
    http://classicshell.sourceforge.NET/ and debut8 to
    http://www.stardock.com/products/start8/; my personal preference is
    Debut8, but they are both very good).  And goes from an interface to
    the other is very easy; There are several ways, but simply by pressing
    the Windows key is perhaps the easiest.
    I use Windows 8, almost exclusively with traditional workstations
    the interface and with 8 Start installed. If you were to look at and use
    my computer, you would have a hard time realizing that it is not
    Windows 7.
    I also recommend to read "how to make Windows 8 or 8.1 watch and.
    Want Windows 7 "to http://www.howtogeek.com/elk/298/45121/4206

  • Backup & Recovery in virtual environment

    Hello

    I need help to establish a good Backup & Recovery Strategy for VM-Ware with Oracle databases.

    Currently we use veeam backup the entire Virtual Machine during the night maintannce-window. On the virtual machine, we use RMAN to back up the databases, archivelogs fall under the machine.

    My problem:

    -If the virtual machine failure during the day, for example 16:00, cause of lost storage / instant failure that blocks the machine - I lose changes all day.

    So, where is the best place to save the logs to check-in during the day and how do I recover after an accident mentioned above? First step would be to recover the virtual machine with veeam, but subsequently? The database do not know what archivelogs were written, cause it contained last night?

    Thanks for your help.

    PS, we got the problem of the snapshot-crash on another machine, so it's really a thing that can happen.

    User106somethingorother,

    If you want to be able to recover in the case of the virtual machine / virtual disks are gone, you must ensure that your backups and archiving logs copied somewhere else.

    The users guide backup and restore (available at http://docs.oracle.com) would be the place to go to find out how to recover the database in many different scenarios, including one where you have lost direct control files and RMAN would therefore know about archiving logs is available.

    Kind regards

    John

  • Using more of a VMWare backup recovery

    Hi all

    I'm sitting here und think next idea:

    We have 10 servers that must be saved. We use a VDR (VM Backup Recovery) for this. Thus, sometimes the catalog crashes and it takes neerly a day to fix it. While this time I can´t of backup or restore anything.

    These backups are on the same SAN as my ESX machines. So I have the big problem, if everything crashes (raid or more than 1 HDD) I have no chance to recover anything.

    Yes, I know that this is not 100% optimal. either way... we have no money to buy a second SAN!

    the idea was to develop an other VDR and connect it to a Terastation. Speed is absolutely secondary. This VDR would save computers same like the first VDR. (not at the same time, for example SQL Server is saved on VDR1 on VDR2 and 06:00 on 09:00)

    The biggest would be:

    -If VDR 1 catalog crashes, VDR2 works and I can fix the VDR1 without missing the backups or recoveryoptions

    -If my STI SAN crashing, I can use my Terastation to fix everything (the speed is secondary)

    What do you think of this idea?

    Good bye

    Andy

    You can define 2 different backup locations in a single device. So you can save on Monday for the first location and Tuesday for the second and so on. When an integrity check runs more than 24 hours, you have the second location-data store to restore on the same device operations. If you have enough backup-time, you can also save each VM twice in one day in two places at different times. In the event of a disaster you will be lucky and maybe lose only a location of data store and have all your backups without waitiing for the completion of the audit of integrity or something as a recataloguer. Up to now this works very well in my environment with 5 appliances and 180 VM. I use no more than 30 virtual machines for a single device, because integrity, check runs throughout.

  • R11 - question of backup recovery

    Salvation;

    I want to learn something about the recovery of the r11. Please, imagine you have a valid backup (rman and cold backup) and those who are on the Strip... Somehow your server become down and ppl tell u "this server dead we will give the new server u".

    You will then have a new Linux server. Question is how u do restore? What is steps? We assume that our system is r11.5.10.2 and db 9.2.0.8 version... For can do recovery what I need to do? I mean

    1. I have the new machine and I have nothing on that only linux I have, so, to restore db what I need to do?
    2. we start from the premise I manage db side and database, then become what I do on the side of apps?

    Any information would be so useful

    Thank you very much

    Hello

    With 'just restore ORACLE_HOME' average just copy ORACLE_HOME to the new cold sauvegardΘ system?

    I mean for my system my oracle_home is: /u01/VIS/visdb/9.2.0< and="" in="" this="" path="" i="" have="" some="">

    Fix.

    For my new system. I just copy u01/VIS/visdb/9.2.0 from my cold backup to my new system? For this I should first create the user and then give permission to record and then I need EPS source file and then try to connect 'sqlplus virtue sysdba' right?

    Fix.

    After connect sqlplus that I need to copy my visdata to the new system folder and use scripting rman and then try to save my right to db?

    Fix.

    Kind regards
    Hussein

  • Install the new hard drive, I have no os or backup recovery disks

    I have a HP G62-340US notebook pc-product # XH066UA #ABA, OS is windows 7 64 bit.   The hard drive does not work so I'm relpacing with a new.  I have no os disks and any backup recovery.  When I turn on the laptop there that peripheral black splash screen States 3FO hard drive not found.

    My question is that I don't know what drives I need to order at HP to reformat my laptop.  Again, I have no backup disk or any disks. I lost everything on the laptop. which is ok.  So it's like I'm starting with a blank slate.

    Should I order the kit Media Ststem recovery for consumer notebook, which is a set of 4 discs?   and that's all that I need to install to return to the State wherever it was when I bought it new.  Are there other discs that I need to order or just that?

    Thank you very much for your help.

    Hello

    You just order a SET of recovery disks and this disc set will bring your machine to update 1 than why we call back to factory settings. Please check how to order from the following link:

    http://support.HP.com/us-en/document/bph07143

    Kind regards.

  • Creation of backup recovery disks

    Hello Forum,

    When you use the backup recovery disc creation program, is a copy of all the recovery disc (d created or are the files from the (c drive also copied?)) With this drive, I'll then be able to restart my laptop with a new hard drive.

    Thank you very much

    FM.

    Hello

    While the recovery discs are just a bootable copy of the recovery partition D, operating after replacing the HARD drive, it will reinstall all the original scores (Windows C, HP_TOOLS, recovery D etc.) on the new drive - the machine will be in the State it was at the time of purchase.

    Kind regards

    DP - K

  • Problem: Build a VI to display a string in the table of the lights. Each letter must be posted in a separate table and letters must move from one table to the other in the direction from left to right.

    Hi all

    Problem: Build a VI to display a string in the table of the lights. Each letter must be posted in a separate table and letters must move from one table to the other in the direction from left to right.

    I did program mentioned above but it does not work. Can you tell me what is the problem?

    There is no error is indicated in the program. If someone knows about it please try to find solutions and help me out of this problem.

    I have attached my program with this message.

    Thank you in advance!

    (1) FOR loops are your friend here.  You can make a slight restructuring using loops, and then you will have less mess to deal with, the inner loop through tunnels of autoindexing to make it even simpler.

    (2) I would only treat the numeric values of the characters.  So go terminal of control of the chain, the capital letters and byte array to before the outer loop.  You can use a size of Board over there to tell how many times the outer loop to iterate.

    (3) the Index table is extensible.  So you only need over the index of the first, and it will increment itself, as it develops.

    (4) you need to finish the lookup table (table 3D)

  • Create a backup recovery

    Is this possible on a drive hard laptop usb or should it be a flash drive?

    I thought to partition my drive hard portable 1 TB and dedicate it to the backup recovery.

    Thank you

    No, you need to save in a flash disk to bootable USB, you can back up an external HARD drive and retrieve the image with programs like daughters reflect.

  • During execution of the backup and maintenance on one of my computers, I noticed a folder and the file that I can't identify me...

    Original title: identity of unknown folder

    During execution of the backup and maintenance on one of my computers (Windows xp home, sp3), I noticed a folder and the file that I can't identify.  The name of the folder is cc68f6b7a7ca948eefb018f001 and the name of the update.exe file.  The properties of the file that it is a Windows Service Pack installation.  I tried Googling the name of the folder, but found nothing.

    Can you tell me with regard to this issue, and what, if anything, I have to do?

    Thank you.

    When some programs (including Windows) installs things, it can create a temporary folder composed of 20-30 random letters and numbers or random numbers and letters in the root of the drive of the volume with more free space.

    This explains why the records are sometimes on your C drive or any other drive - the most space?

    For example, you can see a similar to or called folder:

    D:\9470bb12e8a4f3447657236478e41c5

    There may be other folders and files in this main temporary folder such as amd64 and i386 platforms.

    They should normally be deleted when the installation is complete, but sometimes they are not - especially if the installation fails.  They are harmless but annoying.  You can think something is wrong when there are no or fear, that the files are really necessary.  To avoid confusion, you can delete the temporary files.

    If your installation has failed or the installation does not remove the folder to the random name when it finishes running again installation will be another folder at the random name.

    You may be able to identify installation (out of curiosity) by looking at some of the contents of the folder and decide if this installation was not serious, just remove the files/folders.  If the installation does not work for some reason, run again just installation will create a new temporary folder to the random name so the old temporary folder is really useless.

    Records are sometimes tough to remove.  Even if you are an administrator on the system, you might get a "sharing violation", "access denied", "used" or type similar message when you try to delete temporary folders.  Facilities sometimes use different permissions that can have a regular user with the administrator group.

    There are many methods to try to remove the folders, and some require third party programs to install or change some windows settings that could compromise the security of your system if you do not change them back when you're done.

    Start your system in Mode safe mode (by pressing the F8 key several times just before XP attempts to load) is one good method to try to remove the files because it does not have to make any changes to your system configuration or by downloading third-party programs.

    If you are running XP Home Edition, the following section on turn off "Simple file sharing" does not apply to you since in XP Home, Simple file sharing is always turned on.  If you are running XP Home Edition, skip the next few paragraphs and resume where it says:

    "If no part tool above work try a third popular called Unlocker.

    If Safe Mode does not work you can change the security of the folder when you start in Normal Mode to give your username full control over the files by navigating to it in Solution Explorer, click on tools, Folder Options, view and in the advanced settings window, uncheck (at the bottom of the list) use simple file sharing (recommended) and click OK.  This disables him recommended simple file sharing on your computer if you want to turn it back on when you're done to make everything you do.

    Right-click on the files of interest, click Properties and click the now visible security tab.  Change the properties, but you need (for example, select your user name, and check the box to allow full control), click OK to apply the changes.

    With usage share of active simple files (recommended) the checked the properties of the folder tabs are:

    General, sharing, customize

    With the use of sharing files simple disabled (recommended) box unchecked, the properties of the folder tabs are:

    General, security, customize

    Now, try to manipulate/delete the folder.

    It's a good idea to go back to the Explorer and the cheque in the box easy to use sharing files (recommended) when you have finished making everything you do.

    If none of the above works, try a popular third-party tool called Unlocker.

    Unlocker can be downloaded here:

    http://www.emptyloop.com/Unlocker/

    If you use Unlocker, be sure to install because he wants to add a bunch of options, addons, shortcuts and other extras that you don't need.

    You must add the shell extension so when you right click on the offending file, you will have a Unlocker option to choose.  I would just install it long enough to clean up the leftovers and then, I usually just uninstall and all parts of it.  You can always install it again another day if you like.

    Unlocker can be uninstalled when you have finished using it.

    Reboot when finished to ensure that boring records are really missing.

  • Deactivation of Dell Backup &amp; Recovery Notifications

    We have a number of new PC (Win 7 Pro 64 bit) who all Dell Backup & Recovery installed. Now, I take that uninstall completely is not a good idea because of the way it is strongly linked to do system recovery / restore? So, how the to I turn of the annoying notifications! I don't want to hear/see anything about this piece of software! Especially since most of the notifications are 'NAGs' about 'try our cloud services' (I don't want them), or "upgrade to the pro version" (NOT a chance). They are opinions only in so much as they try to me I don't want to sell.

    Hi, due to problems in communicating with you, here I called Technical Support this morning (Dell case Ref: 895569609). They were able to confirm that, after you create a recovery on the USB media, had no reason why I couldn't just go ahead and uninstall Dell Backup & Recovery. They also confirmed that when you access Backup & Recovery via the Windows Start menu troubleshooting (accessed via F8 as Windows starts), it is run from the hidden restore partition and not affected by the uninstall of the Windows software itself. That's what I've went ahead and did to get rid of notifications. What about George

  • How to make the backup recovery onboard cd - dvd burner drive

    How to make a backup recovery drive cd - dvd drive integrated with windows 7 Professional?

    How to make a backup recovery drive cd - dvd drive integrated with windows 7 Professional?

    You can do a repair disk or an image of the system - the two are below.

    Create the system repair disc

    1. Open backup and restore by clicking the Start button, clicking Control Panel, clicking system and Maintenance, and then clicking the backup and restore.
    2. In the left pane, click on create a system repair disc and follow the steps. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    Create a System Image in Windows 7

    After you install and activate Windows 7 create a system image as a backup of your current computer in case you need to reinstall it. This will restore your computer to its exact state when the image has been made - which will save you the trouble of having to reinstall Windows 7 and installed everything currently again, and it takes much less time to do.

    1. click on the Start Menu and type "Save", and then click Backup of your files.

    2. in the Control Panel window that appears, click the blue link to the image.

    3 create a system image window should pop up.  Select which hard disk, DVD, or network location, you'll save your image.  Click next to continue.

    4. on the next page, check disks in your system and your system for.  Once you have selected the drives, click next to continue. Note: You can select as many records as you want (if available), but you choose to include means to the greater will be the size of the image.

    5. the next window is just a review, make sure everything is correct, and then click Start backup to start the process.  It may take 10 minutes or more, so patience is needed.

    6. once the backup is complete, you will be asked with the option to create a system repair disc.  It's a good idea, just in case your system has problems in the future.  Click Yes.

    7 choose which drive to record the disc you use to burn the disc.  Insert a CD or a blank DVD for the physical disk, and then click on create disc.

    How to restore Windows 7 from a System Image

    http://www.howtogeek.com/HOWTO/7702/restoring-Windows-7-from-an-image-backup

  • LOV cascading if I don't have only one table with the customer name and the name of the product in the ADF.

    Hi Please help me how to use cascade, if I don't have only one table with the customer name and the name of the product in the ADF... I use Jdeveloper 11.1.

    For the client, I used customer VO with client list to fill but to populate the product that I use bind variable PrODUCT_NAME select distinct from TABLE where client_name =: bindCustomer

    so first of all, I need to set the variable of liaison on behalf of the selected customer.

    Can you please tell me how to set this variable binding in this case.

    After you set the LOV to your product attribute, correspondting VO in the LOV will appear under view accessors.

    Change the accessor of the view, you will see the variable binding. Set its value to the customer field of the parent object.

    Visit this link: https://www.youtube.com/watch?v=nXwL2_RP7AQ

    Kind regards

    Elias.

Maybe you are looking for

  • Portege M400: Is it possible to upgrade processor

    Hi all :) I have a Portege M400 with a T2300 and I would like to know if it is possible to upgrade the processor, aIf so, what CPU are compatible and with what version of bios? Thanks in advance

  • Restore the iTunes app data backup and backup to iCloud

    My iPhone 6 has been stolen. I got iCloud backup enabled, and the last backup was 2 days. I do a full backup encrypted via iTunes it also sometimes manually, the last time was 1 month ago. I bought a 6 new iPhone as a replacement. When I tried to res

  • SysDump out joint operations to change map server or to check the cat

    Windows Vista Home Premium SP1, Intel Pentium Core 2 Duo 8400, 3.0 Ghz, 4 GB ram, Direct X 10, NVidia GeForce 9600GT. Games - Joint Operations-Typhoon Rising, escalation Reference of the manufacturer-Novalogic The problem occurs all the time, but eno

  • How can I download the updates and transfer them to another computer?

    I have a Win7 netbook I currently can not connect to the internet (but that's another post). I need to download available Win7 updates to another pc and trnasfer via USB key. How can I do this? Thank you!

  • Editing a Code definition Lookup name

    HelloIn fact, I've created a Lookup in console design, now I need to change the name of the search.Is it possible to change the name of Code definition Lookup in OIM 11 g 2 PS2?(Q 2) is it possible to copy the values of search search to others at a s