Restoring 20/25 % from the RMAN Backup

Hello Guys,
I have a production environment with size of TBytes, and I would like to create a new test environment but with a smaller amount of data, so i need to take a hot full backup from the database then restore only 20% to 25% from the original data to a new fresh database.
The question, is this scenario Doable ?, do we have particular way to do this approach ?
Thanks for your help !
Mahmoud Darwish .

Madarwish wrote:
Hello Paul,
You mean that if i have some constraints, it will be difficult to take the backup using the expdp ?, now we are deciding to use the expdp/impdp to take the backup from the production database and restore it in a new fresh database, please consider that we will use the SAMPLE to take around 20% to 25% from the original data.
Do we have have any restrictions for this scenario ?
Thanks for your help.
Mahmoud Darwish.The problem is that the SAMPLE (or nothing else inherent in expdp) is going to know about cross-table relationships. So it samples 20% of your invoice_detail table. What's to tell it which rows from invoice_header are needed to match those specific invoice_detail rows?

Similar Messages

  • TS4036 I tried to restore my iPad from the cloud backup but the iCloud returned the following message 'no backup available'? This after happened after I created the backup today and the same was confirmed at the Apple Store attendant

    I tried to restore my iPad from the cloud backup but the iCloud returned the following message 'no backup available'? This after happened after I created the backup today and the same was confirmed at the Apple Store attendant

    Check the console app to see if there are any error messages. I had one app showing an issue (Pet Hotel) the error was (truncated):
    ERROR: Restore message response: 102 rename error: File name too long (63) at path "/var/mobile/Library/SafeHarbor/com.pocketgems.tappethotel/Container/Documents/ savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHis tory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGa meHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/sa vedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHisto ry/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGame History/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/save dGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory /savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHi story/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedG ameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/s avedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHist ory/savedGameHistory/1313349538-pocket_gems_crash_report.txt" (MBErrorDomain/102)
    I manually snyc'ed that particular app and then re-ran the restore and am now the proud owner of a working iphone. Not sure it is the same problem or app but looking in the console was the key!

  • How to restore one table from the previous backup in 9.2.0.8 version.

    Hi,
    How to restore one table from the previous backup in 9.2.0.8 version.
    Thanks
    -Ganga

    Hi,
    What is the table you want to restore?
    Using export/import is supported with Oracle Apps database (for full database exp/imp, and certain schemas like custom ones). For the Apps schema, I believe it is not supported due to object dependencies and integrity constraints.
    Regards,
    Hussein

  • My dad and i have the same icloud id,when i updated the software (to ios 8.1.3) i have my dad´s photos on my iphone.And want my photos back (i tried restoring my phone from the last backup) but still have my dad´s photos on my device.

    My dad and i,have the same icloud id,when i updated the software (to ios 8.1.3) i have my dad´s photos on my iphone.And want my photos back (i tried by restoring my phone from my last backup)but still have my dad´s photos in my device

    And that's exactly the problem, because everyone should have their own account for iCloud. You can share an Apple ID for iTunes & App Store purchases, but you shouldn't do that for iCloud (Mail, Calendar, Contacts etc. ... ...and Photos). The problem of using the same account together could mean that only your dad's photos were stored.

  • Restoring a photo from the iTunes backup of the iPhone

    My son deleted a picture of himself (he's 11) from my iPhone that he didn't want me to have. I wanted to restore it from a backup of the phone that I made last week. How do I do that?
    Lisa

    Thanks. I'm restoring it now. All of the conditions that you mentioned were true. There were two pics that I took at the Penguins' playoff game last week that wouldn't have been on the backup. I didn't know if those would be wiped out or not so I copied them to my PC first before I started the restore. Other than that (and a ringtone but I can recreate that), everything that you mentioned was true. It's kind of a joke between my son and me -- it's just a stupid pic of him sleeping on the couch (though he claims he wasn't sleeping). He thinks it's over now that he deleted it from the phone. Joke's oh him...
    Thanks.
    Lisa

  • Recreate instance from the RMAN backup

    Gentlemen, following ... I'm simulating a recovery for a client.
    The environment is Windows 2003 64-bit VMWare which is a backup of the VM production was to start the network with a different IP and Host.
    I uninstalled all the binary Oracle (11g) and installed it again.
    I need to restore a recent backup (made with RMAN) and return the body to normal.
    Already created the password file:
    orapwd file =% ORACLE_HOME% \ dbs \ PWD% ORACLE_SID% PASSWORD = password entries = 5
    Already created the tnsnames:
    SAP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.9.140.30) (PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = SAP)
    LISTENER has already created the static:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = BMKSAP)
    (ORACLE_HOME = E: \ Oracle_Bin \ product \ 11.1.0 \ db_1)
    (SID_NAME = SAP)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.9.140.30) (PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
    But when it comes time to start SQLPLUS to give NOMOUNT with STARTUP PFILE:
    C: \> set ORACLE_SID = sap
    C: \> set local = sap
    C: \> sqlplus "/ as sysdba"
    SQL * Plus: Release 11.1.0.7.0 - Production on Tue Jul 8 16:35:49 2010
    Copyright © 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12518: TNS: listener nπo can distribute client connection
    Have uninstalled and installed the Oracle about 3 times, I tried to change the host and tnsnames LISTENER for the Hostname of the machine, I tried the LISTENER dynamic but ... nothing works.
    anyone have any revenue to climb it?

    There is only the processes parameter in PFILE.
    Processes = 150
    I configured the listener like this:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = sap)
    (ORACLE_HOME = E:\Oracle_Bin\product\11.1.0\db_1)
    (SID_NAME = sap)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.9.140.30)(PORT = 1521)(DIRECT_HANDOFF_TTC_LISTENER = OFF))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    But ... I keep getting:
    C:\>set oracle_sid=sap
    C:\>set local=sap
    C:\>sqlplus "/ as sysdba"
    SQL*Plus: Release 11.1.0.7.0 - Production on Seg Jul 12 23:35:14 2010
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-12518: TNS:listener could not hand off client connection
    Edited by: André Oliveira on Jul 12, 2010 7:25 PM
    Edited by: André Oliveira on Jul 12, 2010 7:44 PM

  • I click to restore my iPhone from the last backup that I've made, I get the confirmation that it has been restored however, when my iPhone restarts nothing changes, it comes up as the 'set up' like a new iPhone again. Help!!

    I've tried several times and the same thing keeps happening, my iPhone says its backing up it restarts itself but it's back to the start and it sets up as a new iPhone

    You may not get a response as you are shouting at everyone.
    All caps indicates shouting, is considered rude, and is difficult to read.
    Many will not read such posts.
    Try turning off you caps lock and asking again.

  • Create a database from 8i RMAN backup

    Hi,
    I am in need to recover some historic data from a historic database's RMAN backup.
    The situation is ... I have one old RMAN backup of a 8i database which includes datafiles, archivellog files and control files. Init.ora file is also available.
    I have installed the 8i software in a host and created the oracle service through ORADIM and pwd file through ORAPWD utility. Then copied the init.ora file under 'C:\Oracle\ADMIN\ORCL\PFILE' and the RMAN backup files under 'C:\Oracle\Ora81\DATABASE' folder.
    Now I can start the instance with the init.ora file but can not mount as control files are not there. when I try to restore the control files through RMAN as...
    RMAN> run
    2> {
    3> restore controlfile;
    4> }
    RMAN-03022: compiling command: restore
    RMAN-03022: compiling command: IRESTORE
    RMAN-03026: error recovery releasing channel resources
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: restore
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: IRESTORE
    RMAN-06172: not connected to recovery catalog database
    RMAN>
    Now without the catalog database how can I restore the control files and the database from the RMAN backup?
    I think the old RMAN metadata was stored in catalog database.
    Any suggestion please?
    regards

    Sorry I wrongly said that I do not have the DBID, I have DBID but I have controlfile backup as RMAN backupset, not in Binary. So even if I set DBID, RMAN asks for the catalog database, which is not available.
    As I worked...
    C:\>rman
    Recovery Manager: Release 8.1.5.0.0 - Production
    RMAN> SET DBID=1208994555
    RMAN-03022: compiling command: CSET
    RMAN> connect target sys/*****
    RMAN-06193: connected to target database (not started)
    RMAN> startup nomount
    RMAN-06196: Oracle instance started
    Total System Global Area 552011724 bytes
    Fixed Size 65484 bytes
    Variable Size 69357568 bytes
    Database Buffers 482514944 bytes
    Redo Buffers 73728 bytes
    RMAN> run
    2> {
    3> allocate channel ch1 type disk;
    4> restore controlfile;
    5> alter database mount;
    6> }
    RMAN-03022: compiling command: allocate
    RMAN-03026: error recovery releasing channel resources
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: allocate
    RMAN-06172: not connected to recovery catalog database
    RMAN> shutdown
    RMAN-06402: Oracle instance shut down
    RMAN> set dbid 1208994555
    RMAN-03022: compiling command: CSET
    RMAN> connect target sys/*** nocatalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "nocatalog": expecting one of: "newline, ;"
    RMAN-01007: at line 1 column 27 file: standard input
    RMAN> connect target sys/**** nocatalog;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "nocatalog": expecting one of: "newline, ;"
    RMAN-01007: at line 1 column 27 file: standard input
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found ";": expecting one of: "allocate, alter, beginli
    ne, catalog, change, connect, create, crosscheck, debug, delete, drop, exit, end
    inline, host, {, library, list, mount, open, print, register, release, replace,
    report, reset, resync, rman, rpctest, run, set, sql, "
    RMAN-01007: at line 1 column 36 file: standard input
    RMAN> exit
    Recovery Manager complete.
    C:\>rman target sys/**** nocatalog
    Recovery Manager: Release 8.1.5.0.0 - Production
    RMAN-06193: connected to target database (not started)
    RMAN> run{
    2> allocate channel ch1 type disk;
    3> restore controlfile;
    4> alter database mount;
    5> }
    RMAN-03022: compiling command: allocate
    RMAN-03023: executing command: allocate
    RMAN-08030: allocated channel: ch1
    RMAN-08500: channel ch1: sid=12 devtype=DISK
    RMAN-03022: compiling command: restore
    RMAN-03022: compiling command: IRESTORE
    RMAN-03026: error recovery releasing channel resources
    RMAN-08031: released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: restore
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: IRESTORE
    RMAN-06003: ORACLE error from target database: ORA-01507: database not mounted
    ORA-06512: at "SYS.X$DBMS_RCVMAN", line 923
    ORA-06512: at line 1
    RMAN-06097: text of failing SQL statement: begin dbms_rcvman . setDatabase ( upp
    er ( :dbname:dbname_i ) , :rlscn , :rltime , :fhdbi:fhdbi_i ) ; end ;
    RMAN>

  • Database restore from old rman backup

    Hi Friends,
    My database version is oracle 10.2.0 O/s : Windows
    I have a production database of an outlet. Yesterday night 11pm they have done some wrong transactions and whole stock is showing wrong.
    They have taken a export backup at 9.30 pm and latest archives are there.
    We have a rman backup on April-30,2008. when I am trying to restore from the old rman backup the controlfile I am unable to do it.
    Can any one of you help me out.
    thankyou
    satya

    Hi,
    I have tried installing in a seperate system and restore the rman backup, as I do not have the controlfile I have taken a standby controlfile and started restoring the rman backup as the old rman backup dbid is different with the current dbid and giving me following error:
    ORA-19870: error reading backup piece D:\MPOUTLET\0AJF4BM3_1_1
    ORA-19691: D:\MPOUTLET\0AJF4BM3_1_1 is from different database: id=1976833331, name=JEEVAMP
    ORA-19870: error reading backup piece D:\MPOUTLET\0BJF4BOE_1_1
    ORA-19691: D:\MPOUTLET\0BJF4BOE_1_1 is from different database: id=1976833331, name=JEEVAMP
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of catalog command at 07/13/2008 12:23:23
    RMAN-06209: List of failed objects
    RMAN-06211: ==========================
    RMAN-06212: Object Type Filename/Handle
    RMAN-06213: --------------- ---------------------------------------------------
    RMAN-06214: Backup Piece D:\MPOUTLET\0AJF4BM3_1_1
    RMAN-06214: Backup Piece D:\MPOUTLET\0BJF4BOE_1_1

  • How many times can you restore from the same backup?

    how many times can you restore from the same backup?

    As many times as you want till you delete or modify it.
    It's YOUR backup, a copy of all your stuff.
    Not some copyrighted, access controlled bunch of bytes representing a picture, a song or a movie, with a bunch of lawyers from the entertainment maff1a hellbent on restricting what you can do with it.

  • I have to restore my phone from back up but in order to do it i had to update my software. now that my software is updated there isnt enough room on the phone to back up. is there a way to only restore certain things from the backup like contacts?

    i have to restore my phone from back up but in order to do it i had to update my software. now that my software is updated there isnt enough room on the phone to back up. is there a way to only restore certain things from the backup like contacts?

    Because it says it's incompatible when it can't be, I got hope. I get error messages all the time with my iPod and iPhone that it cannot sync and that 'this device is not capapble of connecting to iTunes' stuff. I literally forget that happened, plug it in again and it works, I later realize that iTunes made a mistake, they do that.

  • HT4137 I am trying to follow the steps suggested in To restore you device from a previous backup, unfortunately the device is appearing in the list of devices. The sync option under devices is not also active. How can I resolve this?

    I was trying to setup a new ipad. After resetting and erasing the content on the ipad, I would like to restore the ipad from the old backup. Unfortunately the device is not appearing in the list of devices. The sync option under devices is not also active. How else can I restore the ipad?

    Sorry, you can't extract those photos from the old device unless you restore the new phone from that backup.
    You could of course use a third party software to extract those pics but it will cost you.
    If you still have the old phone import those pics to your computer and then sync those photos to your new phone via itunes.

  • I restore my iPhone from an old Backup in iTunes.  The Contacts get overwritten by those in iCloud immediately.  How do I prevent this and keep my old contacts?

    I restore an old Backup from iTunes to my iPhone 4.  The contacts are immediately overwritten by those in iCloud.  How do I prevent iCloud contact list over writing the contact list restored from the iTunes Backup?

    Yes you can erase the drive and reinstall OS 10.6 from the original disk.
    1. Put the disk in and restart the computer while holding the C key down. (The letter C.)
    2. When the computer boots you will see the beginning of the OS installation, and have to select a language.
    3. On the next screen there is a menu bar. Click Utilities on the menu bar and select Disk Utility.
    4. When DU is running, select the hard drive in the left hand column, format should be Mac OS extended journaled, then click Erase.
    5. When that task is done, quit DU and proceed with the installation. It will take some time.
    6. The computer will restart after the installation is completed and show you an awful noisy welcoming screen.
    Then you have to enter information about yourself.
    7. Run Software update to get to OS 10.6.8.
    Now you can go to the App store and find your previous purchases. You will not have to pay for them again. And you do not have install them one at a time. If for example you want 10.9, and your computer can handle it, go directly to 10.9.1 from 10.6.8.

  • When I update itunes it deletes the library file, and when I restore that file from the previous libraries or my backup, itunes will run but tell me "the iTunes library file cannot be saved. A folder was specified instead of a file" How do I fix this?

    When I update itunes it deletes the library file, and when I restore that file from the previous libraries or my backup, itunes will run but tell me "the iTunes library file cannot be saved. A folder was specified instead of a file" How do I fix this?

    Hi there Br0x,
    You may want to try rebuilding the iTunes library as an initial troubleshooting step. Take a look at the article below for more information.
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/ht1451
    -Griff W.

  • How to restore file system of the previous backup from OSB using webtool?

    Dear all,
    I have some problem regarding to the file system restoration.
    For example, I have backed up some files yesterday and today those files have been made change.
    So tomorrow I am planning to restore the files from the yesterday backup (the original files before made changes) to other host for testing the data.
    Is it possible to do that, since when i restore i can see only the latest ones and search options during restoration are not working well (as date, date range,.....) ?
    Your reply to me is very important.
    Thanks and regards,
    Rasmey

    There is no recovery partition on drives which haven't had 10.7 or 10.8 installed. You need to use a Mac OS X install DVD to restore the backup.
    (82545)

Maybe you are looking for

  • Table (css) text align in ff

    does anybody know of an issue where setting a table class with text-align attributes won't center the text of the table in firefox? I can force it to center by adjusting the align attribute in the <table> tag, but i have a several tables that i would

  • Problem with the Adobe website

    I'm having a problem with the Adobe website.  Everytime I attempt to down load a trial version of Lightroom I get an error message.

  • Latest iTunes update restarts track when pressing pause in the last seconds of play

    When I updated to the last version of iTunes (might have been earlier, haven't used it like that in some time) the program started doing a very annoying thing: if you pause a track in the last seconds (I think it's 3) it rewinds it to the very start.

  • How to find Routing list for all material ?

    Dear all, E.g. -- There is routing for 1000 material codes. I can see routing for one material routing by CA03 Tcode. But if I want to see for all 1000 material routing with all operation stages/activity , How to see ? Is there any TC , tables , ....

  • No symbols on my iphone 3 only apple sign

    after deleting histories on my iphone  no more symbols when pressing main  botton it always shoes apple symbol